guardry/

guardry/For AI agents/Agent skill

The guardry-secrets agent skill

The guardry-secrets skill teaches Claude Code, Cursor, Codex and other agents to use the guardry CLI safely, and installing it grants no access.

The guardry-secrets skill is a set of instructions that teaches an AI agent to use the guardry CLI safely. It is for Claude Code, Cursor, Codex and other agents that read the shared skills directory. Installing it is one command, and the agent discovers it in its next session.

1. Install the skill

There are three ways. The installer sets up the CLI and the skill together:

curl -fsSL https://app.guardry.ai/install.sh | sh

It puts the skill in the shared agent-skills directory and in the Claude Code and Cursor directories it detects. Codex recognizes the shared location.

If the CLI is already installed, install only the skill and name the agent:

guardry skill install --agent claude
# Also supported: codex, cursor, universal, all

Or use the skills installer:

DISABLE_TELEMETRY=1 npx skills add https://app.guardry.ai --skill guardry-secrets --global --agent codex

The skill is public. The skill index is at https://app.guardry.ai/.well-known/skills/index.json and the skill file is at https://app.guardry.ai/skills/guardry-secrets/SKILL.md.

2. Start a new agent session

Start a new agent session so the agent discovers the skill.

3. Give the agent a credential

The skill does not sign the CLI in and does not grant a scope. Access comes from an agent credential. You create it in the dashboard under Agent access, with a scope, permissions and a lifetime, and paste it at a hidden prompt:

guardry login --profile coding-agent

If you do not have an account, Request an invite first.

4. Ask for something

A useful first instruction is: "Use Guardry profile coding-agent to run this application with API_KEY. Do not print the value."

Safe use of the CLI looks like this:

  • Search names and descriptions before reading anything, with guardry secrets list --search.
  • Run programs with guardry secrets run, which puts values into the program's environment and nowhere else.
  • Read a value as plain text only when the consumer needs it.
  • Report a suspected leak with guardry secrets report-leak, without repeating the value.

What the agent can and cannot do

The skill shapes how an agent uses Guardry. It does not decide what the agent is allowed to do.

  • The skill is not a security boundary. The limits that count are on the agent credential, and they are checked inside the vault on every request.
  • With a credential, an agent can read what its scope and permissions allow and, if you permit it, create new entries.
  • An agent can never edit, rotate or delete an existing entry, including one it created. It cannot see members, manage credentials or approve anything.
  • An agent that can read a secret can copy it. Guardry controls who gets a value and records every release. It cannot control what a program does with a value afterwards.

Questions

Does installing the skill give an agent access to my vault?

No. Installing the skill grants no access. It does not authenticate the CLI or grant a scope. An agent reaches the vault only through an agent credential that you create in the dashboard, with the scope, permissions and lifetime you choose.

Which agents can use the skill?

Claude Code, Cursor, Codex and other agents that read the shared skills directory. guardry skill install --agent accepts claude, codex, cursor, universal and all.

Can I read the skill before I install it?

Yes. The skill file is public at https://app.guardry.ai/skills/guardry-secrets/SKILL.md, and the public skill index is at https://app.guardry.ai/.well-known/skills/index.json.