经 AI Skill Hub 精选评估,planning-with-files — Claude Skill 中文使用文档 获评「强烈推荐」。在 GitHub 上收获超过 21.9k 颗 Star,这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.8 分,适合有一定技术背景的用户使用。
基于Claude Code的Markdown持久化规划工具,实现了Manus风格的工作流模式。支持智能代理技能集成,帮助开发者构建具有持久化规划能力的AI应用系统,适合需要长期上下文管理的复杂任务场景。
planning-with-files — Claude Skill 中文使用文档 是一款基于 Python 开发的开源工具,专注于 Claude API、AI代理技能、Markdown规划 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
基于Claude Code的Markdown持久化规划工具,实现了Manus风格的工作流模式。支持智能代理技能集成,帮助开发者构建具有持久化规划能力的AI应用系统,适合需要长期上下文管理的复杂任务场景。
planning-with-files — Claude Skill 中文使用文档 是一款基于 Python 开发的开源工具,专注于 Claude API、AI代理技能、Markdown规划 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install planning-with-files
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install planning-with-files
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/OthmanAdi/planning-with-files
cd planning-with-files
pip install -e .
# 验证安装
python -c "import planning_with_files; print('安装成功')"
# 命令行使用
planning-with-files --help
# 基本用法
planning-with-files input_file -o output_file
# Python 代码中调用
import planning_with_files
# 示例
result = planning_with_files.process("input")
print(result)
# planning-with-files 配置文件示例(config.yml) app: name: "planning-with-files" debug: false log_level: "INFO" # 运行时指定配置文件 planning-with-files --config config.yml # 或通过环境变量配置 export PLANNING_WITH_FILES_API_KEY="your-key" export PLANNING_WITH_FILES_OUTPUT_DIR="./output"
<p align="center"> <strong>The planning skill your agent cannot ignore.</strong><br> Not a prompt it might follow. A hook that fires every turn, a plan on disk that survives <code>/clear</code>, and 3 out of 3 blind A/B wins to show it works. </p>
<p align="center"> <em>Your agent's context window dies. The plan does not.</em> </p>
<p align="center"> Persistent file-based planning for AI coding agents and long-running agent tasks: the skill keeps <code>task_plan.md</code>, <code>findings.md</code>, and <code>progress.md</code> on disk. Activated lifecycle hooks inject selected project planning context, so the plan survives context loss, <code>/clear</code>, crashes, and compaction. Automatic recovery reads project files only. Reading same-project local agent session records for aggregate counts or bounded replay requires an explicit catchup mode. Installs across 60+ agents via the Agent Skills standard, with native plugins for Claude Code, Codex CLI, Pi and Hermes Agent. </p>
<p align="center"> <a href="https://github.com/OthmanAdi/planning-with-files/stargazers"><img src="https://img.shields.io/github/stars/OthmanAdi/planning-with-files?style=flat&color=yellow" alt="Stars"></a> <a href="https://github.com/OthmanAdi/planning-with-files/releases"><img src="https://img.shields.io/github/v/release/OthmanAdi/planning-with-files?style=flat&label=release" alt="Latest release"></a> <a href="https://skillsplayground.com/skills/othmanadi-planning-with-files-planning-with-files/"><img src="https://skillsplayground.com/badges/installs/othmanadi-planning-with-files-planning-with-files.svg" alt="Skills Playground installs"></a> <a href="https://skill-history.com/othmanadi/planning-with-files"><img src="https://skill-history.com/badge/othmanadi/planning-with-files.svg" alt="Downloads"></a> </p>
<p align="center"> <a href="docs/evals.md"><img src="https://img.shields.io/badge/benchmark-96.7%25_pass_(29%2F30)-2da44e?style=flat" alt="Benchmark: 96.7 percent assertion pass rate with skill"></a> <a href="docs/evals.md"><img src="https://img.shields.io/badge/blind_A%2FB-3%2F3_wins-2da44e?style=flat" alt="Blind A/B: 3 of 3 wins"></a> <a href="LICENSE"><img src="https://img.shields.io/github/license/OthmanAdi/planning-with-files?style=flat" alt="MIT license"></a> </p>
<p align="center"> <a href="#before-and-after-clear"><strong>See it survive /clear</strong></a> · <a href="#quick-install"><strong>Install</strong></a> · <a href="#built-for-long-running-agent-tasks">Long-running tasks</a> · <a href="#hermes-agent-first-class-support-cli-and-desktop">Hermes Agent</a> · <a href="#multi-agent-runs-orchestrators-workers-and-subagents">Multi-agent</a> · <a href="#benchmark-results">The numbers</a> </p>
<p align="center"> <sub>Proof, comparisons and the repository reference are <a href="#reference">further down</a> · <a href="docs/installation.md">Full install guide</a></sub> </p>
---
Claude Code, plugin route (ships everything: skill, hooks, slash commands):
/plugin marketplace add OthmanAdi/planning-with-files
/plugin install planning-with-files@planning-with-files
Every other agent, one line, 60+ agents via the Agent Skills standard:
npx skills add OthmanAdi/planning-with-files --skill planning-with-files -g
npm, to pin an exact version into a project or vendor it:
npm install planning-with-files
The package carries SKILL.md, scripts/ and templates/, so this is the route for locking a version into a repo's dependencies or copying the skill in yourself. It does not register hooks on its own.
Pi Coding Agent, same npm package, wired up for you (skill, extension, status bar):
pi install npm:planning-with-files
Hermes Agent (Nous Research), native plugin plus skill bundle, CLI and Desktop:
hermes skills install OthmanAdi/planning-with-files/.hermes/skills/planning-with-files --yes
hermes plugins install OthmanAdi/planning-with-files/.hermes/plugins/planning-with-files
hermes plugins enable planning-with-files
OpenCode, native plugin plus the skill (the npx skills add command above lands in ~/.agents/skills/, which OpenCode reads):
{ "plugin": ["opencode-planning-with-files"] }
in opencode.json or ~/.config/opencode/opencode.json; OpenCode installs it on the next start.
Under a minute. Safe to re-run. Trigger it by typing /plan (plugin) or asking the agent to "plan this task"; the skill also self-triggers on multi-step tasks.
What each route actually ships:
| Route | Skill + scripts + templates | Slash commands | Hooks |
|---|---|---|---|
| Claude Code plugin | yes | **yes** | **yes** |
npx skills add | yes | no | frontmatter hooks, see note |
npm install | yes, under node_modules/ | no | no, copy the skill in yourself |
pi install npm: | yes | **yes**, Pi commands | **yes**, via the Pi extension |
hermes plugins install | yes, with the skill bundle | **yes**, /pwf, /pwf-status | **yes**, plugin hooks incl. the gate |
OpenCode opencode.json plugin | yes, with the skill | **yes**, /pwf, /pwf-status (two copied command files) | **yes**, plugin hooks incl. the gate |
| ClawHub / manual copy | yes | no | frontmatter hooks, see note |
Skill-route installs can end up silently hook-less (project trust not accepted, or frontmatter hooks not registering on project-level installs). The hooks are the differentiating mechanism, so if they matter to you, use the plugin route, then verify with /plan-doctor. Full matrix and the two silent killers: docs/installation.md.
Install acting up? Open your agent and say: "Read docs/installation.md and docs/troubleshooting.md from OthmanAdi/planning-with-files and fix my install." Then run /plan-doctor.
<details> <summary><strong>🌐 Available in 5 other languages</strong></summary>
🇸🇦 العربية / Arabic
npx skills add OthmanAdi/planning-with-files --skill planning-with-files-ar -g
🇩🇪 Deutsch / German
npx skills add OthmanAdi/planning-with-files --skill planning-with-files-de -g
🇪🇸 Español / Spanish
npx skills add OthmanAdi/planning-with-files --skill planning-with-files-es -g
🇨🇳 中文版 / Chinese (Simplified)
npx skills add OthmanAdi/planning-with-files --skill planning-with-files-zh -g
🇹🇼 正體中文版 / Chinese (Traditional)
npx skills add OthmanAdi/planning-with-files --skill planning-with-files-zht -g
These are real translations, not an English body with a translated description: the SKILL.md prose, the templates, and the user-facing output of check-complete, init-session and session-catchup are all localized. The status tokens stay literal English (**Status:** complete) on purpose, because check-complete.sh matches them with grep -F, so translating them would disable the completion gate.
Since v3.10.0 the variants also ship the full script surface: attestation, the Stop gate, the ledger, phase status and plan-doctor used to be canonical-only, which quietly made every non-English install a subset install. Full details, including what changed on the plugin route in v3.11.0, are in docs/languages.md.
They live under skills/i18n/, one directory deeper than the canonical skill. The install commands above are unchanged, because npx skills add resolves --skill by skill name across the whole repository. The Claude Code plugin scan reads skills/*/SKILL.md without recursing, so the plugin route registers the canonical skill alone and no longer carries five extra descriptions in every session's system prompt. On that route the /plan-ar, /plan-de, /plan-es, /plan-zh and /plan-zht commands read the translated skill from disk instead of invoking it by name.
</details>
<details> <summary><strong>Prefer <code>/planning-with-files</code> with no prefix?</strong></summary>
Copy the skill to your local folder:
macOS/Linux:
cp -r ~/.claude/plugins/cache/planning-with-files/planning-with-files/*/skills/planning-with-files ~/.claude/skills/
Windows (PowerShell):
Copy-Item -Recurse -Path "$env:USERPROFILE\.claude\plugins\cache\planning-with-files\planning-with-files\*\skills\planning-with-files" -Destination "$env:USERPROFILE\.claude\skills\"
</details>
<details> <summary><strong>Enhanced Support: per-IDE setup guides</strong></summary>
| IDE | Installation Guide | Integration |
|---|---|---|
| Claude Code | [Installation](docs/installation.md) | Plugin + SKILL.md + Hooks |
| Cursor | [Cursor Setup](docs/cursor.md) | Skills + [hooks.json](https://cursor.com/docs/hooks) |
| GitHub Copilot | [Copilot Setup](docs/copilot.md) | [Hooks](https://docs.github.com/en/copilot/reference/hooks-configuration) (incl. errorOccurred) |
| Mastra Code | [Mastra Setup](docs/mastra.md) | Skills + [Hooks](https://mastra.ai/docs/mastra-code/configuration) |
| Gemini CLI | [Gemini Setup](docs/gemini.md) | Skills + [Hooks](https://geminicli.com/docs/hooks/) |
| Kiro | [Kiro Setup](docs/kiro.md) | [Agent Skills](https://kiro.dev/docs/skills/) |
| Codex | [Codex Setup](docs/codex.md) | [Skills + Hooks](https://developers.openai.com/codex/skills) |
| Hermes Agent | [Hermes Setup](docs/hermes.md) | Skill + native plugin (tools, /pwf, pre_llm_call, post_tool_call, pre_verify gate), CLI and Desktop |
| CodeBuddy | [CodeBuddy Setup](docs/codebuddy.md) | [Skills + Hooks](https://www.codebuddy.ai/docs/cli/skills) |
| FactoryAI Droid | [Factory Setup](docs/factory.md) | [Skills + Hooks](https://docs.factory.ai/cli/configuration/skills) |
| OpenCode | [OpenCode Setup](docs/opencode.md) | Native plugin opencode-planning-with-files (chat.message injection, write reminders, compaction flush, session.idle gate, pwf_* tools, /pwf commands) + skill |
</details>
<details> <summary><strong>Standard Agent Skills: discovery paths</strong></summary>
| IDE | Installation Guide | Skill Discovery Path |
|---|---|---|
| Continue | [Continue Setup](docs/continue.md) | .continue/skills/ + [.prompt files](https://docs.continue.dev/customize/deep-dives/prompts) |
| Pi Agent | [Pi Agent Setup](docs/pi-agent.md) | .pi/skills/ ([npm package](https://www.npmjs.com/package/@mariozechner/pi-coding-agent)) |
| OpenClaw | [OpenClaw Setup](docs/openclaw.md) | .openclaw/skills/ ([docs](https://docs.openclaw.ai/tools/skills)) |
| Autohand Code | [Autohand Code Setup](docs/autohand.md) | ~/.autohand/skills/ or .autohand/skills/ |
| Antigravity | [Antigravity Setup](docs/antigravity.md) | .agent/skills/ ([docs](https://codelabs.developers.google.com/getting-started-with-antigravity-skills)) |
| Kilocode | [Kilocode Setup](docs/kilocode.md) | .kilocode/skills/ ([docs](https://kilo.ai/docs/agent-behavior/skills)) |
| AdaL CLI (Sylph AI) | [AdaL Setup](docs/adal.md) | .adal/skills/ ([docs](https://docs.sylph.ai/features/plugins-and-skills)) |
Note: If your IDE uses the legacy Rules system instead of Skills, see the legacy-rules-support branch.
</details>
<details> <summary><strong>Sandbox runtimes</strong></summary>
| Runtime | Status | Guide | Notes |
|---|---|---|---|
| BoxLite | ✅ Documented | [BoxLite Setup](docs/boxlite.md) | Run Claude Code + planning-with-files inside hardware-isolated micro-VMs |
BoxLite is a sandbox runtime, not an IDE. Skills load via ClaudeBox, BoxLite's official Claude Code integration layer.
</details>
<a id="faq"></a>
<details> <summary><strong>❓ FAQ</strong></summary>
[!TIP] Hermes Agent by Nous Research runs planning-with-files as a native plugin: tools, /pwf slash commands, per-turn plan injection, progress reminders and the completion gate, in the Hermes CLI, the gateway sessions, and Hermes Desktop. Verified against Hermes v0.19.1 source and a live install, on Windows included.
hermes skills install OthmanAdi/planning-with-files/.hermes/skills/planning-with-files --yes
hermes plugins install OthmanAdi/planning-with-files/.hermes/plugins/planning-with-files
hermes plugins enable planning-with-files
| Hermes surface | What the plugin does |
|---|---|
/pwf [--autonomous\|--gated] [plan name] | Creates the three files, in the project root or in an isolated .planning/YYYY-MM-DD-<slug>/ plan; the v3 flags write the mode marker and attest the plan |
/pwf-status, /plan-status | Active plan id, mode, attestation state, current phase, phase counts, logged errors |
planning_with_files_init, _status, _check_complete | The same operations as model-callable tools |
pre_llm_call | Injects the attested plan head and the normalized progress tail at the start of every turn; resolves PLAN_ID, .planning/.active_plan, the newest slug plan, then the legacy root file |
post_tool_call | Queues the progress reminder after write_file and patch |
pre_verify | The completion gate in gated mode: holds the turn while an in_progress phase remains, bounded by Hermes' agent.max_verify_nudges |
| Hermes Desktop | Same plugin, installed once per user; every Desktop session pins its own project folder and gets its own plan |
Hermes' own skills-guard scanner rates the Hermes bundle SAFE; the canonical skill path is rejected there because its Claude Code hook frontmatter trips the scanner, so the commands above are the supported route. The /plan command is Hermes' own bundled skill and is never shadowed. Full guide, Windows notes, the shell-hook route and the hermes import-agent claude-code migration: docs/hermes.md.
| Fork | Author | What They Built |
|---|---|---|
| [devis](https://github.com/st01cs/devis) | [@st01cs](https://github.com/st01cs) | Interview-first workflow, /devis:intv and /devis:impl commands, guaranteed activation |
| [multi-manus-planning](https://github.com/kmichels/multi-manus-planning) | [@kmichels](https://github.com/kmichels) | Multi-project support, SessionStart git sync |
| [plan-cascade](https://github.com/Taoidle/plan-cascade) | [@Taoidle](https://github.com/Taoidle) | Multi-level task orchestration, parallel execution, multi-agent collaboration |
| [agentfund-skill](https://github.com/RioTheGreat-ai/agentfund-skill) | [@RioTheGreat-ai](https://github.com/RioTheGreat-ai) | Crowdfunding for AI agents with milestone-based escrow on Base |
| [openclaw-github-repo-commander](https://github.com/wd041216-bit/openclaw-github-repo-commander) | [@wd041216-bit](https://github.com/wd041216-bit) | 7-stage GitHub repo audit, optimization, and cleanup workflow for OpenClaw |
高价值AI代理框架,实现了成熟的持久化规划模式。代码质量优秀,社区认可度高,适合企业级AI应用开发,是代理技能集成的参考实现。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:planning-with-files — Claude Skill 中文使用文档 的核心功能完整,质量优秀。对于AI爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | planning-with-files |
| 原始描述 | Claude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition. |
| Topics | Claude APIAI代理技能Markdown规划持久化存储工作流自动化 |
| GitHub | https://github.com/OthmanAdi/planning-with-files |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-22 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。