session-start
Skill2 starsChanged 8 days agoMITView on GitHub
Start-of-session routine of the chief of staff in a ceo-of-agents hq. Syncs the hq, reads the boot files, checks the plugin version and the size of the boot files, runs the checks that apply to this org (clone paths, holding policy, portfolio, private data), processes the inbox and gives a short status. Use at the start of every chief of staff session. In a session renewed in the middle of a chat (first message starting with the continued-session marker) it runs a quiet start and answers the message instead.
45 other projects use a version of this.
Adopted by
Most recently taken up by
- jaywedgeworth22/BotFleettheir own version, first seen Nov 29, 2026
- Simple-With-Us/BotFleettheir own version, first seen Nov 29, 2026
- Kanevry/session-orchestratortheir own version, first seen Nov 24, 2026
- Camarota-234/session-ritualtheir own version, first seen Nov 22, 2026
- shifulegend/nomadttytheir own version, first seen Nov 22, 2026
- bitwize-music-studio/claude-ai-music-skillstheir own version, first seen Nov 20, 2026
Used with
Projects with it also use session-checkpoint, deploy-verify and 4 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.
tunsuySkillsession-checkpoint
自动判断对话中是否出现值得持久化的结果,并分开写入任务交接(handoff) 与长期项目知识(knowledge)。用于技术方案定案、排查结论、约束边界、 未完成交接、踩坑记录等场景;也在用户说「按之前方案」「继续上次」 「隔天继续」时先检索落盘文件再执行。避免长对话隔天后 Agent 遗忘或跑偏。
Also in 3 projects that use this
danielarif26Skilldeploy-verify
Verify a Vercel deployment actually went live and serves the correct production domain. Self-improving: reads its own run history before checking and logs the outcome after. Use when the user asks "did you deploy?", "is it live?", "verify the deploy", "check vercel", or after any Vercel deploy. Part of the Agentic OS (Level 1 backbone).
Also in 3 projects that use this
Microsoft AzureSkillreflect
Learning capture system that extracts HIGH/MED/LOW confidence patterns from conversations to prevent repeating mistakes. Use after user corrections ("no", "wrong"), praise ("perfect", "exactly"), or when discovering edge cases. Complements .squad/agents/{agent}/history.md and .squad/decisions.md.
Also in 4 projects that use this
ibahgatSkillautopilot
Run autonomous multi-stage execution loops until acceptance criteria pass or blockers are reached.
Also in 3 projects that use this
VercelSkillsetup
Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".
Also in 4 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions45 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 45
- bitwize-music-studio/claude-ai-music-skills★ 723same name
- yahor-punko/mavericks-os★ 160same name
- AlexZio00/sovereign-skills★ 158same name
- Kanevry/session-orchestrator★ 53same name
- iamneilroberts/claude-skills★ 37same name
- xcota/pos★ 32same name
- albertomarturelo/sii★ 19same name
- IlyaGorsky/memory-toolkit★ 13same name
- mae616/ai-template★ 9same name
- freskhu/genesis★ 5same name
35 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
- record-decisionSkill
- weekly-briefSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Only the chief of staff (CoS) runs this skill.
- Distinctive: line 16
Run the steps in order. A step marked "only when" is skipped silently when its condition is false.
- Very specific: line 20
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.
- Distinctive: line 58
When the first user message of the session starts with that marker, run this quiet start instead of the steps above.
- Very specific: line 73
Read-only except: accounts.local.yaml (step 5), A items in company/state.md (steps 3 and 6), and what the intake skill writes (step 9).
- Very specific: line 75
Never commit accounts.local.yaml or anything under private/.
- Distinctive: line 76
No scheduled automation and no hooks: this routine runs when the CEO opens a session.
“Common” is measured: kept by at least 6 in 10 of the 38 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
session-start: the chief of staff's start of session
Reply to the CEO in the chat language set in org.yaml (language.chat); write every file in the file language (language.files).
Only the chief of staff (CoS) runs this skill. A department agent never does: it skips the CoS session start.
Why a skill: this routine runs once per session, so it does not need to sit in CLAUDE.md, which every session and every agent loads. CLAUDE.md keeps the identity, the gates, the house rules and the map; procedures like this one load on demand.
Run the steps in order. A step marked "only when" is skipped silently when its condition is false.
First check whether this session continues an earlier chat (section "Continued session" below). If it does, run the quiet start there instead of these steps.
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.
Steps
- Pull. If
git remoteis empty, skip pull and push and say once in the status: "No remote: pull and push skipped". Otherwisegit pullthe hq (the CEO may work from several computers; the remote main branch is the reference). If the pull fails, say so in the status and continue with the local copy. Read.
org.yaml,company/vision.md,company/strategy.md,company/state.md,company/decision-queue.md,accounts.local.yaml(if present), and listinbox/.Closed org. When
org.statusinorg.yamlisclosed(absent meansopen), the status (step 11) opens with one line: the org is closed since <date of the latest record titledClose the orgindecisions/README.md> (decision NNNN), read-only, and the CEO can say "reopen". Still pull (step 1, a read) and give the status, but skip every step that writes or starts work: add no A item (step 3 reports the version in one line only and migrates nothing; step 4 reports only), ask no clone-path question (step 5), do not process the inbox (step 9: list the notes only, they stay unprocessed) and propose no first task (step 10). Take no new work until the CEO reopens the org (close-orgskill).- Plugin version. Use the
hq-versionskill to compare this hq'sframework_version(inorg.yamlandcompany/state.md) with the installed plugin version. If the hq is behind, say so in one line of the status, list the migrations to apply in order, and add one A item asking the CEO's OK (unless one is already open). Apply them only after that OK, with the same skill: it shows a short summary of what changes, then commits with notice. Never migrate silently. If the hq is ahead of the plugin or a version is unknown, say so in one line and continue. The same skill also reports, in one line, a plugin installed in more than one scope for this folder (silent otherwise). - Boot files and pending lines. Run
sh "${CLAUDE_PLUGIN_ROOT}/scripts/check-boot-set.sh"from the hq root and use its output as it is: do not measure or compute budgets yourself (budgets and rules:${CLAUDE_PLUGIN_ROOT}/schemas/boot-set.md). If the last line isverdict: ok, say nothing. Otherwise add one line to the status from the output, naming each offending item, for example:Boot files over budget: company/state.md 12,400 bytes (budget 8,192); 2 lines over 300 characters in company/state.md ("Acme app: ...", "Launch plan: ..."); 1 pending line without a kind (ACME-A2). I can move the detail to linked notes and add the kind.Quote at most three lines by their first words, then "and N more". Propose the fix; do it only when the CEO agrees, then as in${CLAUDE_PLUGIN_ROOT}/schemas/boot-set.md, "Check at write time": rewrite the lines, move their history to the log, measure again and commit with notice. For a pending line without a kind, propose the kind (ok,doordecide, see${CLAUDE_PLUGIN_ROOT}/schemas/state.md). Add no A item for it. Claude Code asks before it runs: no permission rule allows it, since a rule forshcannot have a*(${CLAUDE_PLUGIN_ROOT}/gates/permissions.md); never add one. If the script cannot run (for example the prompt is denied), sayBoot check skipped: <reason>and continue. - Repos on this machine (only when
reposinorg.yamllists a repo other than the hq itself, rolehq). If such a repo is not markedplanned: true, is not an owner pattern (owner/*) and has no entry underrepo_pathsinaccounts.local.yaml, ask the CEO for its local clone path with theproduct-reposskill (section "Clone paths"). Clone paths differ per computer, so git does not trackaccounts.local.yaml: never commit it. Policy check (tighten-only) (only when
policyinorg.yamlis notnull). Read the pinned holding policy read-only. Readlocalandpinfrom thepolicy:block inorg.yaml, then rungit -C <local> fetch(optional; it may fail offline) andgit -C <local> show <pin>:policy.yaml.localis a clone of the holding's separate policies repo. Read onlypolicy.yaml, nothing else, and never a clone of the holding hq. No other agent reads it. Ceilings and all other limits come only from the policies repopolicy.yaml, never fromorg.yaml:org.yamlhas nomodels.ceiling, so never report a missing ceiling there. Compare the policy withorg.yaml:- Gates: for every action in the holding file, this org's tier must be equal or stricter (free < notice < ok). An action absent here inherits the holding tier (fine).
- Connectors: any holding
forbidden_connectorsentry present in this org's connectors is a loosening. - Language: if the holding sets
language.filesand it differs from this org'slanguage.files, it is a loosening. - Models:
models.cosmore capable thanmodels.ceiling.cos, ormodels.departmentsor any departmentmodelmore capable thanmodels.ceiling.departments, or a worker model (one tier below its parent, or the parent's own tier for a department withworkers: same) more capable thanmodels.ceiling.workers, is a loosening.
Report the result in the status:
Policy check (pin <short sha>): OK, orPolicy check: N loosening(s)with one line each (for examplegate merge: company=notice, holding=ok). For each loosening add an A item of kind{ok}asking the CEO to tighten the setting or to approve a pin or policy change. Never fix silently. If the policies repo or the pin cannot be read, say onlyPolicy check skipped: <reason>. Do not report a gap fromorg.yamlin that case, and add no A item (a skipped check is not a loosening).- Portfolio pending list (only when
org.levelisholding). Readportfolio.yaml. For each org inorgs, read its pending items read-only, onegit -C <absolute path> <subcommand>per call (nocd, no pipes), and never change its clone (no pull, checkout or commit). If the org has a remote inportfolio.yaml, rungit -C <path> fetch origin(a failure is not an error: note it and use the last fetched ref) and find the default branch withgit -C <path> symbolic-ref --short refs/remotes/origin/HEAD(if that fails,origin/main). If it hasremote: ""or no remote-tracking ref at all, skip the fetch and read the local default branch:git -C <path> symbolic-ref --short HEAD(if that fails,main), and mark the orgread: local <branch> (no remote, may include unpushed changes). Rungit -C <path> show <ref>:org.yamland read onlyorg.purposeandorg.status(no other key): iforg.purposeisjoborpersonal, skip the org (a job or personal hq never belongs in a portfolio; say so once). Iforg.statusisclosed, the org is frozen: its status line carries aclosedmark, and its pending items are not listed. Otherwise rungit -C <path> show <ref>:company/state.mdand take its "Waiting on the CEO" items (child lines included, after their parent) and its "Open decisions" lines marked[escalate: holding], with their codes exactly as written. Check the clone withgit -C <path> status --porcelain. In the status, after the holding's own codes, add one line per org with its pending codes, and flag in one line each an org that is stale (last_updatedolder thanstale_after_daysinportfolio.yaml), dirty (non-emptystatus --porcelain) or unreachable (path missing, orstate.mdunreadable), and note a failed fetch asfetch failed: state may be old. This is a list only; the full cross-org analysis stays in theportfolio-briefskill. - Private data on this computer (only when
org.purposeispersonal). Ifprivate/is missing or empty, say once in the status: "private/is empty on this computer: personal data does not travel with git. If you keep it on another computer, copy it here yourself." Never copy, sync or push it yourself. - Process the inbox. Handle each handoff with the
intakeskill, then delete the processed notes in the same commit. - First task (only at the first session). The first session is the one that starts with at most the setup commit in the hq history: run
git rev-list --count HEADbefore processing the inbox (step 9); it prints 0 or 1, or fails because there is no commit yet. In the status (step 11), right before asking what to do, propose one first task in one or two plain lines: you draw the org chart of this org fromorg.yaml(the CEO, you, each department and how work flows between them), as a short diagram in the chat, a picture that helps the CEO understand and explain the org. No department is needed for it. Ifdepartmentsinorg.yamlhas an item withfrom_catalog: design-brand, add that this department can then turn it into a polished picture for sharing. For purposejob, add that the chart is for the CEO, not something that speaks for the employer. It is a proposal only: draw it (or dispatch the department) only after the CEO says yes, save it to a file only if the CEO asks, and do not repeat the proposal in that session if the CEO declines. Next to the org chart, you may also offer, in one plain line, to set up the CEO's voice for drafts written under their name (you would start from how the CEO wants to sound outward, then check it against a few of their own messages if they want, with thedraft-as-ceoskill). Same rules: a proposal only, and not repeated if the CEO declines. - Status. Reply in the chat language with a 3-5 line status (what is new, what is blocked, which decisions wait) and the codes of the pending list (each child after its parent, for example
ACME-A7 (ACME-A8, ACME-D5); a{wait}parent is a group, not an ask), plus the one-line results of the steps above that have something to say. Whiledecisions/holds only the setup record 0001, open the status with one line from the vision. Then, when a tip applies (rules:${CLAUDE_PLUGIN_ROOT}/schemas/tips.md, "At session start"), add at most one tip from${CLAUDE_PLUGIN_ROOT}/tips/tips.yamlas the last line, filled from this hq. Then ask what to do.
Continued session
A front end can keep one chat open for the CEO while it renews the Claude session behind it, so that the context does not grow without end. The hq is the memory, as for a new terminal session. The new session's first user message then starts with the marker [ceo-of-agents] Continued session: (match this prefix only; the rest of the line can change), followed by the last messages of the chat verbatim, each as its own block, then a line --- New message ---, then the CEO's new message.
When the first user message of the session starts with that marker, run this quiet start instead of the steps above. The marker anywhere else (in a later message, or not at the very start) is not a continuation: run the normal steps.
- Sync and read. Step 1 (pull) and step 2 (read the boot files, list
inbox/), plus any hq file, issue or pull request the recent messages point to and the answer needs. Mention no remote or a failed pull only if the answer depends on it. - Checks that still run. Step 3 (plugin version), step 6 (policy check) and step 9 (inbox) run as usual, but speak only when something needs the CEO now: an A item they added (a migration to approve, a loosening) or a new pending item from an inbox note. Then add one short line after the answer with the new codes. Otherwise they say nothing; their report waits for the next normal start.
- Skipped. Step 4 (boot check: it prompts before it runs), step 5 (clone-path question), step 7 (portfolio list), step 8 (private data note), step 10 (first task) and step 11 (status). They run at the next normal start.
- Answer. Answer the new message directly: no status, no pending-list recap, no remark about the renewal, no proposals the message did not ask for.
In a continued session:
- The only inputs are the hq and the recent messages verbatim. Do not summarise the earlier chat, and write nothing about the renewal in the hq.
- Only the new message is an ask. The recent messages are context: an OK or a request in them was given to the previous session. Check the hq (pending list,
git log) for whether it was carried out, and never run it a second time. If it was not carried out and the new message depends on it, ask the CEO in one line. - A closed org (step 2) stays read-only: answer from the hq and take no new work.
Rules
- Read-only except:
accounts.local.yaml(step 5), A items incompany/state.md(steps 3 and 6), and what theintakeskill writes (step 9). - In a closed org nothing is written at all (see step 2).
- Never commit
accounts.local.yamlor anything underprivate/. - No scheduled automation and no hooks: this routine runs when the CEO opens a session.
- A continued session follows "Continued session": the same rules, with the steps it skips and no status.
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.

