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 voidvec/drogon-claude-plugin --skill drogon-gen-coroutine-handlergit clone --depth 1 https://github.com/voidvec/drogon-claude-pluginWrote 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/voidvec/drogon-claude-plugin/drogon-gen-coroutine-handler)<a href="https://agentmods.dev/skills/voidvec/drogon-claude-plugin/drogon-gen-coroutine-handler"><img src="https://agentmods.dev/badge/skills/voidvec/drogon-claude-plugin/drogon-gen-coroutine-handler/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/voidvec/drogon-claude-plugin/drogon-gen-coroutine-handler"><img src="https://agentmods.dev/badge/skills/voidvec/drogon-claude-plugin/drogon-gen-coroutine-handler.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.00051 | $0.00374 |
| Opus 5.5 | $0.00020 | $0.00150 |
| Sonnet 5.5 | $0.00010 | $0.00075 |
| Haiku 4.5 | $0.00005 | $0.00037 |
Grade A, and why
drogon-gen-coroutine-handler 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 23d 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.
What it actually says
drogon-gen-coroutine-handler
生成 drogon 协程代码:handler、协程中间件(HttpCoroMiddleware)、协程 ORM/Redis/HttpClient 调用。
使用场景
当项目已启用协程(USE_COROUTINE=ON)且需编写异步 handler / 中间件时使用。
输入参数
kind:handler/middleware/orm_call/http_callreturn_type: handler 的返回类型(Task<HttpResponsePtr>/AsyncTask),仅kind=handler时有效class_name: 类名(仅kind=middleware)
输出
- 协程代码(正确的返回类型、
co_await、try/catch 兜底) - 参数按值传递(裸 handler)或可引用(协程中间件,框架已拷贝)
- AsyncTask 的 try/catch 提醒(否则未处理异常
std::terminate)
示例
/drogon-gen-coroutine-handler kind=handler return_type=Task<HttpResponsePtr>
/drogon-gen-coroutine-handler kind=middleware class_name=AuthMiddleware
参考文件
详细实现指南见 references/code-guide.md(含返回类型对照、参数生命周期对照、代码模板、禁止模式)。生成代码前先读取该文件。
What ships with it
1 file 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.
- 23d ago Changed · +3 tokens per session 069c9b3ee94a
- 1mo ago First seen · 36 lines · 48 tokens per session scan A 934c7106fbdc
drogon-gen-coroutine-handler is a skill published in the GitHub repository voidvec/drogon-claude-plugin (1 stars, last pushed 20d ago), licensed MIT. It adds 51 tokens to every session and 374 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
backend-scaffolding
Scaffolds Node.js/TypeScript backend components with CMDO architecture, driven by component settings.
affinity-python-sdk
Writes Python code using the Affinity SDK for CRM data access and automation.
boost-asio-pro
Use when building asynchronous networking applications with Boost.Asio or standalone Asio — TCP/UDP servers and clients, SSL/TLS streams, async I/O via C++20 coroutines OR pre-C++20 callbacks/stackful coroutines, timers, strand-based concurrency, or composing async operations. Use when code involves iocontext…
cpp26-idioms
When writing, editing, or suggesting C++ code, prefer C++26 final-form constructs as documented in ISO/IEC 14882:2026 over pre-C++26 idioms. Applies to: reflection (P2996, replacing X-macros / Boost.Describe / magicenum), contracts (P2900, replacing assert), std::execution senders (P2300, replacing std::async)…
typescript-standards
Shared TypeScript coding standards for strict, immutable, type-safe code.
backend-standards
CMDO architecture standards for Node.js/TypeScript backends with strict layer separation.