nix-command

nix-command is a skill for Claude Code from ncaq/konoka. It costs 46 tokens per session (757 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 Code

Written for Claude Code: user-invocable in frontmatter.

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

Good fit Use it when writing or reviewing Nix commands for builds, development shells, package profiles, store maintenance, evaluation, and related tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ncaq/konoka/nix-command
View source ↗ ncaq/konoka
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.

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.

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/github.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/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.

agentmods 80×15 button for nix-command

Your own site · 80×15
<a href="https://agentmods.dev/skills/ncaq/konoka/nix-command"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/nix-command.svg" alt="Reviewed on agentmods" width="80" 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 757 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00046 $0.00757
Opus 5.5 $0.00018 $0.00303
Sonnet 5.5 $0.00009 $0.00151
Haiku 4.5 $0.00005 $0.00076

Measured yesterday against content hash ac14cfe37aa5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 yesterday.

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 · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nixは新しい統一CLIを使う

experimental-features = nix-command flakesが有効な環境では、 nix-buildやnix-envのような旧形式のコマンドを使わず、 新しい統一CLI(nix <subcommand>形式)を使ってください。

新形式はビルドログをデフォルトでは表示しません。 ビルドログを表示するには-Lを付けます。

nix build 'nixpkgs#hello' -L
nix develop -L

旧形式と新形式の対応

旧形式 新形式
nix-build nix build
nix-shell(ビルド環境) nix develop
nix-shell -p pkg(一時利用) nix shell nixpkgs#pkg
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 --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
nix-hash --flat nix hash file
nix-hash nix hash path
nix-hash --to-base32等 nix hash convert
nix-prefetch-url nix store prefetch-file
nix-channel nix flake update / nix registry

Read the full file on GitHub · 52 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. yesterday Changed · -71 lines ac14cfe37aa5
  2. 3mo 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 yesterday), licensed Apache-2.0. It adds 46 tokens to every session and 757 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.

Related

nix-command compared with skills from other repositories

nix-command next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nix-commandncaq/konokaSkill3yesterdayApache-2.0A46Claude Code
github-project-automationsecondsky/claude-skillsSkill257todayMITA45Claude Code
hono-routingsecondsky/claude-skillsSkill257todayMITA41Claude Code
api-testingsecondsky/claude-skillsSkill257todayMITA39Claude Code
bun-http-serversecondsky/claude-skillsSkill257todayMITA31Claude Code
bun-jest-migrationsecondsky/claude-skillsSkill257todayMITA25Claude Code
cloudflare-workers-migrationsecondsky/claude-skillsSkill257todayMITA49Claude Code