← All projects
Project record1 mention
Originally shared on Hacker News

agent-plan

agent-plan is a CLI that automatically creates and syncs markdown planning documentation from coding-agent sessions, storing it in an orphan git branch with worktree checkouts and symlinks so planning files stay available from any branch; it ships claude and codex plugins that install hooks to sync and commit edits as they happen.

Last shared For Teams of developers using coding agents with markdown-based research/plan/handoff documents
01 / The problem

What it addresses

Storing generated markdown research/plan/handoff documents felt burdensome for authors and reviewers to clutter diffs with, leaving a mess of uncommitted markdown and wasted tokens having LLMs collate the documentation.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. agent-plan

    agent-plan is a CLI that automatically creates and syncs markdown planning documentation from coding-agent sessions, storing it in an orphan git branch with worktree checkouts and symlinks so planning files stay available from any branch; it ships claude and codex plugins that install hooks to sync and commit edits as they happen.

    Problem: Storing generated markdown research/plan/handoff documents felt burdensome for authors and reviewers to clutter diffs with, leaving a mess of uncommitted markdown and wasted tokens having LLMs collate the documentation.

    Audience: Teams of developers using coding agents with markdown-based research/plan/handoff documents

    Posted by @ghmeier · Original source ↗

    Story title · @ghmeier · · Source ↗

    Show HN: Agent-plan a CLI that automatically commits your agent's plans

    Submitted URL · @ghmeier · · Source ↗

    https://github.com/ghmeier/agent-plan

    Source text · @ghmeier · · Source ↗

    I figured this was the perfect usecase for a small CLI tool and some hooks that automatically create and sync planning documentation for the team.

    Source text · @ghmeier · · Source ↗

    It uses an orphan git branch a worktree checkout and symlinks to keep all the planning files available from any branch. There's a claude and codex plugin that install a couple hooks to sync and commit any edits as they happen.

    Source text · @ghmeier · · Source ↗

    I kept on running into an this question of how and where to store the generated markdown. The contents are usually useful for posterity and future projects in the same feature area. However, it felt burdensome for myself or reviewers to clutter up diffs with largeish markdown documents.

    Source text · @ghmeier · · Source ↗

    This left me with a mess of uncommitted markdown and a waste of tokens having LLMs collate the documentation.

    Source text · @ghmeier · · Source ↗

    After spending quite a bit of time using various coding agents and a workflow that uses markdown-based research/plan/handoff documents to hold context across sessions

    Source text · @ghmeier · · Source ↗

    I figure lots of teams might have a similar sort of problem and I could save you some time.