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 agentmods add skills/ncaq/konoka/nix-commandnpx skills add ncaq/konoka --skill nix-commandgit clone --depth 1 https://github.com/ncaq/konokaWrote 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/ncaq/konoka/nix-command)<a href="https://agentmods.dev/skills/ncaq/konoka/nix-command"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/nix-command.svg" alt="Measured on agentmods" 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 | $0.00046 | $0.01151 |
| Opus 5 | $0.00023 | $0.00575 |
| Sonnet 5 | $0.00009 | $0.00230 |
| Haiku 4.5 | $0.00005 | $0.00115 |
Grade A, and why
nix-command 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 4d 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 — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nixコマンドガイドライン
experimental-features = nix-command flakesが有効な環境では、
新しい統一CLI(nix <subcommand>形式)を使用してください。
旧形式コマンドの使用禁止
以下の旧形式コマンドは使用禁止です。 対応する新形式を使ってください。
ビルド・開発環境
| 禁止(旧形式) | 使用すべき新形式 |
|---|---|
nix-build |
nix build |
nix-shell |
nix develop(ビルド環境) / nix shell(一時利用) |
nix-instantiate |
nix eval / nix derivation show |
パッケージ管理
| 禁止(旧形式) | 使用すべき新形式 |
|---|---|
nix-env -i / nix-env -iA |
nix profile add |
nix-env -e |
nix profile remove |
nix-env -u |
nix profile upgrade |
nix-env -q |
nix profile list |
nix-env -qa |
nix search |
nix-env --rollback |
nix profile rollback |
nix-env --list-generations |
nix profile history |
nix-env --delete-generations |
nix profile wipe-history |
Nix Store操作
| 禁止(旧形式) | 使用すべき新形式 |
|---|---|
nix-store --gc / nix-collect-garbage |
nix store gc |
nix-store --optimise |
nix store optimise |
nix-store --add |
nix store add |
nix-store --delete |
nix store delete |
nix-store --verify |
nix store verify |
nix-store --repair-path |
nix store repair |
nix-store -q |
nix path-info |
nix-store -qR |
nix path-info -r |
nix-store -l |
nix log |
nix-copy-closure |
nix copy |
ハッシュ
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.
- 4d ago First seen · 123 lines · 46 tokens per session scan A e0bac4e455db
nix-command is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed 6d ago), licensed Apache-2.0. It adds 46 tokens to every session and 1,151 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.
Other skills, from other repositories
api-testing
HTTP API testing for TypeScript (Supertest) and Python (httpx, pytest). Test REST APIs, GraphQL, request/response validation, authentication, and error handling.
api-gateway-configuration
Configures API gateways for routing, authentication, rate limiting, and request transformation in microservice architectures. Use when setting up Kong, Nginx, AWS API Gateway, or Traefik for centralized API management.
api-response-optimization
Optimizes API performance through payload reduction, caching strategies, and compression techniques. Use when improving API response times, reducing bandwidth usage, or implementing efficient caching.
espalier-migrate
Migrate an existing harness/espalier install to the current Espalier version — auto-detects which of v0.1→v0.2, v0.3→v0.4, v0.4→v0.5, the v0.5.3 coder-agent patch, v0.5→v0.6 (Stage 1 grill), v0.6→v0.7 (read-only /espalier-ask lane), v0.7→v0.8 (requirements approval gate), the v0.8.1 impact-analysis agent patch, the…
recursive-decomposition
Handle tasks that exceed the context window by decomposing them: size and filter the input, chunk it, run recursive sub-agents on independent parts, verify on small windows, and synthesise programmatically, following the Recursive Language Models (RLM) research by Zhang, Kraska and Khattab (2025). Use when a task…
math-unicode
Use when a response needs mathematical notation (equations, filters, set-builder notation, statistics, calculus, linear algebra, logic, ratios, drops, counts) and the output goes to a terminal or TUI that cannot render LaTeX: Claude Code, Codex CLI, SSH and tmux sessions, CI logs. Load it before composing, including…