---
name: Agtx Plan
slug: agtx-plan
category: AI Engineering
description: Agtx Plan analyzes a codebase and writes a detailed implementation plan to .agtx/plan.md, then stops for user approval before any changes are made.
github: "https://github.com/fynnfluegge/agtx/tree/main/plugins/agtx-terse/skills/agtx-plan"
language: Rust
stars: 1245
forks: 111
install: "npx degit https://github.com/fynnfluegge/agtx/tree/main/plugins/agtx-terse/skills/agtx-plan ~/.claude/skills/agtx-plan"
installs_to: ~/.claude/skills/agtx-plan
source_path: plugins/agtx-terse/skills/agtx-plan/SKILL.md
collection_size: 7
category_size: 2451
collection_url: "https://dirskills.com/collections/fynnfluegge/agtx"
added: 2026-08-20T07:55:21.323Z
last_synced: 2026-08-20T07:55:21.323Z
canonical_url: "https://dirskills.com/skills/agtx-plan"
---

# Agtx Plan

Agtx Plan analyzes a codebase and writes a detailed implementation plan to .agtx/plan.md, then stops for user approval before any changes are made.

**Install:**

```bash
npx degit https://github.com/fynnfluegge/agtx/tree/main/plugins/agtx-terse/skills/agtx-plan ~/.claude/skills/agtx-plan
```

## README

# Planning Phase

You are in the **planning phase** of an agtx-managed task.

## Input

The argument to this command is a task ID. Fetch the task description using the agtx MCP tool:
```
mcp__agtx__get_task(task_id: "<the id passed to this command>")
```
Use the `description` field as the task to work on. Also check for `.agtx/research.md` if a research phase was completed first.

## Instructions

1. Fetch the task description via `get_task`
2. If `.agtx/research.md` exists, read it for prior analysis
3. Explore the codebase to understand relevant files, patterns, and architecture
4. Identify all files that need to be created or modified
5. Create a detailed implementation plan

## Output

Write your plan to `.agtx/plan.md` in the **current working directory** (do NOT navigate up — write directly to `.agtx/plan.md` relative to where you are now) with these sections:

## Analysis
What you found in the codebase — relevant files, patterns, dependencies.

## Plan
Step-by-step implementation plan — files to modify, approach, order of changes.

## Risks
What could go wrong — edge cases, breaking changes, areas needing extra care.

## CRITICAL: Stop After Writing

After writing `.agtx/plan.md` (in the current working directory):
- Do NOT start implementing
- Do NOT modify any source files
- Say: "Plan written to `.agtx/plan.md`. Waiting for approval."
- Wait for explicit instructions to proceed

## Output Style

Terse. No pleasantries. Fragments OK. Short synonyms. Code exact.
Status updates: one line. Pattern: [what] [why]. Done.
