← 返回 Skills 市场
othmanadi

Planning with files

作者 Ahmad Othman Ammar Adi. · GitHub ↗ · v3.16.1 · MIT-0
cross-platform ✓ 安全检测通过
41724
总下载
58
收藏
0
当前安装
21
版本数
在 OpenClaw 中安装
/install planning-with-files
功能描述
Persistent file-based planning for multi-step AI-agent work. Keeps task_plan.md, findings.md, and progress.md on disk; lifecycle hooks inject selected project planning context. Automatic recovery reads project planning files only. Explicit session-catchup.py --metadata reads same-project local agent
安全使用建议
Install from ClawHub or a pinned, verified source revision when possible. Expect this skill to add project planning files and lifecycle hook context injection. Use session-catchup --replay only when you are comfortable exposing bounded same-project transcript excerpts to the agent context, and use gated mode only when you want the host to resist stopping until the plan says work remains.
能力评估
Credentials
Read/Write/Edit/Bash/Glob/Grep authority and local shell/Python helpers are proportionate to the stated planning workflow; no network upload path was found in inspected scripts.
Install Mechanism
The reviewed artifact includes lifecycle hooks that run bundled shell scripts. The documented npx/GitHub install path is mutable unless users pin or verify the installer and source revision.
Instruction Scope
Runtime instructions focus on creating, reading, and updating planning artifacts, with repeated warnings to treat injected or replayed content as untrusted data.
Persistence & Privilege
Persistence is project-local planning state plus user-private caches and optional stop-gate counters. The gated mode can request continuation only when explicitly enabled and includes caps/stall checks; no privilege escalation or system-level persistence was found.
Purpose & Capability
The capability set matches persistent planning: it creates and reads project planning files, optional .planning state, ledgers, attestations, nonces, and hook cache files. Optional session catchup is documented as explicit-only.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install planning-with-files
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /planning-with-files 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.16.1
- Hooks now use a unified scripts/skill-hook.sh, replacing various script calls and event flags for simpler lifecycle handling. - Added templates/loop.md as a new planning template. - Removed the legacy skill-card.md file. - Updated documentation: task planning files are now resolved per selected task directory (with PLAN_ID) instead of always defaulting to project root. - Clarified setup and initialization steps for parallel or isolated task directories.
v3.16.0
- PostToolUse progress reminder now reaches the model instead of the user, fires once per turn instead of once per tool call, and no longer triggers on read-only shell commands (issue #239). - An explicit PLAN_ID is now a binding: it resolves or nothing is injected, never a different plan (issue #237). - A project's root .mode is a floor a plan cannot start below, so creating a plan can no longer drop a committed attestation requirement (issue #238). - plan-doctor classifies injection output on the data framing, so a plan quoting a control phrase no longer reports a false tamper warning and a dark-hooks state no longer reports PASS (issue #236). - Version metadata updated to 3.16.0.
v3.12.0
- Session recovery now reads only project planning files by default; local agent session history is accessed only via explicit user request with session-catchup.py. - Added support for session-catchup.py metadata mode (counts only, never emits transcript or commands) and bounded replay mode (non-default, opt-in). - Hooks and documentation updated to clarify there is no network upload path and that replayed excerpts are always untrusted. - Lifecycle hooks now check for CLAUDE_PLUGIN_ROOT and exit early if set. - Removed the sample skill-card.md file.
v3.11.2
- Removed the redundant skill-card.md file. - No changes to functionality or documentation; disk usage slightly reduced.
v3.10.2
- Improved script and docs placement: added standalone examples.md, reference.md, and moved templates to a top-level /templates folder. - Added new analytics-specific templates: analytics_findings.md and analytics_task_plan.md. - Updated PowerShell and shell command logic to handle cross-platform stop hooks more robustly. - Clarified session restoration instructions in documentation. - Removed legacy/duplicative files from the references and root directory for cleaner structure.
v2.9.0
- Expanded Windows and Linux compatibility for the "Stop" hook with improved script selection logic. - Environment variable now auto-detects the correct skill directory for session recovery, supporting both plugin and default install paths. - Documentation streamlined and clarified, with updated setup and context restoration instructions. - Added scripts/__pycache__/session-catchup.cpython-314.pyc for internal use; removed the obsolete skill-card.md file.
v3.0.0
Major update in v3.0.0: hooks migrated to external reusable shell scripts, improving modularity and maintainability. - All bash logic for hooks moved from SKILL.md into standalone scripts in the scripts directory. - Added new scripts: inject-plan.sh, gate-stop.sh, ledger-append.sh/ps1, ledger-summary.sh/ps1, phase-status.sh/ps1. - PostToolUse and Stop steps now call reusable scripts instead of embedding commands. - Obsolete/inlined content (skill-card.md) removed; new task_plan_autonomous.md template added. - Greatly clarifies the distinction between skill assets and user project files.
vv2.42.0
No user-facing changes in this version. - No changes to files or behavior detected.
v2.41.0
No user-facing changes in this version. - No file changes detected. - Functionality and interface remain the same as the previous release.
v2.40.2
No user-facing changes in this release. - No file changes were detected between versions. - Functionality and behavior remain unchanged.
v2.40.1
- Improved plan file resolution: now supports resolving and loading plans from .planning subdirectories with more robust logic. - Enhanced attestation (tamper detection): SHA256 caching is used for faster plan integrity checks. - Progress and attestation checks now work with named/scoped plans as well as root plans. - PreToolUse and UserPromptSubmit hooks updated to always find the correct plan, even if not in root. - No changes to external interface or required user actions.
v2.38.1
- Minor internal update: output markers in hooks changed from "---BEGIN PLAN DATA---" to "===BEGIN PLAN DATA===" for consistency. - No changes to user workflow or visible features. - Version bump to 2.38.1, no file changes detected.
v2.38.0
**Introduces file integrity attestation and tamper-detection for planning files.** - Added plan attestation and SHA-256 verification to detect tampering in task_plan.md before it is used, improving security against indirect prompt injection. - New hooks now block processing of a plan if the hash does not match the attestation file, and display clear messages guiding re-attestation or restoration. - Added support scripts for managing attestation and plan directories, including PowerShell and shell variants. - Expanded file automation with helper scripts: init-session, check-complete, set-active-plan, and resolve-plan-dir. - Updated version to 2.38.0 and extended hooks to include PreCompact for context compaction events.
v2.36.1
**No significant user-facing changes.** - Updated the `Stop` hook to use a less restrictive PowerShell execution policy (`RemoteSigned` instead of `Bypass`). - Bumped version to 2.36.1. - No behavior or documentation changes affecting general use.
v2.35.0
**Changelog for planning-with-files v2.35.0** - Improved platform compatibility for the Stop hook by updating script location logic and fallback. - Minor fixes to allowed-tools formatting. - No code changes; all planning methodology and core behavior remain unchanged.
v2.34.0
planning-with-files v2.34.0 Codex users — this one's for you. The lifecycle hooks that @Leon-Algo built in v2.31.0 were accidentally wiped during the v2.32.0 release cycle. All five are back: SessionStart runs session catchup and injects your active plan; UserPromptSubmit re-injects on every message so the agent never forgets where it left off; PreToolUse re-reads task_plan.md before touching your codebase; PostToolUse reminds the agent to log what it just did; Stop blocks when phases are still open and re-prompts to keep going. Codex now has full hook parity with Claude Code, Cursor, and Copilot. session-catchup.py is also updated with the complete Codex rewrite — structured patch_apply_end event detection, session size filtering, and current-thread preference via CODEX_THREAD_ID. Everything else in this release is cleanup. Two shell scripts that should have been executable weren't — fixed, with a regression test so it never happens again. Four contributors who shipped real work never got credited — they're in CONTRIBUTORS.md now. A duplicate metadata key was lurking in several SKILL.md variants — gone. The Tessl CI workflow is in, which means every future SKILL.md PR gets automatically scored and reviewed. 154 of you are using this. Thank you for staying with it.
v2.26.1
planning-with-files 2.22.1 - Added Windows PowerShell scripts: scripts/check-complete.ps1 and scripts/init-session.ps1 for Windows compatibility. - Improved cross-platform support for session initialization and completion checks. - No changes to planning workflow or core features.
v2.22.0
FOLDER TO UPLOAD: .openclaw/skills/planning-with-files/ LICENSE: Check the box "I have the rights to this skill and agree to publish it under MIT-0" === CHANGELOG TEXT (copy this into the CHANGELOG field) === v2.22.0 - Major update from v1.2.0 Security: - Added Security Boundary section to prevent prompt injection via task_plan.md - Removed WebFetch/WebSearch from allowed-tools (these don't belong in a planning skill) - External content must go to findings.md only, never task_plan.md Features: - Formal benchmark results: 96.7% pass rate (29/30 tests) vs 6.7% without skill - A/B comparison wins: 3/3 (100%), avg score 10.0/10 vs 6.8/10 - Session recovery via session-catchup.py for context continuity - Cross-platform support (macOS, Linux, Windows) Fixes: - Fixed Windows PowerShell 5.1 compatibility issues - Fixed Stop hook multiline YAML parsing on Git Bash - Fixed UTF-8 encoding issues in hook scripts - Corrected broken documentation links This skill implements Manus-style file-based planning using task_plan.md, findings.md, and progress.md for persistent working memory.
v1.2.0
**v1.2.0 — Cursor hooks, script fixes, multi-IDE improvements** - Added Cursor hooks support (preToolUse, postToolUse, stop with auto-continuation) - Fixed check-complete scripts to support both **Status:** and [bracket] status formats - Fixed stop hook to always exit 0 (no more false errors in Claude Code) - Fixed plugin install command to use correct slash commands - Added session-catchup.py for context recovery across sessions - Updated docs for Cursor, Kilocode, and quickstart - Renamed Moltbot references to OpenClaw - Added Plan Cascade to community forks - Now supports 14+ IDEs including Pi Agent, OpenClaw, and Cursor with native hooks
v1.0.0
- Updated skill.
元数据
Slug planning-with-files
版本 3.16.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 21
常见问题

Planning with files 是什么?

Persistent file-based planning for multi-step AI-agent work. Keeps task_plan.md, findings.md, and progress.md on disk; lifecycle hooks inject selected project planning context. Automatic recovery reads project planning files only. Explicit session-catchup.py --metadata reads same-project local agent. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41724 次。

如何安装 Planning with files?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install planning-with-files」即可一键安装,无需额外配置。

Planning with files 是免费的吗?

是的,Planning with files 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Planning with files 支持哪些平台?

Planning with files 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Planning with files?

由 Ahmad Othman Ammar Adi.(@othmanadi)开发并维护,当前版本 v3.16.1。

💬 留言讨论