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.01970 |
| Opus 5 | $0.00017 | $0.00985 |
| Sonnet 5 | $0.00007 | $0.00394 |
| Haiku 4.5 | $0.00003 | $0.00197 |
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 11d 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 — 216 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を組み合わせて、 Nix式の評価を並列実行するツールです。
checksがビルドされるため、 適切にflake.nixで設定されていればリント・ビルド・テストが全て実行されます。
nix flake checkと比べて評価が並列化されるため高速です。
FlakeはGitで追跡されているファイルのみを対象とするため、
新規ファイルがある場合は事前にgit ls-files --others --exclude-standard -z | git add --intent-to-add --pathspec-from-file=- --pathspec-file-nulを実行してください。
未追跡ファイルがなく空の入力でもエラーにはなりません。
典型的な使い方
手元のターミナルで実行する場合
nix-fast-build --option eval-cache false --no-link --skip-cached
nomによるリッチな出力が表示されます。
Claude CodeやCIなど非対話環境で実行する場合
nix-fast-build --option eval-cache false --no-link --skip-cached --no-nom
nomはターミナル制御シーケンスに依存するため、
非対話環境では--no-nomを追加してください。
IFDを使うプロジェクトでの注意
nix-fast-buildは--systemsでビルド対象を絞っても、
評価は全アーキテクチャに対して行います。
IFD(Import From Derivation)は評価フェーズでderivationのビルドを要求するため、
ローカルでビルドできないアーキテクチャのIFDが走ってエラーになることがあります。
nix flake checkはNix 2.16以降デフォルトで他システムの評価をスキップするためこの問題が出にくいですが、
nix-eval-jobsにはその仕組みがありません。
回避策: Flake URLでシステムを限定する
評価対象を現在のシステムに限定することで回避できます。
nix-fast-build --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" --no-link --skip-cached
--impureが必要ですが、
builtins.currentSystemを取得するだけなので実害はありません。
オプション
nix-fast-build --helpの順番に記載しています。
-f, --flake FLAKE
評価・ビルド対象のFlake URLを指定します。
デフォルトは.#checksで、通常はそのままで問題ありません。
-j, --max-jobs MAX_JOBS
同時に実行するビルドジョブの最大数です。 0を指定すると無制限になります。 基本的にデフォルトで問題ありません。
これはNixデーモンのmax-jobsとは別の制御です。
nix-fast-buildがビルドキューから同時にディスパッチするジョブ数を制限します。
--option name value
Nixの設定オプションを指定します。
nix build --optionと同じ形式です。
--option eval-cache false
よく使う例です。 評価キャッシュを無効化します。
評価キャッシュはSQLiteで管理されており、 並列評価時にビジー状態の警告が出ることがあります。 煩わしい場合は無効化してください。
--remote-ssh-option name value
リモートマシンへのSSH接続オプションを指定します。
--cachix-cache CACHIX_CACHE
アップロード先のCachixキャッシュ名を指定します。
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.
- 11d 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 today), licensed Apache-2.0. It adds 35 tokens to every session and 1,970 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
bun-sqlite
Use for bun:sqlite, SQLite operations, prepared statements, transactions, and queries.
cloudflare-email-routing
Cloudflare Email Routing for receiving/sending emails via Workers. Use for email workers, forwarding, allowlists, or encountering Email Trigger errors, worker call failures, SPF issues.
bun-http-server
Use when building HTTP servers with Bun.serve, handling requests/responses, implementing routing, creating REST APIs, or configuring fetch handlers.
api-testing
HTTP API testing for TypeScript (Supertest) and Python (httpx, pytest). Test REST APIs, GraphQL, request/response validation, authentication, and error handling.
bun-jest-migration
Use when migrating from Jest to Bun's test runner, import compatibility, mocks, and config.
cloudflare-workers-migration
Migrate to Cloudflare Workers from AWS Lambda, Vercel, Express, and Node.js. Use when porting existing applications to the edge, adapting serverless functions, or resolving Node.js API compatibility issues.