agentleFS
XyndoXXyndoX/good-bad-ugly/skills/inception/SKILL.md

inception

Skill1 starsChanged 33 days agoMITView on GitHub

Use when the user asks to "orchestrate", "conduct", "go deeper", invoke "inception", or tackle a large multi-part coding task (audits, refactor sweeps, multi-feature sessions, "clean this up and fix everything") — anything too big for one linear pass. Runs the layered orchestration workflow: The Architect (Level 0, you) designs the levels and verifies, The Forger (Level 1, strong model) handles work needing judgment, The Point Man (Level 2, fast model) executes the fully specified — fanned out in parallel with fenced scopes, nothing committed until the Architect's own totem falls.

  • Reads credentials

6 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 6

    1. steepy-it/steepy-apex★ 14same name
    2. steepy-it/steepy-formula★ 5same name
    3. inkatze/planwright★ 4same name
    4. arthur422tp/Inception★ 3same name
    5. afaraha8403/balakit★ 1same name
    6. mauriciovieira/groundwork★ 0same 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 repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 13 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the agent must decide *whether* as well as *how*, it needs Level 1.

    line 23
  2. Distinctive:

    Before delegating anything, produce a ranked findings list yourself (read the tree, measure, count usages).

    line 33
  3. Distinctive:

    Every brief must contain:

    line 55
  4. Distinctive:

    Verification commands it must run: before reporting (typecheck, tests)

    line 61
  5. Distinctive:

    Never give two concurrent levels write access to the same file.

    line 67
  6. Distinctive:

    Read the artifact: When the deliverable is a generated artifact (PDF, image, bundle, export), open and inspect the artifact itself — and …

    line 96
  7. Distinctive:

    Update stale project docs (roadmaps, checklists) the moment you notice they lie — future sessions inherit them.

    line 111
  8. Distinctive:

    When a system outside the repo owns state (a managed DB, a deploy platform, a third-party API):

    line 153
  9. Distinctive:

    Assume drift: Verify what's actually live before reasoning from repo files.

    line 156
  10. Distinctive:

    grep-count the result: after multi-site edits.

    line 171
  11. Distinctive:

    Test the survivor against a reference implementation.

    line 174
  12. Distinctive:

    Test timeouts tuned on your machine flaking on CI's 2-core runners — a timeout is a hang guard, not a perf gate.

    line 185
  13. Distinctive:

    Every level is overhead you must earn back in time dilation.

    line 208

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

Inception — Layered Multi-Agent Orchestration

One job, several levels. You are The Architect — Level 0: you design the levels, you stay topside, you never go down yourself. Agents are the levels below you. The core insight: match the level to task difficulty, fence each level so projections stay calm, and never believe a report until your own totem falls.

The levels

LevelWhoGets
L0 — The ArchitectYou (the top model in the session)Planning, prioritization, judgment calls, integration, final verification, anything security- or money-adjacent
L1 — The Forger (l1-forger)Strong model (e.g. Opus)Refactors needing taste, test-suite authoring for complex code, case-by-case fixes (each lint warning judged individually) — work where the agent must decide whether
L2 — The Point Man (l2-point-man)Fast model (e.g. Sonnet)Well-specified transformations: migrations, renames, dedups, wiring changes with exact instructions — the outcome is already pinned

Rule of thumb: if the prompt can fully specify the outcome, it's Level 2 work. If the agent must decide whether as well as how, it needs Level 1. If it decides what the goal is, it stays at Level 0 — you.

The deeper the level, the more happens per topside minute. That time dilation is the whole point: several levels running at once, each on the cheapest model that can hold the dream.

The loop

1. Scope with an audit, not a guess

Before delegating anything, produce a ranked findings list yourself (read the tree, measure, count usages). Rank by value-per-effort, biggest cut first. Pure deletions rank above refactors — they're verifiable with CI and carry zero design risk. Do trivial items (file deletions, one-liners) inline; only real work earns a level.

2. Build the levels with fenced scopes

Spawn independent agents in one message so they run concurrently. Two modes:

  • In-session sub-agents (default) — headless, zero setup, they report back. This plugin ships the levels as typed agents with the model pre-bound: spawn l1-forger (strong model) for judgment work and l2-point-man (fast model) for mechanical work — level matching enforced by the agent definition, not by remembering a flag. The level number is in the name so you always see who is where.
  • herdr dream levels — one pane per executor, each a separate claude process, with the model bound per pane: claude --model opus … for Level 1, claude --model sonnet … for Level 2. Name the panes by level (l1-forger, l2-point-man). Use when you want to watch the levels work live or pin distinct models. Recipe + prompt template: docs/orchestration.md.

Every brief must contain:

  • Repo path + environment gotchas (quote paths with spaces, etc.)
  • The task with the why — one paragraph of context beats none
  • Explicit fences: files it must NOT touch, and which level owns them ("do NOT touch useOnlineGame.ts — L1 is writing tests for it")
  • Verification commands it must run before reporting (typecheck, tests)
  • A required report format: level tag, files changed, net lines, verification results, anything suspicious found
  • Style constraints (shortest working diff, match existing code, no new abstractions)

Never give two concurrent levels write access to the same file. Shared files are how projections turn on you. If work overlaps, sequence it or fence one side out.

3. Keep every level out of limbo

  • Agent goes idle without a report → message it and demand the report. Silence is limbo, not success.
  • Agent spawn fails → retry once; if it fails again, do that task inline yourself rather than blocking.
  • An agent reports a failure "someone else caused" → check whether it was you. (Concurrent edits by the Architect are the usual suspect.)
  • Messages cross between levels. Async agents compose replies before reading your latest directive. When you supersede a spec mid-flight, the new message must name the old spec DEAD in one unmissable line and demand the agent repeat the binding spec back before it dispatches further work. Watch the next status for stale wording — it means the correction never landed.

