plan

plan is a command for coding agents from Smart-AI-Memory/attune-ai. It costs 12 tokens per session (1,031 once invoked), scanned A, original, Apache-2.0.

Planning, brainstorming, architecture, and refactoring strategies.

Command

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/smart-ai-memory/attune-ai/plan
Clone the repo
git clone --depth 1 https://github.com/Smart-AI-Memory/attune-ai

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 plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/smart-ai-memory/attune-ai/plan.svg)](https://agentmods.dev/commands/smart-ai-memory/attune-ai/plan)
Your own site
<a href="https://agentmods.dev/commands/smart-ai-memory/attune-ai/plan"><img src="https://agentmods.dev/badge/commands/smart-ai-memory/attune-ai/plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,031 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00012 $0.01031
Opus 5 $0.00006 $0.00515
Sonnet 5 $0.00002 $0.00206
Haiku 4.5 $0.00001 $0.00103

Measured today against content hash f3da972294ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan scanned grade A with 0 findings 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 today.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/attune/commands/plan.md · 123 lines

How it starts

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

plan

Planning hub — feature breakdowns, brainstorming, refactoring strategies, and architecture reviews.

This hub is advisory. It helps you think through plans before executing. Use it to break down complex work into safe, ordered steps.

Quick Shortcuts

Shortcut Action
/plan feature <description> Break feature into implementation tasks
/plan brainstorm Brainstorm ideas with structured discovery and export
/plan refactor <path> Plan incremental refactoring steps
/plan architecture Evaluate current architecture, propose improvements
/plan review <path> Review code and plan improvements

Natural Language

Describe what you need to plan:

  • "plan adding user authentication"
  • "break down this feature into steps"
  • "help me think through this problem"
  • "how should I refactor the config module?"
  • "review the architecture of the agent system"

CRITICAL: Workflow Execution Instructions

When this command is invoked with arguments, you MUST execute the planning workflow, not answer ad-hoc.

Context Gathering (ALWAYS DO FIRST)

Before executing any action below, gather current project context:

  1. Run: git status --short
  2. Run: git log --oneline -5
  3. Run: git branch --show-current

Use this context to inform your planning (e.g., current branch, recent changes, uncommitted work).

Reasoning Approach

For planning tasks, use structured reasoning to produce thorough plans:

Read the full file on GitHub · 123 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. today First seen · 123 lines · 12 tokens per session scan A f3da972294ab

Subscribe to this mod's changes

plan is a command published in the GitHub repository Smart-AI-Memory/attune-ai (10 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 1,031 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.