dev

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

A collection of developer commands for debugging code, reviewing changes, creating commits and pull requests, and planning refactors.

In plain words
What is it for?
Use it to investigate errors, review files, commit changes, open pull requests, refactor code, or predict bugs.
Why use it?
It puts common development tasks in one place and uses the current Git state to inform its actions.

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/dev
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 dev

README.md
[![agentmods](https://agentmods.dev/badge/commands/smart-ai-memory/attune-ai/dev.svg)](https://agentmods.dev/commands/smart-ai-memory/attune-ai/dev)
Your own site
<a href="https://agentmods.dev/commands/smart-ai-memory/attune-ai/dev"><img src="https://agentmods.dev/badge/commands/smart-ai-memory/attune-ai/dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 879 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00016 $0.00879
Opus 5 $0.00008 $0.00439
Sonnet 5 $0.00003 $0.00176
Haiku 4.5 $0.00002 $0.00088

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

Security

Grade A, and why

dev 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 yesterday.

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/dev.md · 98 lines

How it starts

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

dev

Developer tools hub — debug, commit, PR, code review, and refactoring.

Quick Shortcuts

Shortcut Action
/dev debug Start interactive debugging session
/dev review Run code review workflow
/dev review <path> Review specific file or directory
/dev commit Stage and commit changes
/dev pr Create a pull request
/dev refactor Analyze and suggest refactoring
/dev quality Run bug prediction analysis

Natural Language

Describe what you need:

  • "debug the authentication error"
  • "review my changes"
  • "commit with a good message"
  • "create a PR for this feature"
  • "this function is too complex, refactor it"

CRITICAL: Workflow Execution Instructions

When this command is invoked with arguments, you MUST execute the 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
  4. Run: git diff --cached --stat

Use this context to inform your actions (e.g., which files changed, current branch, staged changes).

Shortcut Routing (EXECUTE THESE)

Input Action
/dev debug Run Debug wizard: gather error details → analyze root cause → decompose fix → preview → confirm
/dev debug <description> Run Debug wizard with the described error
/dev review uv run attune workflow run code-review
/dev review <path> uv run attune workflow run code-review --path <path>
/dev commit Use git to stage and commit with conventional commit format
/dev pr Use gh to create a pull request with summary and test plan
/dev refactor Run Refactor wizard: describe goal → analyze structure → decompose steps → preview → confirm
/dev refactor <path> Run Refactor wizard for the specified file or module
/dev quality uv run attune workflow run bug-predict
/dev quality <path> uv run attune workflow run bug-predict --path <path>

Read the full file on GitHub · 98 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. yesterday First seen · 98 lines · 16 tokens per session scan A 2e8866a8e707

Subscribe to this mod's changes

dev is a command published in the GitHub repository Smart-AI-Memory/attune-ai (10 stars, last pushed today), licensed Apache-2.0. It adds 16 tokens to every session and 879 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.