Chuyển đến nội dung
Skillpedia
Agent16k · #10904

secret-drop

Skill này làm gì

Cho phép trợ lý yêu cầu bạn một thông tin đăng nhập mới qua một biểu mẫu an toàn, lưu vào keychain của bạn. Dành cho người cần kết nối một dịch vụ mà không chia sẻ bí mật trong chat.

Khi nào nên dùng

  • ✓Khi một tác vụ cần một API key hoặc mật khẩu mà chưa ai lưu.
  • ✓Khi bạn có thể bị cám dỗ dán một bí mật vào chat.
  • ✓Khi dịch vụ cần tên người dùng và mật khẩu, hoặc một token duy nhất.

Liên kết skill

https://github.com/yc-software/qm/blob/main/skills-seed/secret-drop/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/yc-software/qm/blob/main/skills-seed/secret-drop/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi cần kết nối bảng điều khiển Acme của chúng tôi. Gửi cho tôi một liên kết an toàn để lưu API key.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Trợ lý tạo một liên kết dùng một lần với một biểu mẫu ngắn. Bạn điền các trường, và giá trị được lưu vào keychain của bạn. Liên kết chỉ hoạt động một lần rồi hết hạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Secret drop: request a new credential by link

Use this when a task needs a credential nobody has saved yet. Never ask for a secret in chat, and never tell the person to add it on the keychain page by hand.

  • A teammate's credential that is already saved: use the request-access skill instead.
  • A CLI with a device-code or browser login (gh, aws sso, gcloud): use interactive-login.

Mint the link

Only on a turn a person sent. Scheduled and trigger-fired turns are refused.

curl -fsS -X POST "$AGENT_API_URL/v1/keychain/drops" \
  -H "x-agent-capability: $AGENT_API_TOKEN" -H 'content-type: application/json' \
  -d '{"service":"acme","purpose":"sign in to the Acme dashboard","fields":[{"key":"ACME_EMAIL","label":"Email","secret":false},{"key":"ACME_PASSWORD","label":"Password"}]}'
  • service names the credential; purpose is one plain sentence the person sees on the form.
  • fields declares the form inputs (1–8). Keys are env var names; secret:false shows the input in clear text (usernames, emails). For a single token, omit fields and pass "envKey":"ACME_API_KEY" instead.
  • The link belongs to the person whose turn this is. If a different teammate in this conversation will fill it, add "onBehalfOf":"<their id>".
  • Send the header exactly as shown. Authorization: Bearer is not accepted.

The response is {dropId, url}. Give the person url exactly as returned. It carries a link-bound token, so a rebuilt URL will not work.

Then

  • Tell them in one line what the link is for. It works once and expires.
  • Stop. Don't poll.
  • When they submit, the value is saved encrypted to their keychain (and, in a channel or group, granted to this conversation) and this conversation wakes with the new credential's handle. Select that handle in execute.credentials to get the declared env vars.
  • If the link expires or they used the wrong account, mint a fresh one.
Câu hỏi thường gặp

Trợ lý có thấy bí mật tôi nhập không?

Bí mật được nhập vào biểu mẫu và lưu vào keychain của bạn, không gõ vào chat.

Các tác vụ theo lịch có thể yêu cầu bí mật theo cách này không?

Không. Liên kết chỉ được tạo cho tin nhắn do người gửi, không dành cho các lần chạy theo lịch hay tự động.

Một đồng đội có thể điền biểu mẫu không?

Có. Trợ lý có thể chỉ định một đồng đội khác điền liên kết thay cho bạn.

Chi tiết

Mô tả gốc của tác giả

Request a credential nobody has saved yet (an API key, a site login) with a one-time, expiring link that saves it to the person's keychain. Use instead of asking for secrets in chat or sending people to the keychain page.

repo: yc-software/qm

Độ phổ biến

Sao GitHub
16k
Vị trí xếp hạng
#10904
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự