authgear-server: Skill for Claude Code

.claude/skills/add-portal-admin-api-mutation/SKILL.md

add-portal-admin-api-mutation is a skill for Claude Code from authgear/authgear-server. It costs 24 tokens per session (167 once invoked), scanned A, original, Apache-2.0.

A coding guide for adding a Portal Admin GraphQL mutation. GraphQL is an API format in which clients request specific data operations and fields.

In plain words
What is it for?
Use it to create mutation files, select fields that exist in the schema, follow operation naming conventions, and regenerate TypeScript types.
Why use it?
It reduces schema mistakes by requiring developers to check the existing API definition and regenerate types after the mutation is added.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is authgear/authgear-server's own configuration. It tells Claude Code how to work on authgear-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything authgear-server configures →

About the project

Authgear is an open-source identity and authentication service that provides login, account management, multi-factor authentication, passkeys, and single sign-on for applications. SaaS and mobile-app developers can run it themselves or use Authgear Cloud to manage consumer and enterprise user access. The catalogue entries relate to operating and configuring Authgear's authentication workflows.

authgear/authgear-server · 2,028 stars · on GitHub · authgear.com

Reuse

Borrowing it

Nothing to install: this file belongs to authgear/authgear-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/authgear/authgear-server/main/.claude/skills/add-portal-admin-api-mutation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/authgear/authgear-server

Made for: Claude Code.

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 add-portal-admin-api-mutation

README.md
[![agentmods](https://agentmods.dev/badge/skills/authgear/authgear-server/add-portal-admin-api-mutation.svg)](https://agentmods.dev/skills/authgear/authgear-server/add-portal-admin-api-mutation)
Your own site
<a href="https://agentmods.dev/skills/authgear/authgear-server/add-portal-admin-api-mutation"><img src="https://agentmods.dev/badge/skills/authgear/authgear-server/add-portal-admin-api-mutation.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 167 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00024 $0.00167
Opus 5 $0.00012 $0.00084
Sonnet 5 $0.00005 $0.00033
Haiku 4.5 $0.00002 $0.00017

Measured 7d ago against content hash 73ac0505aadd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

add-portal-admin-api-mutation 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 7d ago.

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.

.claude/skills/add-portal-admin-api-mutation/SKILL.md · 21 lines

What it actually says

Follow this skill when adding a Portal Admin GraphQL mutation.

Workflow

  1. Read ./portal/src/graphql/adminapi/schema.graphql first.
  2. Create the .graphql file under ./portal/src/graphql/adminapi/mutations.
  3. Query all fields on the top-level entity unless the user explicitly says otherwise.
  4. Avoid nested entities unless the user asked for them.
  5. Run cd ./portal && npm run gentype after adding the file.

Notes

  • Keep the operation name consistent with existing Portal GraphQL naming.
  • Do not invent schema fields; use only what exists in the schema file.
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. 7d ago First seen · 21 lines · 24 tokens per session scan A 73ac0505aadd

Subscribe to this mod's changes

add-portal-admin-api-mutation is a skill published in the GitHub repository authgear/authgear-server (2,028 stars, last pushed 2d ago), licensed Apache-2.0. It adds 24 tokens to every session and 167 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

zeroid

MANUAL TRIGGER ONLY: invoke only when user types /zeroid. Identity infrastructure for AI agents — register identities, issue tokens, delegate to sub-agents, revoke credentials, and manage credential policies via the Zeroid REST API.

highflame-ai/zeroid · 51 tokens

configuring-oauth2-authorization-flow

Configure secure OAuth 2.0 authorization flows including Authorization Code with PKCE, Client Credentials, and Device Authorization Grant. This skill covers flow selection, PKCE implementation, token.

26zl/cybersec-toolkit · 44 tokens

auth0-docs

Auth0 — identity platform: auth flows, Universal Login, SSO, identity providers, MFA, RBAC, Actions, tokens.

pledgeandgrow/pledge-skills · 32 tokens

totp-oauth

Fermi's own OAuth 2.0 + TOTP owner authentication - how clients connect, how the 2FA login works, and how to roll it back.

abel30567/fermi-mcp · 38 tokens

keycloak-migration-doctor

Preflight a Keycloak export, import or migration on a Skycloak-managed cluster against the known blockers, and diagnose a job that already failed by reading the failure reason the API records but the dashboard notice does not show. Use when an export or import fails, a migration stalls, or before moving realm data in…

sky-cloak/skycloak-mcp · 72 tokens

configuring-oauth2-authorization-flow

Configures secure OAuth 2.0 authorization flows, including Authorization Code with PKCE, Client Credentials, and Device Authorization Grant, covering flow selection, PKCE implementation, token lifecycle management, and scope design per OAuth 2.1. Use when implementing or hardening OAuth 2.0…

Youngmaidainon/Agent-Level-Up · 84 tokens