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 divinevideo/divine-mobile --skill hono-subapp-undefined-response-1101git clone --depth 1 https://github.com/divinevideo/divine-mobileWrote 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/divinevideo/divine-mobile/hono-subapp-undefined-response-1101)<a href="https://agentmods.dev/skills/divinevideo/divine-mobile/hono-subapp-undefined-response-1101"><img src="https://agentmods.dev/badge/skills/divinevideo/divine-mobile/hono-subapp-undefined-response-1101/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/divinevideo/divine-mobile/hono-subapp-undefined-response-1101"><img src="https://agentmods.dev/badge/skills/divinevideo/divine-mobile/hono-subapp-undefined-response-1101.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.00140 | $0.00991 |
| Opus 5 | $0.00070 | $0.00495 |
| Sonnet 5 | $0.00028 | $0.00198 |
| Haiku 4.5 | $0.00014 | $0.00099 |
Grade A, and why
hono-subapp-undefined-response-1101 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 8d 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.
1. Run `wrangler dev` and curl with the non-matching hostname: How it starts
The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hono Sub-App Route Handler Returns Undefined → CF Error 1101
Problem
A Cloudflare Worker using Hono with sub-apps crashes with Error 1101 ("Worker threw
exception") when a route handler in a sub-app returns undefined instead of a Response.
This commonly happens when route handlers have hostname guards that use bare return to
skip processing, intending to let other routes handle the request.
Context / Trigger Conditions
- Cloudflare Workers dashboard or browser shows Error 1101: Worker threw exception
wrangler devlogs show: "Incorrect type for Promise: the Promise did not resolve to 'Response'"- Multiple hostnames route to the same worker (e.g.,
names.divine.videoandnames.admin.divine.video) - Hono sub-app has route handlers with conditional hostname checks that use bare
return - The sub-app has middleware that calls
next()for non-matching hostnames, but the route handlers duplicate the check and returnundefined
Root Cause
In Hono, route handlers (.get(), .post(), etc.) MUST return a Response. Only
middleware (registered via .use()) can call next() to pass control downstream.
However, if a route handler includes next in its parameter list (async (c, next) => {}),
Hono treats it as middleware-like, allowing return next() to pass control to the next
matching handler.
A bare return (which returns undefined) from a route handler causes the Cloudflare
Workers runtime to throw because it expects a Response object.
Solution
Bad — returns undefined, crashes the worker:
app.get('/', async (c) => {
if (!ALLOWED_HOSTNAMES.includes(hostname)) {
return // undefined! → Error 1101
}
return c.html(page())
})
Good — accepts next parameter and calls it to pass control:
app.get('/', async (c, next) => {
if (!ALLOWED_HOSTNAMES.includes(hostname)) {
return next() // passes to next handler in chain
}
return c.html(page())
})
Key insight: Adding next to the handler signature changes Hono's treatment of the
handler, allowing it to delegate to downstream routes.
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.
- 8d ago First seen · 87 lines · 140 tokens per session scan A 3594301e0eb9
hono-subapp-undefined-response-1101 is a skill published in the GitHub repository divinevideo/divine-mobile (265 stars, last pushed yesterday), licensed MPL-2.0. It adds 140 tokens to every session and 991 once invoked, about $0.0007 per session on Opus 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-09-03.
Other skills, from other repositories
stripe-projects
Provision SaaS services + sync creds via Stripe Projects.
azure-eventhub-dotnet
Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…
azure-mgmt-botservice-dotnet
Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".
cve
Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.
wikipedia
Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.
django-storages-s3
Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…