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

request-access

Skill này làm gì

Cho phép trợ lý xin quyền dùng đăng nhập hoặc khóa đã lưu của một người khi một lệnh cần đến. Dành cho công việc chung mà chủ sở hữu phải phê duyệt quyền truy cập.

Khi nào nên dùng

  • ✓Khi một lệnh cần thông tin đăng nhập do đồng đội lưu mà chưa được phê duyệt ở đây.
  • ✓Khi cuộc trò chuyện chưa có quyền cho một thông tin đăng nhập mà tác vụ cần.
  • ✓Khi bạn cần nói rõ cho chủ sở hữu biết lệnh sẽ làm gì trước khi họ phê duyệt.

Liên kết skill

https://github.com/yc-software/qm/blob/main/skills-seed/request-access/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/request-access/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

“Hãy xin Maya quyền truy cập khóa GitHub của cô ấy để bạn chạy lệnh triển khai.”

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

Cách hoạt động

Trợ lý gửi một yêu cầu nêu tên chủ sở hữu và dịch vụ, cùng một câu về mục đích. Một thẻ phê duyệt xuất hiện trong cuộc trò chuyện, và chỉ chủ sở hữu mới có thể phê duyệt.

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.

Request access to someone's credential

Use this when a command needs someone's credential and the Credentials section shows no handle for it here. Your own credentials in your own personal conversation never need this.

Request

One call, from this session or any sub-agent. The approval belongs to the whole conversation, so every session in it sees the same grant.

curl -sS -X POST "$AGENT_API_URL/v1/keychain/asks" \
  -H "x-agent-capability: $AGENT_API_TOKEN" -H 'content-type: application/json' \
  -d '{"owner":"<their name or principal id>","service":"<service, e.g. github>","purpose":"<what the command will do>"}'
  • The server finds the credential from owner and service. If it can't tell which one you mean, it answers 404 or 409 with candidates; pick one and send {"credential":"<its credential id>", ...} instead.
  • purpose is one plain sentence about the command, not the whole task.
  • If a request for that credential is already pending, the same one comes back. Don't ask twice.

Where the card shows up

You don't choose. The card appears where this conversation is: the Slack thread or channel, inline in the web session (and in its parent when you are a sub-agent), or the scheduled job's destination. Only the credential's owner can click it; nothing said in chat is approval.

Then

  • Tell the person in one short line that you asked the owner for access. No request ids, no request text, no "paused".
  • Stop. Don't retry, poll, or work around the missing credential.
  • When the owner approves, this conversation re-runs the blocked command on its own. Continue with one short line.
  • If they deny or it expires, say so in one line and offer another way.
Câu hỏi thường gặp

Trợ lý có dùng thông tin đăng nhập mà không cần phê duyệt không?

Không. Chỉ chủ sở hữu thông tin đăng nhập mới có thể phê duyệt, và tin nhắn trong chat không được tính là phê duyệt.

Thẻ phê duyệt xuất hiện ở đâu?

Nó xuất hiện ở nơi cuộc trò chuyện đang diễn ra, như một luồng Slack hoặc chat web.

Nó có hỏi lại nếu một yêu cầu đã đang chờ không?

Không. Nếu cùng một yêu cầu đang chờ, nó trả về yêu cầu đó và không hỏi hai lần.

Chi tiết

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

Ask a person for access to one of their keychain credentials when a command needs it and this conversation has no grant yet. The platform posts an approval card where this conversation is happening; the owner clicks it, and the blocked command re-runs.

repo: yc-software/qm

Độ phổ biến

Sao GitHub
16k
Vị trí xếp hạng
#10903
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ự