vale-ai-tells: Skill for Claude Code

.claude/skills/fix-pr/SKILL.md

fix-pr is a skill for Claude Code from tbhb/vale-ai-tells. It costs 79 tokens per session (1,736 once invoked), scanned A, original, MIT.

A workflow for diagnosing and fixing failed pull-request checks. A pull request is a proposed code change that automated checks review before it is merged.

In plain words
What is it for?
Use it to inspect failing jobs, reproduce errors locally, correct the code, commit the fix, update the pull request description, and push the result.
Why use it?
It connects each failure to a reproducible local task, helping you fix the cause instead of guessing from incomplete logs.

Skill for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

This is tbhb/vale-ai-tells's own configuration. It tells Claude Code how to work on vale-ai-tells 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 vale-ai-tells configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tbhb/vale-ai-tells. 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/tbhb/vale-ai-tells/main/.claude/skills/fix-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tbhb/vale-ai-tells

Made for: Claude Code.

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-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tbhb/vale-ai-tells/fix-pr"><img src="https://agentmods.dev/badge/skills/tbhb/vale-ai-tells/fix-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,736 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 108
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00079 $0.01736
Opus 5 $0.00039 $0.00868
Sonnet 5 $0.00016 $0.00347
Haiku 4.5 $0.00008 $0.00174

Measured 11d ago against content hash 95515d765339, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

fix-pr 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 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/diagnose.sh, scripts/guard-fix.sh, scripts/populate-description.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/fix-pr/SKILL.md · 130 lines

How it starts

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

Fix a failing pull request

Take a red pull request and make the checks pass. This skill ends after you commit a fix to the branch and push it. Confirming the result belongs to watch-pr, and merging belongs to merge-pr.

A guard hook runs alongside. It refuses a log sweep that goes around the diagnosis below, while leaving one job's full log open to read, because that's the real next step once the printed tail runs short.

Which pull request

$ARGUMENTS names the pull request number when the caller knows it. An empty value means whatever is open for the current branch.

Step 0: the checklist

Track these steps with the session's task-list tools where it carries them. Newer harnesses leave those tools out by default, and a session without them works the list in order as written.

  1. Diagnose the failures
  2. Reproduce each one locally
  3. Fix the cause
  4. Commit through the commit skill
  5. Bring the description forward
  6. Push and hand back

Step 1: diagnose

bash .claude/skills/fix-pr/scripts/diagnose.sh <number>

One call gets the failing jobs, the tail of each failing step's log, and the local task the script maps each job to. Read that output before running anything else. Going straight to gh run view repeats work the script already did.

The script also compares the local checkout against the commit CI tested. Stop when it reports a mismatch. The logs then describe code this worktree no longer carries, so a fix aimed at them reaches the wrong revision. Check out the branch the pull request names, or pull it forward, and diagnose again.

Step 2: reproduce

Run the task the script named for each failure. Reproducing first is what separates a fix from a guess.

The mapping from job name to task is a guess, so treat a task that passes locally as a signal rather than a contradiction. Look for the explanation among these:

  • The job runs something the task doesn't. Read the workflow.
  • The failure depends on the environment, such as a pinned tool version or a container image the worktree isn't running.
  • The failure is a flake, which makes the run worth repeating before anything changes.
  • A stale branch. CI tested it merged with a base this worktree doesn't have, and the gate that fails arrived on that base. Nothing here reproduces it until the branch moves, so run the rebase skill and diagnose again.

Read the full file on GitHub · 130 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 130 lines · 79 tokens per session scan A 95515d765339

Subscribe to this mod's changes

fix-pr is a skill published in the GitHub repository tbhb/vale-ai-tells (92 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,736 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

anti-slop

Remove AI slop from any voice-bearing prose — original posts, threads, articles, long-form, emails, docs, READMEs, marketing copy, bios, scripts. Use when drafting text meant to sound like a specific person or brand, when rewriting text that reads generic, corporate, or AI-generated, or when asked to humanize…

aixarizzo/kill-slop · 138 tokens

kill-slop

Audit a file or draft for AI slop and off-voice lines against the author's bound voice, report findings with in-voice swaps, then apply approved fixes. Use when the user says "kill slop", "/kill-slop [file]", "find the slop in this", "audit this for slop", or wants a deck, article, page, or draft cleaned to sound like…

aixarizzo/kill-slop · 119 tokens

agent-merge-conflict-arbiter

Neutral arbiter for merge conflicts between two agents.

NousResearch/hermes-agent · 19 tokens

humanizer

Humanize and de-slop AI-sounding prose while preserving meaning, specific detail, and genuine human quirks. When a voice sample or style profile is available, rewrite in that writer's actual voice. Remove recurring AI tells such as inflated significance, stock vocabulary, uniform rhythm, excessive hedging, formulaic…

hannsxpeter/humanizer · 168 tokens

authenticity-check

Score how authentically text reads as a real human author's work, flag spans that read as AI-generated, AI-templated, or generically derivative, and run a separate read-only scan for suspicious Unicode provenance carriers. Return an authenticity band, a 0-100 score, provenance signals, and span-level reasons. Use when…

hannsxpeter/authenticity-check · 185 tokens

ai-slop-detector

Universal prose audit. Scores writing on TWO axes — AI-Slop (does this read like AI wrote it?) and Comprehension (can a fresh reader follow this?). Use PROACTIVELY as a mandatory final QA pass on ANY prose generated for humans to read — every email (internal or external), proposal, report, status update, blog post…

MahmoudHalat/slop-cop · 239 tokens