返回顶部
j

jwt-toolkitJWT工具包

Decode, inspect, and validate JWT (JSON Web Token) tokens from the command line. Shows header, payload, algorithm, expiry status, and known claim labels. Use when debugging auth tokens, checking if a JWT is expired, inspecting JWT claims, decoding Bearer tokens, or analyzing token structure. Triggers on "decode JWT", "inspect token", "JWT expired", "parse JWT", "check Bearer token", "token claims".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
252
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

jwt-toolkit

JWT 工具包

零依赖的 JWT 解码与检查工具。可解码任意 JWT 令牌,并展示头部、载荷声明、算法信息、过期状态及签名详情。

快速开始

bash

解码 JWT 令牌


python3 scripts/jwt_decode.py eyJhbGciOiJIUzI1NiIs...

从文件读取令牌

python3 scripts/jwt_decode.py --file token.txt

从标准输入读取(通过 curl 等管道传输)

echo eyJ... | python3 scripts/jwt_decode.py --stdin

输出 JSON 格式(便于脚本处理)

python3 scripts/jwt_decode.py eyJ... --format json

自动处理 Bearer 前缀

python3 scripts/jwt_decode.py Bearer eyJhbGciOiJIUzI1NiIs...

功能特性

  • - 解码头部和载荷,并显示人类可读的声明标签
  • 展示算法详情及安全警告(例如 none 算法)
  • 检查令牌过期状态,显示剩余时间或已过期时长
  • 识别 20 余种标准及常见声明(iss、sub、aud、roles、scope 等)
  • 自动去除 Bearer 前缀
  • 支持 JSON 和文本两种输出格式
  • 无外部依赖——纯 Python 标准库实现

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 jwt-toolkit-1776093423 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 jwt-toolkit-1776093423 技能

通过命令行安装

skillhub install jwt-toolkit-1776093423

下载

⬇ 下载 jwt-toolkit v1.0.0(免费)

文件大小: 4.1 KB | 发布时间: 2026-4-15 13:09

v1.0.0 最新 2026-4-15 13:09
Initial release of jwt-toolkit — a zero-dependency tool to decode and inspect JWT tokens from the command line.

- Decode JWT tokens and display header, payload, algorithm, and signature details
- Inspect known claims with human-readable labels
- Automatically checks expiry status and remaining validity time
- Handles "Bearer" prefixes and standard input, file, or direct string input
- Supports both JSON and human-readable text output formats
- Built in pure Python with no external dependencies

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部