pi-planning-with-files

Manus-style file-based planning for Pi Coding Agent

Package details

skill

Install pi-planning-with-files from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-planning-with-files
Package
pi-planning-with-files
Version
1.0.1
Published
Feb 4, 2026
Downloads
189/mo · 42/wk
Author
ttttmr
License
MIT
Types
skill
Size
49.9 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "skills": [
    "SKILL.md"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

Pi Planning With Files

Work like Manus — Use persistent markdown files as your "working memory on disk."

A Pi Coding Agent skill that transforms your workflow to use persistent markdown files for planning, progress tracking, and knowledge storage.

The Problem

Most AI agents suffer from:

  • Volatile memory — Context resets lose history
  • Goal drift — Long tasks lose focus
  • Hidden errors — Failures aren't tracked

The Solution

For every complex task, create THREE files:

  • task_plan.md (Phases & Progress)
  • findings.md (Research & Notes)
  • progress.md (Session Log)

Installation

Pi Install

pi install npm:pi-planning-with-files

Manual Install

  1. Navigate to your project root.
  2. Create the .pi/skills directory if it doesn't exist.
  3. Copy the planning-with-files skill folder into .pi/skills/.

Usage

Pi Agent automatically discovers skills in .pi/skills or installed via NPM.

Start Planning

Ask Pi:

Use the planning-with-files skill to help me with this task.

Or:

Start by creating task_plan.md.

Important Limitations

Note: Hooks (PreToolUse, PostToolUse, Stop) are Claude Code specific and are not currently supported in Pi Agent.

What works in Pi Agent:

  • Core 3-file planning pattern
  • Templates (task_plan.md, findings.md, progress.md)
  • All planning rules and guidelines
  • The 2-Action Rule
  • The 3-Strike Error Protocol
  • Session Recovery (via session-catchup.py)

Session Recovery

If you clear context, recover your state:

python3 .pi/skills/planning-with-files/scripts/session-catchup.py .

File Structure

When installed, the skill provides templates to create:

your-project/
├── task_plan.md
├── findings.md
├── progress.md