hunch: Skill for Claude Code

.agents/skills/source-command-hunch-fragile/SKILL.md

source-command-hunch-fragile is a skill for Claude Code, Codex from davesheffer/hunch. It costs 20 tokens per session (130 once invoked), scanned A, original, Apache-2.0.

A codebase analysis skill that reports which parts of a project are most fragile, using evidence from Hunch. Fragility can reflect bug history, frequent changes, many callers, or missing safety checks.

In plain words
What is it for?
Use it to run the Hunch fragility check and produce a report naming specific files and functions, with supporting history and metrics.
Why use it?
It helps locate areas most likely to break instead of relying on general guesses about risky code.

Skill for Claude CodeCodex

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to davesheffer/hunch. 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/davesheffer/hunch/main/.agents/skills/source-command-hunch-fragile/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/davesheffer/hunch

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 source-command-hunch-fragile

README.md
[![agentmods](https://agentmods.dev/badge/skills/davesheffer/hunch/source-command-hunch-fragile.svg)](https://agentmods.dev/skills/davesheffer/hunch/source-command-hunch-fragile)
Your own site
<a href="https://agentmods.dev/skills/davesheffer/hunch/source-command-hunch-fragile"><img src="https://agentmods.dev/badge/skills/davesheffer/hunch/source-command-hunch-fragile.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 130 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.00020 $0.00130
Opus 5 $0.00010 $0.00065
Sonnet 5 $0.00004 $0.00026
Haiku 4.5 $0.00002 $0.00013

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

Security

Grade A, and why

source-command-hunch-fragile 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 7d 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/source-command-hunch-fragile/SKILL.md · 16 lines

What it actually says

source-command-hunch-fragile

Use this skill when the user asks to run the migrated source command hunch-fragile.

Command Template

Ask Hunch for the fragility ranking (run hunch fragile or query Hunch), then produce a fragility report with evidence: the specific files/functions, the bug history behind them, their churn and fan-in, and any missing guards. Avoid generic advice — every claim must cite a Hunch record or metric.

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. 7d ago First seen · 16 lines · 20 tokens per session scan A e2cf66a9755c

Subscribe to this mod's changes

source-command-hunch-fragile is a skill published in the GitHub repository davesheffer/hunch (9 stars, last pushed yesterday), licensed Apache-2.0. It adds 20 tokens to every session and 130 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-31.

Related

Other skills, from other repositories

changes-report

Report all repository changes that entered a target branch during one required date or period, grouped by product change and written as plain English for a broad audience. Use for daily, weekly, date-range, or relative-period change summaries rather than explaining one known diff.

yarlson/yarstack · 54 tokens

jira-issue-create

Create one or more Jira issues through acli from user-approved drafts using heading-based Context, Acceptance criteria, and Engineering notes sections. Use only when explicitly invoked to create Jira issues; use jira-issue-refine when requirements still need refinement.

yarlson/yarstack · 53 tokens

claude-review

Run an independent Claude Opus review of the complete current change against the repository's default branch, then verify its findings locally. Use after focused checks pass when you want a second model to review the change before further edits or delivery.

yarlson/yarstack · 50 tokens

test-gap-review

Review whether existing tests and verification credibly prove a scoped behavior contract. Use during validation when evidence may omit important behavior or provide false confidence.

yarlson/yarstack · 32 tokens

jira-issue-deliver

Autonomously deliver one Jira issue from intake to a ready GitHub pull request. Use only when the user authorizes implementation, commits, pushes, PR state changes, CI remediation, and resolution of requested automated review feedback.

yarlson/yarstack · 51 tokens

change-cleanup-review

Review a complete change for unwanted scope, redundant or residual artifacts, review-obscuring churn or prose, hollow verification, and work shifted to reviewers. Use before human review and after review-driven fixes, not for general implementation review or AI-authorship inference.

yarlson/yarstack · 56 tokens