nodejs-hono

nodejs-hono is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 75 tokens per session (5,094 once invoked), scanned A, original, MIT.

A guide for building web back ends with Hono, a small JavaScript and TypeScript framework that runs on Node.js, Bun, Deno, and edge platforms such as Cloudflare Workers. It covers routes, validation, middleware, and typed client calls.

In plain words
What is it for?
Use it to create Hono applications, add validated routes, configure authentication and CORS, compose middleware, and set up a type-safe RPC client.
Why use it?
It helps keep request validation, middleware order, runtime setup, and front-end/back-end types consistent across supported environments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import type { AppType } from '../server/app';.

Good fit Use it to create Hono applications, add validated routes, configure authentication and CORS, compose middleware, and set up a type-safe RPC client.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-skills
agentmods
npx agentmods add skills/j4flmao/agent-skills/hono

Made for: Claude Code, Codex.

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 nodejs-hono

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/hono/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/hono)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/hono"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/hono/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 nodejs-hono

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/hono"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/hono.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,094 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.00075 $0.05094
Opus 5 $0.00037 $0.02547
Sonnet 5 $0.00015 $0.01019
Haiku 4.5 $0.00007 $0.00509

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

Security

Grade A, and why

nodejs-hono 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 9d 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.

skills/backend/nodejs/hono/SKILL.md · 611 lines

How it starts

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

Node.js Hono

Purpose

Build Hono applications — lightweight, edge-ready web framework with Zod validation, RPC client, and cross-runtime (Node, Bun, Deno, Cloudflare Workers) support.

Agent Protocol

Trigger

User request includes: hono, hono app, hono middleware, hono rpc, hono zod, hono cloudflare, hono bun, ultralightweight, edge backend.

Input Context

  • Runtime (Node.js, Bun, Deno, Cloudflare Workers)
  • Hono version (4.x)
  • Validation (Zod, TypeBox)
  • Database (Drizzle, Prisma, D1)
  • Auth (JWT, session, OAuth)

Output Artifact

App setup, route patterns, middleware chain, RPC client config, validation setup.

Response Format

Produce artifact directly. No preamble, no postamble, no explanations.

Completion Criteria

  • Hono app created with correct runtime adapter
  • Routes with Zod validation middleware
  • RPC client configured for frontend type safety
  • Middleware pipeline ordered correctly
  • CORS and auth middleware registered

Max Response Length

4096 tokens

Architecture Decision Trees

Hono vs Express vs Fastify (for Node.js)

Criterion Hono Express Fastify
Performance ~60k req/s ~30k req/s ~50k req/s
Bundle size ~14KB ~150KB ~200KB
Edge support Cloudflare, Deno, Bun, Lambda Node only Node + AWS Lambda
RPC type safety Built-in (hono/client) None None
Validation Zod/TypeBox middleware Manual Schema-first
Ecosystem Small, growing Largest Medium

Decision: Edge deployment or ultra-light → Hono. Full ecosystem → Express. Performance + schema → Fastify.

Runtime Selection

Runtime Adapter Best For
Node.js @hono/node-server Existing Node ecosystem
Cloudflare Workers hono (native) Edge compute, D1, KV
Bun hono (native) Fast startup, TypeScript native
Deno hono (npm/JSR) Deno Deploy, permissions
Vercel @hono/vercel Serverless, Next.js BFF
AWS Lambda @hono/aws-lambda Lambda + API Gateway

Read the full file on GitHub · 611 lines

Files

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.

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. 9d ago First seen · 611 lines · 75 tokens per session scan A a73d60da7f29

Subscribe to this mod's changes

nodejs-hono is a skill published in the GitHub repository j4flmao/agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 75 tokens to every session and 5,094 once invoked, about $0.0004 per session on Opus 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.

Related

Other skills, from other repositories

tsq-hono

A set of backend development guidelines for Hono, a lightweight web framework for Node.js. It covers API routes, input checking, error handling, authentication, configuration, and clean separation of application layers.

sonature-lab/timsquad · 69 tokens

prisma-8

Comprehensive guide for building with Prisma 8 (Prisma Next), the contract-first data layer. Use whenever working on Prisma code in a project that uses it — authoring or editing the data contract (contract.prisma, PSL, TypeScript builders), migrations, queries (db.orm / db.sql), runtime wiring (db.ts, middleware…

prisma/orm · 220 tokens

hunt-nodejs

Hunt Node.js specific vulnerabilities — Prototype Pollution → RCE chains (lodash/merge/assign), Express trust proxy misconfiguration, childprocess/eval injection, template engine SSTI (EJS/Pug/Handlebars), path traversal in file servers, require() injection, environment variable exfil via /proc/self/environ. Use when…

uphiago/recon-skills · 87 tokens

ocli-api

Turn any OpenAPI/Swagger API into CLI commands and call them. Search endpoints with BM25, check parameters, execute — no MCP server needed.

EvilFreelancer/openapi-to-cli · 34 tokens

mail-time

Use when building, wiring, reviewing, or debugging MailTime and ostrio:mailer email queues for horizontally scaled Node.js, Bun, or Meteor apps. Trigger on MailTime, MongoQueue, RedisQueue, PostgresQueue, mailTimePreset, JoSk email scheduling, Redis Cluster / KeyDB Cluster / Valkey useHashTags, KeyDB…

veliovgroup/mail-time · 179 tokens

spiceflow

Spiceflow is a super simple, fast, and type-safe API and React Server Components framework for TypeScript. Works on Node.js, Bun, and Cloudflare Workers. ALWAYS load this skill BEFORE writing or editing ANY spiceflow code, including one-line changes: routes, pages, layouts, loaders, server actions, forms…

remorses/spiceflow · 159 tokens