scan-reward-hacking SKILL.md skillA

scan-reward-hacking from coalesce-labs/catalyst is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add coalesce-labs/catalyst/scan-reward-hacking@v1.1.0

Pins v1.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
coalesce-labs/catalyst
Path
plugins/dev/skills/scan-reward-hacking/SKILL.md
Versions recorded
4
Latest version
v1.1.0, committed Aug 28, 2026
First version recorded
Mar 20, 2026
Size
8,179 bytes
Repository stars
20
License
none declared

Scan TypeScript code for reward hacking patterns — shortcuts that make linters pass without actually fixing type safety. This skill has a comprehensive checklist of 8 forbidden patterns with severity tuning (libraries vs apps) that you cannot reliably check on your own. **ALWAYS consult this skill when** the user says 'scan for hacks', 'check for type cheats', 'reward hacking', 'verify no shortcuts', wants to check for `as any`, `as unknown as`, `@ts-ignore`, non-null assertions (`value!`)…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Scan for Reward Hacking Patterns

You are scanning for "reward hacking" patterns — code that makes linters pass without actually fixing type safety issues. This is a verification step that MUST be run before marking TypeScript work complete.

## What to Scan

**If `$ARGUMENTS` specifies files or directories**, scan those paths only.

**Otherwise**, detect scan paths automatically:
1. Use Glob to find which of these directories exist: `src/`, `apps/`, `packages/`, `lib/`
2. Scan all that exist

## Severity Tuning

Severity levels adjust based on project context:

| Pattern | Libraries/Packages (`packages/`) | Applications (`apps/`, `src/`) |
|---------|----------------------------------|-------------------------------|
| `as any` | **CRITICAL** | HIGH |
| `as unknown as` | **HIGH** | HIGH |
| `@ts-ignore` | **CRITICAL** | HIGH |
| Non-null assertion (`!`) | **HIGH** | MEDIUM |

Libraries/packages are stricter because they export types consumed by other code. Determine context from the file path — files under `packages/` use library severity, everything else uses app severity.

## Forbidden Patterns to Detect
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add coalesce-labs/catalyst/scan-reward-hacking@sha256:0d60efc49507c55a

The line at the top of this page pins the label v1.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_66arocx5vghlngxc.svg)](https://markdownregistry.com/a/art_66arocx5vghlngxc)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Mar 20, 2026 and Aug 28, 2026, about one every 54 days.

versioncommittedcommitsizeaudit
v1.1.0 latest2026-08-28 2202f79 8,179 BA view · diff
v1.1.02026-04-29 870e84e 8,179 BA view · diff
v1.1.02026-04-09 70a2d8d 8,178 BA view · diff
v1.0.02026-03-20 153cbfd 4,822 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8179 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

coalesce-labs/catalyst · 20 stars · license none declared · pushed 2026-09-27 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_66arocx5vghlngxc
GET https://markdownregistry.com/api/v1/resolve?ref=coalesce-labs/catalyst/scan-reward-hacking
GET https://markdownregistry.com/api/v1/blob/0d60efc49507c55a9764e95b4c9c949ef8864523224e599ce3e545e682cee9d0

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from coalesce-labs/catalyst

setup-catalyst SKILL.md skill
coalesce-labs/catalyst · .agents/skills/catalyst-foundry-setup-catalyst/SKILL.md · Diagnose and fix Catalyst setup issues. Validates tools, database, config, OTel, direnv, the Catalyst Cloud replica…
git:20260826.cb86e8e · audit B · 20 stars
validate-frontmatter SKILL.md skill
coalesce-labs/catalyst · .agents/skills/catalyst-meta-validate-frontmatter/SKILL.md · Validates YAML frontmatter on plugins/*/skills/*/SKILL.md and plugins/*/agents/*.md against…
git:20260927.15ff868 · audit A · 20 stars
AGENTS.md AGENTS.md file
coalesce-labs/catalyst · AGENTS.md
git:20260927.15ff868 · audit A · 20 stars
CLAUDE.md CLAUDE.md file
coalesce-labs/catalyst · CLAUDE.md
git:20260927.15ff868 · audit A · 20 stars
DESIGN.md@plugins/dev/scripts/orch-monitor/ui DESIGN.md file
coalesce-labs/catalyst · plugins/dev/scripts/orch-monitor/ui/DESIGN.md
git:20260604.5b5d562 · audit A · 20 stars
agent-browser SKILL.md skill
coalesce-labs/catalyst · plugins/dev/skills/agent-browser/SKILL.md · Fast browser automation CLI for AI agents. **ALWAYS use instead of Playwright MCP tools** for web testing, screenshots…
git:20260826.c0ed7cf · audit A · 20 stars
ask SKILL.md skill
coalesce-labs/catalyst · plugins/dev/skills/ask/SKILL.md
git:20260913.a14ac7d · audit B · 20 stars
briefing-followup SKILL.md skill
coalesce-labs/catalyst · plugins/dev/skills/briefing-followup/SKILL.md
git:20260913.f9773dc · audit B · 20 stars
commit SKILL.md skill
coalesce-labs/catalyst · plugins/dev/skills/commit/SKILL.md
v2.0.0 · audit B · 20 stars
compound-estimate SKILL.md skill
coalesce-labs/catalyst · plugins/dev/skills/compound-estimate/SKILL.md
v1.1.0 · audit B · 20 stars
concierge SKILL.md skill
coalesce-labs/catalyst · plugins/dev/skills/concierge/SKILL.md
git:20260913.0ec8420 · audit B · 20 stars
create-handoff SKILL.md skill
coalesce-labs/catalyst · plugins/dev/skills/create-handoff/SKILL.md
v1.0.0 · audit B · 20 stars

Every file in coalesce-labs/catalyst

Browse by kind, by grade A, or by owner.