Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/j4flmao/agent-skillsnpx agentmods add skills/j4flmao/agent-skills/oakWrote 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/j4flmao/agent-skills/oak)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/oak"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/oak/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/j4flmao/agent-skills/oak"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/oak.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00062 | $0.03722 |
| Opus 5.5 | $0.00025 | $0.01489 |
| Sonnet 5.5 | $0.00012 | $0.00744 |
| Haiku 4.5 | $0.00006 | $0.00372 |
Grade A, and why
oak-backend 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 13d 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 — 449 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Oak Backend
Purpose
Define Oak backend application architecture: Deno-native HTTP server, middleware composition, router pattern, and context management with typed state, composable middleware pipeline, and type-safe routing.
Agent Protocol
Trigger
User request includes: oak, oak backend, deno oak, oak middleware, oak router, deno http, oak context, oak typescript.
Input Context
- Deno version (2.x assumed)
- Oak version (17.x on JSR:
jsr:@oak/oak; v13+ changed the body API) - Language (TypeScript)
- Database (Deno KV, PostgreSQL via
npm:pgorjsr:@db/postgres, MongoDB vianpm:mongodb) - Templating (eta, deno mustache)
- Deployment (Deno Deploy, self-hosted)
Output Artifact
A markdown document containing:
- Project structure
- Router setup (Router class)
- Middleware composition (use, compose)
- Context (c.state, c.cookies, c.send)
- Error handling middleware
- State management (context state)
- Environment configuration (Deno.env)
- Testing (Deno.test with
app.handle(), or superoak)
Response Format
Produce the artifact directly. No preamble, no postamble, no explanations. No filler, no hedging. Compress output.
Completion Criteria
- Router separates route definitions from app setup
- Middleware pipeline composed with app.use()
- Error middleware catches all exceptions
- State typed via OakMiddleware type parameter
- Tests call
app.handle(new Request(...))or use superoak - Lockfile generated and committed
Max Response Length
4096 tokens
Architecture Decision Trees
Oak vs Hono vs std/http
| Criterion | Oak | Hono | std/http |
|---|---|---|---|
| Middleware ecosystem | Rich (cors, auth, rate-limit, static) | Growing (cors, etag, jwt) | Manual |
| TypeScript context typing | Generic State param |
c.req.valid() |
Manual |
| Router pattern | Router({ prefix }) |
Chained .get().post() |
Switch/match |
| File upload | await ctx.request.body.formData() |
c.req.parseBody() |
req.formData() |
| WebSocket | ctx.upgrade() |
upgradeWebSocket from hono/deno |
Deno.upgradeWebSocket |
| Multi-runtime | Deno first (also Node/Bun) | Deno, Node, Bun, Workers | Deno only |
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 13d ago Changed · +1 lines · -46 tokens per session 06f95a4e1aad
- 1mo ago Changed · -66 lines · +40 tokens per session a36b5a86f01e
- 3mo ago First seen · 514 lines · 68 tokens per session scan A 49f1fc00f950
oak-backend is a skill published in the GitHub repository j4flmao/agent-skills (46 stars, last pushed 14d ago), licensed MIT. It adds 62 tokens to every session and 3,722 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-30.
oak-backend compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| oak-backendj4flmao/agent-skills | Skill | 46 | 14d ago | MIT | A | 62 | Claude Code, Codex |
| nifranifrajs/nifra | Skill | 7 | today | MIT | A | 83 | Claude Code |
| stripe-projectse2b-dev/E2B | Skill | 15k | today | Apache-2.0 | A | 51 | Claude Code, Codex |
| nestjs-expertJeffallan/claude-skills | Skill | 13k | today | MIT | A | 107 | Claude Code |
| nestjsericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 81 | Claude Code, Codex |
| azure-web-pubsub-tsbenjaminasterA/antigravity-awesome-skills | Skill | 522 | today | MIT | A | 51 | Claude Code, Codex |
| better-authsecondsky/claude-skills | Skill | 257 | today | MIT | A | 53 | Claude Code |