/identity-skills:auth-seamsfrom identity-skills
Use when a diff touches tokens, sessions, policy checks, identity claims, sign-in, MFA, recovery or federation flows, or trust boundaries such as webhooks and tenant filters. Classifies crossings by attacker gain, routes by the project's seams registry, seeds it.
Ships in identity-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Crew's seam-detection defines what a seam crossing is and how to report one;
seam-alert-routing defines who signs off. This skill adds the identity
shapes to detect. Where the project has a protected-seams local skill, its
entries are the record of truth — names, urgency and reviewers — and outrank
everything below; identity-surfaces, if present, tells you which paths are
identity code at all.
This skill never fills protected-seams. A project keeps one registry for every
kind of seam, with an approver behind it. With no registry, detect by the gains
below, say the registry is missing, and offer the seed entries.
Every auth seam protects against one thing an attacker could gain. Classify a change by the gain it would hand over, not by the file it lives in; one change can hand over more than one.
| Gain | The attacker… | Where it hides |
|---|---|---|
| Impersonation | is taken for someone or something else | token verification (audience, issuer, algorithm, key source, expiry, skew); claims accepted from a header, query or body; webhook and callback signatures; service-to-service credentials; identity linking and federation binding |
| Bypass | skips a step meant to stop them | sign-in, MFA, step-up, recovery, contact-address change, invite acceptance; the flow state machine; middleware order; fail-open branches around a check |
| Escalation | does more, or reaches further, than they may | policy checks added, removed, inlined or defaulting to allow; role, permission and scope constants; claim-to-role mapping; tenant or organisation filters; user-supplied IDs reaching privileged operations |
| Persistence | keeps access after it should end | session and token lifetimes, rotation, revocation on logout, password change and recovery; refresh-token reuse; cookie scope and flags; "remember me" |
Where a file lives only tells you where to look. Whether a seam is crossed depends on what the change lets someone do: a refactor that moves a check and keeps its behaviour is a Note; a change in what is allowed is Required.
identity-surfaces location or matching identity vocabulary (token, session,
claim, policy, permission, role, scope, tenant, webhook, signature, otp, mfa,
recovery). An unmarked file can still cross a seam; read it if it touches
request authentication or authorization.seam-detection's finding format and route through
seam-alert-routing. Reviewers come from the matched registry entry. For a
crossing no entry covers, there is no default reviewer: say which gain it
hands over and ask the operator who reviews that gain here.identity-ground-rules for what may not be logged — logging a credential is
a finding);When unsure, flag. A false positive costs a short discussion.
During Crew onboarding, or when asked, open seed-seams.md and
propose the entries that apply to this project for its existing protected-seams
registry, with each protected pattern rewritten for the code you found. Each
proposed entry is a diff the operator commits, and it needs the registry's
approver. If the project has no registry, propose creating it from Crew's
protected-seams stub with these entries, as one choice for the operator.
| Mode | When | Output |
|---|---|---|
| Quick | a small diff, one gain plausible | findings list, gains checked |
| Thorough | a flow, policy or token change; or no registry | findings, authority delta per crossing, proposed registry entries |
| Critique | an existing seam review or registry | gaps, false positives, gains with no entry or no reviewer |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/account-investigationUse when investigating a possible account takeover, a user acting as or receiving mail for another user, wrong-account attribution, a stuck sign-in or sign-up state, or a few flagged accounts. Read-only and hypothesis-driven; rivals tested by the cheapest telling evidence, PII-safe output./auth-flow-tracingUse when a sign-in, token, session or identity flow spans more than one service or a vendor and you must explain what happens to the request end to end, or why it fails in between. Follows the identity backwards from where it is used to where it was proven, step by step./auth-funnel-signaturesnpx claudepluginhub pixeloven/crew --plugin identity-skills