natural-language-config

natural-language-config is a skill for Claude Code, Codex from bolivian-peru/os-moda. It costs 39 tokens per session (749 once invoked), scanned A, original, Apache-2.0.

A guide for turning plain-English requests into NixOS configuration, where a Linux system is defined in text files. It shows the proposed changes, waits for approval, applies them, and checks the result.

In plain words
What is it for?
Use it to set up services, install and configure software, change networking or security settings, and apply approved changes with NixOS rebuilds.
Why use it?
It removes the need to know the exact NixOS options and helps make configuration changes reviewable and undoable.

Skill for Claude CodeCodex

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

Good fit Use it to set up services, install and configure software, change networking or security settings, and apply approved changes with NixOS rebuilds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bolivian-peru/os-moda/natural-language-config
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 bolivian-peru/os-moda --skill natural-language-config
Clone the repo
git clone --depth 1 https://github.com/bolivian-peru/os-moda

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 natural-language-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/bolivian-peru/os-moda/natural-language-config/github.svg)](https://agentmods.dev/skills/bolivian-peru/os-moda/natural-language-config)
Your own site
<a href="https://agentmods.dev/skills/bolivian-peru/os-moda/natural-language-config"><img src="https://agentmods.dev/badge/skills/bolivian-peru/os-moda/natural-language-config/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 natural-language-config

Your own site · 80×15
<a href="https://agentmods.dev/skills/bolivian-peru/os-moda/natural-language-config"><img src="https://agentmods.dev/badge/skills/bolivian-peru/os-moda/natural-language-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 749 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.00749
Opus 5 $0.00019 $0.00375
Sonnet 5 $0.00008 $0.00150
Haiku 4.5 $0.00004 $0.00075

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

Security

Grade A, and why

natural-language-config 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 12d 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.

skills/natural-language-config/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.

Natural Language NixOS Config Skill

Users describe what they want in plain English. You write the NixOS config.

Workflow

  1. Understand the request "Set up PostgreSQL with nightly backups" "Install and configure Caddy as a reverse proxy for port 3000" "Enable fail2ban to block brute force SSH"

  2. Read current config

    file_read({ path: "/etc/nixos/configuration.nix" })
    
  3. Generate the NixOS module Write idiomatic NixOS configuration. Use services.*, networking.*, security.* etc. Prefer declarative NixOS options over imperative scripts.

  4. Show the diff to the user Present EXACTLY what will change. Use a code block with +/- diff markers. Explain each change in plain English.

  5. Wait for approval NEVER apply changes without user confirmation. "Here's what I'll add to your NixOS config. Apply it? [Y/n]"

  6. Apply atomically

    shell_exec({ command: "nixos-rebuild switch" })
    
  7. Verify Check the service started correctly.

    service_status({ service: "postgresql" })
    
  8. Log everything

    memory_store({
      summary: "Installed PostgreSQL with nightly pg_dump backups",
      detail: "Added services.postgresql, services.postgresqlBackup to configuration.nix. Generation 49.",
      category: "system.config",
      tags: "nixos,postgresql,config-change"
    })
    

NixOS Config Conventions

  • Configuration goes in /etc/nixos/configuration.nix or imported modules
  • Use mkIf, mkOption, mkDefault when extending existing config
  • Prefer services.X.enable = true; patterns
  • For packages: add to environment.systemPackages
  • For firewall: networking.firewall.allowedTCPPorts
  • For users: users.users.X

Example Interaction

User: "Set up nginx to serve a static site from /var/www"

Response:

I'll add nginx to your NixOS config. Here's the change:

  services.nginx = {
    enable = true;
    virtualHosts."default" = {
      root = "/var/www";
      locations."/" = {
        index = "index.html";
      };
    };
  };
  networking.firewall.allowedTCPPorts = [ 80 443 ];

This will:
- Install and start nginx
- Serve /var/www on port 80
- Open ports 80 and 443 in the firewall

Apply this? The change is atomic and rollbackable.

Read the full file on GitHub · 117 lines

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. 12d ago First seen · 117 lines · 39 tokens per session scan A 0ae6e5b09d7d

Subscribe to this mod's changes

natural-language-config is a skill published in the GitHub repository bolivian-peru/os-moda (117 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 749 once invoked, about $0.0002 per session on Opus 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.