drogon-setup-config

A code-generation skill for creating a Drogon web server's configuration file in JSON or YAML. Drogon is a C++ web framework.

In plain words
What is it for?
Use it when starting or updating a Drogon project configuration, including its listening address and port, SSL, sessions, worker threads, and log level.
Why use it?
It avoids hand-writing common server settings and provides one place to set networking, HTTPS, sessions, threads, and logging.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/voidvec/drogon-claude-plugin/drogon-setup-config
Any agent
npx skills add voidvec/drogon-claude-plugin --skill drogon-setup-config
Clone the repo
git clone --depth 1 https://github.com/voidvec/drogon-claude-plugin

Made for: Claude Code, Codex.

Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00034 $0.00383
Opus 5 $0.00017 $0.00192
Sonnet 5 $0.00007 $0.00077
Haiku 4.5 $0.00003 $0.00038

Measured 2d ago against content hash 8c31a57b6233, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

drogon-setup-config 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 2d 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/drogon-setup-config/SKILL.md · 38 lines

What it actually says

drogon-setup-config

生成 drogon 项目的配置文件(config.jsonconfig.yaml)。

使用场景

当创建一个新的 drogon 项目或需要更新配置文件时,使用此技能快速生成符合 drogon 约定的配置文件。

输入参数

  • format: 配置文件格式(json/yaml,默认 json
  • listen_address: 监听地址(如 0.0.0.0,默认 127.0.0.1
  • listen_port: 监听端口(如 8080
  • enable_https: 是否启用 SSL(true/false,默认 false
  • enable_session: 是否启用会话(true/false,默认 true
  • number_of_threads: 事件循环线程数(0 = CPU 硬件并发数)
  • log_level: 日志级别(DEBUG/INFO/WARN/ERROR,默认 INFO

输出

生成 config.jsonconfig.yaml 文件。

示例

/drogon-setup-config listen_port=8080 enable_session=true log_level=DEBUG

生成 config.json,包含监听地址、端口、会话、日志等配置。

参考文件

详细实现指南见 references/code-guide.md(含参数验证、代码模板、禁止模式清单)。生成代码前先读取该文件。

Files

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.

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. 2d ago First seen · 38 lines · 34 tokens per session scan A 8c31a57b6233

Subscribe to this mod's changes

drogon-setup-config is a skill published in the GitHub repository voidvec/drogon-claude-plugin (1 stars, last pushed 5d ago), licensed MIT. It adds 34 tokens to every session and 383 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

cgo-bindings

cgo conventions for linking Go to a C or Rust static library: import "C" directives, type/string conversion, CString memory management, thread safety, and Go pointer pinning. Load when generating or reviewing cgo bindings that call a C or Rust core from Go.

Goldziher/ai-rulez · 60 tokens

arduino-code-generator

Generate Arduino and embedded C++ snippets for sensors, actuators, buses, state machines, timing, data logging, and hardware abstraction. Use when a user requests implementation code and provide the exact board, framework, toolchain, pins, voltage, memory, and library versions first. Bundled templates target UNO…

wedsamuel1230/arduino-skills · 86 tokens

library-selection

Use when selecting, replacing, pinning, or auditing an Arduino, ESP32, RP2040, C++, or vendor-framework library. Compare architecture support, framework and version compatibility, API behavior, footprint, maintenance, provenance, security, and hardware assumptions before installation.

wedsamuel1230/arduino-skills · 57 tokens

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…

alexprivalov/boost-asio-skill · 103 tokens

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)…

parasxos/cpp26-adapter · 243 tokens

6502-assembly

Use when writing or debugging 6502 assembly for the Commodore 64 with ca65/ld65 via c64 build or c64 run. Covers the C64 program skeleton, the BASIC SYS stub, calling ROM routines, and 6502 gotchas.

nschneir/Project64 · 58 tokens