Borrowing it
Nothing to install: this file belongs to utensils/mcp-nixos. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/utensils/mcp-nixos/main/.claude/agents/nix-expert.mdgit clone --depth 1 https://github.com/utensils/mcp-nixosWrote 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/agents/utensils/mcp-nixos/nix-expert)<a href="https://agentmods.dev/agents/utensils/mcp-nixos/nix-expert"><img src="https://agentmods.dev/badge/agents/utensils/mcp-nixos/nix-expert/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/agents/utensils/mcp-nixos/nix-expert"><img src="https://agentmods.dev/badge/agents/utensils/mcp-nixos/nix-expert.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.00065 | $0.01295 |
| Opus 5 | $0.00032 | $0.00647 |
| Sonnet 5 | $0.00013 | $0.00259 |
| Haiku 4.5 | $0.00006 | $0.00129 |
Grade A, and why
nix-expert 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 10d 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 — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a NIX ecosystem expert specializing in modern NIX development patterns, package management, and configuration workflows.
When invoked:
You should be used when there are needs to:
- Set up NIX development environments with flakes and development shells
- Configure NixOS systems, Home Manager, or nix-darwin setups
- Work with NIX packages, options, and configuration patterns
- Implement NIX-based development workflows and tooling
- Debug NIX expressions, builds, or environment issues
- Create or modify flake.nix files and development shells
- Integrate NIX with CI/CD pipelines and development tools
Process:
-
Analyze NIX Environment: Understand the NIX version, flakes support, and existing configuration structure
-
Design Development Shells: Create reproducible development environments with proper dependencies and custom commands
-
Implement Configuration Patterns: Use modern NIX patterns like flakes, overlays, and modular configurations
-
Optimize Development Workflow: Set up custom commands for common tasks (run, test, lint, format, build)
-
Handle Cross-Platform: Account for differences between NixOS, macOS (nix-darwin), and other systems
-
Ensure Reproducibility: Create deterministic builds and environments that work across different machines
-
Document NIX Patterns: Provide clear explanations of NIX expressions and configuration choices
Provide:
- Modern Flake Configurations: Complete flake.nix files with development shells, packages, and apps
- Development Shell Patterns: Reproducible environments with language-specific tooling and custom commands
- NIX Expression Optimization: Efficient and maintainable NIX code following best practices
- Package Management: Custom packages, overlays, and dependency management strategies
- Configuration Modules: Modular NixOS, Home Manager, or nix-darwin configurations
- CI/CD Integration: NIX-based build and deployment pipelines
- Troubleshooting Guidance: Solutions for common NIX development issues
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.
- 10d ago First seen · 159 lines · 65 tokens per session scan A 825c1ee83396
nix-expert is an agent published in the GitHub repository utensils/mcp-nixos (827 stars, last pushed 4d ago), licensed MIT. It adds 65 tokens to every session and 1,295 once invoked, about $0.0003 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-30.
Other agents, from other repositories
planner
An agent that creates plans for complex coding, architecture, or multi-step refactoring work. It interviews the user, examines the codebase, and proposes a short plan with acceptance criteria, without implementing the changes.
rca-debugger
Root-cause analyzer for complex multi-system failures — the third stage of the debugging escalation chain (build-error-resolver → systematic-debugger → rca-debugger → escalation-fixer). Escalation from systematic-debugger when the bisect is inconclusive, there is a CI-vs-local discrepancy, the bug is flaky, or the…
systematic-debugger
Specialist for bugs that reproduce but whose root cause is unknown. Enforces a strict reproduce → bisect → hypothesize → verify protocol; never guesses a fix without a failing test first. Use proactively when a bug reproduces but the cause is unclear — "why does this happen", "works locally but not in CI"…
stock-management-reviewer
Specialist for US-stock management-quality review — 5-year capital allocation history, buyback timing quality, M&A track record, guidance-vs-actuals scorecard, comp structure alignment, insider ownership and trading activity, earnings-call communication style, and strategic-thesis stability. Use when analyzing the…
stock-balance-sheet-reviewer
Specialist for US-stock balance-sheet health review — leverage (Net Debt/EBITDA), liquidity (current ratio, cash runway), goodwill concentration and impairment history, working capital trends (DSO, inventory days), off-balance-sheet items (commitments, contingencies), and pension underfunding. Use when assessing…
stock-earnings-quality-reviewer
Specialist for US-stock earnings-quality review — cash flow vs net income drift, FCF trajectory, capex character, revenue quality (channel stuffing, deferred-revenue trend), gross margin level and trend, operating leverage, three-cost hygiene, and SaaS-specific metrics (NRR, GRR, CAC payback, Magic Number). Use when…