chips
Skill452 starsChanged 10 days agoApache-2.0View on GitHub
Run the project's suggested-task ledger, the chips. /chips alone brings this session's open tasks up to date: it applies what the ledger helper says, settles stale and split tasks, cards what can start and reports the board, and /chips all also takes the ship-list tasks and the ones no live session owns. Use for /chips, /chips offer, start or drop, \"what chips are open\", \"suggest a task for X\", \"update the chips\", \"clean up the chips\", \"which chips are stale\", at the last hand-back of a run that offered a task, and whenever pstack would file a tracked issue, a follow-up, a reflect Backlog item or an out-of-band PR.
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- udecode/dotaiedited, first seen Oct 25, 2026
- udecode/plateedited, first seen Oct 17, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- udecode/plate★ 17k69% same
- udecode/dotai★ 1.2k69% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- 4-ultraciteSkill
- agent-browser-issueSkill
- better-auth-best-practicesSkill
- changeset-doc-syncSkill
- changeset-resolveSkill
- changesetSkill
- cleanupSkill
- component-colocationSkill
- concave-paritySkill
- concaveSkill
- convex-release-auditSkill
- designSkill
- jotai-xSkill
- kitcnSkill
- next-dev-loopSkill
- nextjsSkill
- package-release-auditSkill
- plan-pageSkill
- react-querySkill
- redoSkill
- research-wikiSkill
- shadcn-paritySkill
- sync-convex-authSkill
- test-auditSkill
- toastSkill
- turborepoSkill
- verifySkill
- video-transcriptsSkill
- walkthroughSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 1 is distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Check items: look each session up with the session tool, read the last report of each archived one, and log the row chips.md's Sweep gives …
- Very specific: line 36
When the tree already holds its fix, log dismissed done, citing the commit.
- Very specific: line 37
When its target was deleted since its offer, log dismissed superseded.
- Very specific: line 39
When a PR it waits on closed without merging, log updated with the waits it has now.
- Very specific: line 40
When two open tasks answer one question, log the topic move and dismissed dup that chips.md's Sweep gives.
- Very specific: line 53
Run chips --session <id> first, and read the brief of each open task whose topic or title touches the finding with chips brief <id>.
- Very specific: line 55
When the finding belongs to an offered task's question and that task holds no card, log a folded row on it with what the finding adds.
- Very specific: line 56
When it belongs to the question of a started task or of one that holds a card, offer a new task in that topic with waits: task:<id>.
- Very specific: line 67
Leave every other task to /chips.
- Very specific: line 76
Run chips brief <id> and work from what it prints, not from the card's prompt.
- Very specific: line 77
When the brief's State: line says neither Ready nor Started, tell the owner what it says and stop.
- Very specific: line 79
Before writing a path the task does not list, log another started row with it.
- Very specific: line 84
When the task is started, log dismissed stopped.
- Very specific: line 86
When another session holds its card, log dismissed declined with that card:.
- Very specific: line 87
When it holds no card, log dismissed declined.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Chips
Chips are a project's suggested tasks, the side work outside a run's target, or a measurement that does not fit a run's one-hour budget, that the owner can start in a new session. They live as rows in one ledger per project, and a card in a suggest tool is only a view of one. The law is .agents/pstack/rules/chips.md, which sync-pstack renders into every project. Read it in full before this session's first ledger write, except in a session a card started, whose brief holds what its own task's rows need. This skill runs its modes; it adds no rule of its own.
Every command below is node .agents/pstack/decisions-check.mjs <command>, run from the project's checkout, which a card session that opened in its own worktree names by the path its brief prints. In a trunk project, where every session works in its own worktree, every command runs as written from that worktree, because the helper switches to the main checkout on its own for chips and for an append to the ledger. Get this session's id from the runtime's session tool, such as Claude Code desktop's get_session with self, and pass --session <id> to every board read. A runtime with no session tool reads the board without it.
| Mode | Use it to |
Sweep, /chips with no argument, /chips all or /chips codex | bring this session's open tasks up to date, card what can start and report the board; all also lists every priority and takes the ship-list tasks and the tasks no live session owns, and codex forces the Codex handoff on each card it offers, outside trunk delivery |
| Offer | add a finding, the one way new work enters the ledger |
| Close | card the run's own Ready offers at its last hand-back, without the sweep |
| Start | begin a task a card opened, in the card's session |
| Drop | record the owner's word to drop a task |
pstack calls these modes too. Where a pstack step files a tracked issue, a follow-up or a reflect Backlog item, or puts an out-of-band fix in its own PR, the lead runs Offer instead for a new P0 or P1 finding, for an item the run's verdict judges or for any finding in a babysit run, and otherwise lists the finding in the plan's Open work, as chips.md's Offer says. It runs a sweep only on /chips, as chips.md's Sweep says, and Close at the last hand-back of a run that offered a task, never after a sweep, whose card pass replaces it. A question about open chips, such as "what's next" over side work, runs steps 1 and 6 without step 1's cleanup, logs no row and offers no card.
Sweep
In a trunk project, first run
node .agents/pstack/setup.mjsfrom the main checkout, which fast-forwards it when no local edit is in the way. Runchips --session <id>andchips stale. The stale report lists each open task with its age, its priority, a ship item that closed, the paths it writes that were deleted since its offer or are missing, the commits on its paths since its offer, its closed PR waits and its card, the likeliest stale first.Then clean up the card sessions of landed tasks, as chips.md's Cleanup says. Save the session tool's list of every session, archived ones included, such as Claude Code desktop's
list_sessionswithinclude_archivedand alimitabove the session count, as a JSON array in the run directory, and runchips cleanup --sessions <file> --session <id>. For each session it lists under Archive or Keep, read that session's last report with the session tool and fix each piece of workflow friction the report leaves unsettled, as chips.md's Landing says. Then archive each session it lists under Archive, save the list again, runchips cleanupagain and run thescan.mjs --removecommand it prints. Keep the first run's Report lines for step 6. Under/chips all, read the board again withchips all --session <id> --sessions <file>, using the list saved last, as chips.md's Owner says, and use that board from here on. A runtime with no session tool skips this.Apply the pass the Do list shows, together with the run's own rows that chips.md's Sweep lists, in one
append --from <file>batch:- Withdrawal pass: call the dismiss tool on each card it names, then log the row the tool's report decides, as each item says.
- Ledger pass: log each row it names. For a prioritize item, judge the task's priority from its brief as chips.md's Priority says, and check that a bug's repro still fails before you claim P0 or P1 for it. For a ship item, append the offer it prints.
- Card pass: leave it to step 5.
- Check items: look each session up with the session tool, read the last report of each archived one, and log the row chips.md's Sweep gives for it. A task the tool cannot settle stays started, and step 6 says why.
Run the same board read again,
chips all --session <id> --sessions <file>under/chips allandchips --session <id>otherwise, and repeat until the Do list shows only the card pass or nothing you can apply. Whenappendrefuses a batch, fix or drop the refused row as its message says and append the rest.- Judge each task the stale report gives a fact, from its brief, those facts and the code, and append the rows in one batch:
- When the tree already holds its fix, log
dismissed done, citing the commit. - When its target was deleted since its offer, log
dismissed superseded. When a path only moved, logupdatedwith the newwrites:. - A missing path is one the offer named wrongly or one the task will create. Find the real path with
git ls-filesand logupdatedwith it, or leave a path the task creates. A carded task'supdatedonly drops paths, so its session names the real one in itsstartedrow. - When a PR it waits on closed without merging, log
updatedwith the waits it has now. - When two open tasks answer one question, log the topic move and
dismissed dupthat chips.md's Sweep gives. When the keeper holds a card or is started, logwaits: task:<keeper>on the other instead. - For a started task, log
landedwhen a commit holds its change. Step 2's check item settles the rest from its session, so never ask the owner whether that session still runs. - When the report marks a task possibly thin, find its finding in the plan, log or run its offer names, and log it as a
foldedrow. When this session holds the task's card, withdraw it first. When another session holds it, fold the finding once that card leaves the queue. When no source holds the finding, leave the task as it is. Step 6 says which tasks stay thin. - Judge the dependencies and effort of each task that holds a card, as chips.md's Cards says.
- Judge each task's own priority again against chips.md's Priority; the stale report prints it as
ownwhen a waiting task raises it. Logupdatedwith the rightpriority:and its evidence when it differs. When the report says a task's ship item closed, logdismissed donewhen the item's work landed, orupdatedwith the priority its work has now.
- When the tree already holds its fix, log
- Repeat step 2 for what step 3 changed.
- Card pass: before each card, judge the task's dependencies and effort as chips.md's Cards says. Then offer each card the Do list names with what
chips brief <id>prints as its prompt, verbatim, the brief's first line as its title, which starts with the task's priority such as[P0], shortened to fit the tool's title limit with that priority and any(xhigh)or(fast)kept, the effort its brief shows and its own worktree, such asstart_session'suse_worktree: true, because the tool's default shares this session's folder when this session did not start in a worktree, all in the same turn, then logcardedwithcard:andsession:, pluscodex: alwaysunder/chips codexoutside trunk delivery. A runtime with no suggest tool lists each Ready task in the plan's## Open workinstead, or in the reply when the run keeps no plan, as chips.md's Limits says. Before each card, check whether the task'swrites:touch an active plan, one whoseStatus:starts with a wordstatus.mjscounts as active, such as building. That plan's files are the plan itself, its decision log and its subject file<plans>/topics/<topic>.md. The topic is itsTopic:line, or the first entry of the frontmatter list thatpageTopic.fieldin.agents/pstack.jsonnames. Its session is rewriting those files, andchipssees only ledger tasks, so logupdatedwith the task's waits plusrun:<that plan>instead of the card. - Report first the cleanup's Report and Keep lines, each task the sweep cleaned up with its commits, and each worktree
scan.mjs --removekept with its reason. Then report in plain words each row this sweep logged, one line each, then what can start and whether it has a card, withstart <id>beside each Ready task the 10-card limit left uncarded, what is started, why it stays open and that "drop<id>" closes it, what waits and on what, grouped by the thing waited on, and the fast work owed a review. When a task waits on landed work the owner has not committed, the report suggests that commit before it lists what can start, naming each landed task and how many waiting tasks its commit frees, because those tasks can start only after it. Name each task by id and title. The report names each commit by its subject and ends with its links, the cleanup lines' links included, as writing.md's Links in replies rule says, with the owner and repository read from the checkout'soriginremote. The report asks the owner nothing. When a session's report or its plan holds a question for the owner, the lead settles it. It answers from the law that governs the question, as alookDefaults row in that plan with a decision row and a message to the session. When no law answers it, the lead offers it as adecidetask when it is P0 or P1, and otherwise lists it in the report, as chips.md's Offer says for a run that keeps no plan. The owner reverses a dismissal by asking, and the lead offers the task again.
Offer
Offer only a new P0 or P1 finding, unless it is an item the run's verdict judges, a finding in a babysit run or a measurement the Time budget rule sends here, as chips.md's Offer says. List any other finding in the plan's Open work, or in the reply when the run keeps no plan. A project hook that finds recurring work due offers its own P2 or P3 task with via: hook without this mode, and the session it stops runs Close on that task.
- Run
chips --session <id>first, and read the brief of each open task whose topic or title touches the finding withchips brief <id>. - Pick the row as chips.md's Offer says:
- When the finding belongs to an offered task's question and that task holds no card, log a
foldedrow on it with what the finding adds. - When it belongs to the question of a started task or of one that holds a card, offer a new task in that topic with
waits: task:<id>.chipsmerges it into a carded task once the card is withdrawn. - Otherwise offer a new task with an id from
chips id, a plain imperative title,(xhigh)only where chips.md's Title rule gives it, and itswrites:,topic:,kind:,priority:with the evidence chips.md's Priority asks,via:on a P2 or P3 offer,waits:,owns:andsession:, this session's id, which makes it this session's task, as chips.md's Owner says. Itswaits:includerun:<plan>for each active plan whose files it writes, as Sweep step 5 finds them. Reuse a topic the board lists when the finding answers its question. A new topic names one owner question, never an area.
- When the finding belongs to an offered task's question and that task holds no card, log a
- Append it with
append <ledger> chip "<id> <title>" "<finding>" "<tokens>" <result>, where<ledger>is<plans>/artifacts/suggested-tasks.decisions.tsvin trunk delivery and<plans>/suggested-tasks.decisions.tsvotherwise, the path chips.md's Ledger names. Whenappendrefuses the row, its message names the route; follow it. - Card it in Close at the run's last hand-back, not now, because a later finding in this run may still fold into it, and a carded task takes no
foldedrow.
Close
A run that offered a task runs this at its last hand-back, once it has delivered its work, closed its plan and made its last offer, reflect's included, as chips.md's Close says. A session a card started runs it too, after its friction fixes and before scan.mjs --landed, as chips.md's Landing says.
- Run
chips brief <id>for each task this run offered, whoseState:line says at any priority whether it is Ready and what it waits on, and read no board, because a board's card pass lists tasks this run did not offer. For each task this run offered that is Ready, judge its dependencies and effort as chips.md's Cards says. For a task that needs another open task's result, log anupdatedrow with its waits plustask:<that id>in place of its card. Append these rows in one batch before any card, because a new wait can raise the priority the next brief prints, and a card's title cannot change. - Offer a card for each of the rest the way Sweep step 5 offers one, highest priority first, within the 10-card limit and all in one turn. Then append each card's
cardedrow in oneappend --frombatch. - Leave every other task to
/chips. - Add one line to the reply beside the page link: how many tasks the run offered, how many it carded and what each of the rest waits on, with
start <id>beside each Ready task the limit left uncarded./chipscards a waiting task once its wait clears, or/chips allfor a ship-list task or once this session is gone.
A runtime with no suggest tool still runs step 1, then lists each Ready task in the reply instead of carding it, as chips.md's Limits says for a plan that has closed, and leaves step 4's /chips and /chips all hints out, because they card nothing there.
Start
A session a card opened, or one the lead started on the owner's "start <id>", runs this before it writes anything, as chips.md's Sweep says.
- Run
chips brief <id>and work from what it prints, not from the card's prompt. - When the brief's
State:line says neither Ready nor Started, tell the owner what it says and stop. - Log
startedwithwrites:naming any path the brief lacks andsession:naming this session's id where the runtime's session tool gives one, then runchips brief <id>again, because the task could change until that row. When the session tool shows this session above the brief'sEffort:, say so to the owner in your first reply, because a session cannot lower its own effort. - Before writing a path the task does not list, log another
startedrow with it. Whenappendrefuses that row because another started task writes that path outside the checkout, which happens only outside trunk delivery, leave the path alone and tell the owner. - When the work is done, land it and log
landed, then fix the workflow friction you hit as the brief says, then run Close on each task you offered, then remove the worktree as the last command, as the brief's paragraph on landing and chips.md's Landing say. A review task's session first logsreviewedon each task it reviewed.
Drop
- When the task is started, log
dismissed stopped. - When the task holds a card this session offered, call the dismiss tool on it. When the tool reports the owner started it, log
startedand tell the owner. Otherwise logdismissed declinedwith itscard:, in place ofuncarded, so no merge lands between the two. - When another session holds its card, log
dismissed declinedwith thatcard:. - When it holds no card, log
dismissed declined.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

