Implement secure JWT authentication with proper validation and token handling.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install jwt或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install jwt⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/jwt/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: JWT slug: jwt version: 1.0.1 description: Implement secure JWT authentication with proper validation, token lifecycle, and key management. metadata: {"clawdbot":{"emoji":"🔐","os":["linux","darwin","win32"]}} ---
| Topic | File | |-------|------| | Algorithm selection | algorithms.md | | Token lifecycle | lifecycle.md | | Validation checklist | validation.md | | Common attacks | attacks.md |
alg: none attack: reject tokens with algorithm "none"—some libraries accepted unsigned tokensexp (expiration): always set and verify—tokens without expiry live foreveriat (issued at): when token was created—useful for invalidation policiesnbf (not before): token not valid until this time—for scheduled accessiss (issuer): who created the token—verify to prevent cross-service token theftaud (audience): intended recipient—API should reject tokens for other audiencessub (subject): who the token represents—typically user IDexp is in future (with clock skew tolerance)iat is not unreasonably old (optional policy)iss matches expected issueraud includes your servicenbf if presentkid (key ID) claim to identify which key signed the tokenjsonwebtoken (Node), PyJWT (Python), java-jwt (Java), golang-jwt (Go)安装 JWT 后,可以对 AI 说这些话来触发它
Help me get started with JWT
Explains what JWT does, walks through the setup, and runs a quick demo based on your current project
Use JWT to implement secure JWT authentication with proper validation and toke...
Invokes JWT with the right parameters and returns the result directly in the conversation
What can I do with JWT in my finance & investment workflow?
Lists the top use cases for JWT, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/jwt/ 目录(个人级,所有项目可用),或 .claude/skills/jwt/(项目级)。重启 AI 客户端后,用 /jwt 主动调用,或让 AI 根据上下文自动发现并使用。
JWT 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
JWT 可免费安装使用。请查阅仓库了解许可证信息。
Implement secure JWT authentication with proper validation and token handling.
JWT 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using JWT
Identifies repetitive steps in your workflow and sets up JWT to handle them automatically