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 في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أرني سجل التدقيق لآخر يوم، وقائمة المستخدمين الذين سجّلوا الدخول هذا الأسبوع.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يستخدم وكيلك أداة المدير لكل طلب، بعد التحقق من أن الشخص مدير موثّق بدأ المحادثة. يذكر أي تغيير مخطط له وينتظر التأكيد قبل تنفيذه، ثم يعلن بالضبط ما الذي تغيّر.

المحتوى التقني (ملف 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
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة