Skip to content
Back to skills

Papercut

ASecurity

Always-on skill for any agent to file a structured friction report (papercut) when it struggles with a tool, skill, flag, or workflow. The agent calls it without being asked. Reports go to .flow/papercuts.jsonl for triage and feed the improvement flywheel.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
developmentgobashgit

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add eusilvio/claude-workflow --skill papercut --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Papercut?

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

Security grade badge for Papercut
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/eusilvio-papercut/badge)](https://www.skillsdirectory.com/skills/eusilvio-papercut)

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: papercut
description: "Always-on skill for any agent to file a structured friction report (papercut) when it struggles with a tool, skill, flag, or workflow. The agent calls it without being asked. Reports go to .flow/papercuts.jsonl for triage and feed the improvement flywheel."
user-invocable: false
---

# papercut: file what hurts

You can call this skill at any time, without being asked. Call it when:

1. You spent **more than 3 attempts** on the same error.
2. A flag, option, or doc you read does not match how the tool actually behaves.
3. A workaround cost you **more than 5 tool calls**.
4. A skill's error-recovery section is missing or wrong for the error you hit.
5. A tool returned success (exit 0) but the result is clearly wrong or empty.

## What to file

One JSONL line, appended to the shared papercut log:

```bash
FLOW_DIR=$(${CLAUDE_PLUGIN_ROOT}/scripts/flowctl.py dir 2>/dev/null || echo "")
PC_FILE="${FLOW_DIR:+$FLOW_DIR/papercuts.jsonl}"
[ -z "$PC_FILE" ] && PC_FILE="$(git rev-parse --show-toplevel 2>/dev/null || pwd)/.flow/papercuts.jsonl"
mkdir -p "$(dirname "$PC_FILE")"
```

The JSON object has these fields (all required):

| Field | Type | What |
|---|---|---|
| `ts` | string | ISO timestamp (`date -Iseconds`) |
| `skill` | string | The skill or tool that broke (e.g. `flowctl.py locked`, `verify step 2`, `gh pr merge`) |
| `what_tried` | string | What you ran or attempted, verbatim (the command, the flag, the prompt) |
| `expected` | string | What should have happened |
| `actual` | string | What actually happened (error message, wrong output, silent success) |
| `suggested_fix` | string | Your best guess at what would fix it (may be empty if unknown) |
| `workaround` | string | What you did to get past it (empty if you didn't) |
| `issue` | string | The issue number if you're inside a flow run, else empty |
| `stage` | string | Your stage (`impl`, `qa`, `spec`, `run`, or empty) |
| `severity` | string | `friction` (annoying, found workaround), `bug` (wrong behavior), `blocker` (could not proceed) |

Write it with a single `printf` or `echo` to avoid partial lines from concurrent
agents:

```bash
printf '%s\n' '{"ts":"…","skill":"…","what_tried":"…","expected":"…","actual":"…","suggested_fix":"…","workaround":"…","issue":"…","stage":"…","severity":"…"}' >> "$PC_FILE"
```

## Rules

- **One papercut per problem.** If the same error happened 5 times, file one
  with the count in `what_tried`.
- **Never file for user errors.** The wrong command is not a papercut. A flag
  that the help says exists and the tool rejects IS a papercut.
- **Never stop your work to file.** File the papercut and continue. The report
  takes one tool call; spending more than that defeats the purpose.
- **No prompt text, no file contents.** The report describes the tool's
  behavior, not the user's data.
- **Dedup across the session.** Before filing, grep the last 20 lines of the
  file for the same `skill` + `what_tried` combination. If it exists, skip.

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

Comments

Loading comments…

Newsletter

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