qdash: Skill for Claude Code

.agents/skills/refactor-audit/SKILL.md

refactor-audit is a skill for Claude Code, Codex from oqtopus-team/qdash. It costs 65 tokens per session (1,022 once invoked), scanned A, original, Apache-2.0.

A codebase audit guide for finding repeated implementations and deciding when to move shared code into one owner. It keeps caller behavior and important differences intact.

In plain words
What is it for?
Use it to inspect a broad or focused code area, record duplicate-code candidates and risks, and plan refactoring pull requests that can be reviewed separately.
Why use it?
It helps prevent copied code from creating extra maintenance work without forcing unrelated parts of a project into the same design.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is oqtopus-team/qdash's own configuration. It tells Claude Code and Codex how to work on qdash 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 qdash configures →

Reuse

Borrowing it

Nothing to install: this file belongs to oqtopus-team/qdash. 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/oqtopus-team/qdash/develop/.agents/skills/refactor-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/oqtopus-team/qdash

Made for: Claude Code, Codex.

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/oqtopus-team/qdash/refactor-audit/github.svg)](https://agentmods.dev/skills/oqtopus-team/qdash/refactor-audit)
Your own site
<a href="https://agentmods.dev/skills/oqtopus-team/qdash/refactor-audit"><img src="https://agentmods.dev/badge/skills/oqtopus-team/qdash/refactor-audit/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 refactor-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/oqtopus-team/qdash/refactor-audit"><img src="https://agentmods.dev/badge/skills/oqtopus-team/qdash/refactor-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 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 original 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.00065 $0.01022
Opus 5.5 $0.00026 $0.00409
Sonnet 5.5 $0.00013 $0.00204
Haiku 4.5 $0.00006 $0.00102

Measured yesterday against content hash 35e59b52e628, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

refactor-audit 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 yesterday.

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.

.agents/skills/refactor-audit/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Refactor Audit

Reduce repeated maintenance without erasing differences between callers. A smaller diff or fewer lines is useful only when ownership and behavior remain clear.

Map the requested scope

Read the applicable AGENTS.md and inspect the working tree before selecting candidates. For a broad audit, inventory UI, API/data, workflow/common, and agent/client/SDK code; record which areas were inspected and which were excluded. For a narrow request, stay in that area. Exclude generated code from duplicate counts and edits. Treat independently published packages and nested repositories as boundaries, not convenient sources of shared imports.

Use search, AST comparisons, or an available clone detector to find candidates. Inspect the callers and existing helpers before deciding that a repeated block is redundant. Do not add a repository dependency just to run a one-off detector. Keep a compact candidate list with locations, intended shared owner, expected benefit, compatibility risks, and disposition. Count new helpers and adapters when estimating savings; keep test growth separate.

QDash has source consumers as well as runtime callers. Before extracting calibration task declarations, inspect src/qdash/api/lib/task_catalog/: source-parsed metadata can disappear when literal declarations move behind an unrecognized factory. Verify the consumer's output as well as the loaded task's values. Check package exports and build inputs before sharing code across the pi packages, runtime, clients, or SDKs.

Compare behavior before extraction

For each candidate, compare the original callers on the differences that matter:

  • Accepted inputs, empty/missing values, defaults, and precedence between alternative fields.
  • Output values, formatting, ordering, serialization, and concrete model types.
  • Exception types/messages, side effects, caching, cancellation, retries, and save/rollback order.
  • UI navigation, selection identity, reset triggers, loading/error states, and target-specific layout.

Read the full file on GitHub · 83 lines

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. yesterday Changed · +2 lines 35e59b52e628
  2. 10d ago First seen · 81 lines · 65 tokens per session scan A 367e770b1d99

Subscribe to this mod's changes

refactor-audit is a skill published in the GitHub repository oqtopus-team/qdash (55 stars, last pushed yesterday), licensed Apache-2.0. It adds 65 tokens to every session and 1,022 once invoked, about $0.0003 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-11-26.

Related

refactor-audit compared with skills from other repositories

refactor-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
refactor-auditoqtopus-team/qdashSkill55yesterdayApache-2.0A65Claude Code, Codex
cudaq-guideNVIDIA/cuda-quantumSkill1.2kyesterdayApache-2.0A26Claude Code, Codex
cudaq-importingNVIDIA/cuda-quantumSkill1.2kyesterdayApache-2.0A34Claude Code, Codex
wick-code-reviewagoradynamics/wickSkill42d agononeA51Claude Code
wick-security-reviewagoradynamics/wickSkill42d agononeA51Claude Code
wick-simplifyagoradynamics/wickSkill42d agononeA49Claude Code
sympy-symbolicxjtulyc/awesome-rosetta-skillsSkill387mo agononeA35Claude Code, Codex