← Back to Skills Marketplace
othmanadi

Planning with files

by Ahmad Othman Ammar Adi. · GitHub ↗ · v3.16.1 · MIT-0
cross-platform ✓ Security Clean
41724
Downloads
58
Stars
0
Active Installs
21
Versions
Install in OpenClaw
/install planning-with-files
Description
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
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install planning-with-files
  3. After installation, invoke the skill by name or use /planning-with-files
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug planning-with-files
Version 3.16.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 21
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 41724 downloads so far.

How do I install Planning with files?

Run "/install planning-with-files" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Planning with files free?

Yes, Planning with files is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Planning with files support?

Planning with files is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Planning with files?

It is built and maintained by Ahmad Othman Ammar Adi. (@othmanadi); the current version is v3.16.1.

💬 Comments