Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orbit for Claude Code

A Claude Code plugin. When you ask Claude Code for real work (more than a quick edit) in a repo linked to an Orbit project, Claude tracks that work in Orbit: it creates one task for the job, moves it through its states and comments when there is something worth telling the team. You don't have to ask each time. The board shows one task per job. Claude adds subtasks only when the work has parts worth following on their own, and most jobs have none.

What Claude writes is meant for the whole team, not only developers. A new item says why the work was asked for, what changes for a user, and how to tell it's done. A comment starts with what now works, in plain words, and keeps the file names and commit under "Technical details". Claude comments like a teammate would: a decision, a blocker, something to test, or how the job ended, not a note for every small step.

Everything goes through Orbit's normal API as you, with your permissions. Orbit marks it "via Claude". Claude only closes items it created that carry no points; anything else it hands to a person with a comment.

This repo is the plugin's source, and also the Claude Code "marketplace" you install it from.

Get it (once per developer)

  1. Node.js 22 or newer (node --version). Claude Code starts the Orbit server and a small session-start hook with the node on its own PATH. If you installed Node with nvm and start Claude Code from a desktop app, check that this PATH includes nvm's Node.

  2. Add this repo and install the plugin, in a terminal:

    claude plugin marketplace add Sarv/orbit-claude-plugin
    claude plugin install orbit@sarv
  3. Turn on auto-update, so new versions reach you by themselves: in Claude Code, open /plugin → Marketplaces → sarv → Enable auto-update. It's off by default for marketplaces that aren't Anthropic's. Without it, run /plugin marketplace update sarv to get a new version.

That's all. New versions arrive the next time Claude Code starts (or after /reload-plugins).

