code-intel: Skill for Claude Code

.agents/skills/rad-code-fix/SKILL.md

rad-code-fix is a skill for Claude Code, Codex from SecondLifes/code-intel. It costs 175 tokens per session (3,657 once invoked), scanned A, a copy of rad-code-fix, Apache-2.0.

A code-audit and repair workflow that checks complete source files and their internal dependencies, then fixes approved problems or implements requested changes in dependency order.

In plain words
What is it for?
Use it to audit code, repair verified findings, apply an existing findings report, or implement an enhancement with acceptance criteria.
Why use it?
It helps prevent incomplete fixes and regressions by establishing a baseline and measuring whether changes work.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

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

Part of the codeintel plugin — 32 skills, 14 commands shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to SecondLifes/code-intel. 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/SecondLifes/code-intel/main/.agents/skills/rad-code-fix/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SecondLifes/code-intel

Made for: Claude Code, Codex.

Or install codeintel, the plugin that ships this one along with the rest of its 32 skills, 14 commands.

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 rad-code-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/secondlifes/code-intel/rad-code-fix.svg)](https://agentmods.dev/skills/secondlifes/code-intel/rad-code-fix)
Your own site
<a href="https://agentmods.dev/skills/secondlifes/code-intel/rad-code-fix"><img src="https://agentmods.dev/badge/skills/secondlifes/code-intel/rad-code-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 175 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,657 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 100% copy Near-identical to another mod 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.00175 $0.03657
Opus 5 $0.00088 $0.01828
Sonnet 5 $0.00035 $0.00731
Haiku 4.5 $0.00017 $0.00366

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

Security

Grade A, and why

rad-code-fix 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 4d 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.

Origin

This is a copy

100% identical to rad-code-fix — 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.

.agents/skills/rad-code-fix/SKILL.md · 347 lines

How it starts

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

Code Fix — whole-file, dependency-aware, measured

Provide the process; let the host project provide language, architecture, toolchain, style and test standards. Never invent a project rule from memory.

Modes and boundaries

Infer the narrowest mode that satisfies the request:

Mode Outcome
Audit-only Find and prove defects; report them without writing code.
Audit + Fix Audit first, obtain approval, then repair approved findings.
Enhancement Turn a requested feature into acceptance criteria, implement it, and prove it without regressing existing behavior.
Apply a report Take findings someone else already wrote down, re-verify each one against the code as it is now, then repair the approved survivors.

Discovery is the expensive part, so the mode boundary is really about whether the findings already exist. When the user hands over a report, do not audit from scratch — the report is the scope, and Phase 3b explains why it still has to be checked rather than trusted.

  • A diff/PR-only review belongs to the host's diff-review workflow.
  • Visual direction and UI aesthetics belong to frontend-design; UI guideline compliance belongs to web-design-guidelines. This skill may still audit or implement UI behavior, accessibility and integration correctness.
  • Load stack-specific skills when present. They supply domain rules; this skill owns orchestration, evidence, scope and verification.

Usage

The user says Mode What happens
"audit parser.py and everything it depends on" Audit-only Baseline, whole-file read, findings with evidence. No file is written.
"find and fix everything in OrderService.cs" Audit + Fix Findings first, then the mechanical/design split for approval, then one atomic item at a time
"apply share/analysis/.../codex_v1.md to the skill it reviews" Apply a report Report intake, per-finding re-verification, then the same approval and execution path
"add a --dry-run flag to the importer" Enhancement Acceptance criteria and non-goals first, then red-first tests, then implementation
"review this PR" none Belongs to the host's diff-review workflow; say so rather than auditing whole files

Read the full file on GitHub · 347 lines

Files

What ships with it

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

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. 4d ago First seen · 347 lines · 175 tokens per session scan A ddc93042af97

Subscribe to this mod's changes

rad-code-fix is a skill published in the GitHub repository SecondLifes/code-intel (2 stars, last pushed 7d ago), licensed Apache-2.0. It adds 175 tokens to every session and 3,657 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to rad-code-fix, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens

gsd-ns-review

Route to the appropriate quality / review skill based on the user's intent. gsd-code-review-fix was absorbed by gsd-code-review --fix in #2790.

open-gsd/gsd-core · 16 tokens

issue

Use when starting a chain from a GitHub issue — turning an issue URL or number into a triaged, planned, dispatched, and reviewed pull request. Classifies the thread (bug → root-cause discipline, feature → plan chain, question → drafted reply), synthesizes a spec from the issue's own acceptance criteria, then runs the…

jeremylongshore/tons-of-skills-marketplace · 115 tokens

gitnexus

A code-graph analysis add-on for examining an existing codebase, including symbols, call paths, execution flows, and effects across repositories. It can query GitNexus through its command-line or MCP interfaces.

hashgraph-online/awesome-codex-plugins · 58 tokens

cleanup-code-inspections

Reduce technical debt and improve code quality by systematically resolving static analysis warnings.

flutter/flutter-intellij · 19 tokens

superlint

This skill describes the mandatory standard operating procedure for using our internal SuperLint tool. Use this when tasks require fixing code quality issues according to corporate standards.

mgechev/skillgrade · 0 tokens