jwx: Skill for Claude Code

.claude/skills/jwx-companion-bulk/SKILL.md

jwx-companion-bulk is a skill for Claude Code from lestrrat-go/jwx. It costs 0 tokens per session (1,923 once invoked), scanned A, original, MIT.

A project helper that applies the same instructions across several related GitHub code modules.

In plain words
What is it for?
Use it to update selected or all modules listed in a project configuration file, with optional dry runs or pull requests.
Why use it?
It removes the repetitive work of cloning modules, creating branches, copying changes, checking results, committing, and reporting.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is lestrrat-go/jwx's own configuration. It tells Claude Code how to work on jwx itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything jwx configures →

About the project

jwx is a Go library implementing JOSE security standards for signing, encrypting, parsing, and verifying JSON-based messages and tokens such as JWTs, JWSs, JWEs, and JWKs. Go developers use it to add authentication and related cryptographic protocols to products, and the catalogue includes guidance for assistants helping developers work with its version 4 API.

lestrrat-go/jwx · 2,424 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to lestrrat-go/jwx. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lestrrat-go/jwx/develop/v4/.claude/skills/jwx-companion-bulk/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lestrrat-go/jwx

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jwx-companion-bulk

README.md
[![agentmods](https://agentmods.dev/badge/skills/lestrrat-go/jwx/jwx-companion-bulk/github.svg)](https://agentmods.dev/skills/lestrrat-go/jwx/jwx-companion-bulk)
Your own site
<a href="https://agentmods.dev/skills/lestrrat-go/jwx/jwx-companion-bulk"><img src="https://agentmods.dev/badge/skills/lestrrat-go/jwx/jwx-companion-bulk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jwx-companion-bulk

Your own site · 80×15
<a href="https://agentmods.dev/skills/lestrrat-go/jwx/jwx-companion-bulk"><img src="https://agentmods.dev/badge/skills/lestrrat-go/jwx/jwx-companion-bulk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,923 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01923
Opus 5 $0.00000 $0.00962
Sonnet 5 $0.00000 $0.00385
Haiku 4.5 $0.00000 $0.00192

Measured 12d ago against content hash f8670374c07e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

jwx-companion-bulk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/jwx-companion-bulk/SKILL.md · 224 lines

How it starts

The opening of the file, as written. The whole thing — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.

jwx-companion-bulk

Apply a uniform operation across jwx companion modules (github.com/jwx-go/*). Handles cloning, branching, applying changes, verifying, committing, and reporting.

Arguments

/jwx-companion-bulk <instructions...>

  • $INSTRUCTIONS (required) — what to do across companion modules. Free-form text.

Flags (parsed from instructions)

  • --modules=<name,name,...> — target only these modules (comma-separated names)
  • --ref-module=<name> — use this module as the reference/template for file-copy operations
  • --pr — push branches and create PRs (off by default; commits locally only)
  • --dry-run — show what would change without modifying anything

If instructions are ambiguous, ask the user before proceeding.

1. Read Config

  1. Read companions.yaml from the project root.
  2. Parse the modules list. Each entry has: name, repo, branch.
  3. If --modules= was provided, filter to only those names. Error if a name is not found.

2. Ensure Clones

For each module in the (filtered) list:

  1. If $PROJECT/.companions/repo/<name>/ does not exist:

    cd $PROJECT
    git clone <repo> .companions/repo/<name>
    
  2. If it already exists, update it:

    cd $PROJECT/.companions/repo/<name>
    git fetch origin
    
  3. Determine the default branch for each module:

    • If branch is set in the config, use that.
    • Otherwise, read origin/HEAD:
      cd $PROJECT/.companions/repo/<name>
      git symbolic-ref refs/remotes/origin/HEAD
      
      This returns e.g. refs/remotes/origin/develop/v4 — strip the prefix.
    • If origin/HEAD is not set, query GitHub:
      gh repo view <org>/<name> --json defaultBranchRef --jq .defaultBranchRef.name
      
  4. Checkout the default branch:

    cd $PROJECT/.companions/repo/<name>
    git checkout <default-branch>
    
    cd $PROJECT/.companions/repo/<name>
    git pull --ff-only
    

3. Pre-flight Checks

Run these on ALL targeted modules BEFORE modifying ANY:

Read the full file on GitHub · 224 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 224 lines · 0 tokens per session scan A f8670374c07e

Subscribe to this mod's changes

jwx-companion-bulk is a skill published in the GitHub repository lestrrat-go/jwx (2,424 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,923 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

jwt

Development guide for the jwt JSON Web Token library for Go (github.com/kataras/jwt). Use this skill when signing or verifying JWTs, choosing a signing algorithm (HMAC, RSA, RSA-PSS, ECDSA, EdDSA), reading or validating standard or custom claims, setting expiry and clock-skew tolerance, rotating keys with a kid-based…

kataras/jwt · 107 tokens

use-modern-go

Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version-specific guidance to generated changes.

JetBrains/go-modern-guidelines · 32 tokens

migrate-goldmark-extension-v1-to-v2

Migrate goldmark extension from goldmark v1 to v2.

yuin/goldmark · 26 tokens

readme-generate

A tool that analyzes source code to generate English and Chinese README files and related project documentation.

agenvoy/Agenvoy · 67 tokens

gograph

Go repository intelligence for Claude Code. Use when reading, navigating, editing, reviewing, or refactoring a Go codebase. Exposes 64 query, analysis, and workflow capabilities through the local gograph MCP server, including bounded first-call exploration, AST-aware call graphs, blast-radius analysis, impact, and…

ozgurcd/gograph · 69 tokens

search-suitable-public-api

Search the curated Agenvoy public API list for an API that fits the current user need or skill context, then chain into the api-tool-add skill to register it under /.config/agenvoy/tools/api/. Triggers when the agent lacks a tool for a data lookup (weather, currency, geocoding, dictionary, etc.), when the user says…

agenvoy/Agenvoy · 131 tokens