preset-admin

preset-admin is a skill for Claude Code from preset-io/agent-skills. It costs 45 tokens per session (537 once invoked), scanned A, original, Apache-2.0.

A skill for administering Preset teams and workspaces through the Preset Management API. It handles membership, invitations, roles, seat checks, workspace details, and audit logs, with confirmation required for access-changing actions.

In plain words
What is it for?
Use it to inspect memberships and roles, look up workspace or user identifiers, prepare access-change requests, and manage approved invites or role changes.
Why use it?
It helps resolve the correct teams, users, workspaces, and role identifiers before making administrative changes. This reduces the chance of changing access for the wrong target.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the preset-api-skills plugin — 15 skills shipped together

Good fit Use it to inspect memberships and roles, look up workspace or user identifiers, prepare access-change requests, and manage approved invites or role changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/preset-io/agent-skills/preset-admin
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add preset-io/agent-skills --skill preset-admin
Clone the repo
git clone --depth 1 https://github.com/preset-io/agent-skills

Made for: Claude Code.

Or install preset-api-skills, the plugin that ships this one along with the rest of its 15 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for preset-admin

README.md
[![agentmods](https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-admin/github.svg)](https://agentmods.dev/skills/preset-io/agent-skills/preset-admin)
Your own site
<a href="https://agentmods.dev/skills/preset-io/agent-skills/preset-admin"><img src="https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-admin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for preset-admin

Your own site · 80×15
<a href="https://agentmods.dev/skills/preset-io/agent-skills/preset-admin"><img src="https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-admin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00537
Opus 5.5 $0.00018 $0.00215
Sonnet 5.5 $0.00009 $0.00107
Haiku 4.5 $0.00005 $0.00054

Measured 1mo ago against content hash 35283401f007, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

preset-admin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (examples/team_memberships.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/preset-api-skills/skills/preset-admin/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

preset-admin

Use for Preset Management API administration beyond read-only workspace discovery.

Always

  • Auth and conventions come from preset-api (JWT exchange, base URLs, Rison); resolve the workspace hostname through the Management API when it is not already known.
  • Default to read-only preflight and ID/role lookup.
  • Resolve team, workspace, user, invite, and role identifiers from API responses before mutations.
  • Get explicit confirmation before role changes, invites, member removals, workspace lifecycle actions, audit downloads, or any write.
  • Use preset-roles-permissions for permission-sensitive role/access changes.

Decision Rules

  • Classify membership role and invite changes as approval-gated mutations.
  • Use metadata reads for membership, role, invite, and audit inspection.
  • Require target and effect summary before any access change.
  • Avoid applying invite or member role changes until approval is explicit.

Workflow Order

  1. Identify team, workspace, user, invite, member, and role identifiers.
  2. Inspect membership, role, invite, and audit metadata.
  3. Prepare approval summary with target and expected effect.
  4. Stop before invite, member role, removal, or workspace change.

Retrieve

Read the full file on GitHub · 47 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 47 lines · 45 tokens per session scan A 35283401f007

Subscribe to this mod's changes

preset-admin is a skill published in the GitHub repository preset-io/agent-skills (13 stars, last pushed 18d ago), licensed Apache-2.0. It adds 45 tokens to every session and 537 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.