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 thettwe/nyann --skill gen-devcontainergit clone --depth 1 https://github.com/thettwe/nyannWrote 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/thettwe/nyann/gen-devcontainer)<a href="https://agentmods.dev/skills/thettwe/nyann/gen-devcontainer"><img src="https://agentmods.dev/badge/skills/thettwe/nyann/gen-devcontainer/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/thettwe/nyann/gen-devcontainer"><img src="https://agentmods.dev/badge/skills/thettwe/nyann/gen-devcontainer.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.00246 | $0.01868 |
| Opus 5.5 | $0.00098 | $0.00747 |
| Sonnet 5.5 | $0.00049 | $0.00374 |
| Haiku 4.5 | $0.00025 | $0.00187 |
Grade A, and why
gen-devcontainer 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 3mo 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 — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.
gen-devcontainer
Wraps bin/gen-devcontainer.sh. Emits a devcontainer.json; preview-
by-default; idempotent on apply.
When to trigger
- User wants a Codespaces-ready repo and there's no
.devcontainer/directory yet. - User wants to refresh an existing devcontainer.json after upgrading
nyann (base image tags + extension lists shift with the
snapshot_versioncomment in the file). - User wants to add forwarded ports / cpus / memory to an existing
devcontainer (use
--port 3000 --cpus 4 --memory 8gb).
When NOT to trigger
- User wants a production Dockerfile — that's an entirely different concern; devcontainer.json is dev-environment only.
- User wants to debug a broken devcontainer build — open the existing file with them; this skill generates fresh, not diagnoses.
- User is on a non-Codespaces, non-VS Code editor — the file still
works under JetBrains' Dev Containers plugin and
devcontainer open(CLI), but flag the broader VS Code-first defaults.
Picking the language
Read StackDescriptor.primary_language from bin/detect-stack.sh:
| StackDescriptor.primary_language | --language |
|---|---|
typescript / javascript |
node |
python |
python |
go |
go |
rust |
rust |
dart |
dart |
java / kotlin |
java |
csharp / dotnet |
dotnet |
php |
php |
ruby |
ruby |
swift |
swift |
elixir |
elixir |
cpp / c |
cpp |
For polyglot monorepos (workspaces[] present), pick the language of
the most-important workspace OR ask the user — running multiple
devcontainers from a single repo is uncommon and confusing.
Preview, then apply
Always preview first. Show the rendered JSON; wait for confirmation:
bin/gen-devcontainer.sh --language python --name my-app
Then on confirmation:
bin/gen-devcontainer.sh --language python --name my-app \
--target . --apply
If the destination already matches: log "unchanged" and exit. If it
differs: print the unified diff to stderr, exit 3, prompt the user
before re-running with --force-overwrite.
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.
- 3mo ago First seen · 173 lines · 246 tokens per session scan A 7c3e0a4b08e3
gen-devcontainer is a skill published in the GitHub repository thettwe/nyann (7 stars, last pushed 25d ago), licensed MIT. It adds 246 tokens to every session and 1,868 once invoked, about $0.0010 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-09-03.
gen-devcontainer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gen-devcontainerthettwe/nyann | Skill | 7 | 25d ago | MIT | A | 246 | Claude Code |
| deployoliver-kriska/claude-elixir-phoenix | Skill | 580 | 3d ago | MIT | A | 46 | Claude Code |
| ddevmichtio/craftcms-claude-skills | Skill | 91 | 2d ago | MIT | A | 99 | Claude Code |
| factory-environment-setupcurie-eng/curie | Skill | 53 | today | Apache-2.0 | A | 38 | Claude Code |
| factory-environment-maintenancecurie-eng/curie | Skill | 53 | today | Apache-2.0 | A | 46 | Claude Code |
| strutgfargo/skills | Skill | 3 | 3d ago | MIT | A | 67 | Claude Code |
| craft-infragul-labs/craftsman-marketplace | Skill | 1 | 3d ago | MIT | A | 142 | Claude Code |