本文へスキップ
Skillpedia
セキュリティ8.3k · #12479

yao-secret

できること

このスキルにより、エージェントは、あなたがエージェント用に保存したAPIキーやトークンなどの機密情報を取得できます。認証情報をファイルに書かずにエージェントに使わせたい人向けです。

使う場面

  • ✓タスクに、すでに設定済みのAPIキーやトークンが必要なとき。
  • ✓タスクを始める前に、どの機密情報が利用可能かを確認したいとき。
  • ✓必要な機密情報がなく、その追加方法を知らせてほしいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/YaoApp/yao/blob/main/tools/skills/yao-secret/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このプロジェクトに設定されている機密情報を確認してから、GitHubのトークンを使ってリポジトリを開いてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、まず利用可能な機密情報の名前を一覧にします。そして、必要になったときにのみ値を読み取ります。値が表示やログに出力されることはありません。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
よくある質問

エージェントは、トークンをチャットに表示しますか?

いいえ。スキルは、機密情報の値をログに残したり表示したりしないよう、エージェントに定めています。

一覧表示で値が見えますか?

いいえ。一覧には名前と説明だけが返されます。

機密情報がない場合はどうなりますか?

エージェントは、設定画面で追加するよう求めます。

詳細

作者による元の説明

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

人気

GitHubのスター
8.3k
ランキング
#12479
ライセンス
—
更新日
2026/10/19

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル