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.
npx agentmods add commands/superclaude-org/superclaude_framework/improvegit clone --depth 1 https://github.com/SuperClaude-Org/SuperClaude_FrameworkWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00015 | $0.00738 |
| Opus 5 | $0.00008 | $0.00369 |
| Sonnet 5 | $0.00003 | $0.00148 |
| Haiku 4.5 | $0.00002 | $0.00074 |
Grade A, and why
improve 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 3d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/sc:improve - Code Improvement
Triggers
- Code quality enhancement and refactoring requests
- Performance optimization and bottleneck resolution needs
- Maintainability improvements and technical debt reduction
- Best practices application and coding standards enforcement
Usage
/sc:improve [target] [--type quality|performance|maintainability|style] [--safe] [--interactive]
Behavioral Flow
- Analyze: Examine codebase for improvement opportunities and quality issues
- Plan: Choose improvement approach and activate relevant personas for expertise
- Execute: Apply systematic improvements with domain-specific best practices
- Validate: Ensure improvements preserve functionality and meet quality standards
- Document: Generate improvement summary and recommendations for future work
Key behaviors:
- Multi-persona coordination (architect, performance, quality, security) based on improvement type
- Framework-specific optimization via Context7 integration for best practices
- Systematic analysis via Sequential MCP for complex multi-component improvements
- Safe refactoring with comprehensive validation and rollback capabilities
MCP Integration
- Sequential MCP: Auto-activated for complex multi-step improvement analysis and planning
- Context7 MCP: Framework-specific best practices and optimization patterns
- Persona Coordination: Architect (structure), Performance (speed), Quality (maintainability), Security (safety)
Tool Coordination
- Read/Grep/Glob: Code analysis and improvement opportunity identification
- Edit/MultiEdit: Safe code modification and systematic refactoring
- TodoWrite: Progress tracking for complex multi-file improvement operations
- Task: Delegation for large-scale improvement workflows requiring systematic coordination
Key Patterns
- Quality Improvement: Code analysis → technical debt identification → refactoring application
- Performance Optimization: Profiling analysis → bottleneck identification → optimization implementation
- Maintainability Enhancement: Structure analysis → complexity reduction → documentation improvement
- Security Hardening: Vulnerability analysis → security pattern application → validation verification
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.
- 3d ago First seen · 95 lines · 15 tokens per session scan A 03a5c6dec19d
improve is a command published in the GitHub repository SuperClaude-Org/SuperClaude_Framework (23,856 stars, last pushed 12d ago), licensed MIT. It adds 15 tokens to every session and 738 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-08-30.
Other commands, from other repositories
pr-address
Address PR review comments on current branch.
enforce_standards
CRITICAL: Before running the code standards enforcer, we must prepare the stack properly and abort if there are merge conflicts.
validate_changed_docstrings
Validates Python docstrings in all uncommitted changed files using Sphinx parsing.
OPSX: Continue
Continue working on a change - create the next artifact (Experimental).
OPSX: Propose
Propose a new change - create it and generate all artifacts in one step.
spec-research
需求 → 约束集(并行探索 + OPSX 提案).