Plan Write
Write a detailed, self-contained implementation plan to a new Markdown file under plan/. Use when you already have a sketch/requirements and want a plan doc before coding.
Install
Quick install
npx skills add https://github.com/besimple-oss/broccolinpx skills add besimple-oss/broccoli --agent claude-codenpx skills add besimple-oss/broccoli --agent cursornpx skills add besimple-oss/broccoli --agent codexnpx skills add besimple-oss/broccoli --agent opencodenpx skills add besimple-oss/broccoli --agent github-copilotnpx skills add besimple-oss/broccoli --agent windsurfMore install options
Shorthand — useful for multi-skill repos:
npx skills add besimple-oss/broccoliManual — clone the repo and drop the folder into your agent's skills directory:
git clone https://github.com/besimple-oss/broccoli.gitcp -r broccoli ~/.claude/skills/Plan Write
Write a detailed, self-contained implementation plan to a new Markdown file under plan/. Use when you already have a sketch/requirements and want a plan doc before coding.
---
name: plan-write
description: "Write a detailed, self-contained implementation plan to a new Markdown file under plan/. Use when you already have a sketch/requirements and want a plan doc before coding."
---
Write Plan Doc
Preconditions
- Confirm you are in the intended repo:
git rev-parse --show-toplevel - Do not start implementation in this skill; only write/update the plan document.
- Plan critique is a separate step (use
plan-critique-loop);plan-writedoes not run critique internally.
Expected runtime
Typically runs 15–45 minutes. Callers should allow the full --timeout (default 3600s) before interrupting.
If you use --progress-log, do not tail -f it into the main context unless you must debug; prefer checking progress via log line counts (for example: wc -l <progress-log>) and/or the heartbeat counters.
Workflow — Option A (external script, preferred)
Run the plan-write as a standalone CLI invocation:
resolve_skill_dir() {
local name="$1"
local repo_root=""
repo_root="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
local candidates=(
"$repo_root/.agents/skills/$name"
"$repo_root/.claude/skills/$name"
"$HOME/.agents/skills/$name"
"$HOME/.codex/skills/$name"
"$HOME/.claude/skills/$name"
)
for d in "${candidates[@]}"; do
if [[ -d "$d" ]]; then
echo "$d"
return 0
fi
done
echo "Error: skill '$name' not found in repo-scoped or user-scoped skill dirs." >&2
return 1
}
PLAN_WRITE_SKILL_DIR="$(resolve_skill_dir plan-write)"
python3 "$PLAN_WRITE_SKILL_DIR/scripts/run_plan_write.py" sketch/<generated-name>.md
Flags:
--cli codex|claude— override auto-detected CLI--model MODEL— pass a specific model to the CLI--reasoning-effort LEVEL— pass explicit reasoning effort (vhighaliases toxhigh)--timeout N— CLI invocation timeout in seconds (default: 3600)--progress-log PATH— optional path to append streamed subagent output--heartbeat-seconds N— heartbeat cadence in seconds (0 disables)
Default behavior:
- When using Codex and no overrides are provided, the script uses
--model gpt-5.2withhighreasoning effort. - When using Codex, the script always runs with
--sandbox danger-full-access,-a never, and--searchso it can do bounded official-doc research when “latest” matters.
The first positional argument can be a sketch file path (for example under sketch/) or raw sketch text.
The script prints the created plan doc path to stdout on success.
Workflow — Option B (inline, legacy)
- Open
references/prompts/plan-output.md. - Provide your sketch/notes/requirements as
$ARGUMENTS. - Ensure the prompt writes a new file under
plan/(kebab-case; do not overwrite). - In your response, clearly state the final path you wrote (for example:
plan/<generated-name>.md).
---
Source: https://github.com/besimple-oss/broccoli
Author: besimple-oss
Discovered via: skillsdirectory.com
Genre: ai-agents
SKILL.md source
---
name: Plan Write
description: Write a detailed, self-contained implementation plan to a new Markdown file under plan/. Use when you already have a sketch/requirements and want a plan doc before coding.
---
# Plan Write
Write a detailed, self-contained implementation plan to a new Markdown file under plan/. Use when you already have a sketch/requirements and want a plan doc before coding.
---
name: plan-write
description: "Write a detailed, self-contained implementation plan to a new Markdown file under plan/. Use when you already have a sketch/requirements and want a plan doc before coding."
---
# Write Plan Doc
## Preconditions
- Confirm you are in the intended repo: `git rev-parse --show-toplevel`
- Do not start implementation in this skill; only write/update the plan document.
- Plan critique is a separate step (use `plan-critique-loop`); `plan-write` does not run critique internally.
## Expected runtime
Typically runs 15–45 minutes. Callers should allow the full `--timeout` (default 3600s) before interrupting.
If you use `--progress-log`, do **not** `tail -f` it into the main context unless you must debug; prefer checking progress via log line counts (for example: `wc -l <progress-log>`) and/or the heartbeat counters.
## Workflow — Option A (external script, preferred)
Run the plan-write as a standalone CLI invocation:
```bash
resolve_skill_dir() {
local name="$1"
local repo_root=""
repo_root="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
local candidates=(
"$repo_root/.agents/skills/$name"
"$repo_root/.claude/skills/$name"
"$HOME/.agents/skills/$name"
"$HOME/.codex/skills/$name"
"$HOME/.claude/skills/$name"
)
for d in "${candidates[@]}"; do
if [[ -d "$d" ]]; then
echo "$d"
return 0
fi
done
echo "Error: skill '$name' not found in repo-scoped or user-scoped skill dirs." >&2
return 1
}
PLAN_WRITE_SKILL_DIR="$(resolve_skill_dir plan-write)"
python3 "$PLAN_WRITE_SKILL_DIR/scripts/run_plan_write.py" sketch/<generated-name>.md
```
Flags:
- `--cli codex|claude` — override auto-detected CLI
- `--model MODEL` — pass a specific model to the CLI
- `--reasoning-effort LEVEL` — pass explicit reasoning effort (`vhigh` aliases to `xhigh`)
- `--timeout N` — CLI invocation timeout in seconds (default: 3600)
- `--progress-log PATH` — optional path to append streamed subagent output
- `--heartbeat-seconds N` — heartbeat cadence in seconds (0 disables)
Default behavior:
- When using Codex and no overrides are provided, the script uses `--model gpt-5.2` with `high` reasoning effort.
- When using Codex, the script always runs with `--sandbox danger-full-access`, `-a never`, and `--search` so it can do bounded official-doc research when “latest” matters.
The first positional argument can be a sketch file path (for example under `sketch/`) or raw sketch text.
The script prints the created plan doc path to stdout on success.
## Workflow — Option B (inline, legacy)
1. Open `references/prompts/plan-output.md`.
2. Provide your sketch/notes/requirements as `$ARGUMENTS`.
3. Ensure the prompt writes a **new** file under `plan/` (kebab-case; do not overwrite).
4. In your response, clearly state the final path you wrote (for example: `plan/<generated-name>.md`).
---
**Source**: https://github.com/besimple-oss/broccoli
**Author**: besimple-oss
**Discovered via**: skillsdirectory.com
**Genre**: ai-agents
Related skills 6
running-claude-code-via-litellm-copilot
Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.
skills-cli
Use when users ask to discover, install, list, check, update, remove, back up, restore, sync, or initialize Agent Skills, mention `bunx skills`, `npx skills`, `skills.sh`, or `skills-lock.json`, ask "find a skill for X", or want help extending agent capabilities with installable skills.
repo-intake-and-plan
Narrow RigorPilot helper for README-first deep learning repo reproduction. Use when the task is specifically to scan a repository, read the README and common project files, extract documented commands, classify inference, evaluation, and training candidates, and return the smallest trustworthy reproduction plan to the main orchestrator. Do not use for environment setup, asset download, command execution, final reporting, paper lookup, or end-to-end orchestration.
image-to-video
Animate any still image on RunComfy — this skill is a smart router that matches the user's intent to the right i2v model in the RunComfy catalog. Picks HappyHorse 1.0 I2V (Arena #1, native audio, identity preservation) for general animations, Wan 2.7 with `audio_url` for custom-voiceover lip-sync, or Seedance 2.0 Pro for multi-modal animation from image + reference video + reference audio. Bundles each model's documented prompting patterns so the caller gets sharper output without burning ite...
video-edit
Edit existing video on RunComfy — this skill is a smart router that matches the user's intent to the right edit model in the RunComfy catalog. Picks Wan 2.7 Edit-Video (general restyle / background swap / packaging swap, identity + motion preservation), Kling 2.6 Pro Motion Control (transfer precise motion from a reference video to a target character), or Lucy Edit Restyle (lightweight identity-stable restyle / outfit swap). Bundles each model's documented prompting patterns so the skill gets...
nano-banana-2
Generate images with Google Nano Banana 2 (Gemini-family flash-tier text-to-image) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Nano Banana 2's strengths (rapid iteration, in-image typography rendering, predictable framing, optional web-grounded context), the resolution-tier pricing, the safety-tolerance dial, and when to route to Nano Banana Pro / GPT Image 2 / Flux 2 / Seedream in...