Skip to content

Agent Skills

jwtop ships four Agent Skills in skills/ — portable SKILL.md packages that teach a coding agent how to drive the CLI for JWT work: decoding, auditing, and forging tokens, from a plain-language request instead of a typed command. The format is open, not tied to any single tool — Claude Code, Cursor, OpenCode, Codex, and other agents that load SKILL.md packages can all use them.

jwtop

General driver for the full CLI: decode, verify, create, sign, crack, exploit. Reach for this when the ask doesn’t fit the other three.

jwt-decode-explain

Paste a token, get a plain-language walkthrough of the header/claims and why specific fields are risky. Read-only — never claims a signature is valid.

jwt-security-audit

Runs crack (offline crypto checks, plus a live probe if an endpoint is in scope) and turns the raw findings into a verdict per vulnerability class with remediation.

jwt-token-forge

Turns a spec — claims, algorithm, key type — into a real signed test JWT, generating an RSA/EC keypair with openssl when you don’t already have one.

npx skills is an open installer for SKILL.md packages — it detects which agent you’re running and drops the skill into that agent’s directory for you:

Terminal window
npx skills add cerberauth/jwtop --skill jwtop
npx skills add cerberauth/jwtop --skill jwt-decode-explain
npx skills add cerberauth/jwtop --skill jwt-security-audit
npx skills add cerberauth/jwtop --skill jwt-token-forge

Either way, each skill assumes jwtop is already on PATH (go install github.com/cerberauth/jwtop@latest, or go build -o jwtop . from inside a checkout) — see Installation.

You saySkill that firesWhat happens
”What’s in this token? eyJhbGciOi...jwt-decode-explainDecodes header/claims, explains each field, flags risky ones (alg=none, missing exp, embedded jwk, …)
”Is this JWT/API secure?”jwt-security-auditRuns jwtop crack, interprets findings by CWE/CVSS/OWASP category, hands back fixes ranked by what’s actually exploitable
”Give me an RS256 test token with sub=user123, expires in 1h”jwt-token-forgeGenerates an RSA keypair if needed, runs jwtop create, returns the signed token
”Does this endpoint accept alg=none?”jwtopRuns jwtop exploit algnone / jwtop crack --url and reports the result

Each skill is a SKILL.md plus supporting reference material the agent reads on demand:

  • jwtop/references/techniques.md — CWE/CVSS/behavior detail for every crack/exploit technique
  • jwt-decode-explain/references/risks.md — the full risk catalog behind the decode explanation
  • jwt-security-audit/references/remediation.md — concrete fix guidance per finding, keyed by report name

See the skills’ source on GitHub for the full triggering logic and workflow each one follows.