PlugWiki

API Key Management Skill: What It Does and How to Install It

Helps you design the API keys your platform gives its customers: format, storage, scoping, rotation and offboarding.

Installs
9.7K
on skills.sh
Stars
9
on GitHub
Files
5
besides SKILL.md
Updated
Nov 2026
last repo commit

api-auth-key-management makes Claude act as an API authentication designer for the keys your own platform issues to its API consumers. It asks six clarifying questions, then walks seven steps: key format and prefix, storage model, scoping, rotation, dashboard behavior, ownership and offboarding, and SOC 2 and PCI-DSS 4.0 lifecycle governance.

It loads when you mention API keys, key prefixes, key rotation, scoping, or revoking keys after someone leaves. It covers the provider side only; for OAuth it points you to oauth2-provider-design. It bundles four reference files and no scripts.

Good for

  • Engineers designing the API key system for a public API
  • Teams whose integrations run on a departed employee's personal key
  • Security leads preparing for SOC 2 or PCI-DSS questions about keys

Install api-auth-key-management

Claude Code

  1. 1

    Copy this prompt.

    Install the api-auth-key-management skill in Claude Code. Run this command:
    
    /plugin marketplace add samber/developer-platform-skills
    /plugin install developer-platform-skills@developer-platform-skills
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

The README installs every skill in the repo (61 skills/*/SKILL.md in the git tree), because skills here reference each other. api-auth-key-management is one of them. Pick one route, not both.

From the project README. Source.

What's in the skill

When it loads

Design the API-key authentication surface a platform issues to its own API consumers - key format with prefix+checksum conventions, hashed (irretrievable) vs encrypted (retrievable) storage, zero-downtime rotation with dual-key overlap, least-privilege scoping, individual vs org vs service-account ownership, self-service key dashboard behavior, and SOC 2 / PCI-DSS 4.0 lifecycle governance. Use whenever the user mentions API keys, secret keys, key prefixes, key rotation, key scoping, or revoking keys after an employee departure - even if they never say "API key management". Provider side only, not consuming another vendor's API. Do NOT use for OAuth authorization-server design - use samber/developer-platform-skills@oauth2-provider-design instead.

Sections in SKILL.md

  1. Clarifying questions
  2. Ownership tiers
  3. Key or OAuth - settle the boundary first
  4. Workflow
  5. 1. Key format and prefix
  6. 2. Choose the storage model
  7. 3. Choose the scoping model
  8. 4. Design rotation
  9. 5. Design the self-service dashboard behavior
  10. 6. Assign ownership and wire offboarding
  11. 7. Install compliance lifecycle governance
  12. Failure modes
  13. Measurement
  14. Invocation examples
  15. References

Key facts

Version in SKILL.md
1.0.2
Installs on skills.sh
9,687 (Nov 2, 2026)
GitHub stars (repo)
9 (Nov 2, 2026)
Last commit (repo)
Nov 1, 2026

What it includes

  • Asks six questions first: retrofit or new, key holders, OAuth, compliance, RBAC, timing.

    Before it designs anything it batches six questions. Greenfield or retrofit, who will hold keys, whether third-party apps act for your users, which compliance regimes apply, whether you already have RBAC that scopes could reuse, and your timing and effort ceiling.

    Try: “Design the API key system for our public API - today we issue one UUID per account and store it plaintext in Postgres.”

    Clarifying questions

  • Designs the key shape: type and environment prefix, random body, checksum.

    Keys follow a prefix, a high-entropy random body and a checksum, with the prefix encoding key type and environment. SKILL.md sets an entropy floor of at least 120 bits.

    1. Key format and prefix

  • Ranks three storage options and defaults to showing the key once and storing only a hash.

    The default is an irretrievable hash with a short plaintext prefix column for lookup. It steps up to encrypted retrievable storage only when lost keys dominate support load, and names workload identity as the option with nothing to leak.

    2. Storage model

  • Picks per-environment keys and restrictive scopes; fine-grained scoping when needed.

    Rejects a single account-wide key and a fail-open default where omitting scopes grants full access. Fine-grained resource scoping is promoted for compliance, enterprise demands or distinct team needs.

    3. Scoping model

  • Designs a one-call roll with an overlap window where old and new keys both work.

    Grace periods by scenario: 24 hours to 7 days for routine rotation, zero grace for confirmed compromise or offboarding. Never delete an old key before last-used data shows zero traffic.

    4. Rotation

  • Specifies sign up, create, rotate and revoke with no support ticket.

    The key list shows a label, creation date, last-used time and status, masks the key after creation, and updates last-used asynchronously.

    5. Self-service dashboard

  • Defaults production to service-account or org-owned keys; writes the leaver runbook.

    The offboarding runbook enumerates the leaver's keys, revokes each with zero grace, rotates shared credentials, and logs every action.

    6. Ownership and offboarding

  • Maps SOC 2 and PCI-DSS 4.0 expectations to key-lifecycle controls and product features.

    Notes that PCI-DSS 4.0 does not mandate a fixed rotation interval; it requires the cadence to be justified by a documented targeted risk analysis.

    7. Compliance lifecycle governance

From the official docs

Permissions

Low risk

This skill writes design advice and bundles no scripts, so the main thing to watch is where your agent saves notes.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It may save notes to developer-platform-context.md

    SKILL.md says that when your agent keeps memory in a file, it should consider using this file name. Our advice: keep it out of commits if it holds company plans. github.com

Technical details
Scopes
  • Asks you interview questions and writes a design document from your answers

Questions

How do I install api-auth-key-management?

Use the install box at the top of this page. The README says to install every skill in samber/developer-platform-skills, not one, because the skills hand work to each other. Pick one route per agent.

Does api-auth-key-management work in Claude, Codex and Cursor?

The README documents install routes for Claude.ai (plugin marketplace), Claude Code, Codex, Cursor, Gemini CLI and the skills.sh CLI. The install box lists each one.

What does it ask me before it designs anything?

SKILL.md lists six questions to ask first, and the answers change the later steps. Have your current setup and constraints ready.

Does it run scripts or need an API key?

It bundles no scripts. The folder holds SKILL.md, reference Markdown files and an evals file, and the skill works by asking you questions and writing advice.

Is api-auth-key-management safe to install?

It bundles no scripts, so installing it adds instructions and reference files rather than programs. SKILL.md also suggests that, if your agent keeps notes in a file, it uses developer-platform-context.md. Our advice: keep that file out of public commits if it holds company plans, and check any figures the skill cites against their sources before quoting them to customers.

How is it different from oauth2-provider-design?

api-auth-key-management covers the keys a platform issues to its own API consumers. SKILL.md says not to use it for OAuth authorization-server design and points to oauth2-provider-design for that. It also says to hand off to that skill the moment the answer is "OAuth for third-party apps".

Does it say how often to rotate keys?

No fixed interval. SKILL.md calls its grace periods practitioner conventions to adjust in the interview, says no universal rotation frequency exists, and notes PCI-DSS 4.0 requires a documented targeted risk analysis to justify your cadence.

Information

updated Nov 2, 2026

Folder
skills/api-auth-key-management

samber/developer-platform-skillsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 2
  1. samber/developer-platform-skills README · github.com
  2. api-auth-key-management SKILL.md · github.com

Updated Nov 2, 2026.