docs/installation.md
Complete installation instructions for planning-with-files.
/plugin marketplace add OthmanAdi/planning-with-files
/plugin install planning-with-files@planning-with-files
The plugin is now installed. When a project has no active plan, its startup hook is intentionally silent.
Not every route delivers every surface. This matrix is the difference between "installed" and "fully working":
| Route | SKILL.md + scripts + templates | Slash commands (/plan-goal, /plan-loop, /plan-attest, /plan-doctor) | Hooks (plan injection, Stop check, PreCompact) |
|---|---|---|---|
Plugin: /plugin marketplace add + /plugin install | Yes | Yes | Yes, through plugin-level lifecycle hooks, including quiet SessionStart recovery |
npx skills add OthmanAdi/planning-with-files | Yes | No (commands/ is not copied) | Activation-scoped frontmatter hooks after the skill is invoked; no SessionStart |
ClawHub / manual skill copy to ~/.claude/skills/ | Yes | No | Activation-scoped frontmatter hooks after the skill is invoked; no SessionStart |
Two conditions can leave a standalone skill route without active hooks:
.claude/skills/ inside the repo) only activates after the project's trust dialog is accepted (hasTrustDialogAccepted). Headless or scripted sessions that never accepted trust load no project skills, and nothing prints an error.SKILL.md hooks are activation-scoped. They register after Claude invokes the skill for that session. The plugin route registers its lifecycle descriptor at startup.If hooks matter to you (they are the differentiating mechanism of this skill), install via the plugin route. Either way, verify with the doctor:
sh scripts/plan-doctor.sh # from your project root; reports resolution, injection, latency
Skill descriptions trigger probabilistically — in our July 2026 benchmark, unforced engagement was 60-67%, while an always-loaded rules-file instruction engaged 100% of the time. If you want the skill to fire every time a task is complex, add one line to your project's CLAUDE.md (or global ~/.claude/CLAUDE.md):
When a task needs 3+ steps or 5+ tool calls, invoke the planning-with-files skill first and keep task_plan.md current.
The skill description still handles discovery; the rules line makes engagement deterministic. Both together cost nothing when no complex task is running.
Install directly using the Claude Code CLI:
/plugin marketplace add OthmanAdi/planning-with-files
/plugin install planning-with-files@planning-with-files
Advantages:
For a local checkout, use Claude Code's supported session-only plugin path:
git clone https://github.com/OthmanAdi/planning-with-files.git
claude --plugin-dir ./planning-with-files
If you only want the skill without the full plugin structure:
git clone https://github.com/OthmanAdi/planning-with-files.git
mkdir -p ~/.claude/skills
cp -r planning-with-files/skills/planning-with-files ~/.claude/skills/
Extract just the skill directly into your current directory:
curl -L https://github.com/OthmanAdi/planning-with-files/archive/master.tar.gz | tar -xzv --strip-components=2 "planning-with-files-master/skills/planning-with-files"
Then move planning-with-files/ to ~/.claude/skills/.
The workflow ships in Arabic, German, Spanish and both Chinese scripts alongside English. Each is its own skill, installed by name:
npx skills add OthmanAdi/planning-with-files --skill planning-with-files-de -g
Installing a translation does not install the English skill, and installing English does not pull in any translation. See languages.md for the full table, the repository layout, and how the language commands behave on the plugin route.
After installation, verify the intended route:
claude plugin list, then inspect the plugin in /plugin or /hooks./planning-with-files; its hooks are activation-scoped to that session./plugin update planning-with-files@planning-with-files
Update the checkout you pass to claude --plugin-dir, then start a new session.
cd ~/.claude/skills/planning-with-files
git pull origin master
/plugin uninstall planning-with-files@planning-with-files
rm -rf ~/.claude/skills/planning-with-files
See docs/windows.md for Windows-specific installation notes.
See docs/cursor.md for Cursor IDE installation.
See docs/codex.md for Codex IDE installation.
See docs/opencode.md for OpenCode IDE installation.
If installation fails, check docs/troubleshooting.md or open an issue at github.com/OthmanAdi/planning-with-files/issues.