departments
Skill2 starsChanged 9 days agoMITView on GitHub
Add, change or remove a department of a ceo-of-agents hq, or grant one a new tool or connector, through a decision card. Holds the grant review (a one-line reason for every elevated grant), the account checks and the files to write once the CEO decides, including moving a removed department's folder to the archive. Use when the CEO asks for a new department, a change to one, or access for one, and when recurring work suggests a new department.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cubetribe/ClaudeCode_GodMode-Ontheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- cubetribe/ClaudeCode_GodMode-On★ 55same name
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
- draft-as-ceoSkill
- hq-versionSkill
- init-fleetSkill
- initiativesSkill
- intakeSkill
- portfolio-briefSkill
- product-reposSkill
- record-decisionSkill
- session-startSkill
- weekly-briefSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Only the chief of staff (CoS) runs this skill.
- Very specific: line 16
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 32
never one listed in accounts.forbidden_connectors in org.yaml.
- Distinctive: line 33
only a connector of this org's own accounts (see "Account separation" in CLAUDE.md).
- Very specific: line 35
Write the decision card (company/decision-queue.md, own D code) with the draft, the reasons and a recommendation, and add it to "Open …
- Very specific: line 48
Delete the folder instead only when the CEO asks for deletion explicitly.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
departments: add, change or remove a department, or grant access
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. A department never changes its own charter, agent file or tools.
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.
Prepare the card
- Frame the change in one line: a new department, a change to one (scope, exclusions, tools, model, name), a removal, or a new tool or connector for one.
A new department can be built in four ways, the same as at setup. Ask in plain words which one the CEO wants, unless the request already says it; the first is the plain path and needs no further question:
- the catalog entry as is:
${CLAUDE_PLUGIN_ROOT}/catalog/<id>/charter.mdandagent.md; - the catalog entry plus changes: the same files, plus a "Changes for this org" section (
${CLAUDE_PLUGIN_ROOT}/templates/department/changes.md) at the end of both, and thetools:line with the abilities added or dropped. Everything else stays from the catalog. The rules are those of question 5 in theinit-fleetskill ("Changing a catalog department"): a one-line reason per ability added (only web search can be added or dropped;BashandAgent(reader, worker)are fixed for non-advisory departments), and an advisory entry never gains commands or helpers.adapted: trueinorg.yaml. The same applies to changing an existing catalog department later; - fully custom:
${CLAUDE_PLUGIN_ROOT}/templates/department/with its scope, triggers, exclusions, single core job. It gets the standard non-advisory tools (Read, Grep, Glob, Bash, Agent(reader, worker), noEditorWrite: its file writes go through aworker), so there is no question about commands; - the CEO's own agent or skill: registered as it is, never rewritten, copied or moved: a charter from
${CLAUDE_PLUGIN_ROOT}/templates/department/own-charter.md, an item withfrom_catalog: own,kind,locationand nomodel, and a routing row. It can sit next to the others, replace one (the replaced department is removed in the same decision), or be the only one. If the CEO gives its file path, read it once, read-only, and show its tools; it brings its own tools, and this org grants it nothing.
Ask the CEO for what is missing; never invent it. Then draft the display name and agent name (the persona in lowercase, or the id; a brought-in one keeps its own name; unique, never
reader,workeror another department's id), the model tier (not for a brought-in one) and, if wanted, "top model, workers included" (workers: same). For a change to an existing department: the exact lines that change in its charter, its agent file andorg.yaml. For a removal: who takes over its work, if anyone, and one plain line that its folder will move to the archive, for example "Its notes and analyses move toarchive/departments/support/: nothing is deleted, and they can come back." The folder is deleted instead only if the CEO asks for that explicitly (see "After the CEO decides").- the catalog entry as is:
- Overlap check: compare what the new or changed department covers with every other department (charter scopes, changes sections, the core job and triggers of brought-in ones). For each piece of work two of them cover, add one plain line with a suggestion to the card, for example "Engineering and Security both cover security reviews: drop it from Engineering, or keep both and route security work to Security." Warnings only: they never block the card.
- Review the draft as a whole (scope, tools, connectors, model) and give a one-line reason for each elevated grant: any connector,
Edit,Write,BashorAgent.Bash(limited to git, gh, tests or builds and spot checks) andAgent(reader, worker)are the standard tools of every non-advisory department, because it delegates bulk reading and every file write to the workers;EditandWriteare only for advisory departments, which have noAgenttool and write their own files. Drop a grant that has no reason, and say so. - Account checks for a connector:
- never one listed in
accounts.forbidden_connectorsinorg.yaml; - only a connector of this org's own accounts (see "Account separation" in
CLAUDE.md); - an advisory department gets only read-only connector tools, named one by one, never a whole server (
mcp__<server>__*).
- never one listed in
- Write the decision card (
company/decision-queue.md, own D code) with the draft, the reasons and a recommendation, and add it to "Open decisions" and to "Waiting on the CEO" as- <ORG_ID>-D<n> [urgency] {decide}: decide <question>, see decision queue (since YYYY-MM-DD)(${CLAUDE_PLUGIN_ROOT}/schemas/state.md).
A reply from the CEO to a denied permission is not a grant by itself: do not widen an allowlist on the strength of it; the grant goes through the card.
After the CEO decides
Record the decision with the record-decision skill, then apply exactly what was decided:
- New department:
departments/<id>/charter.mdand.claude/agents/<agent>.mdrendered from the catalog entry or the custom template, or only the charter for the CEO's own agent or skill, and in every casedepartments/<id>/README.md, the index of its documents, from${CLAUDE_PLUGIN_ROOT}/templates/department/index.md(placeholders as in theinit-fleetskill's placeholder reference), an item indepartments:inorg.yaml(connectors: []unless the decision grants one), and a row in the routing table ofCLAUDE.md. Writes into.claude/may raise a permission prompt. - Grant: add the connector to the department's
connectors:inorg.yamland to thetools:list of its agent file. For the CEO's own agent or skill, record it inorg.yamlonly and tell the CEO that its own file decides what it can use. workers: samegained or lost: also update the worker model lines in its agent file.- Removal: remove its agent file (
.claude/agents/<agent>.md), its item inorg.yamland its routing row, and archive its folder: nothing in it is deleted. For the CEO's own agent or skill, its own file stays where it is.- Archive
departments/<id>/as one folder with steps 1 to 4 of${CLAUDE_PLUGIN_ROOT}/schemas/document.md, section "Archiving": it becomesarchive/departments/<id>/, each document in it getsstatus: archived, and links in current files point to the new path. The removal decision is the CEO's OK for this move: do not ask again. Documents it wrote into an initiative's folder stay there. - Delete the folder instead only when the CEO asks for deletion explicitly. That is a
delete-dataaction: ask for the CEO's OK on that one folder, by path, as a separate request, thengit rm -r departments/<id>/. Git still keeps the history.
- Archive
Then commit with notice, as for any hq change.
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.

