record-decision
Skill2 starsChanged 8 days agoMITView on GitHub
Record a decision the CEO took, either by answering a decision card by code (for example ACME-D3) or by deciding in chat. Creates the immutable decision record, updates the index, the queue and the pending list, handles supersession, creates or updates issues and tracker fields in registered product repos, dispatches follow-ups, and commits with notice. Use when the CEO answers a card, says "decision", or confirms a direction.
- Commits and pushes
16 other projects use a version of this.
Adopted by
Most recently taken up by
- jabbott-iii/Tidepooltheir own version, first seen Nov 29, 2026
- M0xoo/wisptheir own version, first seen Nov 29, 2026
- BetoFrega/skillstheir own version, first seen Nov 29, 2026
- WispAgents/wisptheir own version, first seen Nov 29, 2026
- Memolok/Claude-plugintheir own version, first seen Nov 26, 2026
- The-Urcydo/Agents-Skills-Roles-Orientedtheir own version, first seen Nov 22, 2026
Used with
Projects with it also use explain-code, verify and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
zbruhnkeSkillexplain-code
Explain how code works in detail. Use when trying to understand unfamiliar code, complex logic, or system architecture.
Also in 3 projects that use this
Microsoft AzureSkillverify
End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.
Also in 4 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- WispAgents/wisp★ 17same name
- hardness1020/VibeFlow★ 8same name
- Walsworth-Group/physkit★ 7same name
- iopsystems/skills-mcp★ 6same name
- The-Urcydo/Agents-Skills-Roles-Oriented★ 2same name
- wisterx-spec/agent-rails★ 2same name
- YangFan-Code-Star/context-dev★ 2same name
- BetoFrega/skills★ 1same name
- jabbott-iii/Tidepool★ 1same name
- Memolok/Claude-plugin★ 1same name
6 more not listed
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 repository11 other files it gives its agents.
- close-orgSkill
- departmentsSkill
- draft-as-ceoSkill
- hq-versionSkill
- init-fleetSkill
- initiativesSkill
- intakeSkill
- portfolio-briefSkill
- product-reposSkill
- session-startSkill
- weekly-briefSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 6 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Only the chief of staff (CoS) runs this skill.
- Very specific: line 17
Every file this skill writes in the hq is written by a worker (one tier down, explicit model) from your instructions, and you read the diff.
- Very specific: line 46
Update decisions/README.md: add a row | NNNN | <Title> | YYYY-MM-DD | accepted | to the | # | Decision | Date | Status | index.
- Distinctive: line 48
Update the queue and the lists:
- Very specific: line 49
Remove the answered card from company/decision-queue.md.
- Distinctive: line 51
If the decision changes facts (products, numbers with source and date, risks), update those sections.
- Very specific: line 52
If the decision belongs to an initiative, add the record to the Links of its initiatives/<slug>/status.md and update its state and next …
- Very specific: line 53
If the decision sets or changes what the org focuses on now, update "Current focus" in company/strategy.md (if present) and cite the record …
- Distinctive: line 59
Follow-ups: for each consequence that needs work, either
- Distinctive: line 63
If the decision touches a rule that needs a later check (gates, brand, policy), say which item will carry it.
- Very specific: line 67
Update issues the decision changes (gh issue edit -R <slug> <number> ..., gh issue comment -R <slug> <number> --body '<text>') and close …
- Very specific: line 68
Add each new issue to the tracker and set tracker.status_field to match the decision (gh project item-list to find an existing item.
- Distinctive: line 69
Put every issue URL in the new record's Links before the commit (the record is immutable once committed).
- Distinctive: line 80
If the CEO asks to undo an earlier decision, that is a new decision: record it as a new record that supersedes the old one.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
record-decision
Reply to the CEO in the chat language set in org.yaml (language.chat); write every file in the file language (language.files).
Closed org: when org.status in org.yaml is closed, say that the org is closed and read-only, and stop: this skill writes nothing. Only the Reopen procedure of the close-org skill writes in a closed org.
Only the chief of staff (CoS) runs this skill. Record format: ${CLAUDE_PLUGIN_ROOT}/schemas/decision-record.md; card format: ${CLAUDE_PLUGIN_ROOT}/schemas/decision-card.md; state format: ${CLAUDE_PLUGIN_ROOT}/schemas/state.md.
Every file this skill writes in the hq is written by a worker (one tier down, explicit model) from your instructions, and you read the diff; commits, pushes and gh writes stay with you.
Hard rule
Never record a decision the CEO did not take. An answer must come from the CEO in this conversation. A recommendation, a draft, or silence is not a decision. If the CEO's words are ambiguous or only partly answer the card, ask one clarifying question before writing anything. If the CEO only says "ok" to a long list, confirm which codes and options you understood.
Steps
- Sync. Run
git remote. If it prints nothing, skip pull and push and say once: "No remote: pull and push skipped". Otherwise rungit pull; if it fails, say so in one line and continue with the local copy. Skip this step if the session already synced hq. - Identify the decision. Read
org.yaml,company/state.md,company/decision-queue.mdanddecisions/README.md. Match the CEO's answer to a card by code (<ORG_ID>-D<n>) and to an option, or, for a chat decision with no card, state it in one line and confirm it. Answers to several cards in one message become one record per card. - Check for existing and conflicting records: Grep
decisions/for the topic. If the new decision replaces or changes an earlier one, plan the supersession (step 7). If a card is only partly answered, keep it in the queue with the answered part noted and record only what was decided. - Next number: highest
NNNNindecisions/plus 1, four digits, never reused. Filenamedecisions/NNNN-<kebab-slug>.md. Create it:
Context and Options come from the card (the card's# NNNN. <Title> - Date: YYYY-MM-DD - Status: accepted - Card: <ORG_ID>-D<n> (or: none) - Decided by: <ceo role id from org.yaml> ## Context ## Options ## Decision ## Consequences ## Linksproposed_by: <dept-id|cos>orneeds analysis by: <dept-id>line is not copied; name the proposer in Context if relevant; keep them short; quote the CEO only where it captures intent). Decision names the chosen option first, then the specifics. Consequences list what changes and any accepted risk. Links point to the card code, related records, issues or files. Date is today (date +%F). - Update
decisions/README.md: add a row| [NNNN](NNNN-<slug>.md) | <Title> | YYYY-MM-DD | accepted |to the| # | Decision | Date | Status |index. - Update the queue and the lists:
- Remove the answered card from
company/decision-queue.md. If the queue becomes empty, write_No open decisions._. - Remove the
<ORG_ID>-D<n>item from "Waiting on the CEO" incompany/state.md, and its line from "Open decisions". If the D item has open children, keep its line as their parent instead: set its kind to{wait}and rewrite its text to<question> decided (decision NNNN); it goes with its last child. If the D item is itself a child and was the last child of a{wait}parent, remove that parent too, after carrying out an action the CEO approved on it (${CLAUDE_PLUGIN_ROOT}/schemas/state.md, "Parent and child items"). - If the decision changes facts (products, numbers with source and date, risks), update those sections. A consciously accepted risk goes in Risks with a link to the record.
- If the decision belongs to an initiative, add the record to the Links of its
initiatives/<slug>/status.mdand update its state and next step (theinitiativesskill, section Update). If the decision closes or drops it, close it with the same skill. - If the decision sets or changes what the org focuses on now, update "Current focus" in
company/strategy.md(if present) and cite the record (see decision NNNN). A change tocompany/vision.mdneeds a decision that says so explicitly. - If the decision changes
gates:oraccounts.forbidden_connectorsinorg.yaml, write the permission rules in.claude/settings.jsonagain (${CLAUDE_PLUGIN_ROOT}/gates/permissions.md, section "Write the rules") in the same commit (when the decision changes the tier ofpush-non-deploy-branch, also the clone-push rules in.claude/settings.local.json, same section); a connector removed from the forbidden list also loses its rule inpermissions.deny. - Set
last_updatedto today. Do not changenext_actionornext_decision; codes are never reused.
- Remove the answered card from
- Supersession and amendment: records are immutable. Never edit the body of an old record. If the new record supersedes or amends an earlier one, change only the old record's status line to
Status: superseded by NNNNorStatus: amended by NNNN, and update that row's Status in the index. Mention the old record in the new record's Links. - Follow-ups: for each consequence that needs work, either
- add an A item to "Waiting on the CEO" when it needs the CEO (
- <ORG_ID>-A<n> [urgency] {kind}: <exact action> (since YYYY-MM-DD), incrementnext_action; kind{do}when only the CEO can do it,{ok}for an OK after which you or a department carry it out; see${CLAUDE_PLUGIN_ROOT}/schemas/state.md). When the decision opens two or more follow-up items, put them under the D line as children and keep the D line as their{wait}parent; a single follow-up stays a top-level line. - or dispatch a department, by its agent name (
agentinorg.yaml, or its id whenagentis missing), with a self-contained brief (goal, files, constraints, definition of done, what to return; end it with: "If you spawn sub-agents, do not set a more capable model than your own"), or leave a note for it. Respect the gate table: a dispatch to a department that will push is "notice" (one line before); anything at the "ok" tier needs the CEO's explicit OK and goes in the pending list first. - Held work: a follow-up or an issue of step 9 that you do not route in this turn (cost, priority, capacity) gets
- <ORG_ID>-A<n> [urgency] {ok}: start <issue or task>, <who would do it> (since YYYY-MM-DD)in "Waiting on the CEO", in the same turn; incrementnext_action. The CEO's OK starts it. - If the decision touches a rule that needs a later check (gates, brand, policy), say which item will carry it.
- add an A item to "Waiting on the CEO" when it needs the CEO (
- Issues and tracker. Skip this step entirely when
reposinorg.yamlis[]or absent (anorg/2file); skip only the Project part whentrackerisnoneor absent. These writes are free: do them, then report them. Write every GitHub write with one-R <slug>right after the subcommand and its text inline in single quotes (a'inside is written'\''), never with--body-fileor-F: Claude Code asks before each GitHub write, and its prompt then shows the repo and the whole text. That prompt is not a gate's OK and needs no A item. Exception: on a repo withprotected: trueinrepos:(or matched by a protected owner patternowner/*, or not registered at all) every write needs the CEO's explicit OK first: ask one narrow question naming the repo and the writes, or add one A item of kind{ok}for them, and list the intended changes in the record's Links and in the report. The hq is never protected.- For each consequence that is work in a registered repo, find its issue (
gh issue list -R <slug> --search "<words>") or create one (gh issue create -R <slug> --title '<title>' --body '<body>') in that repo, or in the issues home (issues_home: true) when the work spans repos. The body holds acceptance criteria. Link the decision: in a private repo (or an issues home that is the hq) write<ORG_ID>-D<n>and recordNNNN; in a repo withvisibility: publicwrite no internal names, codes or hq content. - Update issues the decision changes (
gh issue edit -R <slug> <number> ...,gh issue comment -R <slug> <number> --body '<text>') and close the ones it makes obsolete, with a one-line comment saying why (gh issue close -R <slug> <number> --comment '<why>'). - Add each new issue to the tracker and set
tracker.status_fieldto match the decision (gh project item-listto find an existing item;gh project item-add,gh project view,gh project field-listandgh project item-editto add and set, as in theintakeskill's issue route). - Put every issue URL in the new record's Links before the commit (the record is immutable once committed).
- If
ghfails (not installed, not signed in, noprojectscope), say so, add an A item of kind{do}with the exact command for the CEO (for examplegh auth refresh -s project) unless one is already open, list the intended issue changes in the report, and commit the rest.
- For each consequence that is work in a registered repo, find its issue (
- Check, then commit. The lines this run changed in
company/state.md(and in astatus.md) are rewritten to the current fact, never appended to, with the history that matters in the log; measure them with the check at write time (${CLAUDE_PLUGIN_ROOT}/schemas/boot-set.md, "Check at write time"; Grep andwc -c, not the script) before the commit. Commit in the same turn as the CEO's answer and the issue writes of step 9, before you reply: never wait for the end of the session or for the CEO's next answers. The gate forhq-commitis "notice": write one line to the CEO (what, where; for example "Committing to hq main: record 0007 for ACME-D3, queue and state updated."), then commit with a message likedocs: record decision NNNN <slug>and the attribution lines required by the session. Do not wait for an OK. The commit and the push are onehq-commitcovered by that line: then push withgit push origin HEAD, and skip the push whengit remoteis empty. - Report in chat language, briefly: record created (number and title), what moved in the queue and pending list, issues created, updated or closed and the status set (with links), follow-ups with codes, and anything superseded.
Notes
- Same turn: a decision taken in chat is recorded and committed in the turn the CEO takes it, together with its issue writes. Several answers in one message may share one commit; answers given in different turns get one commit each. Batching stays allowed for routing follow-ups, never for recording.
- Company with an
[escalate: holding]card: the answer is recorded here only. Never write to the holding repo. - If the CEO asks to undo an earlier decision, that is a new decision: record it as a new record that supersedes the old one.
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.

