---
title: Install the Stamp skills
description: Give your agent runtime (Claude Code, Codex, Cursor, OpenCode, Gemini CLI and others) Stamp's skills, so it knows what Stamp does and which command does it.
llms_section: "For Raft agents"
llms_order: 115
llms_summary: "Read so your runtime knows a task is Stamp's: `stamp skill install` writes Stamp's five small skills (never installed unasked; a regular check keeps them current), `stamp skill uninstall` removes them."
---

# Install the Stamp skills

An agent asked to "write a code tour" or "walk me through this PR" does not know that Stamp does it. Agent runtimes load **skills**: a folder holding a `SKILL.md` whose short description the runtime always shows the model, and whose body it reads when a task matches. Stamp ships five small skills, so a runtime reads only the one a task needs. Each description says when to use it and to use the `stamp` CLI rather than `gh` or your own git credentials; each body lists the commands and ends with this instance's `/llms.txt`.

| Skill | Use it for |
|---|---|
| `stamp` | Signing in, clone and push, push receipts, issues, `stamp api`, the inbox, feedback; names the other four |
| `stamp-pr` | Opening, reading, reviewing, approving (with evidence) and merging pull requests; auto-merge, the merge queue, review requests |
| `stamp-code-tour` | Code tours: "code tour", "walk me through this PR", "explain this change step by step" |
| `stamp-ci` | Checks, GitHub Actions runs and their logs, rerun and cancel, `stamp workflow run`, artifacts, `stamp ci report` |
| `stamp-requests` | Asking a person for a permission: `stamp app request`, `stamp request workflow`, `act-as`, `admin-ops`, `workflow-change`; `stamp people admins`, `stamp settings` |

## Install them

```sh
stamp skill install
# /home/you/.agents/skills (Codex, Cursor, OpenCode, Pi, ...): wrote stamp, stamp-pr, stamp-code-tour, stamp-ci, stamp-requests (stamp 0.40.0)
# /home/you/.claude/skills (Claude Code): linked stamp, stamp-pr, stamp-code-tour, stamp-ci, stamp-requests to /home/you/.agents/skills
```

Each skill is a folder of its own, `<skills folder>/<name>/SKILL.md`, never nested (several runtimes read only the direct children of a skills folder). The real copies go to `~/.agents/skills/`, the folder most runtimes share. A runtime that does not read it gets, in its own folder, a symlink to each copy, so an update is written once and a runtime that follows links never lists a skill twice; where a symlink cannot be made, it gets a copy. A runtime's own folder is used only when that runtime is there (its folder exists): Stamp never creates a runtime's home folder.

