finalizing-refactors

finalizing-refactors is a skill for Claude Code from wayne930242/Reflexive-Claude-Code. It costs 45 tokens per session (1,091 once invoked), scanned C, original, no licence file.

A refactoring wrap-up tool that creates AGENTS.md guidance files for subprojects and archives work artifacts after verification succeeds. Refactoring means restructuring code without intending to change its behavior.

In plain words
What is it for?
Use it after refactor verification passes, including a pass with weak tests, to finalize the work and conditionally suggest an rcc handoff.
Why use it?
It gives later contributors documented project guidance and preserves the results of the refactoring work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the aref plugin — 6 skills, 1 command, 1 agent shipped together

Good fit Use it after refactor verification passes, including a pass with weak tests, to finalize the work and conditionally suggest an rcc handoff.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wayne930242/reflexive-claude-code/finalizing-refactors
Install

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.

Any agent
npx skills add wayne930242/Reflexive-Claude-Code --skill finalizing-refactors
Clone the repo
git clone --depth 1 https://github.com/wayne930242/Reflexive-Claude-Code

Made for: Claude Code.

Or install aref, the plugin that ships this one along with the rest of its 6 skills, 1 command, 1 agent.

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 finalizing-refactors

README.md
[![agentmods](https://agentmods.dev/badge/skills/wayne930242/reflexive-claude-code/finalizing-refactors/github.svg)](https://agentmods.dev/skills/wayne930242/reflexive-claude-code/finalizing-refactors)
Your own site
<a href="https://agentmods.dev/skills/wayne930242/reflexive-claude-code/finalizing-refactors"><img src="https://agentmods.dev/badge/skills/wayne930242/reflexive-claude-code/finalizing-refactors/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.

agentmods 80×15 button for finalizing-refactors

Your own site · 80×15
<a href="https://agentmods.dev/skills/wayne930242/reflexive-claude-code/finalizing-refactors"><img src="https://agentmods.dev/badge/skills/wayne930242/reflexive-claude-code/finalizing-refactors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,091 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00045 $0.01091
Opus 5.5 $0.00018 $0.00436
Sonnet 5.5 $0.00009 $0.00218
Haiku 4.5 $0.00005 $0.00109

Measured 1mo ago against content hash 3e5e34825017, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

finalizing-refactors scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Keep `.rcc/aref-raw/` and clean it: `rm -rf .rcc/aref-raw/{ts}-*`.
plugins/aref/skills/finalizing-refactors/SKILL.md · 132 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

Files

What ships with it

1 file 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.

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. 1mo ago First seen · 132 lines · 45 tokens per session scan C 3e5e34825017

Subscribe to this mod's changes

finalizing-refactors is a skill published in the GitHub repository wayne930242/Reflexive-Claude-Code (16 stars, last pushed 1mo ago), with no licence file. It adds 45 tokens to every session and 1,091 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

harness

A meta-skill for designing and maintaining a project harness: a coordinated set of specialist agents, skills, and project instructions. It defines their roles, connects them to the project, and updates the setup as the work changes.

revfactory/harness · 184 tokens

evolve

A workflow for improving an existing setup that guides coding agents. It collects results and feedback, compares the current setup with its starting version, and records useful changes.

revfactory/harness · 184 tokens

push-ci

Push to remote and monitor CI. Validates branch safety, executes git push WITH explicit user approval, then monitors CI run status via gh CLI. Use when: user says 'push', 'push and watch CI', 'ship it', 'push-ci'. Not for: committing (use /smart-commit), creating PRs (use /create-pr), merging (use /merge-prep).

sd0xdev/sd0x-harness · 82 tokens

create-request

Create, update, or scan per-task request tickets for progress tracking. These are date-prefixed non-lifecycle docs under requests/, NOT feature-level requirements (use /req-analyze for those). Use when: tracking task progress, updating completion status, scanning incomplete requests, checking request status dashboard.…

sd0xdev/sd0x-harness · 112 tokens

gh-stack

Native stacked pull requests through the github/gh-stack extension. Detects the extension, installs it only after the user approves, resolves the branch chain, and executes gh stack link / gh stack push / gh stack submit --auto under a per-use AskUserQuestion gate. Use when: opening or refreshing a native stack of…

sd0xdev/sd0x-harness · 175 tokens

smart-rebase

Smart partial rebase for squash-merge repositories. Auto-detect which commits to keep/drop when base branch was squash-merged into target. Use when: user says 'rebase', 'partial rebase', 'base already merged', 'smart rebase', or /smart-rebase. Not for: simple git rebase (the developer runs it — no skill executes…

sd0xdev/sd0x-harness · 133 tokens