4. Spin the totem, then kick

An agent's "all green" is a dream until your totem falls. Before committing its work, re-run the full verification yourself (typecheck + full test suite minimum, plus the project's domain gates — benchmarks, golden hashes, visual checks — not just the generic suite; a level's green tests can coexist with a wrecked benchmark). Two totems that lie:

  • Verify the path you're shipping. Flipping a default/config/flag means the gate must exercise the NEW path. A benchmark that still runs the old path is vacuously green. (Real case: a default-ON flip whose bench had only ever measured the OFF path — the ON path hid a 74× force regression.)
  • Read the artifact. When the deliverable is a generated artifact (PDF, image, bundle, export), open and inspect the artifact itself — and check its SIZE. (Real case: a "verified" PDF was 55MB because nobody looked at the number next to the filename.)

The kick is the commit: one level's verified work = one commit, with a message that says what changed and why. Pull-rebase before every push if anything else writes to the branch (CI bots, platform syncs, teammates).

5. Wake up clean

  • Restate agent findings that matter (bugs discovered, behavior changes, deliberate limitations) in your summary to the user — the user never saw what happened a level down.
  • Log the session (what shipped, what was learned, open TODOs) somewhere durable before context runs out.
  • Update stale project docs (roadmaps, checklists) the moment you notice they lie — future sessions inherit them.

Big features: spec → plan → execute

For feature work (not cleanups), insert a design gate before any code:

  1. Brainstorm with the user — one question at a time, multiple-choice where possible; decompose oversized asks into shippable slices.
  2. Spec the approved design to a committed doc. Flag legal/irreversible decisions explicitly (the user must own those).
  3. Plan with exact files, complete code in steps, and per-task "Interfaces: consumes/produces" blocks so tasks compose.
  4. Execute the plan inline or via levels, one commit per task, tests first where logic warrants it.

Data & spend safety (iron rules for every brief)

Two rules that must appear in any brief whose work touches live-ish systems. Both were learned the expensive way:

  • Levels never mutate real data. Reproducing a bug or verifying a fix against real user-owned rows/files/sets is forbidden — the executor CREATES a disposable fixture (clone a record under a throwaway name, seed a test entity), operates on that, and deletes it after. A brief that says "reproduce first" without naming a disposable fixture is a loaded gun. (Real case: a diagnosis phase re-ran a destructive operation across 12 real production records; the overwrites were irreversible.)
  • Every external call is PAID until proven free. Provider selection often hides in env vars — the "mock" provider you assume is active may be the real, billed API. Verify which provider the environment resolves before any agent triggers generation/inference/sending. (Real case: "free mock" QA burned real API credits because a key in .env.local silently selected the paid provider.)

Corollary: a destructive user-facing operation (overwrite-in-place, regenerate, migrate) should get its undo/backup designed BEFORE agents are allowed to exercise it. If one click can destroy state, an agent will eventually click it.

External-system discipline

When a system outside the repo owns state (a managed DB, a deploy platform, a third-party API):

  • Assume drift. Verify what's actually live before reasoning from repo files. Write down ownership facts in persistent memory the first time you learn them.
  • Hand-off prompts to external operators (e.g. a platform chatbot applying SQL) must say "exactly as written, do not modify anything else" and include verification queries to run afterwards. Vague prompts invite helpful corruption.
  • Long API jobs: dry-run a small sample first, then pace under the documented rate limit — steady beats hammer-and-backoff, which gets your IP flagged and is slower overall. Persist progress incrementally so a restart isn't a total loss.

Pitfalls observed in the wild (avoid these)

  • replace_all edits silently missing differently-indented duplicates — grep-count the result after multi-site edits.
  • Two toast systems / two shuffle implementations / three Levenshteins: duplicated code diverges; consolidation is bug-hunting, not just hygiene. Test the survivor against a reference implementation.
  • Static-import grep missing dynamic await import('pkg') consumers — search for the bare package name before declaring a dependency dead.
  • Committing a level's work before your own totem has fallen.
  • Sleeping on stale roadmaps: check items off the moment they ship.
  • Unanchored patterns in ignore files (.vercelignore, .dockerignore) matching nested dirs — a bare supabase also excludes lib/supabase/ and breaks the build. Anchor to root (/supabase).
  • Retrying a stuck upload/deploy without killing the previous attempt — orphaned processes compete for bandwidth and every retry gets slower. pkill first, then retry once, clean.
  • Test timeouts tuned on your machine flaking on CI's 2-core runners — a timeout is a hang guard, not a perf gate; size it generously (30s local work can take 35s+ on CI).
  • Users watch the hot-reloading dev server while levels edit — mid-flight WIP looks like shipped garbage. Warn the user, or fix the visible page first.
  • Wiring a credential into automation without testing it in its exact consumer — a token that authenticates raw API calls can still be rejected by a CLI's --token. If you flag a risk in your own work, that's a test you owe immediately, not a disclaimer.
  • Secret-setting commands that normally prompt (gh secret set) go silent-EMPTY under a non-interactive shell and exit 0. Verify a secret took effect by exercising it, never by exit code.
  • Fixing from an unverified hypothesis. Instrument first: tally the actual failure classes before touching code. (Real case: a root-cause hypothesis that survived code review died on the first empirical tally — the true cause was elsewhere.)

Depth

Scale the depth to the task. A one-file fix needs zero levels. A two-workstream task needs two levels and no ceremony. Only a genuine multi-front session (audit + features + infra) earns the full loop. Every level is overhead you must earn back in time dilation.

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.