
nix-toolkit
Author Nix code and diagnose builds, flakes, and evaluation.
- version
- 0.4.12
- GitHub stars
- 347
Install
/plugin install nix-toolkit@khanelinix-ai-toolsRun it inside Claude Code after adding the marketplace with /plugin marketplace add khaneliman/khanelinix.
Contents
Discovered from sourceSkills 1
Nix Toolkit Playbook
Use this toolkit for Nix authoring and operational work. The caller retains lifecycle ownership; a diagnosis alone does not authorize code changes.
Select the Work
- Read repository contributor docs and scoped guidance. They override this toolkit's authoring defaults.
- Select the branch that matches the requested result. Load only that reference and the detail it selects. When diagnosis leads to an authorized fix, load authoring guidance before editing.
- Run the focused check that proves the result. Report the target, exact command, observed result, and any unverified behavior.
Authoring references own Nix construction and semantic choices. Evaluation performance owns profiling, measurement, and optimization acceptance. Review guidance owns finding thresholds and suggestions; load it only for review work.
Execution Routing
| Requested result | Read |
|---|---|
| Create or refactor expressions, NixOS, nix-darwin or Home Manager modules, overlays, packages, or flake outputs | Authoring |
| Review Nix changes, decide whether to request changes, or write suggestions | Review guidance |
| Compare package outputs, prove a dependency removal changes nothing, or check rebuild reproducibility | Package diffing |
| Diagnose a failed build | Build debugging |
| Find why an option resolves to that value, conflicts, or recurses infinitely | Option forensics |
| Choose or verify a module test tier | Module testing |
| Explain or reduce closure contents | Closure analysis |
| Trace a dependency or its owning option | Dependency forensics |
| Update flake inputs or maintain lock files | Flake maintenance |
| Maintain nixpkgs updates, plugins, or review publication | Nixpkgs maintenance |
| Measure evaluation cost or validate an optimization | Evaluation performance |
| Remove import-from-derivation | IFD remediation |
| Verify activation or loaded runtime state | Activation verification |
For first-pass reports or repeatable measurements, read Scripts and use the matching bundled helper. Read Operating rules for operational reporting, privilege-wrapper failures, or toolkit maintenance.
Sponsors
Details
- Marketplace
- khaneliman/khanelinix
- Source
- modules/common/ai-tools/skills/nix-toolkit
- Author
- khaneliman
- Category
- Developer Tools
More from khaneliman/khanelinix
All 43- okf-memoryv0.1.6
- performance-forensicsv0.1.4
- planning-with-filesv0.1.9
- program-orchestrationv0.1.5
- recallv0.1.7
- requirements-interviewv0.1.4
- researchv0.1.3
- rust-toolkitv0.1.6
- sarif-toolkitv0.1.5
- security-toolkitv0.1.7
- show-me-your-workv0.1.7
- skill-creatorv0.1.8
- software-engineeringv0.1.9
- tddv0.1.4
- technical-writingv0.2.0
- to-specv0.1.1
- to-ticketsv0.1.1
- typescript-best-practicesv0.1.6
- unslopv0.1.7
- verification-harnessv0.1.5
- whyv0.1.6
- ai-tools-architectv0.1.21
- architectv0.1.7
- arenav0.1.5