nixos-local

nixos-local is a skill for Claude Code, Codex from Firstp1ck/pi-coding-agent-forge. It costs 71 tokens per session (1,248 once invoked), scanned C, original, MIT.

A local reference and troubleshooting workflow for NixOS and Nix, including Nix language, packages, flakes, and system configuration.

In plain words
What is it for?
Searching Nix documentation, locating relevant sections, extracting exact guidance, and checking local setup or behavior.
Why use it?
It helps find answers in local official documentation before relying on general web results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Searching Nix documentation, locating relevant sections, extracting exact guidance, and checking local setup or behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/firstp1ck/pi-coding-agent-forge/nixos-local
Install

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.

Any agent
npx skills add Firstp1ck/pi-coding-agent-forge --skill nixos-local
Clone the repo
git clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forge

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for nixos-local

README.md
[![agentmods](https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/nixos-local/github.svg)](https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/nixos-local)
Your own site
<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.

agentmods 80×15 button for nixos-local

Your own site · 80×15
<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>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,248 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3mo ago against content hash 075c030d8a54, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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
pi-extension-nixos-wiki-local/skills/nixos-local/SKILL.md · 117 lines

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

  1. Classify the question: Nix command, flake workflow, Nix language, NixOS module/option, nixpkgs packaging/overlay, or store/cache/daemon/profile issue.
  2. Start with nixoswiki_search({ query, limit: 5, includeSnippets: false }) for NixOS/Nix issues.
  3. Use nixoswiki_sections({ page, maxSections: 40-80 }) when the right page is found but the relevant heading is unclear.
  4. Prefer exact nixoswiki_extract({ page, section, maxChars: 4000-8000, maxSections: 2-5 }) for final citations.
  5. Use query extraction only for exploration, then switch to exact section names when possible.
  6. Use nixoswiki_read only when broad page context is needed.
  7. Use nixoswiki_related when the issue spans linked topics.
  8. Run read-only local diagnostics when system/project evidence is relevant.
  9. Compare documentation guidance with observed local state.
  10. Cite local paths and section names in final answers.
  11. Ask before destructive or user-facing changes.

Source priority

  1. Local official NixOS/Nix corpus via nixoswiki_* tools.
  2. Local project/system evidence relevant to the user's current environment.
  3. Official online NixOS/Nix documentation only when local docs are missing, stale, or insufficient.
  4. 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, and nix.conf behavior.
  • ~/.nixoswiki/nixpkgs/ for NixOS modules/options and nixpkgs packaging/overlays/stdenv.
  • ~/.nixoswiki/nix.dev/ for tutorials, learning paths, and practical examples.

Read the full file on GitHub · 117 lines

Files

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.

Changes

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.

  1. 3mo ago First seen · 117 lines · 71 tokens per session scan C 075c030d8a54

Subscribe to this mod's changes

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.

Related

nixos-local compared with skills from other repositories

nixos-local next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nixos-localFirstp1ck/pi-coding-agent-forgeSkill96yesterdayMITC71Claude Code, Codex
biopythonsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex
better-t-stackAmanVarshney01/create-better-t-stackSkill5.9ktodayMITA149Claude Code, Codex
rust-crate-ciZaxbyHub/opencode-swarmSkill549yesterdayMITA60Claude Code
modern-gosmallnest/pigoSkill50512d agoMITA102Claude Code, Codex
convex-component-authoringwaynesutton/convexskillsSkill40516d agoApache-2.0A28Claude Code, Codex
node-modules-inspectorantfu/node-modules-inspectorSkill3.0k2mo agoMITA156Claude Code, Codex