curl -fsSL https://raw.githubusercontent.com/EddaCraft/anvil-plan-spec/main/scaffold/install | bashThis downloads the APS scaffold into the current directory -- plans, templates, skill, and a local copy of the CLI.
Install the APS CLI system-wide so aps is available in any directory:
# Linux/macOS
curl -fsSL https://raw.githubusercontent.com/EddaCraft/anvil-plan-spec/main/scaffold/install | bash -s -- --global
# Windows (PowerShell)
irm https://raw.githubusercontent.com/EddaCraft/anvil-plan-spec/main/scaffold/install.ps1 | iex -- --globalThis installs only the CLI (bin/aps + lib/) to ~/.aps/ and adds it
to your shell PATH. No project files are created -- use aps init inside
a project directory for that.
To use a custom location, set APS_HOME:
curl -fsSL .../install | APS_HOME=/opt/aps bash -s -- --globalTo update a global installation:
curl -fsSL https://raw.githubusercontent.com/EddaCraft/anvil-plan-spec/main/scaffold/update | bash -s -- --global
# Or from the installed CLI:
aps update --globalTo uninstall: remove ~/.aps/ and the PATH line from your shell config.
# Install in a specific directory
curl -fsSL https://raw.githubusercontent.com/EddaCraft/anvil-plan-spec/main/scaffold/install | bash -s -- ./my-project
# Install a specific version
curl -fsSL https://raw.githubusercontent.com/EddaCraft/anvil-plan-spec/main/scaffold/install | VERSION=v0.2.0 bashThe installer prompts you to set up Claude Code hooks and PATH configuration. In non-interactive mode (piped without a terminal), it uses sensible defaults.
If you already have APS installed and want to pull the latest templates, rules, and skill files:
curl -fsSL https://raw.githubusercontent.com/EddaCraft/anvil-plan-spec/main/scaffold/update | bashYour specs are preserved -- the updater only replaces templates, rules,
the CLI, and skill files. It does not touch your index.aps.md, module
specs, or action steps.
Updated files:
bin/aps+lib/(CLI)aps-rules.md(agent guidance)modules/.module.template.md,.simple.template.md,.index-monorepo.template.mdexecution/.steps.template.mdaps-planning/(skill + scripts).claude/commands/(plan, plan-status)
irm https://raw.githubusercontent.com/EddaCraft/anvil-plan-spec/main/scaffold/install.ps1 | iexTo install a specific version:
$env:VERSION='v0.2.0'; irm https://raw.githubusercontent.com/EddaCraft/anvil-plan-spec/main/scaffold/install.ps1 | iexOr follow the Manual Setup steps below.
If you prefer to set things up by hand:
- Copy
bin/apsandlib/into your project - Copy the templates from
scaffold/plans/intoplans/ - Copy
scaffold/aps-planning/for the Claude Code skill - Copy
scaffold/commands/into.claude/commands/ - Edit
plans/index.aps.mdto define your plan's scope and modules - Create modules by copying templates (remove the leading dot from filenames)
- Add Work Items when a module is ready for implementation
The install script creates the following structure in your project:
bin/
└── aps # CLI (lint, init, update)
plans/
├── aps-rules.md # Agent guidance
├── index.aps.md # Your main plan
├── modules/
│ ├── .module.template.md # Module template
│ ├── .simple.template.md # Simple feature template
│ └── .index-monorepo.template.md # Index for monorepos
├── execution/
│ └── .steps.template.md # Action steps template
└── decisions/
aps-planning/
├── SKILL.md # Planning skill (core rules)
├── reference.md # APS format reference
├── examples.md # Real-world examples
├── hooks.md # Hook configuration guide
└── scripts/ # Hook install + session scripts
.claude/commands/
├── plan.md # /plan command
└── plan-status.md # /plan-status command
After installation:
- Edit
plans/index.aps.mdto define your plan - Copy templates to create modules (remove the leading dot)
- Use
/planin Claude Code to start planning
For a full walkthrough, see the Getting Started guide.