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 skills add Weavatrix/weavatrix-refactor --skill skillgit clone --depth 1 https://github.com/Weavatrix/weavatrix-refactorWrote 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/skills/weavatrix/weavatrix-refactor/skill)<a href="https://agentmods.dev/skills/weavatrix/weavatrix-refactor/skill"><img src="https://agentmods.dev/badge/skills/weavatrix/weavatrix-refactor/skill/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/weavatrix/weavatrix-refactor/skill"><img src="https://agentmods.dev/badge/skills/weavatrix/weavatrix-refactor/skill.svg" alt="Reviewed on agentmods" width="80" 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.00083 | $0.00412 |
| Opus 5.5 | $0.00033 | $0.00165 |
| Sonnet 5.5 | $0.00017 | $0.00082 |
| Haiku 4.5 | $0.00008 | $0.00041 |
Grade A, and why
weavatrix-refactor 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 1mo 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.
This is a copy
100% identical to weavatrix-refactor — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
Weavatrix Refactor
Use this extension on demand after the target symbol, file, or change is clear.
The plugin exposes only 11 refactor methods; use the separate weavatrix
skill for the 43 read-only repository-intelligence methods.
Workflow
- Identify an exact symbol or bounded target. Use Weavatrix core first when cross-file graph evidence is needed.
- Call the narrowest Refactor method in its default preview/planning mode.
- Review exact files, hashes, edits, completeness, warnings, and
uncertainReferences. - Apply only when the user requested the source change and the plan matches
that request. Repeat the identical operation with
mode:"apply"and its single-useconfirm_token. - Run repository-native formatting and tests. Use
rollback_last_applyif the applied transaction must be reverted before files drift.
Read references/tool-routing.md to choose a method, then open only that method's card.
Safety
- Installing the plugin opens the process write gate, but no edit can apply without a matching preview token.
PARTIAL,UNPROVEN, uncertain references, and advisory move results are review states, not permission to guess.- Never invent a symbol id, silently broaden a selected occurrence set, or convert an advisory plan into an automatic source write.
- Rollback is all-or-nothing and refuses post-apply drift.
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/tool-routing.md 1.2 KB
- references/tools/apply_edit_plan.md 933 B
- references/tools/bulk_replace.md 930 B
- references/tools/change_signature.md 804 B
- references/tools/delete_readiness.md 700 B
- references/tools/edit_symbol.md 913 B
- references/tools/move_file.md 757 B
- references/tools/move_symbol.md 730 B
- references/tools/organize_imports.md 679 B
- references/tools/rename_related_symbols.md 1.0 KB
- references/tools/rename_symbol.md 1.1 KB
- references/tools/rollback_last_apply.md 617 B
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.
- 1mo ago First seen · 43 lines · 83 tokens per session scan A 94b511091a08
weavatrix-refactor is a skill published in the GitHub repository Weavatrix/weavatrix-refactor (1 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 412 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to weavatrix-refactor, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
gmail
Search, read, draft, and send Gmail when the user asks to work with their inbox or email.
google-calendar
Read schedules, check availability, and create or update Google Calendar events when the user asks to work with their calendar.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
anarlog
Query Anarlog meetings, notes, summaries, transcripts, participants, action items, and recurring history, or import a local recording. Use when a user asks about their Anarlog meeting data or needs meeting context for another task.
himalaya
Himalaya v2 CLI for reading and managing email through IMAP, JMAP, Gmail, Microsoft Graph, Maildir, M2dir, and SMTP send operations.
birdclaw
Local-first Twitter/X workspace for archiving, searching, and triaging tweets, DMs, likes, bookmarks, and mentions. Includes a web UI for inbox triage and AI scoring.