@arenahito/piggychick
v0.2.2
Published
**A friendly viewer for AI-generated planning documents.**
Readme
PiggyChick
A friendly viewer for AI-generated planning documents.

What is this?
When coding with AI agents (such as Claude Code, Codex CLI, or OpenCode), there are "skills" that help you follow a plan-then-implement workflow.
These skills automatically generate planning documents (PRDs) in a .tasks
directory. PiggyChick displays these documents in a clean, browsable web UI.
- Beautiful Markdown rendering
- Visual dependency graphs for tasks
- Multi-project support
Installation
Requires:
# Try it instantly (no install needed)
npx github:arenahito/piggychick
# Install globally (recommended)
npm install -g github:arenahito/piggychick
pgchUsage
Register a project
Add projects you want to view in PiggyChick:
# Register current directory
pgch add
# Register a specific path
pgch add ./path/to/projectStart the viewer
pgchOpen http://localhost:42525 in your browser to view registered projects and
their planning documents.
Other commands
pgch list # List registered projects
pgch remove # Unregister current directory
pgch config # Show config file locationCompatible Skills
PiggyChick works with .tasks directories created by these skills:
- impl-plan: Creates planning documents
- impl-do: Implements tasks from planning documents
Skills are located in skills/impl/. They work with AI agents that support
custom skills, including Claude Code, Codex CLI, OpenCode, and others.
UI Overview

| Element | Description | |---------|-------------| | Sidebar | Project and PRD list with progress indicators | | Main panel | Rendered plan markdown and task dependency graph views |
Changes under .tasks are picked up automatically in the UI while the viewer is open.
Dependency Graph Controls
+/-buttons: Zoom in and out100%button: Reset zoom to defaultCtrl/Meta + mouse wheel: Zoom at pointer position- Drag inside the graph viewport: Pan to hidden graph areas
For Developers
Required Files
Each PRD directory must contain:
plan.md- The planning documentplan.json- Task definitions and dependencies- Preferred progress field:
tasks[].status(pending,in_progress,done) - Backward compatibility:
tasks[].passesis still supported whenstatusis absent - Precedence rule: when both
statusandpassesexist,statusis used
- Preferred progress field:
Additional .md files are shown as extra documents when present.
Config File
Location: ~/.config/piggychick/config.jsonc
{
// PiggyChick config
"tasksDir": ".tasks",
"roots": [
{ "path": "/path/to/project" },
{ "path": "/path/to/other-project", "tasksDir": ".tasks-prd" }
]
}tasksDir: Task directory name (default:.tasks)roots: List of projects to monitor. Each project can overridetasksDir
Release Automation
- Use Conventional Commits for changes that should appear in release notes.
release-pleaseruns on pushes tomainand opens/updates a release PR.- Merging the release PR triggers automated lint, typecheck, test, build, and npm publish.
- npm publishing uses Trusted Publishing (OIDC). Configure npm Trusted Publisher for
.github/workflows/release-please.yml.
Development Setup
bun install # Install dependencies
bun run dev # Start dev server (http://localhost:3000)Other Commands
bun run build # Production build
bun run lint # Run linter
bun run fmt # Format code
bun run typecheck # Type check
bun test # Run tests