antigravity-awesome-workspace-skill: Agent for Claude Code

.kiro/agents/refactor-cleaner.md

refactor-cleaner is an agent for Claude Code, Kiro from dangindev/antigravity-awesome-workspace-skill. It costs 51 tokens per session (603 once invoked), scanned A, original, no licence file.

An agent that finds and removes unused code, duplicate code, and unnecessary complexity.

In plain words
What is it for?
Use it to scan projects with tools such as knip, depcheck, and ts-prune, then safely clean up dead code and consolidate duplicates.
Why use it?
It helps reduce maintenance work and keeps a codebase smaller and easier to understand.

Agent for Claude CodeKiro

Written for Claude Code and Kiro: shipped in a Claude Code plugin, but also installed under .kiro/.

This is dangindev/antigravity-awesome-workspace-skill's own configuration. It tells Claude Code and Kiro how to work on antigravity-awesome-workspace-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything antigravity-awesome-workspace-skill configures →

Part of the agent-skills plugin — 41 skills, 54 commands, 50 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to dangindev/antigravity-awesome-workspace-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dangindev/antigravity-awesome-workspace-skill/main/.kiro/agents/refactor-cleaner.md
Clone the repo
git clone --depth 1 https://github.com/dangindev/antigravity-awesome-workspace-skill

Made for: Claude Code, Kiro.

Or install agent-skills, the plugin that ships this one along with the rest of its 41 skills, 54 commands, 50 agents.

Wrote 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.

agentmods badge for refactor-cleaner

README.md
[![agentmods](https://agentmods.dev/badge/agents/dangindev/antigravity-awesome-workspace-skill/refactor-cleaner.svg)](https://agentmods.dev/agents/dangindev/antigravity-awesome-workspace-skill/refactor-cleaner)
Your own site
<a href="https://agentmods.dev/agents/dangindev/antigravity-awesome-workspace-skill/refactor-cleaner"><img src="https://agentmods.dev/badge/agents/dangindev/antigravity-awesome-workspace-skill/refactor-cleaner.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 603 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00603
Opus 5 $0.00026 $0.00302
Sonnet 5 $0.00010 $0.00121
Haiku 4.5 $0.00005 $0.00060

Measured 8d ago against content hash 99c8c57efd66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

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 8d 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.

.kiro/agents/refactor-cleaner.md · 88 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

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.

  1. 8d ago First seen · 88 lines · 51 tokens per session scan A 99c8c57efd66

Subscribe to this mod's changes

refactor-cleaner is an agent published in the GitHub repository dangindev/antigravity-awesome-workspace-skill (10 stars, last pushed 4mo ago), with no licence file. It adds 51 tokens to every session and 603 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

swiftui-performance-analyzer

Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues. Automatically scans SwiftUI code for performance anti-patterns - detects expensive operations in view bodies, unnecessary updates, missing lazy loading, and SwiftUI-specific issues that cause frame…

CharlesWiltgen/Axiom · 155 tokens

Minimal Change Engineer

Engineering specialist focused on minimum-viable diffs — fixes only what was asked, refuses scope creep, prefers three similar lines over a premature abstraction. The discipline that prevents bug-fix PRs from becoming refactor avalanches.

SHAdd0WTAka/Zen-Ai-Pentest · 50 tokens

predictive-analyst

Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.

softspark/ai-toolkit · 35 tokens

cognitive-judge

Code Review Court judge — debuggability at 3AM, naming, complexity, logs.

gonzalezpazmonica/savia · 23 tokens

error-handling-reviewer

Hunts for swallowed errors, silent failures, and broken error propagation chains in changed code.

OutSystems/outsystems-mcp · 24 tokens

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…

nota-america/forgecat-agent-profiles · 67 tokens