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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
secret_list— discover what secrets are availablesecret_read— retrieve a specific secret by name- Use the value in API calls, git auth, etc.
Guidelines
- Always call
secret_listfirst 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
Comments
- …
More skills from this repository
yao-agent
8.3kHelps your agent list the agents on a Yao host, look up or download agent code, deploy changes, and check the list of model connectors.
yao-audio
8.3kHelps your agent turn speech in audio files, such as meeting recordings, into written text, detecting the language when you do not name it.
yao-board
8.3kHelps your agent check kanban boards and task status on the Yao platform, so it reports real project progress instead of guessing.
yao-daemon
8.3kHelps your agent start, check, restart, and stop long-running background services, such as development servers, and read what they print.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.