Agents

AI agents

Paste capy://vercel at an assistant and, on its own, nothing happens — it has no idea the reference means anything. The skill closes that gap: it teaches an agent that a reference is a pointer to a credential on this machine, and which command turns it into work.

Installing it

For Claude Code, either route writes the same file:

bash
capy skill --install
# ✓ Installed to ~/.claude/skills/capykeys/SKILL.md

Or in the app: Settings → General → Install Agent Skill…

For any other harness, the bare command prints to stdout — put it wherever that tool reads instructions:

bash
capy skill >> AGENTS.md
capy skill | pbcopy

The text is compiled into the binary, so it can never describe a version of the commands other than the one that printed it.

What it teaches

A reference is not a secret. The agent should act on it rather than asking you to paste a value.

Which commands are free. list, ref and env --names read no secrets and prompt for nothing, so an agent can orient itself without touching the Keychain.

Which command fits the destination. A subprocess wants capy run; the current shell wants eval $(capy env …); get and resolve are for the cases where the value genuinely has to be written somewhere — and the agent is told to say so first, because stdout ends up in the transcript.

Two things it cannot infer. Touch ID is interactive, so value commands fail in headless contexts and retrying is pointless. And resolution is fail-closed, so an ambiguous reference wants a group added, not a guess.

In practice

text
you:   deploy this with capy://vercel/higharc

agent: capy run -e VERCEL_TOKEN=vercel/higharc -- vercel deploy
       → Touch ID once
       → the value exists only in that process's environment

The secret never reaches the agent's context, the transcript, your shell history, or disk. That is the point of preferring capy run: the agent arranges for the credential to be used without ever seeing it.

The app still gates every read

Installing the skill grants nothing. An agent runs the same CLI you do, and every command that reads a value still prompts for Touch ID — it cannot resolve a reference while you are away from the machine.