team-ceo-view
Skill1 starsChanged 2 months agoMITView on GitHub
Use when a team-* skill (team-refactor, team-council, team-council-plan, team-kickoff) reaches a CEO gate and the human must approve, decline, or choose between options. Also when the user asks for a visual, HTML, or browser view of a decision, backlog, or plan.
In this repository6 other files it gives its agents.
- team-council-planSkill
- team-councilSkill
- team-kickoffSkill
- team-protocolSkill
- team-refactorSkill
- team-scanSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
No background commands, or the server can't start → open the .html itself (xdg-open on Linux, open on macOS) and wait for the human to …
- Very specific: line 139
Only title and decisions (each with id and title) are required, plus outcome for plan and kickoff.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
team-ceo-view
Turns a CEO gate into a local HTML decision page. Under the summary, an Outcome block shows where the work lands: a mockup of the target screen, a diagram of the target system, or both, beside today's state. Every decision, tension and rejected idea is a card the human decides on. Each card carries its own evidence: arguments for and against, metrics, before/after code, figures and screenshots. A sidebar holds search, filters and an overview whose item chips jump to their cards. The human decides in the browser and sends the decisions back with one click.
Markdown stays the source of truth. Agents read and git diffs the .md record. The HTML is the human's view of the same gate, and never holds a decision the .md doesn't get.
Procedure
- Write the gate JSON to
.council/gates/YYYY-MM-DD-<topic>.ceo.json(create the folder if absent), withsourceset to the record it belongs to. Contract below. Show the destination. Filloutcome(see Outcome below) before the cards: the human approves where the work lands, not a list of steps. Evidence goes on the item it supports. Arguments, metrics, code and figures belong to the decision, tension or rejected item they concern, never to a page-level section. Copy every screenshot an item relies on into.council/gates/YYYY-MM-DD-<topic>/: scratchpad and/tmpare wiped after the session. - Check it:
node <base directory>/render.js .council/gates/<file>.ceo.json, where<base directory>is the one shown when this skill loaded ("Base directory for this skill"), for a manual and a plugin install alike. It writes the.htmland prints its path, or rejects invalid JSON with a list of errors. It also rejects any item whose text mentions a screenshot or "figure N" but carries nofigures. Fix and re-run until it passes. Re-rendering after the JSON changes gives the human a fresh set of decisions, so stale choices don't carry over onto edited items. - Serve it: run the same command with
--serve, in the background (Bashrun_in_background, timeout 7200000). It serves the page on127.0.0.1and opens it in the browser. When the human clicks Send to Claude, it saves the block to<gate>.decisions.txt, prints it, and exits, which re-invokes you with the block as its output. Tell the human the page is open, and that?lists the keyboard shortcuts (←/→between cards,Tabthrough options,Enterto choose). No background commands, or the server can't start → open the.htmlitself (xdg-openon Linux,openon macOS) and wait for the human to paste the block from Copy decisions. - Read the block (the server's output, or the paste):
CEO DECISIONS — <title> record: <path> S1 = approve F1 = keep | note: add a comment explaining why T1 = Minimalist UB-1a = revive S9 = UNDECIDEDT*lines are tension verdicts (the side the human took, ordefer). A rejected item comes back askeep-rejectedorrevive, and a revived one re-enters the calling skill's flow as a new candidate. AnyUNDECIDED→ ask about just those, in chat. - Record the decisions (with notes) into the
.mdrecord, then continue the calling skill's flow.
The files stay local; nothing is uploaded. .council/gates/ can be committed or gitignored: the decisions live in the .md record, and the page regenerates from its JSON.
Who calls this
| Skill | Gate | Mapping lives in |
team-refactor | Refactoring backlog | its step 5 |
team-council | Council decision | its CEO gate section |
team-council-plan | Plan approval | its step 5 |
team-kickoff | Project brief (the single kickoff gate) | its step 5 |
Each caller owns what goes on the page; this skill owns how it's rendered and returned.
Triage before you render
The page is for decisions, not an inventory. Before writing the JSON:
- One question, one card. Settle every open question by Counting positions in
team-protocol: a majority goes indecisions, no majority goes intensions, never both. The count goes in the item'stags. - At most ~7 weighty decisions. These are what the human must actually weigh: anything touching money, contracts or users, and tensions. Routine items with a clear recommendation (backlog steps, plan steps) don't count toward the cap; Accept recommended handles them in one click.
- Everything else is
minor: truewith adefault. Edge-case quirks and cosmetic items fold into a collapsed block with their default already applied. - Order by stakes. The item the human explicitly asked about goes first.
Outcome
outcome is one entry per view the work changes. The renderer rejects a plan or kickoff page without it. Include it on a council page when the recommended direction changes a screen or the system's shape, and on a refactor page when module boundaries move.
view | Use it when | after is | before is |
ui | a user sees something different | a wireframe of the target screen: real layout, real labels, sample data from the domain | a screenshot of today's screen |
system | components, APIs, data flow, jobs or a workflow change | the target architecture (boxes = components, arrows = calls or data), or the target workflow as a sequence | the same diagram, today |
afteris required.beforegoes in whenever something exists today; a kickoff has none.caption(required): one line naming what changed, e.g. "Discount line moves under the subtotal; nothing else moves".- In
after, draw new parts solid and labelled new, and removed parts dashed. Keep both diagrams on the same layout, so the change is what the eye catches. - Both views when both change. A figure is
{ "svg" }or{ "src" }(rules below). A.svgfile given assrcis inlined, so an agent can write the sketch to the gate folder and point to it.
Writing an item
Each field has one job, so no two say the same thing:
| Field | Its job | Shape |
title | The question (when options are custom) or the move (Approve/Decline) | ≤ 8 words |
detail | The facts the title lacks: what is true today and what it costs | ≤ 3 bullets or one sentence; ≤ 240 characters |
why | Why a human must decide it | One line; ≤ 160 characters |
options | The answers, each a different outcome | ≤ 5 words each |
detail and why take an array of bullets, or a string whose - lines become bullets. Inline `code` and **bold** are rendered; put the key number in bold.
{ "id": "F1", "title": "Gold discount rounding",
"detail": ["Gold floors the 10 % discount; other tiers round", "49.95 € order: **4.99 €** off instead of **5.00 €**"],
"why": "Changes invoices customers already received.",
"options": [ { "value": "keep", "label": "Keep floor + comment" }, { "value": "round", "label": "Round like other tiers" } ] }The renderer rejects a detail or why over its length, a detail that opens with the title, an option label that repeats the title, and a detail that holds every word of an option label.
JSON contract
{
"kind": "refactor | council | plan | kickoff",
"title": "Refactoring backlog — src/invoice.js",
"date": "2026-09-26",
"source": ".council/refactors/2026-09-26-invoice.md",
"summary": [
{ "label": "Verdict", "text": "One line: what is being decided and the overall call." },
{ "label": "Weak spots", "points": ["Three copies of the tax rule", "Dead exportCsv()"] },
{ "label": "Recommendation", "points": ["Approve S1–S4", "Fix F1 as its own fix: commit"] }
],
"outcome": [
{ "view": "system", "title": "invoice.js after the steps", "caption": "Tier switch leaves as computeDiscount(); tax is one constant",
"before": { "src": "2026-09-26-invoice/system-before.svg" }, "after": { "src": "2026-09-26-invoice/system-after.svg" } }
],
"decisions": [
{
"id": "F1", "group": "Found, not fixed", "title": "Gold discount rounds down",
"tags": ["money", "behavior change"],
"detail": ["What is true today", "What it costs, with the number in **bold** (screenshot 3)"],
"why": "Why it needs a human decision, one line.",
"for": [ { "who": "Fowler", "point": "One rounding rule for every tier." } ],
"against": [ { "who": "Minimalist", "point": "Changes invoices already sent; finance must sign off." } ],
"metrics": [ { "label": "Tiers using floor", "before": 1, "after": 0, "better": "lower" } ],
"code": { "before": "Math.floor(total * 0.1)", "after": "Math.round(total * 0.1)" },
"figures": [ { "src": "2026-09-26-invoice/03-receipt.png", "caption": "Screenshot 3 — receipt shows 4.99 € discount" } ],
"options": [
{ "value": "keep", "label": "Keep floor + comment", "recommended": true },
{ "value": "round", "label": "Round like other tiers" },
{ "value": "defer", "label": "Ask finance", "negative": true }
]
},
{ "id": "S3", "group": "Backlog", "title": "Rename Variable: grand → total" },
{ "id": "F9", "title": "'Discount: -0.00' always printed", "minor": true, "default": "decline" }
],
"tensions": [
{ "id": "T1", "topic": "Extract buildInvoice?", "sides": [
{ "who": "Uncle Bob + Ousterhout", "position": "Strongest case for…" },
{ "who": "Minimalist", "position": "Strongest case against…", "recommended": true } ] }
],
"rejected": [ { "id": "JO-3", "title": "Per-type rule table", "reason": "One use; hides the floor quirk" } ],
"figures": [ { "title": "Vote spread", "svg": "<svg viewBox='0 0 800 160'>…</svg>" } ]
}Field rules:
- Only
titleanddecisions(each withidandtitle) are required, plusoutcomeforplanandkickoff. Ids are unique across decisions, tensions and rejected items. summaryis a list of bullets, never a paragraph. Each bullet is a string or a{ "label", "text" }/{ "label", "points": [...] }object. Aim for 3–5 labelled bullets, and end with the recommendation. The renderer rejects a string summary.- Every item (decision, tension, rejected) accepts
detail,why,tags,for,against,metrics,code,figures,optionsanddefault. for/against: the arguments, each attributed to the role that made it, as{ "who", "point" }, one concrete sentence each. Give every weighty item both columns. An emptyagainstshows as "No argument raised", which is itself information. Only use arguments the panel actually made.optionsdefaults to Approve/Decline. Set"recommended": "decline"on the decision to recommend declining.- Tensions hold only questions with no majority (see Triage). They get their id from their position (
T1,T2…) unless you setid. Their default options are "Side with<who>" for each side, plus Defer. Mark the recommended side with"recommended": trueon that side. - Rejected items default to Keep rejected (pre-applied) or Revive, and
reasonis shown on the card. metricsshow as before→after chips on their card.better(higherorlower) colors the change green or red. Page-levelmetricsare rejected by the renderer.codeis shown as before/after panes. Include it for every step that moves code, and keep each pane to about 15 lines.figuresentries take eithersvgorsrc:srcpoints to an image such as a screenshot. It must be relative to the JSON file; absolute,/tmpand URL paths are rejected. The renderer embeds the image, so the.htmlstays one file. A click opens it full size. The caption says what to look at, e.g. "knob 17.6 kHz, graph still at 1 kHz". (imagesis accepted as an old name forfigures.)svgis trusted inline SVG. The page is dark: usecurrentColorfor strokes and text, and no light fills. Make theviewBoxabout 700–900 units wide withfont-size12–13, so the text renders at reading size; a narrower viewBox gets scaled up.
- A figure shows what the human decides on: the result (
outcome), or evidence for one item (a screenshot, a before/after of one module, a vote spread). The order the work runs in is the executor's concern, so a step dependency graph or a timeline has no place on the page. - Page-level
figuresare only for evidence that spans many items (it shows under the outcome). Anything about one item goes on that item.
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.

