Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add resonatehq/resonate-skills --skill resonate-token-authentication-typescriptgit clone --depth 1 https://github.com/resonatehq/resonate-skillsWrote 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.
[](https://agentmods.dev/skills/resonatehq/resonate-skills/resonate-token-authentication-typescript)<a href="https://agentmods.dev/skills/resonatehq/resonate-skills/resonate-token-authentication-typescript"><img src="https://agentmods.dev/badge/skills/resonatehq/resonate-skills/resonate-token-authentication-typescript/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.
<a href="https://agentmods.dev/skills/resonatehq/resonate-skills/resonate-token-authentication-typescript"><img src="https://agentmods.dev/badge/skills/resonatehq/resonate-skills/resonate-token-authentication-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.03404 |
| Opus 5.5 | $0.00018 | $0.01362 |
| Sonnet 5.5 | $0.00009 | $0.00681 |
| Haiku 4.5 | $0.00005 | $0.00340 |
Grade A, and why
resonate-token-authentication-typescript 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 500 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Resonate Token Authentication & Authorization (TypeScript)
Overview
Resonate supports JWT-based authentication and prefix-based authorization to secure access to the Resonate server and control which promises clients can access. This enables multi-tenant systems, role-based access control, and isolation between different workers or services.
Core principle: Generate JWT tokens signed with a private key, configure the Resonate server with the public key, and clients present tokens to authenticate. Optionally use the prefix claim for fine-grained authorization.
Mental Model
Without Auth:
Client → Resonate Server → All Promises Accessible
With Token Auth:
Client + Valid JWT → Resonate Server → All Promises Accessible
Client + Invalid JWT → Resonate Server → REJECTED (401 Unauthorized)
With Prefix Auth (Multi-Tenant):
Client + JWT(prefix="tenant-1") → Access only "tenant-1:*" promises
Client + JWT(prefix="tenant-2") → Access only "tenant-2:*" promises
Client + JWT(prefix="worker-a") → Access only "worker-a:*" promises
Setup: Generate Keys and Tokens
1. Generate RSA Key Pair
# Generate private key (keep this secret!)
openssl genrsa -out private_key.pem 2048
# Extract public key (share with Resonate server)
openssl rsa -in private_key.pem -pubout -out public_key.pem
Security:
- Store
private_key.pemsecurely (never commit to git, use secrets manager) public_key.pemcan be deployed with server configuration
2. Install JWT CLI Tool
# macOS
brew install mike-engel/jwt-cli/jwt-cli
# Other platforms
# https://github.com/mike-engel/jwt-cli#installation
3. Generate JWT Tokens
Basic authentication token (no prefix):
jwt encode --secret @private_key.pem -A RS256 '{}'
Token with prefix claim (for authorization):
jwt encode --secret @private_key.pem -A RS256 '{"prefix":"tenant-1"}'
Store token in environment variable:
export MY_TOKEN=$(jwt encode --secret @private_key.pem -A RS256 '{"prefix":"worker-1"}')
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.
- 2mo ago First seen · 500 lines · 45 tokens per session scan A 4b3752eb0ac2
resonate-token-authentication-typescript is a skill published in the GitHub repository resonatehq/resonate-skills (7 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 45 tokens to every session and 3,404 once invoked, about $0.0002 per session on Opus 5.5. 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-31.
Other skills, from other repositories
tidebase
Give AI agents an identity and a credential vault (broker API calls so the agent and model never see the secret), plus checkpoint/resume, durable queues and cron schedules, cancellation, human approval gates, live progress state, subagent fanout, and per-run cost tracking, using Tidebase (open-source…
create-tech-design
Only use when the user explicitly invokes this skill by name.
iterate-tech-design
Only use when the user explicitly invokes this skill by name.
implement-outline
Only use when the user explicitly invokes this skill by name.
iterate-implementation
Only use when the user explicitly invokes this skill by name.
create-plan
Only use when the user explicitly invokes this skill by name.