One command that sets up Claude Code in a repo to start every chat with the Manicode prompts for the repo's stack.
Run from the root of the repo:
curl -fsSL https://raw.githubusercontent.com/manicode/install/main/install.sh | bashIt asks for your Manicode API key. To skip the prompt, export MANICODE_REGISTRY_API_KEY first.
It writes:
~/.local/bin/forge: theforgecommand. If~/.local/binisn't on your PATH, the installer prints the line to add. It never replaces aforgeanother tool put there..claude/settings.json: themanicodemarketplace,forge@manicodeenabled, and a hook that installs the plugin in each teammate's first chat..gitignore:.claude/settings.local.json, unless it's already ignored..claude/settings.local.json: your API key. Not checked in..claude/rules/forge/: the prompts for the repo's stack, so your first chat has them. Not checked in.
Check in .claude/settings.json and .gitignore. Re-running it is safe.
Each teammate can run the command to save their API key and get the prompts.
The plugin updates itself (autoUpdate in the marketplace entry). To update by hand instead, delete autoUpdate before checking in. To pin a version, add a "ref" branch or tag to the marketplace source, or point the source at your own mirror.
To turn forge off on one machine, add this to the repo's .claude/settings.local.json:
{
"enabledPlugins": {
"forge@manicode": false
}
}- Remove from the repo's
.claude/settings.json:extraKnownMarketplaces.manicode,enabledPlugins["forge@manicode"], and theSessionStartentry whose command addsmanicode/external-claude-code-plugins. - On each machine:
claude plugin uninstall forge@manicode --scope local, removeMANICODE_REGISTRY_API_KEYfrom.claude/settings.local.json, and delete~/.local/bin/forge.