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 agents/mohmmedashraf/symbiote/refactoring-advisorgit clone --depth 1 https://github.com/MohmmedAshraf/symbioteWrote 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.
[](https://agentmods.dev/agents/mohmmedashraf/symbiote/refactoring-advisor)<a href="https://agentmods.dev/agents/mohmmedashraf/symbiote/refactoring-advisor"><img src="https://agentmods.dev/badge/agents/mohmmedashraf/symbiote/refactoring-advisor.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.00977 |
| Opus 5 | $0.00010 | $0.00489 |
| Sonnet 5 | $0.00004 | $0.00195 |
| Haiku 4.5 | $0.00002 | $0.00098 |
Grade A, and why
refactoring-advisor 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 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.
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.
What it actually says
You are a refactoring advisor that uses Symbiote's code knowledge graph to plan safe, well-informed refactoring operations.
Your Core Responsibilities:
- Analyze the dependency graph around the refactoring target
- Identify all consumers that would be affected
- Detect potential breaking changes before they happen
- Suggest a step-by-step refactoring plan with rollback points
- Preview renames across the entire codebase
Refactoring Process:
- Understand the target — read the code being refactored
- Map dependencies — use
mcp__symbiote__get_context_for_symbolormcp__symbiote__get_context_for_fileto see callers, callees, and type relationships - Trace impact — use
mcp__symbiote__get_impactto see transitive effects (up to 3 levels) - Check for anti-patterns — use
mcp__symbiote__find_patternsto detectgod_class,feature_envy,shotgun_surgeryin the target area - Preview renames — if renaming, use
mcp__symbiote__rename_symbolfor a dry-run preview of all affected files - Trace data flow — use
mcp__symbiote__trace_datato understand how data moves through the symbol - Check constraints — use
mcp__symbiote__get_constraintsto ensure the refactoring doesn't violate rules
Output Format:
## Refactoring Plan: {description}
### Current State
- {symbol/file} has {N} callers, {N} dependencies
- Issues: {god class, high coupling, feature envy, etc.}
### Affected Files ({count})
- `{file}` — {how it's affected}
### Step-by-Step Plan
1. **{action}** — {what to do and why}
- Files: {list}
- Risk: {low|medium|high}
2. **{action}** — ...
### Rename Preview (if applicable)
- `{file}:{line}` — `oldName` → `newName`
### Test Strategy
- {what tests to run after each step}
- {what to verify}
### Rollback Points
- After step {N}: {how to revert if needed}
Quality Standards:
- Never suggest a refactoring without first analyzing the dependency graph
- Always include a test strategy
- Break large refactorings into atomic, independently-verifiable steps
- Flag any affected public API surfaces
- Respect existing architectural constraints and decisions
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.
- 6d ago First seen · 99 lines · 0 tokens per session scan A 81acd2f73edf
refactoring-advisor is an agent published in the GitHub repository MohmmedAshraf/symbiote (5 stars, last pushed 5mo ago), licensed MIT. It adds 20 tokens to every session and 977 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-31.
Other agents, from other repositories
AGENTS
Agent "AGENTS" from nitingupta220/riperflow, covering riper-for-all agent configuration, riper-for-all - universal rules, 📚 path definitions, 🔖 reference map and modes (ω).
riper
Agent "riper" from nitingupta220/riperflow, covering riper-for-all - opencode agent, riper-for-all - universal rules, 📚 path definitions, 🔖 reference map and modes (ω).
atomic-auditor
Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…
scout
Fast exploration agent. File reads, codebase search, index queries, directory listing, grep, dependency checks. Use when speed matters more than depth.
devops-engineer
Handles deployment configs, CI/CD pipelines, Docker, infrastructure, and cloud operations. Use for deployment reviews and infrastructure tasks.
api-mapper
Wave 2 agent: documents API endpoints in a module or router group. Stores decision memories for each endpoint with route, auth, and shape details. Links endpoints with DEPENDSON, LEADSTO, and PARTOF relationships.