| Runtime | Where it reads Stamp's skills |
|---|---|
| Codex, Cursor, OpenCode, Pi, Kimi Code, Qwen Code, Copilot CLI, Gemini CLI, Grok Build | `~/.agents/skills/<name>/` (the copies) |
| Claude Code | `${CLAUDE_CONFIG_DIR:-~/.claude}/skills/<name>`, a link, when that folder exists |
| Antigravity | `~/.gemini/config/skills/<name>`, a link, when `~/.gemini/antigravity`, `~/.gemini/antigravity-cli` or `~/.gemini/config` exists (`~/.gemini` alone is Gemini CLI's, which reads `~/.agents/skills`) |
| Qoder | `~/.qoder/skills/<name>` (and `~/.qoder-cn/skills/<name>`), a link, when `~/.qoder` (`~/.qoder-cn`) exists |
| kimi-cli (the older one) | `${XDG_CONFIG_HOME:-~/.config}/agents/skills/<name>`, a link, only when that folder already exists (kimi-cli then ignores `~/.agents/skills`) |
| Pi with `PI_CODING_AGENT_DIR` | also `$PI_CODING_AGENT_DIR/skills/<name>`, a link |

Codex's older `~/.codex/skills` is deprecated by Codex and not written.

- The staging CLI, `stamp-staging`, writes its own skills: `stamp-staging`, `stamp-staging-pr`, `stamp-staging-code-tour`, `stamp-staging-ci` and `stamp-staging-requests`, whose commands say `stamp-staging`, so the two CLIs never overwrite each other.
- `--dir DIR` writes under `DIR` instead of your home directory, as the workspace skills of an agent working in `DIR`: the copies in `DIR/.agents/skills/` (read there by Antigravity too), links in `DIR/.claude/skills/` (always: Claude Code reads no `.agents` folder), and in `DIR/.grok/skills/` and `DIR/.qoder/skills/` when `DIR/.grok` or `DIR/.qoder` exists. `DIR` must exist.
- `--json` prints `{ok, name, version, skills, locations: [{dir, runtimes, canonical, skills: [{name, path, result, previous, previous_version}]}], removed}`; `result` is `written`, `linked`, `copied`, `unchanged`, `refused` or `failed`.
- Running it again is safe: a skill that is already this version is left as it is. A skill an earlier version installed and this one no longer ships is removed.
- `~/.agents/.stamp-skills.json` records, per CLI (`stamp`, `stamp-staging`), which skills and folders it wrote, so a later version and `stamp skill uninstall` find them. It is only a hint: Stamp acts only on names of its own skills (`stamp`, `stamp-...`) in the folders listed above, whatever the file says (a workspace's may come from a cloned repository). A file that does not parse is moved to `.stamp-skills.json.corrupt-<time>`, with a line on stderr, and the run goes on without it.
- Installs, refreshes and uninstalls take `.agents/.stamp-skills.lock`, so two CLIs running at once do not interleave; the regular refresh skips that run when another one holds it.

Upgrading from the single `stamp` skill: `stamp skill install` (or the daily refresh) rewrites `~/.agents/skills/stamp/` and replaces `~/.claude/skills/stamp/` with a link to it, and adds the four new skills.

## Which files Stamp may replace

Each `SKILL.md` Stamp writes starts its body with `<!-- generated by stamp skill install; stamp-cli-version: VERSION -->`. Stamp replaces or removes only a skill folder whose `SKILL.md` carries that line, or a symlink that points at its own copy in `.agents/skills`. Anything else under one of its names (a folder you wrote, one you edited and removed the line from, a symlink to somewhere else such as a dotfiles checkout) is left as it is: `stamp skill install` says so on stderr, still writes the rest, and exits 1. `--force` replaces it (a symlink is replaced, never what it points at). Stamp only ever writes or removes `SKILL.md`: files you put beside it are kept. The copy in `.agents/skills` has its `SKILL.md` rewritten in place (atomically); a runtime's folder that holds other files is left as it is (`--force` rewrites its `SKILL.md` in place instead of linking it); a new skill folder is built beside its place and renamed in, and a link is replaced by renaming a new link over it.

## Check them

```sh
stamp skill status [--dir DIR] [--json]
# /home/you/.agents/skills (Codex, Cursor, OpenCode, Pi, ...): all current (0.40.0)
# /home/you/.claude/skills (Claude Code): all linked to /home/you/.agents/skills
```

One line per folder; each skill is `missing`, `current`, `outdated` (an older CLI wrote it), `newer` (a newer CLI wrote it), `linked` (a link to the copy in `.agents/skills`) or `not-ours`. `--json` lists every skill in every folder.

## Remove them

```sh
stamp skill uninstall [--dir DIR] [--json]
```

It removes this CLI's skills (the marked `SKILL.md` files, each folder too when nothing else is in it, and the links to them) from every folder above and from any folder the record names, and its entry in `.stamp-skills.json`. Anything not Stamp's is left as it is. After `CLAUDE_CONFIG_DIR` or `PI_CODING_AGENT_DIR` changes, links in the old folder are not visited by uninstall: remove them by hand.

Uninstalling under your home directory (no `--dir`) sticks: `~/.agents/.stamp-skills.json` records it (`uninstalled`, per CLI), and the regular check neither refreshes the skills nor suggests installing them, until you run `stamp skill install`, which clears the record. Running it when nothing is installed records it too, so `stamp skill uninstall` is also how an agent says "do not suggest them here".

## Kept current, never installed unasked

Stamp never installs the skills on its own: only `stamp skill install` writes them. Login (`stamp login`, `stamp agent login`) does not touch them.

- **Up to three times a day.** When an agent runs the CLI (a Raft agent, the agent `stamp agent login` signed in, or a coding agent's harness), at most once every 8 hours it looks at the home-directory folders, on this machine only (no network). When some of Stamp's skills are there, ones an older CLI wrote are rewritten after an upgrade, ones the installed set now ships are added and ones this version no longer ships are removed (one stderr line saying where). It never touches a skill it did not write, nor one a newer CLI wrote.
- **When none is there**, it installs nothing and prints one stderr line instead, at most once every 8 hours (three times a day): "Stamp's agent skills tell your agent which command opens, reviews and merges pull requests, writes code tours, reads CI and asks a person for access; `stamp skill install` installs them (`STAMP_SKILL=off` hides this)".

The check looks only at your home directory: skills installed only under a workspace (`--dir`) are not refreshed, and do not stop the hint. After `stamp skill uninstall` (above) it does nothing, not even the hint. Set `STAMP_SKILL=off` to turn the check (refresh and hint) off. `stamp skill install` still works when you run it.

## What Stamp sees

An agent's CLI names its installed skills on every request to Stamp, in the `Stamp-Skills` header: the version of this CLI's skills under your home directory as `~/.agents/.stamp-skills.json` records it (`0.41.0`), `none`, `off` (`STAMP_SKILL=off`), `uninstalled` (after `stamp skill uninstall`) or `unknown`. It reads only that file, once per command, and sends nothing else about your files. Stamp logs it with the request (and with the features you use through Stamp, such as opening or approving a pull request), so its operators can see how many agents have current skills and whether they help. A person's session sends nothing.
