/ 디렉터리 / 플레이그라운드 / agent-skills-nix
● 커뮤니티 Kyure-A ⚡ 바로 사용

agent-skills-nix

제작: Kyure-A · Kyure-A/agent-skills-nix

Manage your Claude Agent Skills declaratively with Nix — reproducible skill sets across machines.

A Nix flake that lets you declare your Agent Skills in Nix config and have them materialized into ~/.claude/skills/ (or any target). Useful if you already live in NixOS or Home Manager and want your skill setup to be as reproducible as the rest of your dotfiles.

왜 쓰나요

핵심 기능

라이브 데모

실제 사용 모습

agent-skills-nix-skill.replay ▶ 준비됨
0/0

설치

클라이언트 선택

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "agent-skills-nix-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Kyure-A/agent-skills-nix",
        "~/.claude/skills/agent-skills-nix"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config 열기. 저장 후 앱 재시작.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "agent-skills-nix-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Kyure-A/agent-skills-nix",
        "~/.claude/skills/agent-skills-nix"
      ],
      "_inferred": true
    }
  }
}

Cursor는 Claude Desktop과 동일한 mcpServers 스키마 사용. 프로젝트 설정이 전역보다 우선.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "agent-skills-nix-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Kyure-A/agent-skills-nix",
        "~/.claude/skills/agent-skills-nix"
      ],
      "_inferred": true
    }
  }
}

Cline 사이드바의 MCP Servers 아이콘 클릭 후 "Edit Configuration" 선택.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "agent-skills-nix-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Kyure-A/agent-skills-nix",
        "~/.claude/skills/agent-skills-nix"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop과 같은 형식. Windsurf 재시작 후 적용.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "agent-skills-nix-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Kyure-A/agent-skills-nix",
        "~/.claude/skills/agent-skills-nix"
      ]
    }
  ]
}

Continue는 맵이 아닌 서버 오브젝트 배열 사용.

~/.config/zed/settings.json
{
  "context_servers": {
    "agent-skills-nix-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/Kyure-A/agent-skills-nix",
          "~/.claude/skills/agent-skills-nix"
        ]
      }
    }
  }
}

context_servers에 추가. 저장 시 Zed가 핫 리로드.

claude mcp add agent-skills-nix-skill -- git clone https://github.com/Kyure-A/agent-skills-nix ~/.claude/skills/agent-skills-nix

한 줄 명령. claude mcp list로 확인, claude mcp remove로 제거.

사용 사례

실전 활용법: agent-skills-nix

How to declare your Claude skills in a Nix flake

👤 NixOS / Home Manager users ⏱ ~25 min intermediate

언제 쓸까: You want your Claude skill set tracked the same way as your shells, editors, and services.

사전 조건
  • Nix with flakes enabled — echo 'experimental-features = nix-command flakes' >> ~/.config/nix/nix.conf
  • The flake added as an input — flake input agent-skills-nix.url = "github:Kyure-A/agent-skills-nix";
흐름
  1. Add the input
    Add agent-skills-nix to my flake inputs and wire it into Home Manager.✓ 복사됨
    → flake.nix updated with the input + module import
  2. List the skills I want
    Declare the skills I use: linear-claude-skill, symfony-ux-skills, mck-ppt-design-skill. Pin to current main.✓ 복사됨
    → A skills = { ... }; block with pinned revs
  3. Build and switch
    Run home-manager switch and verify ~/.claude/skills/ is populated.✓ 복사됨
    → All skills present as symlinked directories

결과: Reproducible skill set managed by Nix — wipe your dotfiles and get the same setup back in one command.

함정
  • Upstream skill changes break your workflow — Pin to a specific rev, only bump on purpose
함께 쓰기: filesystem

Sync the same skill set across laptop and workstation

👤 Multi-machine developers ⏱ ~15 min intermediate

언제 쓸까: You switch between a laptop and a desktop and keep forgetting to clone the same skills on both.

흐름
  1. Add to your shared HM module
    Move the skills declaration into my shared home-manager module so both hosts import it.✓ 복사됨
    → Single source of truth, two hosts consuming it
  2. Switch both hosts
    Build and switch on both machines.✓ 복사됨
    → Matching ~/.claude/skills/ on both

결과: Both machines carry the same skill bundle automatically.

함정
  • Forgetting to commit and push before switching on the second machine — Use a self-flake with autoCommit or a shared git repo

조합

다른 MCP와 조합해 10배 효율

agent-skills-nix-skill + filesystem

Claude reads your flake and suggests skills to add/remove

Read my flake.nix, check which of my installed skills haven't been used in 30 days, and suggest removals.✓ 복사됨

도구

이 MCP가 노출하는 것

도구입력언제 호출비용
skill-declaration set of { name, url, rev } During home-manager switch / nixos-rebuild nix build runtime
lock-management flake.lock When you want deterministic upgrades 0

비용 및 제한

운영 비용

API 쿼터
none
호출당 토큰
minimal — Nix declarations are short
금액
free
Keep your skill set small — every skill costs context tokens at load time

보안

권한, 시크릿, 파급범위

자격 증명 저장: none
데이터 외부 송신: fetches only the skill repos you declare

문제 해결

자주 발생하는 오류와 해결

Flake doesn't evaluate

Check input url format and run nix flake check for specific errors.

확인: nix flake check
Skills dir empty after switch

Make sure the module is actually imported in your HM config, and home.activation is running.

확인: ls ~/.claude/skills/
Pinned rev 404

The upstream repo may have rewritten history — update the rev.

대안

agent-skills-nix 다른 것과 비교

대안언제 쓰나단점/장점
manual git cloneYou're not on Nix and don't want to beNo reproducibility; easy drift
agent-skills-cli-skillYou want a CLI installer without NixImperative rather than declarative

더 보기

리소스

📖 GitHub에서 공식 README 읽기

🐙 열린 이슈 보기

🔍 400+ MCP 서버 및 Skills 전체 보기