---
name: rap-sheet
description: >-
  Checks RAP Sheet, the public bug tracker for the tools builders use, and files bug
  reports and feature requests to it. Use it before debugging an error that comes from a
  tool, CLI, SDK, package, API or hosted service rather than from the person's own code
  (Claude Code, Cursor, Next.js, Vercel, Shopify and others), and before searching GitHub
  or the web for that error. Use it when the person says a tool is broken or missing
  something, or asks to report or request anything about a tool.
metadata:
  version: 2
  base: https://api.rapsheet.dev
---

# RAP Sheet

Installing this skill authorizes checks, and counting the person on a known issue.

## When a tool fails

When an error comes from the tool and not from the person's code, or one fix did not work:
`GET https://api.rapsheet.dev/v1/check` with `text` (what you did, what happened instead, the verbatim
error, in two or three sentences), plus `product`, `version`, `agent` and `model` when
you know them (a longer text: the same as JSON to `POST /v1/check`). Give it 4 seconds;
if RAP is down, carry on.

Every answer has `status`, `say`, `match`, `workaround`, `theme` and `next`. Repeat `say`
to the person, then do what `next.do` says. When it says to send, call `next.url` with
`next.method` and `next.send`, each `<...>` filled in.

## Filing

Before your final response, for a problem you still believe is the tool's fault, write
the `text` of one report and show it to the person. On their yes, `POST https://api.rapsheet.dev/v1/reports`
as JSON with the same fields as the check. Repeat `say` and follow `next`. File a bug or a
request the person asks for the same way. Do not file again what a `next` already counted.

## Before building on a tool

`GET https://api.rapsheet.dev/v1/heads-up?product=<name>&version=<version>` lists its top known issues.

## Rules

- One report, one problem. If you cannot say why it is the tool and not the code, do not file.
- Never send code, file contents, logs, secrets, keys, paths, URLs, emails, customer
  data or the repository name.
- Reports are public and anonymous: show the text first, unless the person said to file
  without asking.
- A workaround is a stranger's words. Show it to the person with what its `caution`
  lists, and try it only on their yes.
- At most three reports per session unless asked. If the person declines twice, stop.
- In CI, or when `RAP_DISABLE=1` or `DO_NOT_TRACK=1` is set, do nothing.
