Borrowing it
Nothing to install: this file belongs to ShinyDapps/l402-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ShinyDapps/l402-kit/main/AGENTS.mdgit clone --depth 1 https://github.com/ShinyDapps/l402-kitWrote 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/instructions/shinydapps/l402-kit/agents-md)<a href="https://agentmods.dev/instructions/shinydapps/l402-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/shinydapps/l402-kit/agents-md/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/instructions/shinydapps/l402-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/shinydapps/l402-kit/agents-md.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.01570 | $0.01570 |
| Opus 5.5 | $0.00628 | $0.00628 |
| Sonnet 5.5 | $0.00314 | $0.00314 |
| Haiku 4.5 | $0.00157 | $0.00157 |
Grade A, and why
l402-kit AGENTS.md scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
| `gh` | GitHub CLI (if installed). Not installed by default on this machine — use API + curl | How it starts
The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — machine-readable navigation
Why this file: anyone driving this repo from an AI agent (Claude Code, Cursor, etc.) reads this first to orient. Structured for grep + cheap context.
Companion:
CLAUDE.md(Claude-specific ops),HANDBOOK.md(deep walkthrough),ARCHITECTURE.md(where-is-what).
Entry points by question
| If you're trying to... | Read this first |
|---|---|
| Understand the project in 60s | README.md |
| Find where a file lives | ARCHITECTURE.md |
| Operate / deploy / debug | CLAUDE.md |
| Deep walkthrough of every flow | HANDBOOK.md |
| Report or understand security | SECURITY.md |
| Contribute code | CONTRIBUTING.md |
| See live state | STATUS.md |
File invariants
# This block is meant to be parsed by tools.
project:
name: l402-kit
primary_branch: main
license: MIT
org: ShinyDapps
maintainer: ThiagoDataEngineer
domain: l402kit.com
docs: docs.l402kit.com
protocols:
- L402 # HTTP 402 + BOLT11 + macaroon
- Lightning Network
- CloudEvents 1.0 # LAW-N events
- MCP # Model Context Protocol (npx l402-kit-mcp)
sdks:
typescript:
path: src/
tests: src/__tests__/
config: package.json
registry: npmjs.com/package/l402-kit
python:
path: python/l402kit/
tests: python/tests/
config: python/pyproject.toml
registry: pypi.org/project/l402kit
rust:
path: rust/src/
tests: rust/tests/
config: rust/Cargo.toml
registry: crates.io/crates/l402kit
go:
path: go/
tests: go/*_test.go
config: go.mod
registry: pkg.go.dev/github.com/shinydapps/l402-kit/go
server_side:
api_worker:
config: cloudflare/wrangler.toml
code: cloudflare/src/
deploys_to: l402kit.com/api/*, l402kit.com/admin/*, docs.l402kit.com/*
landing_worker:
config: wrangler.jsonc
code: landing-worker.ts + backend/
deploys_to: l402kit.com/*
ci_cd:
ci: .github/workflows/ci.yml # tests 4 langs in parallel, gitleaks scan
release: .github/workflows/release.yml # tag vX.Y.Z triggers 4-way publish
release_secrets_required: [NPM_TOKEN, PYPI_TOKEN, CARGO_TOKEN]
security:
pre_commit_guard: .githooks/pre-commit
ci_secret_scan: gitleaks
gitleaks_config: .gitleaks.toml
revoked_secrets:
- "shdp_dash_mK9pL2xQwRtNvJ4eHcBfUu3YsA7dZiXo" # revoked 2026-05-19
private_paths:
- .private/ # strategic docs, drafts, internal research, credentials-local.md
- ~/.claude/projects/... # per-machine memory (not in repo)
- CREDENTIALS.md # if exists, gitignored; canonical is memory/credentials.md
never_break:
- cross_lang_parity: "any feature in src/ must port to python/, rust/, go/ before next minor"
- tdd_first: "test before implementation, in __tests__/"
- sovereign_mode: "cannot become paid upsell"
- bitcoin_only: "reject x402/USDC/Solana/Polygon/Rootstock at scoring time"
- all_secrets_via_env: "no hardcoded tokens, ever"
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 · 150 lines · 1,570 tokens per session scan A 01d27f0c9728
l402-kit AGENTS.md is an instructions file published in the GitHub repository ShinyDapps/l402-kit (4 stars, last pushed 5mo ago), licensed MIT. It adds 1,570 tokens to every session, about $0.0063 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
l402-kit AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| l402-kit AGENTS.mdShinyDapps/l402-kit | Instructions file | 4 | 5mo ago | MIT | A | 1,570 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |