Перейти к содержанию
Skillpedia
Разное16k · #10883

admin

Что он делает

Этот скилл позволяет проверенному администратору организации просматривать и управлять системой из чата, например проверять пользователей, настройки и журналы аудита. Он нужен администраторам, которым нужно проверять или менять что-то во всей организации.

Когда использовать

  • ✓Когда администратор просит посмотреть или изменить что-то в масштабах всей организации.
  • ✓Когда администратору нужно просмотреть журналы аудита, ошибки или список пользователей.
  • ✓Когда администратор просит изменить настройки в другой области.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/yc-software/qm/blob/main/skills-seed/admin/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Покажи журнал аудита за последний день и список пользователей, которые входили в систему на этой неделе.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент использует административный инструмент для каждого запроса, предварительно проверив, что человек является проверенным администратором и начал этот ход. Он называет запланированное изменение и ждёт подтверждения, прежде чем его внести, а затем сообщает, что именно изменилось.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

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

Частые вопросы

Может ли не администратор им пользоваться?

Нет. Права проверяются по действующему хранилищу полномочий при каждом вызове, поэтому им могут пользоваться только проверенные администраторы.

Изменит ли он что-то без вопроса?

Нет. Скилл требует подтверждения перед любым изменением, а чтение можно выполнять сразу.

Записываются ли его действия в журнал?

Да. События аудита администратора остаются привязанными к администратору, который выполнил действие.

Подробности

Оригинальное описание автора

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

Популярность

Звёзды на GitHub
16k
Место в рейтинге
#10883
Лицензия
MIT
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы