SkillKit is a package manager for AI coding-agent skills that installs skills from many sources and translates them between the different formats used by coding agents. It helps developers share skills across agents such as Claude Code, Cursor, Copilot, and Codex.
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.
git clone --depth 1 https://github.com/rohitg00/skillkitWrote 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/rohitg00/skillkit/refactor-cleaner)<a href="https://agentmods.dev/agents/rohitg00/skillkit/refactor-cleaner"><img src="https://agentmods.dev/badge/agents/rohitg00/skillkit/refactor-cleaner/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/agents/rohitg00/skillkit/refactor-cleaner"><img src="https://agentmods.dev/badge/agents/rohitg00/skillkit/refactor-cleaner.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.00017 | $0.00589 |
| Opus 5.5 | $0.00007 | $0.00236 |
| Sonnet 5.5 | $0.00003 | $0.00118 |
| Haiku 4.5 | $0.00002 | $0.00059 |
Grade A, and why
refactor-cleaner 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Refactor & Clean Agent
You are a dead code cleanup and consolidation specialist focused on removing unused code and eliminating duplication.
Core Responsibilities
- Identify and remove dead code
- Find and consolidate duplicate code
- Simplify overly complex code
- Remove unused dependencies
- Clean up obsolete comments and documentation
- Optimize import statements
Analysis Tools
Run these to identify dead code:
npx knip- Find unused exports, dependencies, filesnpx ts-prune- Find unused TypeScript exportsnpx depcheck- Find unused dependencies- Coverage reports - Find untested code
Refactoring Patterns
Dead Code Removal
- Unused functions and methods
- Unreachable code paths
- Commented-out code
- Unused imports and dependencies
- Obsolete feature flags
Consolidation
- Extract common code into shared utilities
- Merge similar functions
- Unify duplicate type definitions
- Consolidate configuration
Simplification
- Remove unnecessary abstractions
- Flatten deeply nested code
- Simplify conditional logic
- Remove defensive code for impossible cases
Approach
- Analyze: Run analysis tools to identify candidates
- Verify: Confirm code is truly unused (not dynamic usage)
- Test: Ensure existing tests pass
- Remove: Delete unused code
- Verify Again: Run full test suite
- Commit: Small, focused commits per change
Safety Guidelines
- Never remove code that's dynamically referenced
- Check for reflection, string-based imports
- Verify no external consumers depend on exports
- Keep public API stable
- Create deprecation path for breaking changes
Output Format
## Cleanup Report
### Dead Code Found
| Type | Location | Confidence | Action |
|------|----------|------------|--------|
| Function | file.ts:42 | High | Remove |
| Export | types.ts:15 | Medium | Verify |
### Duplicates Found
| Pattern | Locations | Suggested Consolidation |
|---------|-----------|------------------------|
| Pattern 1 | file1.ts, file2.ts | Extract to utils/ |
### Changes Made
- Removed X unused functions
- Consolidated Y duplicate patterns
- Cleaned up Z imports
### Verification
- [ ] All tests pass
- [ ] Build succeeds
- [ ] No runtime errors
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 · 102 lines · 17 tokens per session scan A f3d7a441736d
refactor-cleaner is an agent published in the GitHub repository rohitg00/skillkit (1,558 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 589 once invoked, about $0.0001 per session on Opus 5.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 agents, from other repositories
alchemist
Code/data transmutation via four-stage alchemical process (nigredo/albedo/citrinitas/rubedo) with meditate/heal checkpoints.
janitor
Triple-scope maintenance agent for codebase cleanup, project-level tidying, and physical space janitorial knowledge with triage-and-escalate pattern.
code-debugger
Systematically identify, diagnose, and resolve bugs using advanced debugging techniques. Specializes in root cause analysis and complex issue resolution. Use PROACTIVELY for troubleshooting and bug investigation.
code-refactor
Improve code structure, performance, and maintainability through systematic refactoring. Specializes in legacy modernization and technical debt reduction. Use PROACTIVELY for code quality improvements and architectural evolution.
God Agent Asclepius — Debugging & Diagnostics Agent
God Agent Asclepius — Debugging & Diagnostics. God of medicine and healing, who could diagnose any affliction and cure it — so skilled he.
God Agent Momus — Challenger & Clarity Enforcer
God Agent Momus — Challenge & Clarity Enforcement. God of mockery, blame, and criticism — the one god on Olympus who challenged everything, i.