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 ncaq/konoka --skill nix-fast-buildgit 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-fast-build)<a href="https://agentmods.dev/skills/ncaq/konoka/nix-fast-build"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/nix-fast-build/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/ncaq/konoka/nix-fast-build"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/nix-fast-build.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.00035 | $0.01336 |
| Opus 5.5 | $0.00014 | $0.00534 |
| Sonnet 5.5 | $0.00007 | $0.00267 |
| Haiku 4.5 | $0.00003 | $0.00134 |
Grade A, and why
nix-fast-build 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
nix-fast-build
Mic92/nix-fast-buildは、
nix-eval-jobsと
nix-output-monitor(nom)を組み合わせて、
Nix式の評価を並列に実行してビルドするツールです。
デフォルトではFlakeのchecksをビルドするので、
flake.nixが適切に設定されていれば、リントとビルドとテストが全て実行されます。
評価が並列化されるのでnix flake checkより高速です。
実行方法
手元のターミナルでは以下で実行します。
nix-fast-build --option eval-cache false --no-link --skip-cached
Claude CodeやCIのような非対話環境では--no-nomを追加します。
nix-fast-build --option eval-cache false --no-link --skip-cached --no-nom
--option eval-cache false: 評価キャッシュを無効にします。 評価キャッシュはSQLiteで管理されていて、 並列に評価するとビジー状態の警告が出て煩わしいことがあるためです。--no-link:resultシンボリックリンクを作りません。 checksをビルドすると大量のシンボリックリンクが作られて煩わしいためです。 省かれるのはリンクの作成だけで、ビルドは実行されます。--skip-cached: バイナリキャッシュ(substituter)に既にあるビルドをスキップします。 ローカルのストアにあるかどうかを調べるオプションではありません。--no-nom: nomによるビルド出力の表示を無効にします。 nomはターミナルの制御シーケンスを使ったリッチな出力をするので、 CIのログ、パイプ、非対話シェルのようなターミナルではない環境では表示が崩れます。
新規ファイルがある場合
FlakeはGitで追跡されているファイルだけを対象にします。 新規ファイルがある場合は、nix-fast-buildを実行する前に以下のコマンドで追跡対象にしてください。 未追跡のファイルが無く入力が空でも、このコマンドはエラーになりません。
git ls-files --others --exclude-standard -z | git add --intent-to-add --pathspec-from-file=- --pathspec-file-nul
IFDを使うプロジェクト
--systemsはビルド対象を絞るだけで、評価は全てのアーキテクチャに対して行われます。
IFD(Import From Derivation)は評価の段階でderivationのビルドを要求するので、
ローカルでビルドできないアーキテクチャのIFDが走ってエラーになることがあります。
nix flake checkはNix 2.16以降、
デフォルトで他のシステムの評価をスキップするのでこの問題が出にくいですが、
nix-eval-jobsにはその仕組みがありません。
--flakeで評価対象を現在のシステムに限定すると回避できます。
nix-fast-build --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" --no-link --skip-cached
--impureが必要ですが、builtins.currentSystemを取得するだけなので実害はありません。
その他のオプション
以下のオプションを含め、基本的にデフォルトのままで問題ありません。
-j,--max-jobs: nix-fast-buildがビルドキューから同時にディスパッチするジョブ数の上限です。 Nixデーモンのmax-jobsとは別の制御です。--systems: ビルド対象のシステムを、スペース区切りの1つの引数で指定します。 デフォルトは現在のシステムです。 例:--systems "x86_64-linux aarch64-linux"--remote: 指定したSSHホストで評価とビルドを行い、結果をローカルに転送します。 リモートマシンがソースリポジトリにアクセスできない場合は--always-upload-sourceを付けます。 CIでリモートビルドしてキャッシュにアップロードするだけの場合は、--no-downloadで転送を省きます。--eval-max-memory-size: nix-eval-jobsの評価ワーカー1つあたりのメモリ上限(MiB)です。 上限に達したワーカーは再起動されます。 大きなFlakeで評価中にOOMが発生する場合に調整します。--result-file,--result-format: ビルド結果をファイルに書き出します。 CIでテスト結果として扱う場合は--result-format junitが便利です。
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.
- yesterday Changed · -125 lines be41e79174a0
- 3mo ago First seen · 216 lines · 35 tokens per session scan A 471e18575b04
nix-fast-build is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 35 tokens to every session and 1,336 once invoked, about $0.0001 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.
nix-fast-build compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nix-fast-buildncaq/konoka | Skill | 3 | yesterday | Apache-2.0 | A | 35 | Claude Code |
| github-project-automationsecondsky/claude-skills | Skill | 257 | today | MIT | A | 45 | Claude Code |
| hono-routingsecondsky/claude-skills | Skill | 257 | today | MIT | A | 41 | Claude Code |
| api-testingsecondsky/claude-skills | Skill | 257 | today | MIT | A | 39 | Claude Code |
| bun-http-serversecondsky/claude-skills | Skill | 257 | today | MIT | A | 31 | Claude Code |
| bun-jest-migrationsecondsky/claude-skills | Skill | 257 | today | MIT | A | 25 | Claude Code |
| cloudflare-workers-migrationsecondsky/claude-skills | Skill | 257 | today | MIT | A | 49 | Claude Code |