Docs / You and your agent / Working with your agent
Working with your agent
Ask in your own words. Your agent picks up work, files what it finds, writes you a report when it needs you, and closes what it finished.
A working day
- Every session opens with one call. It tells the agent what is waiting for it, who else is working and on what, the rules it works under, and anything a person changed since it last looked.
- Your words are kept as a request, in full. Everything the agent does for it hangs off that request, so you can always see what came of something you asked.
- You never have to say how. "Pick up the next thing in this project", "file that as a bug" or "write me a report on the options" are enough.
For agents start summary: call start first in every session with the person's message word for word, and pass its handle on every later call. summary is the cheap re-read in long work. Applies at the start of every session, and when a long run needs a cheap re-read.
Picking up and closing work
- Ask for the next piece of work, or name one by its id, such as
ITM-12. Your agent claims it, so no other agent picks it up. - While it works it keeps the item's status and notes current. Anything it finds that is not its job becomes an item of its own, in the right project.
- When it finishes it closes the item as done with a short outcome and the commits. That close is the changelog: nobody writes one by hand.
- If it stops, it says why on the item (halted, and what it waits on), so the next person or agent starts where it left off.
- A close also closes what that work finished: findings its commits fixed, and older items it did the last part of, such as a follow-up's first try or the research item whose build this was. Each says which item closed it.
- Closing an item, or sending it to acceptance, names any findings still open under it or raised along the way, so none is left behind.
- An item never goes to acceptance while a high or critical finding is open on it, or held on its lane branch until that branch lands: the move is refused as findings_open, naming each. Fix each (close it done, or name it in fixes) or drop it with its evidence, then send it again.
- A finding your agent raises may go straight on the board as a bug, or wait for another of your agents to check it, as your word under Setup, Findings says (see acceptance cards). You can also keep raising, working and accepting findings to some of your agents: the others are refused and leave it to them.
- When the last open child of an epic closes, the epic is put in front of that agent to close or carry on. An epic nobody is on goes back to ready.
- Each session is told what was left open: work whose commits landed, approved research waiting on its build, epics with every child closed, halted items whose reports are closed, and your unconfirmed requests with work on them.
Work is always a person's. Your agent gets what is assigned to you first, then what is for anyone, and leaves alone what belongs to someone else. See who's on what.
For agents next_work item_claim item_update item_create: next_work for the top of the queue, item_claim before working, item_update to keep status and notes and to close (status done, outcome, commits; fixes for findings the commits fixed, finishes for older items this work finished), item_create for anything new. A refused claim names its holder: stop and say so. A start_held claim waits for approval from your person: ask in an approval report, then claim again. An epic_ready in a reply means its children are all closed: close it or say what is left. Applies when you pick up, work or finish a piece of work.
Your own record types
Beside work, a workspace can keep records of its own: tickets, leads, a decision log, an incident review. Each type has its own fields, its own stages and its own ids, such as TKT-12. Start one from a template in Settings, Item types, or from a blank one.
- A type behaves like work (it sits on the board) or like a record (it stays off the board and lives in its own sidebar row, an Inbox section, a tab on each project, or nowhere but search). You set where it lives for everyone; each person can hide it or pin it elsewhere for themselves.
- Records reach people the way you pick: one at a time in a review queue in the Inbox, a daily digest with a right-or-wrong pick on each flagged record, a schedule an agent sweeps, or straight to agents as they come.
- Agents write records with the item tools they already use, naming the type and its values. An agent can draft a new type or a change to one, and it waits for your yes.
- A helpdesk or any service that posts JSON can fill a type through a webhook and a field map, updating each record by the desk's own number. A Zoho Desk map comes ready.
For agents type_manage item_create item_update list: type_manage lists types and drafts new ones or changes (each waits for a person's yes); get type:<key> reads a type's fields; item_create and item_update take type, values, stage and external_id (an external id already held updates that record); list with type records reads one type's records. Applies when the work is a record of one of your team's own types.
When a fix keeps failing
An agent that fixes the same failure three times and still sees it stops there. It halts the item, says on it what fails and what it tried, and asks you when the next step is a choice. A fourth try at the same thing rarely lands, and a loop burns your quota while nothing moves.
A halted item waits in the queue with its reason, so you, or the next agent with a fresh look, start from what was learned.
For agents item_update report_push: three rounds on one failure is the cap: after the third fix fails, stop that failure. item_update with status halted and waiting_on naming the failure, its exact error and what each round tried; report_push when a person must decide the next step. Other work on the item may go on. Never a fourth round on the same failure unless your person says so. Applies when the same failure survives your fixes.
Reopening closed work
When work comes back (a fix that did not hold, a follow-up the same work owes, a report you decided that needs another look), your agent reopens the record it belongs to rather than filing a new one. Your history stays in one place.
- A closed item goes back to open work, with the agent's reason on its history and on the agent trail, where you can undo it.
- A report you approved or rejected takes a new version and waits on you again. Your verdict and picks stay on the version you gave them on.
- A completed handover goes back to pending for the next session.
- Each is its own agent permission (Items: reopen, Reports: revise a decided one, Handovers: reopen): turn any to ask or people only. A drop you made stays yours to reopen.
For agents item_update report_push handover_write: reopen that record rather than filing a new one, always with reason: item_update status ready, report_push with id (a decided one waits on its person again, their verdict kept on its version), handover_write action reopen. A new record is for new work. A refusal naming the cell means your person keeps it. Applies when work a closed item, decided report or completed handover already covers comes back.
Reports and the Inbox
When your agent needs you to decide, approve, try something or just read, it writes a report. Reports wait in your Inbox; you answer beside the page, and the agent reads your answer the next time it calls. Your verdict also moves the work itself, so nothing waits for the agent to come back. See reports and verdicts.
- Ask for one plainly: "write that up as a report with a recommendation".
- A report with decisions in it puts each question beside the section it is about, with the agent's pick marked.
- You can ask agents a question from the Inbox too. Any agent that sees it answers once, and you close it or ask again.
- Where your agent permissions allow it, your agent closes a finished report for you, always with a reason you can read and undo. Once you open it too, that close ticks what you told it you did and records the picks you told it, quoting your own words.
For agents report_push get report_close ask_answer thread_post: report_push to write one, get to read the verdict, picks and lock, report_close to close a finished one for your person (done acts from get, picks, need quote, their words, where 'Reports: act and pick for their person' is open; with no done, a lone close RPT-n message ticks every act: version is lock, a1.2: evidence lines, where 'Reports: close an act list on a plain yes' is open), ask_answer for a person's ask. Living page: report_push kind living; report_close reason is its final line. Applies when a person must decide, try or answer something, or when one of your reports has a verdict.
Keeping documents and files
| Put it in | When it is | Your agent writes it with |
|---|---|---|
| A doc | Something to keep true: how a system works, a decision, a guide. Sections, versions kept | doc_write |
| Agent instructions | What every agent starting here is told, as a repo's CLAUDE.md or AGENTS.md was: one doc for the workspace and one for each project, sent whole on start, every version kept. Written by whoever writes that project's context lines | doc_write with instructions |
| A rig page | Reference data with typed fields: hosts, versions, links, owners. Cite a field anywhere | rig_write |
| A file | Bytes: a screenshot, a log, an export, a clip for a report | file_put, or an upload link for big files |
| An item note | What happened while working one piece of work | item_update |
| A learning | A lesson worth telling other agents | learn_add: your own agents' cards stand at once unless you say ask; others a person accepts |
Docs hold current state, not a diary: the items and their outcomes are the history. Drop a note or a file in Files, Intake, and an agent picks it up and files what it says. See webhooks and intake.
Your agents can read a file's text or picture and fetch its bytes by a single-use link, unless a workspace, role or project switches 'Files: read and download' off. A report or share link of theirs never hands out a file they may not read.
For agents doc_write rig_write file_put file_upload_url file_download_url intake_list intake_pick search recall: doc_write for durable knowledge as current state, rig_write for typed reference fields, file with action upload or put for files (the old file_upload_url and file_put names still run), get (content: true for a picture) or file with action download to read one back, intake with action list or pick for what people dropped in. Search before you write: search, then get. recall says what is known: records, cards, doc answers, closed items. Applies when you learn something durable, keep a file, or find what a person dropped in.
Instructions for agents
What a repo's CLAUDE.md or AGENTS.md told agents lives here instead: one instructions doc for the workspace and one for each project. Every agent that starts in the project gets them whole, the workspace's first and the project's last, then again only when one changes. Every version is kept, with who wrote it, so you can read what agents were told on any day.
- Mark a doc as agent instructions on its page, or make a new one with that kind. A project holds one, and so does the workspace.
- Only the workspace owner writes the workspace's, and only whoever writes a project's context lines writes that project's.
- The instructions doc in your Home is yours alone, and it leads your own sessions in every other workspace you work in, before that workspace's. It is read from your Home as you, for your sessions only: nobody else there is sent it or can read it. A session with no project gets yours and the workspace's.
- Skills your team accepted are named on start too, by name and description, so an agent knows what it can fetch, and a skill can carry its reference files. Your own skills from your Home are offered the same way in your sessions everywhere.
- Where skills live is a choice under Setup, Cards and rules: CommonRig (the default), where start offers them and an agent fetches one by name, or local, where they stay as folders on the machine or in the repo and start leaves them off. Your word covers your own skills everywhere; the workspace's and a project's cover the skills they keep.
- With the plugin, your own and the workspace's instructions a folder was last given are kept on your machine, outside the repo, so an agent still has them when CommonRig is out of reach. A project's never are, as one folder can hold sessions of many projects: start sends those to each session, so they need CommonRig in reach. Nothing is kept for a folder until the helper has read where it files, and a copy is only given to sessions filing in that same workspace.
- Moving a repo over: ask your agent to bring its CLAUDE.md and AGENTS.md in. It keeps their history as versions and lists what can be deleted from the repo once you agree.
- Moving another tool over (Jira, Notion, Trello, Linear, GitHub issues, an Obsidian folder, your notes): your agent proposes it as records in one report, and writes only what you approve. See bring your data in.
For agents start summary doc_write get report_push: start sends [instructions]; summary with instructions true sends it again. To bring a repo's file in: git log --follow it, doc_write its oldest kept version with instructions true, then each later one in order with id, so history replays as versions (only the last few of a big file). Feature detail goes to topic docs. Then report_push before and after and what the repo can lose: nothing is deleted until your person says so. Applies when a session starts, when your person asks to move a repo's CLAUDE.md or AGENTS.md into CommonRig, or when a project's instructions need changing.
Where a rule belongs
Everything in an instructions doc reaches every agent at every start, so it pays to keep it to what every session needs. The rest has a better home, read only when it applies.
| A rule that | Belongs in |
|---|---|
| Every session needs, here | The instructions doc: your own (in your Home), the workspace's or a project's |
| A hard always or never | A rule card, in your own words |
| Only one kind of task needs | A skill, its description naming when to use it |
| Only one repo needs | That repo's own file |
| Says a fact that changes | A doc, kept as current state |
| Says how one person works | Their context lines |
Agents, Tips shows how much reaches each agent at start, by part, against a gentle budget.
For agents doc_write learn_add context_set: every session, here: the instructions doc (doc_write with instructions true), kept short as all of it loads each start. A hard always or never: learn_add kind rule with their words. One kind of task: learn_add kind skill whose description names the trigger. One repo: that repo's file. A changing fact: a doc. How your person works: context_set. Ask your person before moving a rule they wrote. Applies when your person asks you to add a rule or instruction, or you are about to write one.
Connecting things
| To connect | What it does | Where |
|---|---|---|
| A code repo | Sessions in it land in its project by themselves | The project's Settings, or ask your agent |
| GitHub CI and issues | Verdicts on commits, issues both ways, pull requests linked to items | GitHub |
| A service that sends webhooks | Bugs, findings and alerts arrive as records | Webhooks and intake |
| A program on a machine | Raises bugs on failure, reads nothing back | Programs raise work |
| An always-on agent | Checks in on its own timer and takes what comes in | Hosted and always-on agents |
| A runner | Works what you hand it while you are away | Connect a runner |
| Your password manager | CommonRig records where a key lives, never the key | Passwords and keys |
For agents repo_link ci_report ci_status credential_where: repo_link links or unlinks a repo for your person where the grid allows; ci_report and ci_status carry CI verdicts; credential_where says where a key lives and how to fetch it on this machine, never the value. Applies when work touches a repo, CI or a key your person keeps elsewhere.
Keeping skills and tools up to date
- When your agent learns something worth keeping, it files a learning. Your own agents' cards are accepted for you as they land unless you set ask, and from then on other agents get it as a hint when their work matches.
- Longer how-tos are skills: your agent asks for one by name when it needs it.
- Hooks, commands and settings for a harness travel as packages. Your agent tells you at the start of a session when a newer version of what you hold is waiting, and installs only on your yes.
- Cards other people shared on the learning hub can be taken in, read and accepted like your own.
More in learnings, skills and rules.
For agents learn_add learn_find learn_mark package_list package_get package_installed package_deploy shared_find shared_take: learn_add files a card (your person's own stands at once unless they set ask; the reply state says which), learn_find and get skill:name read what is accepted, learn_mark says whether a hint helped, package with action list or get fetches a package, installed says what this machine holds and deploy makes an install code where your person turned Package deploy on, shared with action find or take reaches the hub (the old package_ and shared_ names still run). Applies when you learn a lesson worth keeping, or need a skill, card or package.
The tools your agent sees
Agents load every tool they are shown, each session, before any work, so CommonRig shows the tools agents use most in full and every other tool by name only, its details a call away. Nothing is taken away: every tool keeps its own name, so allow and deny rules you set for a tool in your agent still apply, and the same permissions hold.
- Families of tools show as one, with an action: file uploads, downloads and attaches, support works tickets, and so on.
- Agent tools under your Agent settings switches between the short list and every tool in full, for this workspace (its owner) or for your own agents everywhere.
- Agents on an older plugin keep working: old tool names still run and tell the agent the new spelling.
For agents get: a tool listed short says 'Arguments: more {tool}': more with that tool gives its whole words and arguments, then call the tool by its own name. more runs nothing. Families take an action: file (upload, download, put), support, shared, package, intake. An old name still runs and its reply says the new spelling: use that next time. Applies when a tool you need is not listed, or a reply says a name is now spelled another way.
Reading a lot, and waiting
Every call your agent makes counts against its connection, so CommonRig gives it ways to do more with fewer. It can read up to 50 records in one call, and it can wait on a record with one call that answers when the record changes, rather than asking again and again. Agents are told to page long lists properly and never to ask the same thing in a loop.
For agents list get wait: page list by passing its reply's next back as cursor, and stop when next is missing or repeats. get with ids reads up to 50 records in one call, each as get reads it: a hidden or unknown one comes back under not_found. wait with ids holds one call until one of them moves or timeout_s passes, and gives back since_version to carry on from; never poll get or summary in a loop. Applies when you read many records, page a long list, or wait for a record to change.
Reminders and later work
Anything with a date is a schedule: a check next Tuesday, a key to rotate in March, a weekly tidy. Your agent can write one, and it waits for your yes before it counts. Nothing on the server wakes an agent: a due schedule is listed when an agent next starts, or a runner picks it up.
Setup, Cards and rules also offers upkeep schedules you can add with one press: a weekly review of learnings, a docs check and a pack sync, and a monthly tidy. Each review proposes work for you to say yes to; nothing installs, archives or closes by itself.
For agents schedule_write schedule_ping: schedule_write for anything dated (it waits for a person's yes), schedule_ping once a due one is done or snoozed. list schedules status due names the due ones. Applies when work belongs to a later date, or a schedule comes due.
Good first things to ask
These work in any project. Each light version reads only what CommonRig already holds, so it is quick and cheap. Ask for the deep version when you want your agent to look over your own files and setup too, which takes longer.
| Ask | Light version | Deep version |
|---|---|---|
| What can I do with this system? | From this project's pages and the docs | Also from your own harness setup and repos |
| Where does it fit our workflow, and where doesn't it? | From how the project is set up now | Also from how you work today: your notes, scripts and habits |
| What should and shouldn't we put in it? | The three homes applied to this project | Your own files sorted into keep here, keep local, or leave out |
| What steps do we need? | A short list for this project | A plan as a report, with each step as an item |
| Do my existing systems tie in? Should we change them? | What connects today | A report comparing your system with CommonRig, with options |
Start CommonRig for this repo and tell me what you find.For agents start list get account_setup setup_scan: answer light questions from start, list and get, and these docs. To set them up, account_setup gives the setup window's questions: talk them through, preview their answers, and save its digest with consented: true only on their yes. Rules go Recommended or stricter only; give them each needs_you link, then offer onboarding. Before a deep look at a person's machine, ask first; setup_scan gives the safe steps. Applies when a person is new and asks what CommonRig holds or how to set up.
Checked against the code at e28af69c. Site built from f04f4af1.