It works in Claude Code (terminal, IDE extensions, the desktop app's Code tab). It doesn't work in claude.ai chat.

For a whole team repo (optional)

Commit this to a repo's .claude/settings.json, and everyone who opens that repo in Claude Code (and trusts the folder) gets the plugin without typing the commands above:

{
  "extraKnownMarketplaces": {
    "sarv": { "source": { "source": "github", "repo": "Sarv/orbit-claude-plugin" } }
  },
  "enabledPlugins": { "orbit@sarv": true }
}

Use it

  1. Link the repo (once per repo, by anyone on the team):

    /orbit:link https://app.orbitorg.com/u/0/org/<org>/ws/<workspace>/prj/<project>
    

    It asks which state is the "review state": where Claude puts finished work it isn't allowed to close. If the project has required fields with no default (say, "Client"), it also asks for their values once, and Claude fills them on every task. Then it writes .orbit.json at the repo root. Commit it, so the whole team shares the link. It holds no secrets.

  2. Work as usual. The first time Claude needs Orbit, your browser opens an Orbit page asking to allow Claude Code. You're already signed in, so you click Allow once. That's all. The sign-in is kept in your Keychain (macOS), your keyring (Linux), or a private file.

Command What it does
/orbit:link <project URL> Link this repo to an Orbit project (writes .orbit.json)
/orbit:status Your open items in the linked project, and Claude's jobs in progress
/orbit:docs The Orbit documents Claude keeps up to date there, checked against code changed since
/orbit:undo [item key] Cancel Claude's most recent job there (its task and subtasks), after you confirm. With a key, that job instead
/orbit:login Connect now, or check which Orbit account Claude Code uses
/orbit:logout Disconnect this computer from Orbit and forget the sign-in

What Claude writes in Orbit

A job's parent item:

Why Finance copies the weekly report numbers into a spreadsheet by hand, which takes an hour and causes mistakes.

What changes The Reports page gets an "Export" button that downloads the report as a spreadsheet file.

Done when

  • The button is on the Reports page for everyone who can see reports.
  • The downloaded file opens in Excel with the same totals as the page.

Repo web, branch web-142-report-export.

A subtask, only when a part is worth following on its own (say the backend ships before the screen): "Adds the export to the reports API, so other tools can download the spreadsheet too."

A comment when the job is done:

The Reports page now has an Export button that downloads the report as a spreadsheet, with the same columns and totals as the page. To try it, open any report and click Export. The "How reports work" document has a new section on exporting, waiting for you to publish it.

Technical details Files: src/reports/exportFile.js, src/reports/ExportButton.jsx. Commit a1b2c3d.

You can also ask Claude to change an item's custom fields later ("set Client to Globex on WEB-142"), not only when it creates the item.

Who wrote it

Everything Claude does in Orbit is done as you: you stay the author, and Orbit marks it "via Claude". Comments Claude writes itself show as Claude (AI) · for . When you tell Claude something the team should see on the item (a decision, a change of scope, feedback), it posts your words as they are, under your own name, with a small "via Claude" tag. You can still edit or delete both kinds; editing one of Claude's comments makes it yours.

Screenshots and files

Claude can attach files to an item or a comment, and show a screenshot inside a description or comment: PNG, JPG, GIF, WebP, PDF, text, Markdown, CSV and log files, up to 10 MB each, at most 30 an hour. It only sends files from the folder you started Claude in or the system temp folder (and images from Claude Code's own folders), never hidden files such as .env, and never anything outside those folders.

Where the screenshot comes from
One Claude took (a browser or simulator tool that saves to a file) Works
A file in the repo, or a path you give Claude Works
An image pasted into the terminal Should work: Claude Code saves it under ~/.claude/image-cache/ and gives Claude the path
An image pasted into the Claude desktop app Likely not: the app may not save pasted images to disk. Claude then asks you to save the image and give it the path

The last two are still to be confirmed in real sessions.

Your team's documents

Before a job, Claude checks the project's Orbit documents: the ones linked to the item you named, and one search for the job's subject. It reads at most two that clearly apply (a process, a spec, an API reference), follows them, and tells you in one line which one guided the work. If the work would go against a document, it asks you first. It skips this for small fixes. It reads what you can read: a draft is visible only to its author. Claude treats a document's text as information, never as instructions.

At the end of a job (its task closed, or a pull request opened), Claude also keeps documents up to date:

  • Documents Claude maintains (ones it wrote, or yours that you let it edit) are updated without asking, section by section. The change is not published: readers keep seeing the published version, and Orbit shows you a banner "Unpublished changes written by Claude (AI)" with the changes, until you publish them or discard them.
  • A new document is one question first: title, template, folder and outline. Nothing is created before your yes, and a "no" holds for the rest of the job. A new document is a private draft only you can see until you publish it.
  • A document you wrote is never edited before you agree. If someone else has unpublished changes in a document, Claude leaves its suggestion as a comment instead.
  • Claude writes only what the work and the items support. What it doesn't know goes into a last section, To be confirmed, as questions for you.
  • Every document Claude changes is linked to the job's task, and Claude mentions the changes in its note there, so you know what is waiting to be published.
  • Orbit marks a maintained document "may be out of date" when a work item or a document it is based on changes, or when the code it describes changes. /orbit:docs lists them.
  • Claude can change a section's heading as part of an edit.
  • When you ask, Claude also organises documents: it creates folders, renames, moves or copies documents and folders ("move the API docs into a new folder Engineering / API"). These changes show to everyone at once, and copies are private drafts. It never does this unasked.
  • Claude never publishes, shares or deletes a document. You do that in Orbit.

Set "documents": { "suggest": false } in .orbit.json to stop Claude proposing new documents in a repo. It still keeps the ones it maintains up to date.

Per-repo settings

.orbit.json holds the link and a few optional settings for everyone who works in the repo. Ask Claude to change them ("label this repo's tasks backend", "show me the plan before creating Orbit items"), or edit the file, then commit it.

Key What it does
project, org_id, workspace_id, project_id The linked project (written by /orbit:link)
review_state Where Claude puts finished work it isn't allowed to close
confirm_plan true: before creating anything in Orbit, Claude shows the parent and the steps and waits for your OK. Off by default
defaults.task.fields Values for the project's required fields, by field name ({"Client": "Acme"})
defaults.task.labels Labels on every task Claude creates (["backend"])
defaults.task.priority Priority of every task Claude creates ("High")
documents.suggest false: Claude doesn't propose new Orbit documents in this repo (it still updates the ones it maintains)

defaults is grouped by item type; task covers a job's task. Its steps are subtasks, which have no labels or custom fields in Orbit.

You can also see and disconnect every place Claude Code is connected on Orbit's Connected apps page (avatar menu). Changing your Orbit password disconnects all of them.

If something doesn't work

What you see What to do
Claude doesn't track anything Check the repo has .orbit.json at its root (/orbit:link), and start a new session: the link is read when a session starts. Quick questions and one-line edits are skipped on purpose
/mcp shows plugin:orbit:orbit as failed, or the Orbit tools are missing Run node --version: it must be 22 or newer, on the PATH Claude Code uses (see "Get it"). Then restart Claude Code
"Orbit isn't connected" Your browser opened Orbit's Allow page (or Claude showed the link): click Allow, then ask again
Signing in over SSH The Allow page sends you back to 127.0.0.1:<port> on the computer where Claude Code runs. Forward that port (it's in the link's redirect_uri) with ssh -L <port>:127.0.0.1:<port> …, or sign in on that computer once
The plugin isn't under /plugin Run the two commands under "Get it" again, then restart Claude Code. orbit from the sarv marketplace should be installed and enabled
A new version doesn't arrive Turn on auto-update ("Get it", step 3), or run /plugin marketplace update sarv, then restart Claude Code
"You don't have permission to do that in this project" Claude acts with your own Orbit permissions. Check you're a member of the project and your role can create and edit work items
"It still has open subtasks" Orbit closes a task only after its subtasks. One of them is still open, often one a teammate added: close or cancel it in Orbit, then ask Claude again
Items wait in the review state with a "handed to a person" comment Expected: Claude doesn't close items it didn't create, or items that carry points. Close them yourself in Orbit
Claude asks for a field's value, or says the project needs fields The project has required fields with no default. Give Claude the value, or run /orbit:link again to save it for the repo
"Nothing was sent: … has no task label" or "There is no priority called …" A name in .orbit.json defaults doesn't exist in the project (any more). Ask Claude to change the repo's default labels or priority, or fix the file
"Orbit doesn't show you this project's custom fields, so they can't be changed from here" Your role can't see the project's custom fields. Change the field in Orbit, or ask a project admin
"This project has required fields you don't have access to" Your role can't see the project's custom fields, so Claude can't fill them. Ask a project admin to give those fields a default value
Items land in the wrong Orbit (dev vs production) ORBIT_API_URL / ORBIT_APP_URL in the shell where Claude Code started decide which one. Unset, it's production
You need a different Orbit account /orbit:logout, then /orbit:login: the Allow page lets you switch account

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages