Skip to content
Skillpedia
Security8.3k · #12479

yao-secret

What it does

This skill lets an agent fetch secrets, such as API keys and tokens, that you have stored for it. It is for people who want their agent to use credentials without writing them into files.

When to use it

  • ✓When a task needs an API key or token that you have already configured.
  • ✓When you want to check which secrets are available before starting a task.
  • ✓When a required secret is missing and you need to be told how to add it.

Skill link

https://github.com/YaoApp/yao/blob/main/tools/skills/yao-secret/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/YaoApp/yao/blob/main/tools/skills/yao-secret/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Check which secrets are set up for this project, then use the GitHub token to open the repo.”

5 new skills a week. 1 minute to read.

How it works

The agent lists the names of available secrets first, then reads a value only when it is needed. Values are never printed or logged in visible output.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Secret Tools

Two tools for accessing user-configured secrets, called via bash.

secret_list

List available secret names and descriptions. Does not return secret values — use secret_read for that.

tai tool secret_list '{}'

No parameters required. Returns secrets configured for the current assistant.

secret_read

Read a secret value by name. Returns the decrypted value for use in scripts.

tai tool secret_read '{"name": "GITHUB_TOKEN"}'
tai tool secret_read '{"name": "AWS_SECRET_KEY"}'
Parameter Type Required Description
name string yes Secret key name (e.g. GITHUB_TOKEN, AWS_SECRET_KEY)

Security: Never log, print, or expose the returned secret value in output visible to users.

Typical Workflow

  1. secret_list — discover what secrets are available
  2. secret_read — retrieve a specific secret by name
  3. Use the value in API calls, git auth, etc.

Guidelines

  • Always call secret_list first to check if a required secret exists before reading
  • Never hardcode API keys or tokens — always use secret_read
  • Secret values are decrypted at read time; treat them as sensitive
  • If a secret is not found, prompt the user to configure it in their settings
  • All output is JSON
FAQ

Will the agent show my token in chat?

No. The skill tells the agent never to log or show a secret value.

Can listing show the values?

No. Listing returns only names and descriptions.

What if a secret is missing?

The agent asks you to add it in your settings.

Details

Original description by the author

Secret management expert. ALWAYS invoke this skill when you need to read API keys, tokens, or other secrets configured by the user. Never hardcode credentials — use this skill to retrieve them securely.

repo: YaoApp/yao

Popularity

GitHub stars
8.3k
Ranking position
#12479
License
—
Updated
10/19/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills