Agent skill

JWT Handler

by majiayu000 in majiayu000/claude-skill-registry

JWT creation, validation, and management for SDK authentication

MITAuto-check: notesBackend & APIs

Install JWT Handler

skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill jwt-handler -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install majiayu000/claude-skill-registry jwt-handler --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/api/jwt-handler .claude/skills/jwt-handler && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
jwt-handler
GitHub stars
666
Used in
1 other repo
Token cost
~573 tokens
SKILL.md length
182 words
Files
2
Skills in repo
1,273
Repo updated
First seen
Licence
MIT

At a glance

JWT creation, validation, and management for SDK authentication

  • Works in 6 steps: Use asymmetric algorithms for public… → Implement key rotation via JWKS → Validate all standard claims (iss, aud,… → …
  • Tasks that involve Authentication
  • SKILL.md covers Overview, Capabilities, Target Processes and Integration Points, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

JWT Handler is an agent skill from majiayu000/claude-skill-registry. JWT creation, validation, and management for SDK authentication

Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).

It sits in Backend & APIs, covering Authentication. The repository describes itself as: Searchable Claude Code skills catalog with source-linked guides and generated registry artifacts. The licence is MIT.

When your agent uses it

  • Tasks that involve Authentication

Example prompts

  • “/jwt-handler”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep, Bash

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Use asymmetric algorithms for public validation
  2. Implement key rotation via JWKS
  3. Validate all standard claims (iss, aud, exp)
  4. Handle clock skew appropriately
  5. Keep token payloads minimal
  6. Never store sensitive data in JWTs

What it can do on your machine

Read from SKILL.md and the folder at commit 2d14a69. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

JWT Handler loads about 573 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 182 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~573

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Glob, Grep, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from majiayu000/claude-skill-registry at commit 2d14a69, republished under its MIT licence (© majiayu000). 182 words, ~573 tokens.

Download SKILL.mdSave it as .claude/skills/jwt-handler/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
jwt-handler
description
JWT creation, validation, and management for SDK authentication
allowed-tools
Read, Write, Edit, Glob, Grep, Bash
graph.domains
domain:software-engineering
graph.specializations
specialization:sdk-platform-development
graph.skillAreas
skill-area:authentication-authorization, skill-area:api-clients-sdks
graph.roles
role:platform-engineer
graph.topics
topic:api-design, topic:developer-experience

JWT Handler Skill

Overview

This skill implements JWT-based authentication for SDKs including token creation, validation, key rotation via JWKS, and secure claims handling.

Capabilities

  • Generate and validate JWTs with multiple algorithms
  • Implement JWKS (JSON Web Key Set) key rotation
  • Support multiple signing algorithms (RS256, ES256, EdDSA)
  • Handle token claims validation and extraction
  • Configure token expiration and refresh
  • Implement audience and issuer validation
  • Support nested JWTs and JWE encryption
  • Handle clock skew tolerance

Target Processes

  • Authentication and Authorization Patterns
  • SDK Architecture Design
  • Platform API Gateway Design

Integration Points

  • jose libraries (node-jose, python-jose)
  • JWKS endpoints for key distribution
  • Identity providers
  • Token introspection endpoints
  • Key management systems

Input Requirements

  • Signing algorithm preference
  • Claims schema requirements
  • Key rotation strategy
  • Validation requirements
  • Token lifetime configuration

Output Artifacts

  • JWT generation module
  • Token validation middleware
  • JWKS endpoint implementation
  • Claims extraction utilities
  • Key rotation automation
  • Token refresh handling

Usage Example

yaml
skill:
  name: jwt-handler
  context:
    algorithm: RS256
    issuer: "https://api.example.com"
    audience: "api-users"
    expiration: "1h"
    refreshExpiration: "7d"
    jwksEndpoint: "/.well-known/jwks.json"
    keyRotation:
      enabled: true
      period: "30d"
    claims:
      - sub
      - email
      - roles

Best Practices

  1. Use asymmetric algorithms for public validation
  2. Implement key rotation via JWKS
  3. Validate all standard claims (iss, aud, exp)
  4. Handle clock skew appropriately
  5. Keep token payloads minimal
  6. Never store sensitive data in JWTs

© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/api/jwt-handler of majiayu000/claude-skill-registry.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 2d14a69

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in majiayu000/claude-skill-registry, which our catalogue first saw on October 7, 2026.

Compare with similar skills

JWT Handler next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

JWT Handler compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
JWT Handler this skillmajiayu000/claude-skill-registry6661 repos~573Automated safety check: NotesMIT
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT
Supabase Development and Debuggingsupabase/agent-skills2.7k3 repos~3.6kAutomated safety check: PassMIT
Better Auth Best Practiceslatitude-dev/latitude-llm4.7k7 repos~1.6kAutomated safety check: PassMIT
Supabasecurvenote/curvenote1695 repos~2.2kAutomated safety check: PassCustom licence
Gitnexus Exploringaws-samples/sample-kolya-br-proxy10611 repos~749Automated safety check: PassMIT-0

