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 Firstp1ck/pi-coding-agent-forge --skill nixos-localgit clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forgeWrote 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/firstp1ck/pi-coding-agent-forge/nixos-local)<a href="https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/nixos-local"><img src="https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/nixos-local/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/firstp1ck/pi-coding-agent-forge/nixos-local"><img src="https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/nixos-local.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.00071 | $0.01248 |
| Opus 5.5 | $0.00028 | $0.00499 |
| Sonnet 5.5 | $0.00014 | $0.00250 |
| Haiku 4.5 | $0.00007 | $0.00125 |
Grade C, and why
nixos-local scanned grade C with 1 finding 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 3mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf /nix/store How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NixOS/Nix Local Wiki
Use the local official NixOS/Nix documentation corpus before web sources.
Setup requirement
This skill requires the local documentation corpus at:
~/.nixoswiki
If the corpus is missing or empty, tell the user to run:
/nixoswiki-local-setup
The setup command is designed to be idempotent and minimal: shallow, sparse, blob-filtered Git checkouts with common images/binaries excluded.
After package/corpus changes, verify local behavior with /nixoswiki-smoke-test or nixoswiki_smoke_test({ maxSearchResults: 5 }).
Required workflow
- Classify the question: Nix command, flake workflow, Nix language, NixOS module/option, nixpkgs packaging/overlay, or store/cache/daemon/profile issue.
- Start with
nixoswiki_search({ query, limit: 5, includeSnippets: false })for NixOS/Nix issues. - Use
nixoswiki_sections({ page, maxSections: 40-80 })when the right page is found but the relevant heading is unclear. - Prefer exact
nixoswiki_extract({ page, section, maxChars: 4000-8000, maxSections: 2-5 })for final citations. - Use query extraction only for exploration, then switch to exact section names when possible.
- Use
nixoswiki_readonly when broad page context is needed. - Use
nixoswiki_relatedwhen the issue spans linked topics. - Run read-only local diagnostics when system/project evidence is relevant.
- Compare documentation guidance with observed local state.
- Cite local paths and section names in final answers.
- Ask before destructive or user-facing changes.
Source priority
- Local official NixOS/Nix corpus via
nixoswiki_*tools. - Local project/system evidence relevant to the user's current environment.
- Official online NixOS/Nix documentation only when local docs are missing, stale, or insufficient.
- Other sources only when necessary and clearly labeled.
Local source selection
Use references/source-map.md when choosing which official corpus to trust first:
~/.nixoswiki/nix/for Nix CLI, Nix language, store, daemon, andnix.confbehavior.~/.nixoswiki/nixpkgs/for NixOS modules/options and nixpkgs packaging/overlays/stdenv.~/.nixoswiki/nix.dev/for tutorials, learning paths, and practical examples.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 117 lines · 71 tokens per session scan C 075c030d8a54
nixos-local is a skill published in the GitHub repository Firstp1ck/pi-coding-agent-forge (96 stars, last pushed yesterday), licensed MIT. It adds 71 tokens to every session and 1,248 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
nixos-local compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nixos-localFirstp1ck/pi-coding-agent-forge | Skill | 96 | yesterday | MIT | C | 71 | Claude Code, Codex |
| biopythonsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 76 | Claude Code, Codex |
| better-t-stackAmanVarshney01/create-better-t-stack | Skill | 5.9k | today | MIT | A | 149 | Claude Code, Codex |
| rust-crate-ciZaxbyHub/opencode-swarm | Skill | 549 | yesterday | MIT | A | 60 | Claude Code |
| modern-gosmallnest/pigo | Skill | 505 | 12d ago | MIT | A | 102 | Claude Code, Codex |
| convex-component-authoringwaynesutton/convexskills | Skill | 405 | 16d ago | Apache-2.0 | A | 28 | Claude Code, Codex |
| node-modules-inspectorantfu/node-modules-inspector | Skill | 3.0k | 2mo ago | MIT | A | 156 | Claude Code, Codex |