Skip to content
Skill

Use secret

Lets an agent run permitted Secrets broker operations or pinned jobs without seeing

Use secret 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
132
Last commit
License
MIT
Listing updated

Similar skills

About Use secret

This skill guides an agent through calling credentials it has been granted through the Secrets broker, without the agent ever handling the secret values. It walks through listing the references a user can access, describing the operations, job definitions and parameter schemas attached to each one, and then submitting either a named broker operation or an open request, or launching a pinned runner job.

The skill spells out how to read the response state after each call, since a zero exit code only means HTTP success. It covers the approval flow, where a human approver confirms the request on the Secrets console with a passkey, and how to resubmit the same request only once it is approved. It also says how to treat uncertain outcomes, refusals and withheld results, and instructs the agent not to retry automatically or change parameters.

The skill expects the aw command-line tool and an installed Secrets app, reached through the aw plugin install command. It refers to a self-hosted option that uses a configured origin and app id instead. The guidance is in plain instructions with no bundled scripts.

When your agent uses it

Use an allowed Secrets broker operation or pinned runner job without handling credential values.

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 (4 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/use-secret to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/use-secret &&
cp -R "$tmp/naapp/secrets/src/aweb_secrets/skills/use-secret" ~/.claude/skills/use-secret &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/use-secret &&
cp -R "$tmp/naapp/secrets/src/aweb_secrets/skills/use-secret" ~/.agents/skills/use-secret &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/use-secret &&
cp -R "$tmp/naapp/secrets/src/aweb_secrets/skills/use-secret" ~/.cursor/skills/use-secret &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/use-secret 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/awebai/aweb.git --path naapp/secrets/src/aweb_secrets/skills/use-secret

Or copy the folder to ~/.gemini/skills/use-secret yourself.

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/use-secret &&
cp -R "$tmp/naapp/secrets/src/aweb_secrets/skills/use-secret" ~/.copilot/skills/use-secret &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/awebai/aweb.git

Then copy aweb/naapp/secrets/src/aweb_secrets/skills/use-secret into your agent's skills folder as use-secret. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Discover granted references
Lists permitted secret references and reads the operations, job definitions and parameter schemas attached to each.
Named and open requests
Submits broker calls as either named operations with parameters or open method and URL requests where the grant allows.
Pinned runner jobs
Launches fixed jobs on a runner using durable credential slots, without arbitrary shell commands.
Approval handling
Checks request status and resubmits only after an enrolled approver has approved the request.
Outcome reconciliation
Explains how to read states such as not_sent, refused and outcome_unknown without assuming success or retrying blindly.

Good for

  • Check the status of an upstream service using a granted credential
  • Run a pre-approved runner job that uses a stored token
  • Find which secret references and operations are available to me
  • Follow up on a request that is waiting for passkey approval

Use secret FAQ

What do I need to use Use secret?

It needs the aw command-line tool and the Secrets app installed from its origin, for example with aw plugin install https://secrets.aweb.ai. Self-hosted deployments use their configured origin and app id.

Does the agent ever see the credential values?

No. The skill says credentials reach the broker or a pinned job process rather than the tool interface, and the agent must never request, export, log or insert a credential value.

Can the agent approve its own requests?

No. The skill states that an enrolled approver must decide with a passkey on Secrets' own console, and that an agent tool, a link or a team signature cannot approve.

Does a successful command mean the action completed?

Not necessarily. The skill says to read the response state, since a zero exit only reflects HTTP success and a job may still await its runner.

How do I install Use secret in Claude Code?

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

Does Use secret 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 Use secret?

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 Use secret?

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

Where this comes from

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

More from awebai/aweb

  1. Guides coordinated changes across the aweb OSS repo and the hosted ac repo safely

    • Open source
    • 132 GitHub stars
    • Developer tools
  2. Removes a finished one-shot agent instance: its aweb identity, workspace, worktree

    • Open source
    • 132 GitHub stars
    • Developer tools
  3. Guides an agent to record durable lessons in its soul docs, decisions, memory and skills

    • Open source
    • 132 GitHub stars
    • Knowledge and memory
  4. Creates a new aweb teammate from a soul, with its own identity, home and worktree

    • Open source
    • 132 GitHub stars
    • Developer tools
  5. Guides building apps where AI agents are the users, using team-certificate auth

    • Open source
    • 132 GitHub stars
    • Developer tools
  6. Guides end-to-end tests of BYOT/AWID team-certificate auth with real keys and signatures

    • Open source
    • 132 GitHub stars
    • Developer tools