nixos_config: Skill for Gemini CLI

.gemini/skills/home-manager/SKILL.md

home-manager is a skill for Gemini CLI from olafkfreund/nixos_config. It costs 6 tokens per session (6,522 once invoked), scanned D, original, GPL-3.0.

A guide for Home Manager, a Nix tool for declaring a user's files, programs, and settings as configuration. It focuses on NixOS home environments and dotfiles.

In plain words
What is it for?
It is for setting up home directories, managing dotfiles, and configuring user programs on NixOS.
Why use it?
It helps manage a user environment from repeatable configuration instead of changing files and settings manually.

Skill for Gemini CLI

Written for Gemini CLI: installed under .gemini/.

This is olafkfreund/nixos_config's own configuration. It tells Gemini CLI how to work on nixos_config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nixos_config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to olafkfreund/nixos_config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/olafkfreund/nixos_config/main/.gemini/skills/home-manager/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/olafkfreund/nixos_config

Made for: Gemini CLI.

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 home-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/olafkfreund/nixos_config/home-manager/github.svg)](https://agentmods.dev/skills/olafkfreund/nixos_config/home-manager)
Your own site
<a href="https://agentmods.dev/skills/olafkfreund/nixos_config/home-manager"><img src="https://agentmods.dev/badge/skills/olafkfreund/nixos_config/home-manager/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 home-manager

Your own site · 80×15
<a href="https://agentmods.dev/skills/olafkfreund/nixos_config/home-manager"><img src="https://agentmods.dev/badge/skills/olafkfreund/nixos_config/home-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,522 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00006 $0.06522
Opus 5 $0.00003 $0.03261
Sonnet 5 $0.00001 $0.01304
Haiku 4.5 $0.00001 $0.00652

Measured 11d ago against content hash 07faba098330, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade D, and why

home-manager scanned grade D with 2 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 11d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

update = "sudo nixos-rebuild switch";

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

identityFile = "~/.ssh/id_ed25519";
.gemini/skills/home-manager/SKILL.md · 1,317 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 11d ago First seen · 1,317 lines · 6 tokens per session scan D 07faba098330

Subscribe to this mod's changes

home-manager is a skill published in the GitHub repository olafkfreund/nixos_config (23 stars, last pushed today), licensed GPL-3.0. It adds 6 tokens to every session and 6,522 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens