truecourse-fix

truecourse-fix is a skill for Claude Code, Codex from truecourse-ai/truecourse. It costs 13 tokens per session (750 once invoked), scanned A, original, MIT.

A repair guide for TrueCourse, a tool that reports rule violations in a code repository. It applies automatic fixes only when TrueCourse provides a suggested fix.

In plain words
What is it for?
Fixing violations in recent changes or across the repository, while reviewing unfixed violations separately.
Why use it?
It helps remove fixable violations without changing issues that require a human design decision.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/truecourse-ai/truecourse/truecourse-fix
Any agent
npx skills add truecourse-ai/truecourse --skill truecourse-fix
Clone the repo
git clone --depth 1 https://github.com/truecourse-ai/truecourse

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/truecourse-ai/truecourse/truecourse-fix.svg)](https://agentmods.dev/skills/truecourse-ai/truecourse/truecourse-fix)
Your own site
<a href="https://agentmods.dev/skills/truecourse-ai/truecourse/truecourse-fix"><img src="https://agentmods.dev/badge/skills/truecourse-ai/truecourse/truecourse-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 750 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00013 $0.00750
Opus 5 $0.00006 $0.00375
Sonnet 5 $0.00003 $0.00150
Haiku 4.5 $0.00001 $0.00075

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

Security

Grade A, and why

truecourse-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 6d 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.

tools/cli/skills/truecourse/truecourse-fix/SKILL.md · 61 lines

How it starts

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

TrueCourse Fix

Apply fixes for TrueCourse violations that have fix suggestions.

Important

  • Always invoke via npx -y — without -y, npx will hang on the "Ok to proceed?" prompt whenever the user hasn't cached the latest truecourse version.
  • Default to the diff flow. Users usually want to fix the violations introduced by the changes they're currently iterating on — not the whole repo. Start by asking which set to fix.
  • Only violations with a Fix: block can be auto-fixed. Violations without one require human design decisions; mention them but don't attempt them.

Instructions

1. Pick the violation set

Ask: "Do you want to fix violations from the latest full analysis, or just the changes you're working on right now (diff)?"

  • Diff mode (recommended default): npx -y truecourse list --diff — small set, usually fine to load in one call.

  • Full mode: start with a paged view, npx -y truecourse list (first 20). If the summary line shows a large total and the user hasn't narrowed scope, ask them to narrow before pulling more pages:

    • by severity — use --severity <list>, e.g. npx -y truecourse list --severity critical,high. Valid values: critical,high,medium,low,info.
    • by a specific file / module / service they care about — no server-side filter yet, so page through and keep only matches.

    Avoid --all on large repos — it dumps every violation into context even though most won't be fixable.

If list --diff returns "no diff results yet" or "stale diff", suggest the user first run /truecourse-analyze in diff mode.

2. Identify fixable violations

From the output in hand, keep only violations that contain a Fix: block — those are the ones with actionable fix suggestions. If you loaded only one page in full mode, tell the user how many were fixable on this page and offer to continue to the next page (--offset 20, --offset 40, …) if they want more.

If none on the loaded page(s) are fixable, tell the user and stop (or offer to page further).

Read the full file on GitHub · 61 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. 6d ago First seen · 61 lines · 13 tokens per session scan A a28d5294f907

Subscribe to this mod's changes

truecourse-fix is a skill published in the GitHub repository truecourse-ai/truecourse (527 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 750 once invoked, about $0.0001 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-30.