能力标签
planning-with-files — Claude Skill 中文使用文档
🛠
AI工具

planning-with-files — Claude Skill 中文使用文档

基于 Python · 开源 AI 工具,GitHub 社区精选
英文名:planning-with-files
⭐ 21.9k Stars 🍴 1.9k Forks 💻 Python 📄 MIT 🏷 AI 8.8分
8.8AI 综合评分
Claude APIAI代理技能Markdown规划持久化存储工作流自动化
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,planning-with-files — Claude Skill 中文使用文档 获评「强烈推荐」。在 GitHub 上收获超过 21.9k 颗 Star,这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.8 分,适合有一定技术背景的用户使用。

📚 深度解析

planning-with-files — Claude Skill 中文使用文档 是一款基于 Python 的开源工具,在 GitHub 上收获 22k+ Star,是Claude API、AI代理技能、Markdown规划、持久化存储领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
planning-with-files — Claude Skill 中文使用文档 依赖 Python 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Python 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 planning-with-files — Claude Skill 中文使用文档 的版本更新,及时通知重要功能变化。

📋 工具概览

基于Claude Code的Markdown持久化规划工具,实现了Manus风格的工作流模式。支持智能代理技能集成,帮助开发者构建具有持久化规划能力的AI应用系统,适合需要长期上下文管理的复杂任务场景。

planning-with-files — Claude Skill 中文使用文档 是一款基于 Python 开发的开源工具,专注于 Claude API、AI代理技能、Markdown规划 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 21.9k
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
活跃维护,更新频繁
开源协议
MIT
AI 综合评分
8.8 分
工具类型
AI工具
Forks
1.9k

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

基于Claude Code的Markdown持久化规划工具,实现了Manus风格的工作流模式。支持智能代理技能集成,帮助开发者构建具有持久化规划能力的AI应用系统,适合需要长期上下文管理的复杂任务场景。

planning-with-files — Claude Skill 中文使用文档 是一款基于 Python 开发的开源工具,专注于 Claude API、AI代理技能、Markdown规划 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一: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('安装成功')"
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
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"
📑 README 深度解析 真实文档 完整度 40/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

planning-with-files: task_plan.md, findings.md, and progress.md as three stone tablets

Planning with Files

<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>

---

Quick Install

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:

RouteSkill + scripts + templatesSlash commandsHooks
Claude Code pluginyes**yes****yes**
npx skills addyesnofrontmatter hooks, see note
npm installyes, under node_modules/nono, copy the skill in yourself
pi install npm:yes**yes**, Pi commands**yes**, via the Pi extension
hermes plugins installyes, with the skill bundle**yes**, /pwf, /pwf-status**yes**, plugin hooks incl. the gate
OpenCode opencode.json pluginyes, with the skill**yes**, /pwf, /pwf-status (two copied command files)**yes**, plugin hooks incl. the gate
ClawHub / manual copyyesnofrontmatter 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>

IDEInstallation GuideIntegration
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>

IDEInstallation GuideSkill 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>

RuntimeStatusGuideNotes
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>

Hermes Agent: first-class support (CLI and Desktop)

[!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 surfaceWhat 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-statusActive plan id, mode, attestation state, current phase, phase counts, logged errors
planning_with_files_init, _status, _check_completeThe same operations as model-callable tools
pre_llm_callInjects 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_callQueues the progress reminder after write_file and patch
pre_verifyThe completion gate in gated mode: holds the turn while an in_progress phase remains, bounded by Hermes' agent.max_verify_nudges
Hermes DesktopSame 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.

Forks & Extensions

ForkAuthorWhat 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
🎯 aiskill88 AI 点评 A 级 2026-05-23

高价值AI代理框架,实现了成熟的持久化规划模式。代码质量优秀,社区认可度高,适合企业级AI应用开发,是代理技能集成的参考实现。

📚 实用指南(长尾问题)
适合谁
  • 构建多智能体协作系统的 Agent 开发者
最佳实践
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • Python 依赖冲突:建议用 venv / uv 隔离环境
部署方案
  • CLI:直接 npm install -g / pip install,命令行调用
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
planning-with-files 中文教程planning-with-files 安装报错怎么办planning-with-files Agent 工作流planning-with-files 与同类工具对比planning-with-files 最佳实践planning-with-files 适合谁用

⚡ 核心功能

👥 适合谁
  • 构建多智能体协作系统的 Agent 开发者
⭐ 最佳实践
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • Python 依赖冲突:建议用 venv / uv 隔离环境

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +GitHub 21.9k Star,社区高度认可
  • +MIT 协议,可免费商用
  • +AI Skill Hub 精选推荐
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

提供了持久化Markdown规划能力,实现了获得2B级别收购认可的Manus工作流模式
💡 AI Skill Hub 点评

AI Skill Hub 点评:planning-with-files — Claude Skill 中文使用文档 的核心功能完整,质量优秀。对于AI爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

📚 深入学习 planning-with-files — Claude Skill 中文使用文档
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 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
🔗 原始来源
🐙 GitHub 仓库  https://github.com/OthmanAdi/planning-with-files

收录时间:2026-05-22 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →