SuperClaude
AGENTS.md4 starsChanged 7 months agoMITView on GitHub
Built-in WebSearch is DISABLED. Use Rube MCP's LINKUP_SEARCH for all web searches: SuperClaude uses a 3-tier agent system — filesystem-based personas in agents/. Agents are markdown files with YAML frontmatter, NOT instantiated classes. They serve as prompting blueprints that guide Claude's behavior. Agent selection is handled by sc-implement/scripts/select_agent.py (standalone, JSON I/O). Scoring: 35% keywords + 25% domains + 20% task type + 10% files + 10% priority. Traits are applied additively; conflicts (e.g., performance-first vs security-first) are detected. This project…
- Deletes or force-pushes
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Tony363/SuperClaudeword for word, first seen Apr 4, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Tony363/SuperClaude★ 19100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,542 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository37 other files it gives its agents.
- agent-data-engineerSkill
- agent-fullstack-developerSkill
- agent-kubernetes-specialistSkill
- agent-ml-engineerSkill
- agent-performance-engineerSkill
- agent-react-specialistSkill
- agent-security-engineerSkill
- agent-technical-writerSkill
- ask-multiSkill
- askSkill
- learned-skills-indexSkill
- sc-analyzeSkill
- sc-brainstormSkill
- sc-buildSkill
- sc-cicd-setupSkill
- sc-code-reviewSkill
- sc-designSkill
- sc-documentSkill
- sc-e2eSkill
- sc-estimateSkill
- sc-evaluateSkill
- sc-explainSkill
- sc-gitSkill
- sc-implementSkill
- sc-improveSkill
- sc-log-fixSkill
- sc-mcpSkill
- sc-pr-checkSkill
- sc-pr-fixSkill
- sc-principlesSkill
- sc-pushSkill
- sc-readmeSkill
- sc-researchSkill
- sc-tddSkill
- sc-testSkill
- sc-workflowSkill
- sc-worktreeSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
19 rules. About 0 are common, 8 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Treat uncertainties as denials: When in doubt about whether a command is destructive, stop and ask the user.
- Very specific: line 56
Create agents/{tier}/your-agent.md with frontmatter matching the schema above
- Distinctive: line 57
Add the agent body (markdown) with expertise, patterns, and behavioral instructions
- Very specific: line 85
MUST run impact analysis before editing any symbol: Before modifying a function, class, or method, run gitnexus_impact({target: …
- Distinctive: line 87
MUST warn the user: if impact analysis returns HIGH or CRITICAL risk before proceeding with edits.
- Very specific: line 88
When exploring unfamiliar code, use gitnexus_query({query: "concept"}) to find execution flows instead of grepping.
- Very specific: line 89
When you need full context on a specific symbol — callers, callees, which execution flows it participates in — use gitnexus_context({name: …
- Very specific: line 100
Renaming: MUST use gitnexus_rename({symbol_name: "old", new_name: "new", dry_run: true}) first.
- Very specific: line 101
Extracting/Splitting: MUST run gitnexus_context({name: "target"}) to see all incoming/outgoing refs, then gitnexus_impact({target: …
- Very specific: line 102
After any refactor: run gitnexus_detect_changes({scope: "all"}) to verify only expected files changed.
- Very specific: line 106
NEVER edit a function, class, or method without first running gitnexus_impact on it.
- Distinctive: line 107
NEVER ignore HIGH or CRITICAL risk warnings from impact analysis.
- Very specific: line 108
NEVER rename symbols with find-and-replace — use gitnexus_rename which understands the call graph.
- Very specific: line 109
NEVER commit changes without running gitnexus_detect_changes() to check affected scope.
- Distinctive: line 141
Before completing any code modification task, verify:
- Distinctive: line 143
No HIGH/CRITICAL risk warnings were ignored
- Distinctive: line 145
All d=1 (WILL BREAK) dependents were updated
- Distinctive: line 149
After committing code changes, the GitNexus index becomes stale.
- Very specific: line 155
If the index previously included embeddings, preserve them by adding --embeddings:
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SuperClaude Repository Guidelines
Command Safety Rules
- Never run destructive or bulk-reset commands (
git checkout -- <path>,git reset --hard,git clean -fdx,rm -rf, etc.) unless the user explicitly instructs you to do so for that exact path. - Never use
git checkout,git restore, or similar commands to revert tracked files unless the user explicitly requests it. These commands can silently discard changes created by other agents. - Prefer targeted edits over repo-wide operations. Do not reset or roll back large sections of the codebase to "undo" mistakes.
- Treat uncertainties as denials. When in doubt about whether a command is destructive, stop and ask the user.
Web Search via Rube MCP
Built-in WebSearch is DISABLED. Use Rube MCP's LINKUP_SEARCH for all web searches:
mcp__rube__RUBE_MULTI_EXECUTE_TOOL({
tools: [{ tool_slug: "LINKUP_SEARCH", arguments: { query: "...", depth: "deep", output_type: "sourcedAnswer" }}],
session_id: "WEB-SESSION-001", memory: {}, sync_response_to_workbench: false,
thought: "Searching for [topic]", current_step: "SEARCHING",
current_step_metric: {completed: 0, total: 1, unit: "searches"}, next_step: "COMPLETE"
})Agent System
SuperClaude uses a 3-tier agent system — filesystem-based personas in agents/. Agents are markdown files with YAML frontmatter, NOT instantiated classes. They serve as prompting blueprints that guide Claude's behavior.
Tiers
| Tier | Path | Purpose | Count |
| core | agents/core/ | Primary personas (architect, developer, guardian, optimizer, communicator) | 5 |
| trait | agents/traits/ | Composable modifiers applied to any agent (security-first, test-driven, mcp-pal-enabled, etc.) | 7 |
| extension | agents/extensions/ | Domain specialists (python-expert, rust-expert, ml-engineer, kubernetes-specialist, etc.) | 7 |
Frontmatter Schema
---
name: lowercase-hyphenated # Required. Must match NAME_PATTERN: ^[a-z][a-z0-9-]*[a-z0-9]$
description: One-line purpose # Required. Max 200 chars recommended.
tier: core|trait|extension # Required.
category: string # Optional. Organization label.
triggers: [keyword, list] # Recommended for core/extension. NOT for traits.
tools: [Read, Write, Edit, ...] # Optional. Claude Code tool names.
traits: [security-first, ...] # Optional. Compose traits into core/extension agents.
priority: 1-3 # Optional (core/extension only). NOT for traits.
---Selection
Agent selection is handled by sc-implement/scripts/select_agent.py (standalone, JSON I/O). Scoring: 35% keywords + 25% domains + 20% task type + 10% files + 10% priority. Traits are applied additively; conflicts (e.g., performance-first vs security-first) are detected.
Creating an Agent
- Create
agents/{tier}/your-agent.mdwith frontmatter matching the schema above - Add the agent body (markdown) with expertise, patterns, and behavioral instructions
- Validate:
python scripts/validate_agents.py --verbose
Build & Test
# Bootstrap
python -m venv .venv && source .venv/bin/activate && pip install -e .[dev]
# Tests
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pytest -m "not slow" tests/
# Lint
ruff check . && ruff format --check .
# Agent validation
python scripts/validate_agents.py --verbose<!-- gitnexus:start -->GitNexus — Code Intelligence
This project is indexed by GitNexus as SuperClaude (6382 symbols, 16783 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
If any GitNexus tool warns the index is stale, run
npx gitnexus analyzein terminal first.
Always Do
- MUST run impact analysis before editing any symbol. Before modifying a function, class, or method, run
gitnexus_impact({target: "symbolName", direction: "upstream"})and report the blast radius (direct callers, affected processes, risk level) to the user. - MUST run
gitnexus_detect_changes()before committing to verify your changes only affect expected symbols and execution flows. - MUST warn the user if impact analysis returns HIGH or CRITICAL risk before proceeding with edits.
- When exploring unfamiliar code, use
gitnexus_query({query: "concept"})to find execution flows instead of grepping. It returns process-grouped results ranked by relevance. - When you need full context on a specific symbol — callers, callees, which execution flows it participates in — use
gitnexus_context({name: "symbolName"}).
When Debugging
gitnexus_query({query: "<error or symptom>"})— find execution flows related to the issuegitnexus_context({name: "<suspect function>"})— see all callers, callees, and process participationREAD gitnexus://repo/SuperClaude/process/{processName}— trace the full execution flow step by step- For regressions:
gitnexus_detect_changes({scope: "compare", base_ref: "main"})— see what your branch changed
When Refactoring
- Renaming: MUST use
gitnexus_rename({symbol_name: "old", new_name: "new", dry_run: true})first. Review the preview — graph edits are safe, text_search edits need manual review. Then run withdry_run: false. - Extracting/Splitting: MUST run
gitnexus_context({name: "target"})to see all incoming/outgoing refs, thengitnexus_impact({target: "target", direction: "upstream"})to find all external callers before moving code. - After any refactor: run
gitnexus_detect_changes({scope: "all"})to verify only expected files changed.
Never Do
- NEVER edit a function, class, or method without first running
gitnexus_impacton it. - NEVER ignore HIGH or CRITICAL risk warnings from impact analysis.
- NEVER rename symbols with find-and-replace — use
gitnexus_renamewhich understands the call graph. - NEVER commit changes without running
gitnexus_detect_changes()to check affected scope.
Tools Quick Reference
| Tool | When to use | Command |
query | Find code by concept | gitnexus_query({query: "auth validation"}) |
context | 360-degree view of one symbol | gitnexus_context({name: "validateUser"}) |
impact | Blast radius before editing | gitnexus_impact({target: "X", direction: "upstream"}) |
detect_changes | Pre-commit scope check | gitnexus_detect_changes({scope: "staged"}) |
rename | Safe multi-file rename | gitnexus_rename({symbol_name: "old", new_name: "new", dry_run: true}) |
cypher | Custom graph queries | gitnexus_cypher({query: "MATCH ..."}) |
Impact Risk Levels
| Depth | Meaning | Action |
| d=1 | WILL BREAK — direct callers/importers | MUST update these |
| d=2 | LIKELY AFFECTED — indirect deps | Should test |
| d=3 | MAY NEED TESTING — transitive | Test if critical path |
Resources
| Resource | Use for |
gitnexus://repo/SuperClaude/context | Codebase overview, check index freshness |
gitnexus://repo/SuperClaude/clusters | All functional areas |
gitnexus://repo/SuperClaude/processes | All execution flows |
gitnexus://repo/SuperClaude/process/{name} | Step-by-step execution trace |
Self-Check Before Finishing
Before completing any code modification task, verify:
gitnexus_impactwas run for all modified symbols- No HIGH/CRITICAL risk warnings were ignored
gitnexus_detect_changes()confirms changes match expected scope- All d=1 (WILL BREAK) dependents were updated
Keeping the Index Fresh
After committing code changes, the GitNexus index becomes stale. Re-run analyze to update it:
npx gitnexus analyzeIf the index previously included embeddings, preserve them by adding --embeddings:
npx gitnexus analyze --embeddingsTo check whether embeddings exist, inspect .gitnexus/meta.json — the stats.embeddings field shows the count (0 means no embeddings). Running analyze without --embeddings will delete any previously generated embeddings.
Claude Code users: A PostToolUse hook handles this automatically after
git commitandgit merge.
CLI
| Task | Read this skill file |
| Understand architecture / "How does X work?" | .claude/skills/gitnexus/gitnexus-exploring/SKILL.md |
| Blast radius / "What breaks if I change X?" | .claude/skills/gitnexus/gitnexus-impact-analysis/SKILL.md |
| Trace bugs / "Why is X failing?" | .claude/skills/gitnexus/gitnexus-debugging/SKILL.md |
| Rename / extract / split / refactor | .claude/skills/gitnexus/gitnexus-refactoring/SKILL.md |
| Tools, resources, schema reference | .claude/skills/gitnexus/gitnexus-guide/SKILL.md |
| Index, status, clean, wiki CLI commands | .claude/skills/gitnexus/gitnexus-cli/SKILL.md |
<!-- gitnexus:end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

