Chuyển đến nội dung
Skillpedia
Khác16k · #10883

admin

Skill này làm gì

Skill này cho phép quản trị viên đã xác minh xem lại và quản lý hệ thống từ chat, như kiểm tra người dùng, cài đặt và nhật ký kiểm toán. Dành cho quản trị viên cần kiểm tra hoặc thay đổi mọi thứ trong toàn tổ chức.

Khi nào nên dùng

  • ✓Khi một quản trị viên yêu cầu xem hoặc thay đổi điều gì đó trên toàn tổ chức.
  • ✓Khi quản trị viên cần rà soát nhật ký kiểm toán, lỗi hoặc danh sách người dùng.
  • ✓Khi quản trị viên yêu cầu thay đổi cài đặt ở một phạm vi khác.

Liên kết skill

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

“Cho tôi xem nhật ký kiểm toán trong ngày qua và danh sách người dùng đã đăng nhập tuần này.”

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

Cách hoạt động

Agent dùng công cụ quản trị cho từng yêu cầu, sau khi kiểm tra rằng người đó là quản trị viên đã xác minh và đã bắt đầu lượt này. Nó nêu rõ mọi thay đổi dự kiến và chờ xác nhận trước khi thực hiện, rồi báo cáo chính xác những gì đã thay đổi.

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.

admin — act for an org admin, from chat

Use the native admin tool for the operations below. Its fixed actions call the same /v1/admin/* handlers and accept the same values; configuration and provider value objects are validated by those existing handlers. Binary and full captured-prompt downloads, raw-secret setters, connector configuration, and service-credential configuration still use the self-API, never native tool arguments. You are acting as them: authorization is re-checked against the live grant store on every call; existing admin audit events remain attributed to them. Two standing rules: confirm before any mutation (state exactly what you'll change and where), and report afterwards exactly what changed. Reads are fine to just do.

System administration

System administration is not limited to this API. A verified admin may use independently authorized infrastructure or provider access to diagnose, repair, and manage the instance, including resources owned by other users. Ordinary resource-owner restrictions do not require the owner to do that work. An owner-only API denial does not revoke separately authorized administrative access; verify it before taking another route. Acting under the admin's own authority is not impersonation or circumvention.

Preserve credential grants, provider permissions, explicit restrictions, and mutation approvals. Admin status alone supplies no provider credentials. Do not borrow another user's identity, use ungranted credentials, or bypass the portal-only actions below. Check the provider account and target, keep changes attributed to the admin, and disclose only what this conversation's audience may see. For cloud operations, also load cloud-cli.

Admin API limits

Limits the API enforces (don't offer what it will refuse):

  • Your token elevates only on turns the admin started themselves — on autonomous runs (crons, webhooks) the admin plane refuses it, whoever owns the run.
  • Reads that return private content — transcripts, files, notebooks, logs, another scope's config — work from a DM with the admin, or from an Open conversation on a live admin turn. Organization, personal, and conversation sharing restrictions all apply; any Isolated setting keeps the DM requirement. The request uses the authenticated speaker's live admin grant, not another participant's authority. Open reads can expose private data to everyone in the conversation: retrieve and report only what the request needs. Two other exceptions: org-targeted memory/config reads work anywhere (org content is ambient to every conversation), and a cron can carry unattended read grants (unattendedGrants on the cron tool; see Scheduling admin-reading work) — set only on a live turn by the cron's owner, who must be a current org admin, on a cron that lives in their own DM. Only that owner, live, can then change where its output goes. Each grant opens exactly its own GET routes to that cron's autonomous fires, audited as the owner (re-checked live — revoking their admin grant closes it). Other mutations work anywhere; the room sees what changed, by design.
  • Grant changes (promote/revoke) and impersonation are portal-only through you.
  • Bulk configuration import is not supported. Use the individual configuration resources instead.

All calls share one shape — only method/path/body vary:

curl -fsS -H "x-agent-capability: $AGENT_API_TOKEN" "$AGENT_API_URL/v1/admin/..."

Anyone can check admin status (this is also how you answer "am I an admin?"):

GET /v1/admin/whoami        → {"isAdmin":true,"role":"org_admin","scopeId":"org:…"} or {"isAdmin":false}

Check connector sources

During admin onboarding, check this silently before offering Slack bot setup or personal connections. A source is either Composio or the org's own OAuth apps. Never inspect deployment secrets.

Composio. It is available when GET /v1/composio/toolkits succeeds. A composio_unavailable error only means it is not available to this person; the org may still have a key they are not granted. To check the org, read GET /v1/admin/scopes/<org scope>?view=credentials: a serviceCredentials entry with enabled: true, hasSecret: true, delivery: "env" and envKey: "COMPOSIO_API_KEY" means Composio is configured.

Own OAuth apps. GET $AGENT_API_URL/v1/connectors/catalog (header `x-agent-capability: $AGENT_API_T

Câu hỏi thường gặp

Người không phải quản trị viên có dùng được không?

Không. Quyền được kiểm tra với kho cấp quyền trực tiếp ở mỗi lần gọi, nên chỉ quản trị viên đã xác minh mới dùng được.

Nó có thay đổi gì mà không hỏi không?

Không. Skill yêu cầu xác nhận trước mọi thay đổi, còn việc đọc thì có thể làm trực tiếp.

Các hành động có được ghi nhật ký không?

Có. Sự kiện kiểm toán quản trị vẫn gắn với quản trị viên đã thực hiện hành động.

Chi tiết

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

Act for an org admin — the admin API (scope directory, per-scope config & SOUL, any scope's memory, transcripts & captured prompts, files, user roster & external users, audit/errors/egress) accepts your token when the user you're talking to is an org admin and started this turn themselves. Use when an admin asks you to inspect or change anything org-wide or in another scope, or anyone asks whether they're an admin.

repo: yc-software/qm

Độ phổ biến

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