Nix Skills
Nixpkgs overlay for AI agent skills from skills.sh and skillsdirectory.com
sudosubin · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add sudosubin/nix-skills技能说明
nix-skills
Nix expressions for AI agent skills from skills.sh and skillsdirectory.com. Two independent GitHub Actions workflows keep the data fresh: Fetch Sources and Update Skills, each running every 3 hours.
As of March 2026, this flake provides Nix derivations for over 480,000 skills sourced from nearly 13,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 and set them up.
Overlay
Read about Overlays.
With flakes
Add nix-skills to your flake inputs:
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nix-skills.url = "github:sudosubin/nix-skills";
};
outputs = { nixpkgs, nix-skills, ... }:
let
pkgs = import nixpkgs {
system = "aarch64-darwin"; # or "x86_64-linux", etc.
overlays = [ nix-skills.overlays.default ];
};
in
{
# pkgs.skills.<owner>.<repo>.<skill-name>
};
}
Without flakes
let
nix-skills = import (builtins.fetchGit {
url = "https://github.com/sudosubin/nix-skills";
ref = "refs/heads/main";
});
pkgs = import <nixpkgs> {
overlays = [ nix-skills.overlays.default ];
};
in
# pkgs.skills.<owner>.<repo>.<skill-name>
Usage
Get skills
Get skills via the overlay
After applying the overlay (see Overlay), skills are available under pkgs.skills:
pkgs.skills.<owner>.<repo>.<skill-name>
Get skills from nix-skills directly
Without the overlay, you can acce