Similar skills

  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • Official

    General Supabase skill for database, auth, Edge Functions, Realtime and storage work, plus client libraries, migrations, security audits, debugging and reading logs.

    2.7k GitHub starsUsed in 3 repos~3.6k tokens
    Backend & APIsAuto-check passed
  • Better Auth Best Practices

    latitude-dev/latitude-llm

    Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables.

    4.7k GitHub starsUsed in 7 repos~1.6k tokens
    Backend & APIsAuto-check passed
  • Supabase

    curvenote/curvenote

    A skill your agent uses when doing ANY task involving Supabase.

    169 GitHub starsUsed in 5 repos~2.2k tokens
    Backend & APIsAuto-check passed
  • Gitnexus Exploring

    aws-samples/sample-kolya-br-proxy

    Official

    A skill your agent uses when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of the codebase.

    106 GitHub starsUsed in 11 repos~749 tokens
    Backend & APIsAuto-check passed
  • Agentic Wallet

    coinbase/agentic-wallet-skills

    Crypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol to discover paid services, pay for API…

    127 GitHub starsUsed in 3 repos~1k tokens
    Backend & APIsAuto-check passed

More from majiayu000/claude-skill-registry

All 1,273 skills in this repo
  • Deep Research

    majiayu000/claude-skill-registry

    Multi-source deep research using firecrawl and exa MCPs. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 6 repos~1.1k tokens
    Auto-check passed
  • Exa Search

    majiayu000/claude-skill-registry

    Neural search via Exa MCP for web, code, and company research.

    666 GitHub starsUsed in 5 repos~856 tokens
    Auto-check passed
  • Fal AI Media

    majiayu000/claude-skill-registry

    Unified media generation via fal.ai MCP — image, video, and audio.

    666 GitHub starsUsed in 5 repos~1.7k tokens
    Auto-check passed
  • Pyzotero

    majiayu000/claude-skill-registry

    Interact with Zotero reference management libraries using the pyzotero Python client.

    666 GitHub starsUsed in 5 repos~1.6k tokens
    Auto-check: notes
  • Bgpt Paper Search

    majiayu000/claude-skill-registry

    Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server.

    666 GitHub starsUsed in 4 repos~619 tokens
    Auto-check: notes
  • Bio Alignment Pairwise

    majiayu000/claude-skill-registry

    Perform pairwise sequence alignment using Biopython Bio.Align.PairwiseAligner.

    666 GitHub starsUsed in 4 repos~1.7k tokens
    Auto-check passed

Categories

Questions about JWT Handler

What does JWT Handler do?

JWT creation, validation, and management for SDK authentication. JWT Handler is an agent skill from majiayu000/claude-skill-registry.

When should I use JWT Handler?

JWT Handler fits situations like: tasks that involve Authentication.

How do I install JWT Handler in Claude Code?

Run `npx skills add majiayu000/claude-skill-registry --skill jwt-handler -a claude-code`. Or copy the skill folder (skills/api/jwt-handler in majiayu000/claude-skill-registry) into .claude/skills/jwt-handler in your project. Claude Code loads it when a task matches its description.

How do I install JWT Handler in Codex?

Run `npx skills add majiayu000/claude-skill-registry --skill jwt-handler -a codex`. Or copy the skill folder (skills/api/jwt-handler in majiayu000/claude-skill-registry) into .agents/skills/jwt-handler in your project. Codex loads it when a task matches its description.

Can I use JWT Handler in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/claude-skill-registry --skill jwt-handler -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/jwt-handler, .gemini/skills/jwt-handler, .github/skills/jwt-handler and .opencode/skills/jwt-handler in your project.

What does JWT Handler need to run?

SKILL.md names no scripts, command-line tools or credentials: JWT Handler is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash.

Does JWT Handler access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is JWT Handler safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does JWT Handler use?

JWT Handler is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does JWT Handler use?

About 573 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to JWT Handler?

Skills that share tags, products or a category with JWT Handler: Fortify Development (coollabsio/coolify, 63k stars), Supabase Development and Debugging (supabase/agent-skills, 2.7k stars), Better Auth Best Practices (latitude-dev/latitude-llm, 4.7k stars) and Supabase (curvenote/curvenote, 169 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains JWT Handler?

majiayu000 (a GitHub user) maintains it in majiayu000/claude-skill-registry, which has 666 GitHub stars. The repository holds 1,273 skills in this directory. The repository was last updated on October 7, 2026.

Source: majiayu000/claude-skill-registry on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.