Jwt Decode

Decode and inspect JSON Web Tokens (JWTs) without verification. Use when the user provides a JWT string and wants to see its header, payload, or claims — e.g. "decode this JWT", "what's in this token", "inspect this JWT", "show me the claims", "parse this token". Also triggers on raw JWT strings (three base64url segments separated by dots).

23 stars 14 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add jsonwebtoken/jwt-skills --skill jwt-decode
Manual install
git clone --depth 1 https://github.com/jsonwebtoken/jwt-skills.git /tmp/jwt-skills
mkdir -p ~/.claude/skills
cp -r /tmp/jwt-skills/jwt-decode ~/.claude/skills/jwt-decode

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# JWT Decode

Decode a JWT by base64url-decoding its header and payload. Does NOT verify signatures — use `jwt-validate` for that.

## Steps

1. Split the token on `.` into three parts (header, payload, signature).
2. Base64url-decode and parse parts 1 and 2 as JSON.
3. Display header, payload (with all claims), and the raw signature string.
4. For `exp`, `nbf`, `iat` — show both the Unix timestamp and human-readable UTC. If `exp` is past, note **expired** and by how long.
5. Run security checks (see below).

## Output Format

```
## Header
{ "alg": "RS256", "typ": "JWT", "kid": "abc123" }

## Payload
{ "iss": "https://auth.example.com/", "sub": "user|12345", "exp": 1735689600 }

exp: 2025-01-01T00:00:00Z — EXPIRED (3 months ago)
iat: 2024-12-31T00:00:00Z

## Signature
Algorithm: RS256 | Signature: [base64url string]
(Not verified — use jwt-validate to verify)
```

## Security Checks

Flag these prominently when found:

- **`alg: none`** — Token is unsigned. Warn: "This token has no signature and cannot be trusted. Any party could have created or modified it." This is a known attack vector (CVE-2015-9235) where attackers strip signatures to bypass verification.
- **Sensitive data in payload** — JWTs are encoded, not encrypted. Warn if you spot passwords, secrets, API keys, or PII in claims.
- **Missing `exp`** — Token never expires. Flag as a security risk.
Read the full skill on GitHub

Details

Skill name
jwt-decode
Path
jwt-decode/SKILL.md
Repo updated
7 April 2026

FAQ

What does the Jwt Decode skill do?

Decode and inspect JSON Web Tokens (JWTs) without verification. Use when the user provides a JWT string and wants to see its header, payload, or claims — e.g. "decode this JWT", "what's in this token", "inspect this JWT", "show me the claims", "parse this token". Also triggers on raw JWT strings (three base64url segments separated by dots).

How do I install the Jwt Decode skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add jsonwebtoken/jwt-skills --skill jwt-decode. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Jwt Decode popular?

It lives in jsonwebtoken/jwt-skills, which has 23 GitHub stars and 14 forks.

Related skills

Jwt Encode

23

jsonwebtoken/jwt-skills

Create and sign JSON Web Tokens (JWTs) for testing and development. Use when the user wants to generate, create, build, or sign a JWT — e.g. "create a JWT", "generate a test token", "sign this payload", "make a JWT with these claims", "build an access token". Supports HMAC, RSA, and ECDSA algorithms.

Testing & QA14

Jwt Validate

23

jsonwebtoken/jwt-skills

Verify and validate JSON Web Tokens (JWTs) by checking signatures, expiration, claims, and structure. Use when the user wants to verify, validate, or check a JWT — e.g. "verify this token", "is this JWT valid", "check the signature", "validate this token against my JWKS", "is this token expired". Supports HMAC, RSA, and ECDSA with secrets, PEM keys, or JWKS endpoints.

Other14

Generate Command

59

ratacat/claude-skills

Create a new custom slash command following conventions and best practices

Other10

Macos Telemetry

49

robinebers/skills

Add and verify lightweight macOS runtime telemetry. Use when wiring Logger events or inspecting logs for windows, sidebars, menus, and actions.

Other

Wechat Red Envelope Cover Designer

43

wuchubuzai2018/expert-skills-hub

红包封面设计,微信红包封面设计技能,生成符合微信红包封面开放平台规范的封面设计图片,包括封面图、封面挂件、气泡挂件和封面故事素材。这个技能可以帮助用户从零开始设计符合微信红包封面平台标准的完整素材套件,确保所有素材都能顺利通过平台审核,并呈现出专业、喜庆的视觉效果。

Other

Day Start

33

sanghun0724/cmux-claude-skills

하루 시작 시 미리 정의된 cmux 워크스페이스들을 일괄 생성합니다. 이미 존재하는 워크스페이스는 건너뜁니다.

Other

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.