agentleFS
qwerfunchqwerfunch/cladding/skills/init/SKILL.md

init

Skill16 starsChanged 5 months agoMITView on GitHub

Use only when the user explicitly names Cladding and asks to initialize, adopt, or refresh it; never use for an ordinary project creation or implementation request. Scaffold from an idea, planning document, or existing project through the MCP prepare/apply flow.

89 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use migrate, survey and 9 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.
  • genomewalkerSkill

    migrate

    Import soul data from SQLite or shared chitta files

    Also in 8 projects that use this

  • SNL-UCSBSkill

    survey

    Literature survey assistant with four modes: /survey intent (capture student goals, expertise, and success criteria), /survey triage (landscape mapping via NotebookLM), /survey deepen (structured reading with craft and visualization extraction), /survey synthesize (cross-paper analysis for related work, area exams, gap identification). Also: /survey expand (corpus growth proposals). Use when students mention reading papers, literature review, related work, area exam prep, paper corpus, or any systematic reading task.

    Also in 3 projects that use this

  • pvnarpSkill

    bug

    Investigates and resolves bugs using structured diagnosis. Categorizes by system, traces root cause, proposes minimal fix, and suggests prevention. Use when debugging issues or investigating unexpected behavior.

    Also in 3 projects that use this

  • AnthropicSkill

    uninstall

    Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.

    Also in 3 projects that use this

  • Eipi-TongSkill

    adopt

    Onboard an existing codebase into the starter kit. Use when the user says "adopt this project", "add the kit to my existing repo", or "set up the kit on existing code".

    Also in 3 projects that use this

  • mlz11Skill

    reset

    Completely reset ClaudeNotifier installation, removing all components and permissions

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 80 edited versions we read keep these.

  • 1

    Distinctive

    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
  1. Very specific:

    Use this workflow only when the user explicitly asks to initialize, adopt, or refresh Cladding.

    line 8
  2. Very specific:

    If the current user message itself matches APPLY CLADDING XXXXXX, do not call prepare or stage again.

    line 12
  3. Distinctive:

    If a greenfield request has no project intent, ask for one short description.

    line 14
  4. Very specific:

    Call clad_prepare_init with exactly one starting mode:

    line 15
  5. Very specific:

    Do not run clad init in a shell from an AI-host onboarding session.

    line 24

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

Cladding init

Use this workflow only when the user explicitly asks to initialize, adopt, or refresh Cladding. Opening a repository alone is not consent to initialize it.

Required host workflow

If the current user message itself matches APPLY CLADDING XXXXXX, do not call prepare or stage again. Call clad_init once and copy the entire user message, including the APPLY CLADDING prefix, into confirmation.

  1. If a greenfield request has no project intent, ask for one short description.
  2. Call clad_prepare_init with exactly one starting mode:
    • idea with the user's description.
    • document with a project-relative planning-document path.
    • existing for an existing codebase; include an optional adoption goal.
  3. Read the returned prompt and observations. Draft the structured object required by clad_init using the current host model, then call clad_stage_init with the preparation token and that draft. Staging validates the draft and stores only ignored runtime state under .cladding/host/; it does not modify authored project files.
  4. Show plannedChanges, the staged confirmationQuestion, and its one-time approvalChallenge to the user, then stop and wait for a separate reply. The original initialization request is not confirmation.
  5. Only when the user's separate reply exactly matches approvalChallenge, call clad_init with the entire reply verbatim as confirmation—never strip the APPLY CLADDING prefix. Include the draft and token when the host retained them; process-per-turn hosts may omit both because Cladding resolves the exact staged draft from its short-lived machine-local cache. Questions, paraphrases, and generic acknowledgements are not approval.
  6. If nextQuestion is present, show it verbatim and end the assistant turn immediately. Never answer it, infer an answer, or call either clarify tool during the initialization-approval turn. Continue with the Cladding clarify workflow only after a new user message supplies the answer. If no question remains, report that onboarding is complete and that the next step is to author the first feature's spec — its acceptance criteria and the files it will cover — before writing any code; the feature cycle starts there, not with scaffolding.

Do not run clad init in a shell from an AI-host onboarding session. Do not use MCP sampling. If the MCP tools are absent, tell the user to run clad setup, restart the AI host in the project directory, and stop without writing project files.

clad_prepare_init does not modify the workspace, and clad_stage_init writes only ignored runtime state. Never call stage and apply in the same assistant turn. Only clad_init writes authored artifacts, after explicit user confirmation plus schema and freshness validation. A stale, malformed, or replayed apply request must be prepared again.

Initialization also creates or appends spec/index.yaml merge=union in .gitattributes. It preserves every existing attribute and never assigns a merge driver to spec/attestation.yaml; the strict gate rewrites that verification record canonically after an ordinary merge.

The raw CLI remains available for terminal, CI, offline, and explicitly configured SDK automation; it is not the primary host onboarding path.

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.