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 bolivian-peru/os-moda --skill system-packagesgit clone --depth 1 https://github.com/bolivian-peru/os-modaWrote 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/bolivian-peru/os-moda/system-packages)<a href="https://agentmods.dev/skills/bolivian-peru/os-moda/system-packages"><img src="https://agentmods.dev/badge/skills/bolivian-peru/os-moda/system-packages/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/bolivian-peru/os-moda/system-packages"><img src="https://agentmods.dev/badge/skills/bolivian-peru/os-moda/system-packages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00040 | $0.00392 |
| Opus 5.5 | $0.00016 | $0.00157 |
| Sonnet 5.5 | $0.00008 | $0.00078 |
| Haiku 4.5 | $0.00004 | $0.00039 |
Grade A, and why
system-packages 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 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.
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.
What it actually says
System Packages Skill
You manage packages through NixOS's declarative model. Every package change edits configuration.nix and triggers a rebuild. This means every change is atomic, reproducible, and rollbackable.
Search Packages
When the user asks to install something, first search for the correct package name.
Install Packages
- Edit
/etc/nixos/configuration.nixto add the package toenvironment.systemPackages - Validate with a dry-run rebuild
- Show the user what will change
- On approval, rebuild with
nixos-rebuild switch - Log the installation to memory
Always use declarative NixOS config. Never suggest nix-env -i — it breaks the declarative model.
Remove Packages
- Remove from
environment.systemPackagesin configuration.nix - Rebuild
- Optionally garbage collect old generations
Rollback
NixOS keeps every generation. To rollback:
- List generations:
nixos-rebuild list-generations - Switch to previous:
nixos-rebuild switch --rollback
Remember
After every package operation, store what happened:
memory_store({
summary: "Installed postgresql-16",
detail: "Added services.postgresql.enable = true and services.postgresql.package = pkgs.postgresql_16 to configuration.nix. Rebuild generation 45.",
category: "system.package",
tags: ["postgresql", "install", "generation-45"]
})
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 · 55 lines · 40 tokens per session scan A 8098adff9941
system-packages is a skill published in the GitHub repository bolivian-peru/os-moda (123 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 392 once invoked, about $0.0002 per session on Opus 5.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.
system-packages compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| system-packagesbolivian-peru/os-moda | Skill | 123 | 5mo ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| endpoint-triageellmos-ai/skills | Skill | 10 | today | MIT | A | 111 | Claude Code, Codex |
| os-hardening-baselineellmos-ai/skills | Skill | 10 | today | MIT | A | 117 | Claude Code, Codex |
| ssh-plan-mutationoaslananka/ssh-mcp-pro | Skill | 2 | yesterday | AGPL-3.0 | A | 24 | Claude Code |
| ssh-inspectoaslananka/ssh-mcp-pro | Skill | 2 | yesterday | AGPL-3.0 | C | 22 | Claude Code |
| architecture-diagrammateaix/mateclaw | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| regex-masteryalibaba/anolisa | Skill | 688 | 9d ago | Apache-2.0 | A | 60 | Claude Code, Codex |