---
name: paper-cuts
description: "Use before ending a turn in which you hit a paper cut: a bug or gap in a library or tool we use, a surprise on the machine, or something you were blocked from doing."
title: paper-cuts
canonical_url: https://skilld.dev/gh/onmax/skills/paper-cuts
last_updated: 2026-11-16T18:30:58.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install onmax/skills/paper-cuts`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/paper-cuts`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/onmax/skills/paper-cuts) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/paper-cuts`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/paper-cuts --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/paper-cuts --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Paper cuts

A **paper cut** is friction you hit along the way that sits outside the task. The user decides what happens to each one; your job is to notice it, look a little, and report it.

## Kinds

- **Library**: a bug, missing feature, awkward API, wrong docs, or unhelpful error in a dependency, framework, CLI, or service we use, the user's own libraries included.
- **Machine**: the machine behaved in a way you didn't expect: a missing binary, a wrong version, a permission, a full disk, a killed process, a busy port, stale config.
- **Blocked**: something you wanted to do and couldn't: a denied tool call, a missing credential or integration, an unreachable host, a sandbox limit.

When you hit one, work around it if you can, note it, and carry on with the task. The fix, the issue, or the config change waits for the user's call.

## Look a little

Spend a few lookups per cut, enough to fill its card:

- **Library**: the installed version from the lockfile, a search of the upstream issues, and the changelog or releases since that version.
- **Machine**: the command and its output, the likely cause, and whether the machine's notes already cover it.
- **Blocked**: the exact error or denial, and what would unblock it: a permission, an integration, a machine change.

Stop once you can say whether it's known and what you'd propose. Deeper research waits until the user asks for it.

## Report

End the turn's final reply with a `Paper cuts` section after the task's own report. Report each cut once per session, even if you hit it again; leave the section out when there are none.

```md
## Paper cuts

**1. <library@version or machine>: <what happened, in one line>**
- Seen: <the command, error, or behavior, with file:line where it applies>
- Found: <what the look turned up, with links: an open issue, fixed in vX, nothing upstream>
- Proposal: <what we could do: upstream issue or PR, workaround, machine change, a note for the machine's docs>

Reply with a number and what to do: research more, open an issue, fix it, or drop it.
```

## When the user decides

- **Research more**: use the `research` skill and bring back the answer as an updated card.
- **Open an issue**: write it on the upstream repo with the version, a minimal reproduction, and links to related issues. Open it and reply with the link.
- **Fix it**: for a library, a patch or PR as the user says; for the machine, make the change and record any lasting fact in the machine's notes.
