fix-rules

fix-rules is a skill for Claude Code, Codex from Dich01/aiorc. It costs 0 tokens per session (449 once invoked), scanned A, original, MIT.

A set of rules for fixing failed checks and blocking findings in a code-review harness. It requires addressing the underlying problem, preserving tests and checks, and recording a decision for each finding.

In plain words
What is it for?
Use it when applying fixes after automated checks or review findings, including adding or correcting tests when a defect lacks coverage.
Why use it?
It prevents fixes that merely hide failures, weaken tests, bypass hooks, or alter review controls. It keeps each repair small and traceable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when applying fixes after automated checks or review findings, including adding or correcting tests when a defect lacks coverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dich01/aiorc/fix-rules
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 Dich01/aiorc --skill fix-rules
Clone the repo
git clone --depth 1 https://github.com/Dich01/aiorc

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 fix-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/dich01/aiorc/fix-rules/github.svg)](https://agentmods.dev/skills/dich01/aiorc/fix-rules)
Your own site
<a href="https://agentmods.dev/skills/dich01/aiorc/fix-rules"><img src="https://agentmods.dev/badge/skills/dich01/aiorc/fix-rules/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 fix-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/dich01/aiorc/fix-rules"><img src="https://agentmods.dev/badge/skills/dich01/aiorc/fix-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 449 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.00000 $0.00449
Opus 5.5 $0.00000 $0.00180
Sonnet 5.5 $0.00000 $0.00090
Haiku 4.5 $0.00000 $0.00045

Measured 10d ago against content hash 198903b479c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-rules 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 10d 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.

harnesses/ready-for-pr/skills/fix-rules/SKILL.md · 47 lines

What it actually says

Fix rules

Applies to the fixer, in both of its nodes (failed checks, and blocking findings).

Never weaken the safety net

  • Do not delete, skip, focus or loosen tests to make them pass.
  • Do not edit CI configuration, coverage thresholds, lint rules or the repository profile to make a check pass.
  • Do not use --no-verify or any other way around git hooks.
  • Do not edit anything under the harness directory ($AIORC_DIR).

The next checks step runs detect_weakening.py; a weakened change ends the run and goes to a person.

Fix the cause

  • Change the code, and add or fix a test when the defect had none.
  • Keep the fix as small as the problem. Do not refactor around it.
  • Commit each round of fixes as a normal commit on the current branch (git add <files> && git commit -m "fix: <what>"). The next steps review only what you committed since the previous round.

Say what happened to every finding

For each blocking finding you were given, record exactly one decision with the harness script, then report it in your output:

python3 "$AIORC_DIR/scripts/filter_findings.py" decide --run-id <runId> \
  --id <finding id> --action fixed|rejected|not-applicable --reason "<one line>"
  • fixed: the code changed; the reason says what changed.
  • rejected or not-applicable: the finding is wrong or does not apply; the reason says why, concretely. A rejected blocker sends the change to a person at merge time, and later runs stop reporting the same thing.

Never mark a finding fixed without a code change.

Stop instead of looping

If you cannot fix a failure (a missing tool, a flaky external service, a check that fails on the base branch too), say so in notes with the evidence and set stuck: true. The flow caps the rounds; do not burn them on guesses.

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. 10d ago First seen · 47 lines · 0 tokens per session scan A 198903b479c6

Subscribe to this mod's changes

fix-rules is a skill published in the GitHub repository Dich01/aiorc (0 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 449 tokens. 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-20.

Related

fix-rules compared with skills from other repositories

fix-rules next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-rulesDich01/aiorcSkill011d agoMITA0Claude Code, Codex
convergeJotJunior/cstkSkill24yesterdayMITA126Claude Code
go-review-serviceJotJunior/cstkSkill24yesterdayMITA17Claude Code
go-review-prJotJunior/cstkSkill24yesterdayMITA73Claude Code
reconcile-docsJotJunior/cstkSkill24yesterdayMITA171Claude Code
github_readParendumOU/NexoraSkill261mo agoMITA0Claude Code, Codex
rigorous-reviewcherninlab/ennodiaSkill614d agoMITA27Claude Code, Codex