autoplan

autoplan is a command for Claude Code from Ramsbaby/jarvis. It costs 72 tokens per session (3,772 once invoked), scanned C, original, MIT.

A command for turning a complex request into a step-by-step work plan before carrying it out. It is intended for multi-step tasks, refactoring, and large migrations.

In plain words
What is it for?
Use it to break down complex coding tasks, create an execution checklist, or plan a refactor or migration.
Why use it?
It makes broad requests easier to organize and exposes the planned checks and execution steps before work begins.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/ramsbaby/jarvis/autoplan
Clone the repo
git clone --depth 1 https://github.com/Ramsbaby/jarvis

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for autoplan

README.md
[![agentmods](https://agentmods.dev/badge/commands/ramsbaby/jarvis/autoplan.svg)](https://agentmods.dev/commands/ramsbaby/jarvis/autoplan)
Your own site
<a href="https://agentmods.dev/commands/ramsbaby/jarvis/autoplan"><img src="https://agentmods.dev/badge/commands/ramsbaby/jarvis/autoplan.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,772 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.03772
Opus 5 $0.00036 $0.01886
Sonnet 5 $0.00014 $0.00754
Haiku 4.5 $0.00007 $0.00377

Measured 6d ago against content hash f91e8a959824, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

autoplan scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- 파일/디렉터리 삭제 (rm -rf 포함)
dotfiles/claude/commands/autoplan.md · 320 lines

How it starts

The opening of the file, as written. The whole thing — 320 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/autoplan — 자율 계획 수립 스킬

정체성과 목적

주인님께서 복잡한 요청을 내리셨을 때, 즉답하지 않고 자율적으로 단계별 계획을 수립한 뒤, 결재 레벨에 따라 즉시 실행하거나 승인을 대기하는 스킬입니다.

한 번의 호출로 거친 요구사항이 들어가면, 구조화된 플랜 본문과 실행 체크리스트가 나옵니다.


기존 스킬과의 경계 (중요)

혼동을 막기 위해 명시합니다. 역할이 겹치는 경우 올바른 스킬로 안내해 드립니다.

스킬 역할 /autoplan과의 차이
/plan-review 사람이 만든 기획서를 11섹션 체크리스트로 엄격 검증 /autoplan은 처음부터 플랜을 생성. 리뷰가 아님
/sdd Task→Dev→Feature→인수테스트의 정형화 프로세스 /autoplan은 프로세스 자유도 높은 범용 플래너
/orchestrate Research/Code/Validation 3 에이전트 병렬 실행 /autoplan은 순차 단계 중심 단일 에이전트 플래너
/retro 작업 완료 후 회고 및 오답노트 등록 /autoplan 완료 후 /retro로 연결 권고

판단 기준:

  • 이미 작성된 기획서가 있다 → /plan-review
  • 새 기능을 스펙부터 단계별로 만든다 → /sdd
  • 독립적 하위 작업 3개를 동시 진행한다 → /orchestrate
  • 복잡한 요청을 단계별로 분해해 달라 → /autoplan

Phase 0: 선제 조회 (Jarvis 특화 3종 통합)

계획 수립 전에 반드시 다음 3가지를 먼저 조회합니다. 각 조회 결과는 플랜 본문에 섹션으로 포함됩니다.

0-1. 오답노트 스캔 (재발 방지 근거 확보)

LEARNED=$HOME/jarvis/runtime/wiki/meta/learned-mistakes.md
if [ -f "$LEARNED" ]; then
  echo "--- 오답노트 스캔 시작 ---"
  grep -i -E "키워드1|키워드2|키워드3" "$LEARNED" | head -10
fi

활용: 유사 실수 패턴이 발견되면, 플랜의 각 단계에 재발 방지 단계(가드, 테스트, 롤백 절차)를 삽입합니다. 발견된 실수 항목은 플랜 본문 "재발 방지 조치" 섹션에 나열합니다.

0-2. Eureka 재사용 패턴 검색

과거에 유사한 작업에서 얻었던 돌파구가 있다면 재사용합니다.

if [ -f $HOME/jarvis/runtime/wiki/meta/eureka.jsonl ]; then
  grep -i "요청키워드" $HOME/jarvis/runtime/wiki/meta/eureka.jsonl | tail -5
fi

활용: 검색된 Eureka 항목은 플랜 본문 "재사용 가능 패턴" 섹션에 명시하고, 해당 단계에서 참조합니다.

0-3. 조직도 기반 결재자 선정

  • 기본 수립자: 비서실장 (Sonnet) — 정례 플랜은 비서실장이 수립합니다.
  • 에스컬레이션 조건: 결재 레벨이 L3 이상이면 CEO (Opus) 로 에스컬레이션을 제안합니다.

제안 형식:

"주인님, 이 플랜은 Level 3(비서실장 승인급)이므로 CEO(Opus) 모델로 재검토를 권장드립니다. 에스컬레이션하시겠습니까?"


Phase 1: 요청 분해와 컨텍스트 수집

Step 1. 요청 요약

주인님 요청을 1~3문장으로 재진술합니다. 모호한 표현은 그대로 인용하고, 추측한 부분은 "추정" 표시를 합니다.

Step 2. 환경 컨텍스트 수집

필요한 범위에서만 수행합니다 (불필요한 읽기는 토큰 낭비).

  • 현재 브랜치: git branch --show-current
  • 최근 커밋 5개: git log --oneline -5
  • 미커밋 변경: git status
  • 관련 파일 탐색: Glob / Grep 도구로 실제 존재 확인

Read the full file on GitHub · 320 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 320 lines · 72 tokens per session scan C f91e8a959824

Subscribe to this mod's changes

autoplan is a command published in the GitHub repository Ramsbaby/jarvis (16 stars, last pushed 14d ago), licensed MIT. It adds 72 tokens to every session and 3,772 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.