sudosubin

Agents.Nix — AI skill for Claude Code

AI community

Nixpkgs overlay for AI agent skills from skills.sh and skillsdirectory.com.

How to install Agents.Nix

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sudosubin/agents.nix and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agents.Nix does

Nixpkgs overlay for AI agent skills from skills.sh and skillsdirectory.com.

Alternatives in AI

  • Rigup.Nix — AI agents and Nix: parametrable skills/instructions and tools, packaged together in a reproducible and modular 86 ★
  • Nixos AI Skill — Auto-updated NixOS & Nix ecosystem documentation for AI coding assistants — works with 33+ tools via the Agent 21 ★
  • Agent Arcade — A retro platformer that runs as a transparent overlay on your desktop 16 ★

README

agents.nix

Nix expressions for AI agent skills from [skills.sh](https://skills.sh) and [skillsdirectory.com](https://www.skillsdirectory.com).

As of September 2026, this flake provides Nix derivations for over 145,000 skills sourced from more than 21,000 GitHub repositories. Each skill is individually packaged, pinned to a specific revision, and made available through a nixpkgs overlay.

Prerequisites

(Optional) Enable flakes

Read about [Nix flakes](https://wiki.nixos.org/wiki/Flakes) and [set them up](https://wiki.nixos.org/wiki/Flakes#Setup).

Overlay

Read about [Overlays](https://wiki.nixos.org/wiki/Overlays#Using_overlays).

With flakes

Add `agents.nix` to your flake inputs:

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
    agents-nix.url = "github:sudosubin/agents.nix";
  };

  outputs = { nixpkgs, agents-nix, ... }:
    let
      pkgs = import nixpkgs {
        system = "aarch64-darwin"; # or "x86_64-linux", etc.
        overlays = [ agents-nix.overlays.default ];
      };
    in
    {
      # pkgs.agent-skills.github...
    };
}

Without flakes

let
  agents-nix = import (builtins.fetchGit {
    url = "https://github.com/sudosubin/agents.nix";
    ref = "refs/heads/main";
  });

  pkgs = import  {
    overlays = [ agents-nix.overlays.default ];
  };
in
  # pkgs.agent-skills.github...

Usage

Get `agent-skills`

Get `agent-skills` via the overlay

After applying the overlay (see [Overlay](#overlay)), skills are available under `pkgs.agent-skills`:

pkgs.agent-skills.github...

Get `agent-skills` from `agents.nix` directly

Without the overlay, you can access skills from the flake outputs:

agents-nix.agent-skills.${system}.github...

Skill identifiers

Skills are organized in a four-level hierarchy: `github...`