init
Skill5 starsChanged 2 months agoMITView on GitHub
Scaffolds the Web Studio in a project (the studio's init, not Claude Code's): asks the conversation language and review mode, creates/updates CLAUDE.md sections, seeds .claude/docs, .claude/rules, docs/ and production/, merges settings; a re-run adds only what is missing and hands off to /update or /adopt. Run first in plugin mode (copy mode: to set the language), for 'set up the studio'.
89 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- cfgaudit/cfgaudittheir own version, first seen Oct 5, 2026
- RobStrayer/voice-agent-skillstheir own version, first seen Oct 1, 2026
- hodstack/hodstacktheir own version, first seen Oct 1, 2026
- sachingulati/claude-statuslinetheir own version, first seen Sep 30, 2026
- OpenPerfAgent/who-ate-my-flopstheir own version, first seen Sep 30, 2026
Used with
Projects with it also use survey, bug and 8 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.
SNL-UCSBSkillsurvey
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
pvnarpSkillbug
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
AnthropicSkilluninstall
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
mlz11Skillreset
Completely reset ClaudeNotifier installation, removing all components and permissions
Also in 3 projects that use this
iankikuSkillrecover
(forwward) Responds to a production incident — stop the bleeding first (roll back the last release / disable the bad change), then diagnose from logs and alerts, keep a status thread, and write the follow-up. The reverse of a normal deploy. Triggers on "prod is down", "roll back", "revert the last deploy", "the service is erroring", or an alert firing.
Also in 3 projects that use this
DockerSkillwrite
Write or edit reader-facing technical prose for immediate comprehension. Use for documentation, PR titles and descriptions, release notes, design documents, user-facing explanations, and substantive comments. Also use when asked to make writing clearer, more natural, less AI-generated, or easier to read. For documentation fixes, handles edits, formatting, self-review, and commits after research identifies what to change. Do not use for code-only tasks with no prose deliverable.
Also in 4 projects that use this
Other versions89 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 89
- microsoft/vscode★ 196ksame name
- mcollina/skills★ 1.9ksame name
- skyllwt/AutoSci★ 1.7ksame name
- tmck-code/yet-another-statusline★ 242same name
- DeL-TaiseiOzaki/claude-code-orchestra★ 198same name
- mattgierhart/PRD-driven-context-engineering★ 179same name
- atelier-fashion/adlc-toolkit★ 171same name
- guhcostan/claude-mega-brain★ 126same name
- The01Geek/prflow★ 99same name
- duthaho/claudekit★ 97same name
79 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 repository52 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- testing/CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- adoptSkill
- api-contractSkill
- architecture-decisionSkill
- architecture-reviewSkill
- backlogSkill
- brainstormSkill
- changelogSkill
- code-reviewSkill
- collaboration-protocolSkill
- create-storiesSkill
- data-modelSkill
- dependency-auditSkill
- deploySkill
- design-systemSkill
- dev-storySkill
- docsSkill
- feature-specSkill
- game-conceptSkill
- hardenSkill
- helpSkill
- hotfixSkill
- impactSkill
- incidentSkill
- migrateSkill
- pentestSkill
- perf-auditSkill
- product-specSkill
- qa-planSkill
- refactorSkill
- release-checklistSkill
- retrospectiveSkill
- security-auditSkill
- setup-stackSkill
- skill-improveSkill
- skill-testSkill
- sprint-planSkill
- sprint-statusSkill
- stack-updateSkill
- startSkill
- story-doneSkill
- team-featureSkill
- team-gameSkill
- team-releaseSkill
- team-securitySkill
- tech-debtSkill
- test-setupSkill
- threat-modelSkill
- updateSkill
- ux-specSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 80 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
After the "write" answer: touch .claude/.write-consent (§ Gates).
- Very specific: line 47
Ask, one AskUserQuestion: commit (Recommended) · leave uncommitted.
- Very specific: line 58
After INITIALISED: /adopt full (Recommended for brownfield: audits stack, artefacts and settings, fills technical-preferences.md from the …
- Very specific: line 59
After ALREADY INITIALISED: read references/rerun-handoff.md — its ladder (/update · /adopt full · /help) marks exactly one option …
- Very specific: line 60
After NOT INITIALISED: /init again (--plugin-root <path> when no root was found.
“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.
Files
Init — scaffold the studio in this project
Language, <hooks>, gate mechanics (consent marker, Gate record) and the documents-lane commit gate: docs/coordination-rules.md § Skill conventions. Until CLAUDE.md exists, the language chosen in Phase 2 binds instead.
Writes files only after "May I write …?" → "yes".
Glossary: <root> — the seed root, plugin mode only (the install path found in Phase 1). Copy mode has no <root>: install.sh seeded docs, rules and hooks, and its stamp .claude/.web-studio-version is the only version source.
Phase 1: Locate the studio files
- Mode and seed root, in this order; the first that holds decides:
--plugin-root→ plugin mode,<root>is that path;.claude/.web-studio-versionpresent (install.sh's stamp) → copy mode, nothing to seed — before the "Plugin root:" line and the plugin list: a plugin installed at user scope prints that line into every project's session and never turns a copy-mode project into plugin mode;- the "Plugin root:" line printed by the session-start hook → plugin mode;
claude plugin list --json: theweb-studiorow whoseprojectPathis this project's root (git rev-parse --show-toplevel), else itsuser-scope row → its install path; the list covers every project on this machine, never take the first match (/updatePhase 1);.claude/docs/stack-reference/index.mdalready present — copy mode, nothing to seed. None found → ask the user for the path to the plugin/kit directory. Write nothing until a root is known; no path given →NOT INITIALISED (no plugin root)(Phase 6).
- Brownfield or empty — code exists on the evidence of
references/seed-manifest.md§ Stage (a manifest with sources, deploy files, a git history beyond a handful of commits); the result decides the stage (Phase 3) and the hand-off (Phase 6).
Phase 2: Language and review mode
--language / --review skip the matching question.
- Language, one
AskUserQuestion: "Which language should we use for conversation and documents?" Options: English plus the language of the user's own words when it differs (this session's messages; on a bare/initwith no prose, a non-English README/CLAUDE.md or the user's global~/.claude/CLAUDE.md— aReadoutside the project, allowed here). Always at least two named options — one option is a railroad, not a choice; nothing inferable → the two or three languages most plausible for this user's environment. - Switch language now. From the answer on (an option,
--language, or a language stated in the reply text) every question, the plan, the write summary and the hand-off are in that language — CLAUDE.md not existing yet is no excuse; the session that follows inherits the tone/initsets. - Review mode, one
AskUserQuestion:lean(Recommended for a single developer: lead plus security on sensitive work) ·full(every significant artefact reviewed) ·solo(reviews on request). It scopes reviews only: no mode skips/start//adopt, the specs or the catalog's required steps (review-workflow.md).
Phase 3: Plan
- Decide the stage (
production/stage.txt) from Phase 1 step 2:discoveryfor an empty project; brownfield →build(code, no release) oroperate(release files, compose.prod, a deploy skill in the repository —references/seed-manifest.md§ Stage; a README's live URL only prompts a question), proposed from the facts and confirmed in the "May I write?" question. Never writediscoveryover a running project. - Show the plan from
references/seed-manifest.md: every path it lists as created or merged (settings template per mode as it says), marking existing files that differ; an existingCLAUDE.mdgets the exact insertion shown. - Write gate: "May I write these files?" — one
AskUserQuestion: write (Recommended) · show the draft/diff first · not now. "Not now" → nothing is written,NOT INITIALISED (declined). - After the "write" answer:
touch .claude/.write-consent(§ Gates).
Phase 4: Write and verify
- Apply the plan; print the tree of created files.
- Smoke-check the statusline:
echo '{"cwd":"'"$PWD"'"}' | bash .claude/statusline.sh. - Version stamp — copy mode only. Keep install.sh's
.claude/.web-studio-version; missing → record the version of<kit>/.claude-plugin/plugin.jsononly when--kit <path>names the kit repository (the argument/updatetakes;--plugin-rootmeans plugin mode), else nameinstall.shas the fix. Plugin mode writes none:claude plugin list --jsonholds the version, and a stamp would claim files the project does not hold (/updatedeletes it).
Phase 5: Commit (documents lane)
Right after the write, one commit gate (§ Documents-lane commit gate; .claude/docs/git-workflow.md § Documents).
- Record it:
<hooks>session-state.sh set Gate "/init Phase 5: commit?". - Ask, one
AskUserQuestion: commit (Recommended) · leave uncommitted; on a story branch, name it and offer the § Documents-lane fork (switch to<default>Recommended — a pipeline-wide document · commit here · leave uncommitted). After the answer:<hooks>session-state.sh set Gate "—". - On "commit":
docs: initialise web studio, staging exactly the documents this run wrote —CLAUDE.md,.claude/docs/,.claude/rules/,docs/web-studio/README.md,production/stage.txt,production/review-mode.txt,.claude/.web-studio-version(copy mode). The seededdocs/*andproduction/*folders are not listed: git stages no empty folder. .claude/settings.json,.claude/statusline.shand the.gitignorelines are toolchain work, not documents: never in thedocs:commit; name them in the result and offer the chore lane (git-workflow.md § Chore / infra).- Nothing is committed without the answer. Nothing written (
ALREADY INITIALISEDwith 0 files differing,NOT INITIALISED) → no commit gate.
Phase 6: Verdict and hand-off
- Verdict, one line:
INITIALISED— neither the## Studio (Web Studio)block inCLAUDE.mdnor a seeded.claude/docs/existed before this run (Phase 1 items 1.3 and 1.5 did not apply).ALREADY INITIALISED (N files differ)— one of them did; N = seeded files whose content differs from the seed root (listed in Phase 3; recipe and ignore list inreferences/rerun-handoff.md); the run only added what was missing.NOT INITIALISED (declined)— "not now" at the write gate;NOT INITIALISED (no plugin root)— no root found, no path given. Nothing was written.
- Next step — one
AskUserQuestion, never a plain text line, every command namespaced (§ Skill conventions → Paths and names):- After
INITIALISED:/adopt full(Recommended for brownfield: audits stack, artefacts and settings, fillstechnical-preferences.mdfrom the facts) ·/start(Recommended for an empty project) ·/help· stop here. - After
ALREADY INITIALISED: readreferences/rerun-handoff.md— its ladder (/update·/adopt full·/help) marks exactly one option Recommended by the first fact that holds, offers the others, and never recommends "do nothing" on a project with code. - After
NOT INITIALISED:/initagain (--plugin-root <path>when no root was found; Recommended) ·/help· stop here.
- After
/initscaffolds the studio and stops there. It never writes product code (index.html, amain, a component), however trivial the goal: a greenfield project's first product artifact is/start's, whose stack and spec steps may pick the shortest path — never init inline. A hand-off answered with anything but a pipeline command is the user's call; init does not pre-empt it with code.
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.

