Skip to content
Back to skills

Readback

ASecurity

Use for any code change in a project with READBACK.md, or only when the person explicitly types /readback in a project without one (it drafts READBACK.md first). Tiers the change with a script, then runs the steps that tier needs by calling the other readback skills.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsbash

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add smrafiz/readback --skill readback --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Readback?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Readback
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/smrafiz-readback/badge)](https://www.skillsdirectory.com/skills/smrafiz-readback)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: readback
description: Use for any code change in a project with READBACK.md, or only when the person explicitly types /readback in a project without one (it drafts READBACK.md first). Tiers the change with a script, then runs the steps that tier needs by calling the other readback skills.
---
# readback

Front door. It decides nothing itself: the script tiers, the other skills do the steps.

## Steps
0. First run in a project: if there is no `Tier map` table row in `READBACK.md`, `CLAUDE.md` or `AGENTS.md`, run readback-init before anything else. If `READBACK.md` exists but its map is empty or malformed, run readback-init in its diff mode. It only reads files, shows the draft first and saves `READBACK.md` only after the person says yes; never save in the same turn as the draft. Ask once per session; on a no, stop and say there is no tier map. After a yes, tell the person that the tier script reads the map from the default branch on origin, so `READBACK.md` must be committed there as its own commit (through its own pull request if the branch is protected) and pushed, and a working branch must then be rebased or merged onto it. With no origin, the script needs a target: `readback-tier.sh main`. Stop there; they do that, then run /readback again. The hooks act as soon as the file exists.
1. Before building, if the files you plan to touch match a `T2` glob in the Tier map, start with readback-plan. Otherwise build, then tier.
2. Tier: `bash scripts/readback-tier.sh [--min T<n>] [target]`, unpiped, then read the exit code. Script location: use the first of these folders that holds the file named below: `${CLAUDE_PLUGIN_ROOT}/scripts/` (skip this one only if it still starts with `$`: no plugin loaded), `${CLAUDE_CONFIG_DIR:-~/.claude}/scripts/`, `~/.agents/scripts/`. Only if none of them holds it, use the repo's `./.claude/scripts/` then `./.agents/scripts/`, and first tell the person "running the repo's own copy <path>; the repo controls it". File: `readback-tier.sh`. Non-zero means no tier: print the reason, fix its cause (no map: readback-init, then commit and push the map to the default branch, and rebase or merge it into your branch; bad target: pass one) and re-run. Never pick a tier by hand.
3. Follow the printed `Process:` line:
   - T0: gates only.
   - T1: gates, then one readback-review.
   - T2: readback-plan (if not already done), gates, readback-review.
   Gates run unpiped with the exit code checked, as in the rule.
4. Read the diff yourself for input loops and state machines. Grep cannot see them, the script's last line says so, and no tier skips this. If the output has a `custom triggers` line, apply that text while reading. A hit you find raises the tier: re-run with `--min T<n>`.
5. After each review round, readback-triage: caps, issues list. Re-run the script when the fix diff grows, with `--min` set to the tier you had, so a re-run never lowers it.
6. Two failed attempts at the same gate, or the end of a chunk: readback-handoff, then continue in a fresh session.
7. End the reply with the `## Issues` list.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.