Sub2API Admin
Wei-Shaw/sub2api
Manages a Sub2API deployment from the command line: accounts, redeem and invitation codes, groups, proxies, imports, exports and raw admin API calls.
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/metrics/egress)…
$ npx skills add yc-software/qm --skill admin -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yc-software/qm admin --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/yc-software/qm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-seed/admin .claude/skills/admin && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "admin" agent skill from https://github.com/yc-software/qm/tree/main/skills-seed/admin into .claude/skills/admin/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "admin", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/yc-software/qm/tree/main/skills-seed/adminType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add yc-software/qm --skill admin -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yc-software/qm admin --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yc-software/qm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills-seed/admin .agents/skills/admin && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "admin" agent skill from https://github.com/yc-software/qm/tree/main/skills-seed/admin into .agents/skills/admin/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "admin", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yc-software/qm --skill admin -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yc-software/qm admin --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yc-software/qm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills-seed/admin .cursor/skills/admin && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "admin" agent skill from https://github.com/yc-software/qm/tree/main/skills-seed/admin into .cursor/skills/admin/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "admin", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/yc-software/qm.git --path skills-seed/admin--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add yc-software/qm --skill admin -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yc-software/qm admin --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yc-software/qm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills-seed/admin .gemini/skills/admin && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "admin" agent skill from https://github.com/yc-software/qm/tree/main/skills-seed/admin into .gemini/skills/admin/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "admin", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install yc-software/qm adminInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add yc-software/qm --skill admin -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yc-software/qm.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills-seed/admin .github/skills/admin && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "admin" agent skill from https://github.com/yc-software/qm/tree/main/skills-seed/admin into .github/skills/admin/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "admin", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yc-software/qm --skill admin -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yc-software/qm admin --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yc-software/qm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills-seed/admin .opencode/skills/admin && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "admin" agent skill from https://github.com/yc-software/qm/tree/main/skills-seed/admin into .opencode/skills/admin/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "admin", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
adminAct 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/metrics/egress)…
Admin is an agent skill from yc-software/qm. 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/metrics/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.
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Multiplayer agent harness for work. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 23af31b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
RESEND_API_KEYAGENT_API_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Admin loads about 3.1k tokens when it runs. Until then it costs about 108 tokens; SKILL.md has 1,410 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from yc-software/qm at commit 23af31b, republished under its MIT licence (© yc-software). 1,410 words, ~3,113 tokens.
.claude/skills/admin/SKILL.md (or your agent's skills folder).A connector skill: no new tool. When the chatting user is an org admin (your system
prompt says so — "Acting for an org admin"), the /v1/admin/* endpoints accept your
token. You are acting as them: authorization is re-checked against the live grant
store on every call, and every call is audited under their name. 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 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.
Limits the API enforces (don't offer what it will refuse):
unattendedGrants on the cron:
admin.sessions.read, admin.audit.read, admin.metrics.read, admin.egress.read,
admin.files.read) — set only on a live turn by the cron's owner, who must be a
current org admin, on a personal-scope cron running as its owner. 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.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 this silently before offering Slack bot setup during admin onboarding. It is
separate from personal account connections. Verify admin status first. On a
human-started admin turn, read GET /v1/admin/slack-installation; it returns setup
metadata, not tokens. A failed read means unknown, not absent. Never inspect
deployment secrets to infer status.
configured: true: skip silently during onboarding, including environment-backed
installs. Do not add a setup heading, say "already connected", or ask for a test DM.
Configuration is not a live connectivity check; troubleshoot only if asked.managed: true, configured: false: leave disabled setup alone unless the admin
asks to resume or re-enable it. Do not advertise it during onboarding.source: "invalid_environment": this is incomplete setup, not an absent app. Do
not create a duplicate; offer to finish the existing setup using its secure page.For company-owned provisioning, the status response supplies setup.tokenUrl,
setup.submitUrl, and setup.installUrl. They are stable authenticated QM entry
links, not expiring tickets. Never invent URLs or mint launch tickets in the shell.
On the web surface, post Set up Slack once, using the returned URL. The conversation renders one live checklist with all three links together in one message: Create token, Submit token, and Add to Slack, plus the instructional GIF. It checks progress in place without another assistant reply. Do not duplicate that checklist in prose. On other surfaces, present all three returned links together:
setup.tokenUrl. Under App Configuration Tokens, choose
Generate Token, select the intended workspace, and copy the access token,
not the refresh token.setup.submitUrl, the secure provisioning form. This is
not a generic keychain token-drop. The token can manage other apps they own in
that workspace. QM creates/configures its app, then discards the token.
Never paste it in chat, memory, files, or the keychain.setup.installUrl after submitting the token, review the
workspace, and choose Allow. The company owns the app.setup.appReady means the app exists; it does not mean it is installed.
Only verified setup.connected together with configured warrants Connected.
Require a real reply before claiming the bot works, not as an onboarding prerequisite.
A failed status read or setupUnavailable means unknown, not absent. Do not restart
provisioning or create a duplicate. Retry the existing links or follow recovery guidance.
Older services may return installAvailable: true without setup. That only promises
the authenticated dashboard Add to Slack action. Give its known entry link and
instructions together instead of promising a checklist or fabricating a token-drop.
Without managed installation, use the returned createUrl and the known dashboard's
workspace app guide. Do not ask for a configuration token this flow cannot consume.
Have them enter credentials only in its secure form. Do not guess scopes, callback
URLs, or credential requirements. Setup is optional; continue onboarding if deferred.
Most endpoints take ?scope=<scopeId> (org:<org>, personal:<user>, channel:<id>).
Don't guess ids — list them:
GET /v1/admin/scopes → every scope with display labels (#channel names, people) and what lives thereGET /v1/admin/scopes/<scopeId> → resolved config: commandPolicy, soul (+version), egress, flags, connectors, serviceCredentials
PUT /v1/admin/scopes/<scopeId>/<resource> → resource ∈ soul | command-policy | egress |
connectors | service-credentials |
base-model (org-wide LLM; body { modelId } — e.g. gpt-5.5; empty string clears)GET first, then PUT the corrected value (soul takes {content}, egress takes
{allowedHosts,deniedHosts}, the toggles take {on}). Changes apply next turn.
GET /v1/admin/memory?scope=<scopeId> → that scope's whole notebook
PUT /v1/admin/memory?scope=<scopeId> {"content":"…full replacement…"}(For "remember this org-wide" you don't need the admin plane at all — "scope":"org"
on the memory self-API is the lighter path; see the memory skill.)
GET /v1/admin/sessions?scope=&limit=&cursor= → conversation listing (turns, last activity); pass nextCursor for older rows
GET /v1/admin/sessions/<id>?scope= → a transcript
GET /v1/admin/sessions/<id>/llm?scope= → captured provider requests — what the model actually saw (debugging "why did it do X")
GET /v1/admin/runs?scope= → queued/in-flight/recent runs
GET /v1/admin/files?scope= → document store; read?id= / download?id= for content
GET /v1/admin/volumes?scope= → a scope's computer/backup contents (sizes only)
GET /v1/admin/crons|deployments|skills?scope= → artifacts by ownerGET /v1/admin/audit?scope= GET /v1/admin/errors?scope= GET /v1/admin/metrics?scope=
GET /v1/admin/egress?scope= GET /v1/admin/retention
GET /v1/admin/users → roster + admin status (org-wide)Outside collaborators, admitted by email with a role and an expiry; they sign in at the portal with that address until it lapses. Listed alongside the roster:
GET /v1/admin/users → externalUsers: [{email, role, expiresAt, invitedBy, status: active|expired}]
POST /v1/admin/external-users {"email":"ana@partner.com","expiresAt":"2026-12-31"} role defaults to member; expiresAt required (a bare date means end of that day UTC; ISO date-time or epoch ms also work)
DELETE /v1/admin/external-users/<email> → revokes access now; the row stays listed as expired (a DELETE a day after expiry removes it)Confirm with the admin before inviting or revoking — say who, which role, and until
when. The invitation email needs Resend configured on core (RESEND_API_KEY +
AUTH_EMAIL_FROM); without it the user is still added. When the response has
emailSent:false, tell the admin why (emailProblem) and hand them signInUrl to pass
along themselves. The org_admin role for externals is portal-only, like every other
grant change — don't offer it.
Not available through you: who governs the org changes only in the admin dashboard,
where the admin acts directly. If asked, point them there — don't try the API
(POST/DELETE /v1/admin/grants refuses agent tokens).
403 admin grant required for this scope — the user isn't an org admin (or was just
revoked). Say so; don't retry or work around it.403 … require a turn the admin started themselves — this is an autonomous run
(cron/webhook); admin actions only ride turns the admin personally initiated. Say so.403 … returns private content — ask the agent in a DM — the shared room does not have effective Open access for this live admin turn;
tell the admin to ask again in a DM with you (or, for reads they want recurring
on a schedule, to put an unattended read grant on a personal-scope cron — from
their DM, never from here).403 … grant changes (promote/revoke) are portal-only — point them at the dashboard.403 granting or removing org admin for an external user is portal-only … — same
answer: the dashboard.409 that address already belongs to a member of the org … — org email domain, Slack
directory, sign-in allow-list, or someone who has already used the agent. They are not
external; to promote them, point the admin at Grant org admin in the dashboard and
tell them to enter the email as the principal ID. The person need not appear in Users first.409 that address holds an org admin grant of its own … — the admin manages that grant
under Admins in the dashboard first.403 capability token not valid for this route — this core predates agent admin
access; the user must use the admin dashboard.© yc-software, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills-seed/admin of yc-software/qm.
Open the folder on GitHubat commit 23af31b
Admin next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Admin this skillyc-software/qm | 15k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Sub2API AdminWei-Shaw/sub2api | 43k | 1 repos | ~717 | Automated safety check: Pass | LGPL-3.0 | |
| Admin Access Registersickn33/agentic-awesome-skills | 47k | 1 repos | ~4.2k | Automated safety check: Pass | MIT | |
| Brilliant Directories AutomationComposioHQ/awesome-claude-skills | 77k | 3 repos | ~783 | Automated safety check: Pass | None | |
| Google Admin AutomationComposioHQ/awesome-claude-skills | 77k | 3 repos | ~1.7k | Automated safety check: Pass | None | |
| AI Act Readinessalirezarezvani/claude-skills | 28k | — | ~1.8k | Automated safety check: Pass | MIT |
Wei-Shaw/sub2api
Manages a Sub2API deployment from the command line: accounts, redeem and invitation codes, groups, proxies, imports, exports and raw admin API calls.
sickn33/agentic-awesome-skills
Admin account register: system, main and backup admin, seats, plan, 2FA, shared logins and access-review dates, as CSV, SQL, JSON Schema or Notion on request.
ComposioHQ/awesome-claude-skills
Automate Brilliant Directories tasks via Rube MCP (Composio).
ComposioHQ/awesome-claude-skills
Automate Google Workspace Admin tasks via Rube MCP (Composio): manage users, groups, memberships, suspend accounts, create users, add aliases.
alirezarezvani/claude-skills
/cs:ai-act-readiness <system — EU AI Act 6-question forcing interrogation.
mukul975/Anthropic-Cybersecurity-Skills
Implement Microsoft's Enhanced Security Admin Environment (ESAE) tiered administration model for Active Directory, covering Tier 0/1/2 separation, privileged access workstations (PAWs)…
yc-software/qm
Drive a real stealth browser from your shell — act on websites (order food, file an expense, pull data behind a login), with per-person persistent sign-ins via the provider's managed auth (Kernel…
yc-software/qm
Show the app connection picker or setup widget when users ask to connect apps, reopen setup, or need an app that isn't connected yet.
yc-software/qm
Run the current worktree as a production-shaped local dev instance with web, Slack, or both, on a real LLM + Postgres.
yc-software/qm
Work with GitHub and GitLab repositories through resident gh/glab/git auth on the agent computer.
yc-software/qm
Read and act on the user's Gmail, Google Calendar, and Google Tasks through per-user OAuth.
yc-software/qm
Deliberately search, add to, or curate your long-term memory with the memory tool — beyond the automatic recall/capture every turn already does.
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/metrics/egress)…. Admin is an agent skill from yc-software/qm. 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/metrics/egress) accepts your token when the user you're talking to is an org admin and started this turn themselves.
Admin fits situations like: youre talking to is an org admin and started this turn themselves; an admin asks you to inspect; change anything org-wide; in another scope.
Run `npx skills add yc-software/qm --skill admin -a claude-code`. Or copy the skill folder (skills-seed/admin in yc-software/qm) into .claude/skills/admin in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yc-software/qm --skill admin -a codex`. Or copy the skill folder (skills-seed/admin in yc-software/qm) into .agents/skills/admin in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yc-software/qm --skill admin -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/admin, .gemini/skills/admin, .github/skills/admin and .opencode/skills/admin in your project.
Going by SKILL.md and its folder, Admin needs the command-line tools its instructions call (curl) and credentials named RESEND_API_KEY and AGENT_API_TOKEN. Our summary lists: A credential in AGENT_API_TOKEN; A credential in RESEND_API_KEY.
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Admin is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Admin: Sub2API Admin (Wei-Shaw/sub2api, 43k stars), Admin Access Register (sickn33/agentic-awesome-skills, 47k stars), Brilliant Directories Automation (ComposioHQ/awesome-claude-skills, 77k stars) and Google Admin Automation (ComposioHQ/awesome-claude-skills, 77k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
yc-software (a GitHub organization) maintains it in yc-software/qm, which has 15,357 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 6, 2026.
Source: yc-software/qm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.