nix-command

nix-command is a skill for Claude Code, Codex from ncaq/konoka. It costs 46 tokens per session (1,151 once invoked), scanned A, original, Apache-2.0.

A guide to the modern unified Nix command-line interface. Nix is a tool for reproducible packages and system configurations, and its newer commands use the `nix <subcommand>` form.

In plain words
What is it for?
Use it when writing or reviewing Nix commands for builds, development shells, package profiles, store maintenance, evaluation, and related tasks.
Why use it?
It avoids outdated commands and maps common tasks such as building, entering development environments, managing packages, and cleaning the store to their current equivalents.

Skill for Claude CodeCodex

Part of the nix-tasuke plugin — 6 skills, 1 MCP server shipped together

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/ncaq/konoka/nix-command
Any agent
npx skills add ncaq/konoka --skill nix-command
Clone the repo
git clone --depth 1 https://github.com/ncaq/konoka

Made for: Claude Code, Codex.

Or install nix-tasuke, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

Wrote 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.

agentmods badge for nix-command

README.md
[![agentmods](https://agentmods.dev/badge/skills/ncaq/konoka/nix-command.svg)](https://agentmods.dev/skills/ncaq/konoka/nix-command)
Your own site
<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>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,151 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.00046 $0.01151
Opus 5 $0.00023 $0.00575
Sonnet 5 $0.00009 $0.00230
Haiku 4.5 $0.00005 $0.00115

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

Security

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.

plugins/nix-tasuke/skills/nix-command/SKILL.md · 123 lines

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

ハッシュ

Read the full file on GitHub · 123 lines

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. 4d ago First seen · 123 lines · 46 tokens per session scan A e0bac4e455db

Subscribe to this mod's changes

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.

Related

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.

secondsky/claude-skills · 39 tokens

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.

secondsky/claude-skills · 49 tokens

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.

secondsky/claude-skills · 36 tokens

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…

Junhanliu-dev/espalier-engineering · 0 tokens

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…

massimodeluisa/recursive-decomposition-skill · 151 tokens

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…

vladimirrott/claude-math · 154 tokens