Skip to content
Skill

Key custody

Keeps secrets and private keys out of an agent's trading desk session

Key custody is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
93
Last commit
License
AGPL-3.0
Listing updated

Similar skills

About Key custody

This skill sets rules for handling secrets in a trading desk setup built around paper mode. It asks the agent to confirm that forbidden environment keys are unset before a session that could touch value movement, and it refuses any private key, seed phrase or signing-capable token offered in a prompt, file or message. Wallet connection, spend approval and credential export are left to the human operator, with the agent only describing the step needed.

If the agent finds a secret in its context, the skill has it stop, redact the value, report it to the risk seat and rotate the credential outside the desk before resuming without it. It also treats paper fills as ledger entries rather than signatures, and flags any code path that would sign outside the live stub as a defect.

The skill is written for the PumpGrok desk's seat-based workflow and references a wallet and custody gate, plus companion skills for wallet rules and secret-free logging. It has no scripts and declares no allowed tools.

When your agent uses it

Keep every secret out of the desk: no key material exists in paper mode, forbidden env keys stay unset, and wallet hand-off stays human-only.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/key-custody to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/key-custody &&
cp -R "$tmp/skills/key-custody" ~/.claude/skills/key-custody &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/key-custody inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/key-custody to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/key-custody &&
cp -R "$tmp/skills/key-custody" ~/.agents/skills/key-custody &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/key-custody inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/key-custody to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/key-custody &&
cp -R "$tmp/skills/key-custody" ~/.cursor/skills/key-custody &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/key-custody inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/swcstudiospace/PumpGrok.git --path skills/key-custody

Or copy the folder to ~/.gemini/skills/key-custody yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/key-custody:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/key-custody &&
cp -R "$tmp/skills/key-custody" ~/.copilot/skills/key-custody &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/key-custody inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git

Then copy PumpGrok/skills/key-custody into your agent's skills folder as key-custody. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Forbidden key check
Confirms that forbidden environment keys are unset before any session that could move value.
Secret refusal
Refuses private keys, seed phrases and signing-capable tokens offered in any input.
Human-only wallet steps
Keeps wallet connection, spend approval and credential export with the human operator.
Paper mode keyless design
Treats paper fills as ledger rows, with no signing outside the live stub.
Leak response
Redacts exposed secrets, reports them to the risk seat and requires out-of-band rotation.

Good for

  • Check that no private keys are set before starting a paper trading session
  • Refuse a seed phrase pasted into a trading desk chat and report it
  • Ask the agent to describe the wallet approval step for the operator to perform
  • Handle a credential that appeared in a log file during a trading run

Key custody FAQ

What does Key custody change in my agent's behaviour?

It makes the agent refuse to accept, store or use private keys, seed phrases or signing-capable tokens, and it stops and reports if a secret appears in its context.

Does Key custody need any tools or scripts?

The skill has one file and no scripts. It does not set any allowed tools.

When does Key custody apply?

It applies to sessions that could touch value movement, and to any moment a secret or wallet hand-off comes up in the desk.

Can the agent sign transactions with Key custody?

No. The skill states that paper mode has no signing, and that any code path signing outside the live stub is treated as a defect.

How do I install Key custody in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/key-custody to use it in all your projects, or to .claude/skills/key-custody in one project.

Does Key custody run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Key custody?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Key custody?

The closest alternatives to Key custody are Use secret, Contain access, Security, Agent security hardening and Sh kb secrets.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from swcstudiospace/PumpGrok

  1. Guides an agent through safe browsing, human hand-off for CAPTCHAs and logins, and session

    • Open source
    • 93 GitHub stars
    • Browser automation
  2. Renders scheduled daily and weekly desk reports from a ledger and delivers them

    • Open source
    • 93 GitHub stars
    • Finance and payments
  3. Checks a trading desk's operator inputs, seat grants and prompt drift before work starts

    • Open source
    • 93 GitHub stars
    • Finance and payments
  4. Enforces a strict single-send checklist for trading bots placing approved paper orders

    • Open source
    • 93 GitHub stars
    • Finance and payments
  5. Standard folder layout and append-only journal rules for PumpGrok bots

    • Open source
    • 93 GitHub stars
    • Developer tools
  6. Fail-closed playbooks that halt, freeze or escalate when a PumpGrok desk fails

    • Open source
    • 93 GitHub stars
    • Developer tools