katgpt-rs: Skill for Claude Code

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

goat-audit is a skill for Claude Code, Codex from katopz/katgpt-rs. It costs 116 tokens per session (9,689 once invoked), scanned A, original, MIT.

A cross-repository audit for checking whether shared GOAT or gain primitives from katgpt-rs are being used correctly by riir-* repositories. A repository is a code project, and a primitive is a reusable building block.

In plain words
What is it for?
Use it for quarterly maintenance, before planning work that depends on katgpt-rs, or when checking for stalled adoption, duplicated implementations, incorrect layering, and fork drift.
Why use it?
It finds shared components that were added but never connected, duplicated code that should be reused, and integrations placed in the wrong software layer.

Skill for Claude CodeCodex

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

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/katopz/git.

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/katopz/katgpt-rs/goat-audit"><img src="https://agentmods.dev/badge/skills/katopz/katgpt-rs/goat-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,689 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.00116 $0.09689
Opus 5.5 $0.00046 $0.03876
Sonnet 5.5 $0.00023 $0.01938
Haiku 4.5 $0.00012 $0.00969

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

Security

Grade A, and why

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

.agents/skills/goat-audit/SKILL.md · 273 lines

How it starts

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

goat-audit — Cross-Repo GOAT/Gain Cherry-Pick Audit

Use this skill when auditing whether the riir-* private repos have consumed the GOAT-validated primitives shipped in katgpt-rs. It detects four failure classes:

  1. Stalls — primitive default-on in katgpt-rs for ≥7 days, zero runtime wiring in riir-*.
  2. DRY violations — riir-* ships a local copy of substrate that should consume katgpt-core / katgpt-transformer / katgpt-pruners.
  3. SOLID violations — primitive consumed in the wrong layer (e.g. a sync-boundary primitive wired into a latent-only runtime, or vice versa).
  4. Fork drift (the Issue 019 class) — riir-* is a fork of katgpt-rs (e.g. riir-engine/src/lib.rs says "Extracted from katgpt-rs (MIT, frozen at v0.1.0)") and a Layer 2 struct-name grep hits a file that defines its own pub struct SameName with zero use katgpt_*:: imports. The audit must distinguish consumer (true positive, primitive wired) from duplicate (false positive, primitive re-implemented locally — the canonical has bit-rotted since v0.1.0).

When to use

  • Quarterly hygiene gate — re-audit after every major katgpt-rs release.
  • Before opening a plan that consumes a katgpt-rs primitive — confirm it isn't already wired (avoid duplicate work).
  • When a user asks "did riir-* get every good thing from katgpt-rs yet?" (the canonical trigger).
  • After a promotion in katgpt-rs — track that the riir-* runtime wiring plan is filed within 7 days.

DO NOT use for

  • Paper distillation (use the research skill).
  • Single-repo refactors with no cross-repo angle.
  • Bug fixes with no architectural impact.

Repos in scope (the product set of 7 — audit focuses on the 4 cherry-pick targets)

Canonical list: katgpt-rs/AGENTS.md §"Repo count". riir-dapps (dApp layer, added 2026-08-20) is OUT OF SCOPE here for the same reason as riir-game-sdk: it composes outcomes, it hosts no feature-gated katgpt primitive to audit. (This header said "8" from 2026-09-01 — correct for one day, stale from riir-armageddon's retirement 2026-09-02 until 2026-09-11.)

Read the full file on GitHub · 273 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 Changed · +1 lines eb839690e1d6
  2. 19d ago Changed · +1 lines 95e14597a7e1
  3. 22d ago Changed · +1 lines f2d39b5d5dd4
  4. 28d ago Changed b5d4205a2dbe
  5. 1mo ago Changed · +1 lines 8ab2dfe4d860
  6. 1mo ago Changed · +1 lines 93a9f73a67b4
  7. 1mo ago Changed · +13 lines c287acb61094
  8. 1mo ago Changed · +1 lines 8b64e81c61d7
  9. 1mo ago Changed · +27 lines 7b429e39eac7
  10. 2mo ago First seen · 227 lines · 116 tokens per session scan A c9f72d47233d

Subscribe to this mod's changes

goat-audit is a skill published in the GitHub repository katopz/katgpt-rs (140 stars, last pushed today), licensed MIT. It adds 116 tokens to every session and 9,689 once invoked, about $0.0005 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-08-30.