Skip to content
Back to skills

Verify Before Claiming

ASecurity

Use this skill before stating the status of anything outside the conversation: a PR, CI run, review, witan task, branch, deploy, environment, or fix. Triggers on "what's the status of", "is it merged", "did CI pass", "did the review land", "is it deployed", "is it fixed", "is X done", "where are we on", and on any summary or handoff that reports status. Re-fetch live state instead of repeating memory or earlier output, check uncommitted work and other worktrees before calling work missing, an...

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
toolspythongoshellbashgitapi

Works with

  • api

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add mitodl/agent-kit --skill verify-before-claiming --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify Before Claiming?

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

Security grade badge for Verify Before Claiming
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mitodl-verify-before-claiming/badge)](https://www.skillsdirectory.com/skills/mitodl-verify-before-claiming)

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: verify-before-claiming
description: >
  Use this skill before stating the status of anything outside the conversation:
  a PR, CI run, review, witan task, branch, deploy, environment, or fix. Triggers
  on "what's the status of", "is it merged", "did CI pass", "did the review
  land", "is it deployed", "is it fixed", "is X done", "where are we on", and on
  any summary or handoff that reports status. Re-fetch live state instead of
  repeating memory or earlier output, check uncommitted work and other worktrees
  before calling work missing, and label each finding verified or inferred.
  Also covers shell work in any shell (bash, zsh, fish, BSD or GNU tools): put
  anything beyond a single pipeline in a script file, edit source with the edit
  tool instead of sed -i or heredocs, strip CRLF before parsing, avoid pgrep -f
  in wait loops, and hand the user paste-ready commands with real values.
license: BSD-3-Clause
metadata:
  category: workflow
---

# Verify before claiming

State changes while you work. What you saw earlier in this conversation, or what
a summary or memory says, is not current state. These rules apply to every
status claim, not only to code review.

1. Re-fetch status in the same turn you state it, and declare an environment or
   fix done only after running the check that shows it works.
   - PR: `gh pr view <n> --json state,reviewDecision`
   - CI: `gh pr checks <n>`
   - witan task: `task_get(slug=...)`
   - Branch: `git fetch && git log origin/<branch> -1`
2. Never report an external event (a review landed, a check finished, someone
   replied, a deploy completed) without the API call that shows it.
3. Before concluding work is missing or not started, run `git status` and
   `git worktree list`. Uncommitted changes and other worktrees count.
4. Label each finding you report "verified (`<command>`)" or "inferred".
   Anything you did not check is inferred, and you say so.

## Shell commands and file edits

The shell may be bash, zsh or fish, and the tools GNU or BSD.

1. Anything beyond a single pipeline or `&&` chain goes in a script file
   outside the repo (the session scratchpad if your harness gives one, else
   `mktemp -d`), run with `bash <file>` or `python3 <file>`. No inline loops or
   multi-line heredoc logic in the interactive shell.
2. Don't depend on one shell's behavior in a one-liner. Quote every variable.
   Don't assign to names zsh reserves (`status`, `path`). GNU and BSD tools
   differ (`sed -i`, `date`, `grep -P`), so do in-place edits of generated or
   data files in python, not `sed -i`.
3. Edit source files with your edit tool (Edit, `apply_patch`), never with
   `sed -i`, a heredoc, or a python rewrite. After any scripted change to a
   file, read the result back.
4. Strip CR (`tr -d '\r'`) from a file that may have CRLF line endings before
   parsing it with `awk`, `cut`, `read` or a `$`-anchored `grep`.
5. `ps | grep` matches itself, and `pgrep -f` matches the shell wrapping your
   command. In wait loops, save `$!` and poll `kill -0 "$pid"`, or use a
   pidfile.
6. Commands handed to the user to paste use real values, never placeholders,
   and say which shell they are for. Secrets go through an env var
   (`"$GITHUB_TOKEN"`), never pasted into the command.

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 tools →

Comments

Loading comments…

Newsletter

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