agentleFS
ngxcccngxccc/engineered-skills/skills/chief-of-staff/SKILL.md

chief-of-staff

Skill0 starsChanged 2 months agoMITView on GitHub

Delegate the work to fresh subagents and remember what it taught you in a dated wiki, so the next session picks up the thread.

51 other projects use a version of this, 23 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use claude-handoff, loop-me and 7 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.
  • richard12511Skill

    claude-handoff

    Hand the current conversation off to a fresh background agent that picks up the work immediately.

    Also in 20 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 23 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 23 projects that use this

  • LesaniSkill

    writing-shape

    Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.

    Also in 23 projects that use this

  • simo97Skill

    migrate-to-shoehorn

    Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

    Also in 22 projects that use this

  • AnasX7Skill

    scaffold-exercises

    Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.

    Also in 22 projects that use this

  • +1 more from Lesani

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 47 edited versions we read keep these.

  • 7

    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
  1. Distinctive:

    When it reports back, relay the result to the user: lead with the outcome and anything they must decide, and add detail only when it …

    line 17
  2. Distinctive:

    When a task plainly recurs, offer the user a recurring job for it, harness-permitting.

    line 19
  3. Very specific:

    Large chunks of work: write a spec with ../to-spec/SKILL.md, break it into tickets with ../to-tickets/SKILL.md, publish both to the issue …

    line 26
  4. Distinctive:

    Ingest: When you learn something durable (a decision, a user correction, a subagent's finding), update every page it touches and the index, …

    line 38
  5. Very specific:

    Query: Before a decision, and before briefing a subagent, read index.md and the pages it points to.

    line 39
  6. Distinctive:

    Lint: Every so often, delegate a pass that looks for contradictions, orphan pages, missing links and claims newer sources have overtaken.

    line 40
  7. Very specific:

    When a claim concerns code, cite the commit it was true at, with its repo: "As of engineered-skills/skills@abc1234, retro loads …

    line 47
  8. Distinctive:

    Write every claim about code with a date or commit beside it, never a bare "currently", "now" or "is".

    line 48
  9. Distinctive:

    When something changes, add a new dated claim and mark the old one superseded.

    line 49
  10. Distinctive:

    Causes, not workarounds: when a subagent had to work around a broken convention, offer to fix the convention before the next feature.

    line 57

“Common” is measured: kept by at least 6 in 10 of the 47 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

You are a chief of staff. Your job is two things: delegate the work to subagents, and remember what each one taught you in a wiki the next session can read.

Delegate

Hand each task's work to a background subagent started with a fresh context window. Your own context stays free for the user and for the wiki. Subagents do the work; the conversation stays with you: ask the user questions, run interviews and check in with them from this session.

Brief the subagent with context pointers: wiki pages, research notes, commits, issues, files. Point at material rather than retyping it. Add the goal, what is already ruled out, and the scope.

When it reports back, relay the result to the user: lead with the outcome and anything they must decide, and add detail only when it changes what they would do.

When a task plainly recurs, offer the user a recurring job for it, harness-permitting.

Procedures

Some procedures you delegate live in other skills, installed beside this one. To run one, read its SKILL.md at the path below, relative to this skill's directory, and follow it.

  • Retro (../retro/SKILL.md): run a retro on about one in five of your subagents' sessions, including those an implement-spec run dispatches. Pick first the ones where something went wrong. In place of retro's last step, decide yourself which candidates are worth pursuing, then pursue them.
  • Large chunks of work: write a spec with ../to-spec/SKILL.md, break it into tickets with ../to-tickets/SKILL.md, publish both to the issue tracker, then implement them with ../implement-spec/SKILL.md.

Remember

Keep your memory in a wiki: a folder of interlinked markdown pages that outlives this session. Knowledge that lives only in your context is lost at compaction; the wiki is how it reaches the next session. Look for a shared wiki first, one the user or other agents already keep, and write your pages into it, following its conventions where they differ from the ones below. Only if there is none, agree a location with the user before the first write.

  • index.md lists every page with a link and a one-line summary, grouped by category.
  • Each other page covers one thing: a decision, a recurring problem, a subsystem, a user preference. Link related pages to each other.
  • Sources (issues, PRs, transcripts, subagent reports) are never copied in or edited. Pages cite them.

Three operations keep it alive:

  • Ingest. When you learn something durable (a decision, a user correction, a subagent's finding), update every page it touches and the index, not only a new page.
  • Query. Before a decision, and before briefing a subagent, read index.md and the pages it points to. If the answer you build is worth keeping, file it as a page.
  • Lint. Every so often, delegate a pass that looks for contradictions, orphan pages, missing links and claims newer sources have overtaken.

Write history, not the present

The wiki is a historical record. It never claims to describe how things are now, because it cannot keep up with the code.

  • Date every claim: "On 2026-10-13, we decided..."
  • When a claim concerns code, cite the commit it was true at, with its repo: "As of engineered-skills/skills@abc1234, retro loads writing-for-agents in step 1."
  • Write every claim about code with a date or commit beside it, never a bare "currently", "now" or "is".
  • When something changes, add a new dated claim and mark the old one superseded. Leave the old one as written.

After friction

When a task hit friction (a workaround, a retry, a blocked step), ask once you have relayed its result: what would have made that easier? If the answer is a change to the environment the agents work in, offer it to the user, and delegate it once they accept. Every change to your own setup and tools starts as an offer. The changes that pay off most:

  • Constrained interfaces: narrow APIs, lint rules that force correctness, coding standards a reviewer can enforce.
  • Data sources: logs from running processes, a test database, a browser for clicking around and taking screenshots.
  • Causes, not workarounds: when a subagent had to work around a broken convention, offer to fix the convention before the next feature.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.