KA

kyure-a/agent-skills-nix

Analytics & monitoring

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

289 stars 품질 65 트렌드 15MIT

kyure-a/agent-skills-nix는 [T0]]에서 가져온 에이전트 기술 후보입니다

개요

kyure-a/agent-skills-nix는 [T0]]에서 가져온 에이전트 기술 후보입니다

개요(AI 번역)

에이전트 스킬 관리(SKILL.md])는 Nix로 선언합니다. Pin 기술 소스, 필요한 기술을 선택하고, 홈을 통해 설치 관리자 또는 프로젝트 로컬 명령. 또한 선택한 기술을 수출할 수 있습니다. 셀프컨테이너 플러그인.

기본적으로 아무것도 설치되지 않습니다: 두 기술 및 대상을 명시적으로 선택합니다.

홈 관리자와 빠른 시작

기존의 가짜 기반 홈 관리자 구성을 위해이 입력을 추가하십시오. 당신의 조각:

outputs = inputs@{ ... }: ...;를 입력합니다. 기타 제품 inputs.agent-skills.homeManagerModules.default 당신의 기존의 홈 관리자에 modules 목록 및 패스 extraSpecialArgs = { inherit inputs; }; home-manager.lib.homeManagerConfiguration. 이름의 기술 입력 모듈에 사용할 수 있습니다.

다음 홈 관리자 구성에 다음을 추가:

홈 관리자 구성을 평소처럼 적용하십시오. 선택한 기술은 동기화됩니다. ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/skills. 다른 에이전트를 사용 targets. .enable = true;; 기본 대상 경로 참조. 기존의 비empty 기술 디렉토리의 경우, 참조 대상 소유권.

완전한 quickstart 예제 모두보기 입력을 배열하는 방법:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

agent-skills-nix

Manage Agent Skills (directories containing SKILL.md) declaratively with Nix. Pin skill sources, select the skills you need, and install them through Home Manager or project-local commands. You can also export selected skills as a self-contained Agent Plugin.

Nothing is installed by default: choose both skills and targets explicitly.

Quick start with Home Manager

For an existing flake-based Home Manager configuration, add these inputs to your flake:

inputs = {
  agent-skills.url = "github:Kyure-A/agent-skills-nix";
  anthropic-skills = {
    url = "github:anthropics/skills";
    flake = false;
  };
};

Capture the flake inputs with outputs = inputs@{ ... }: ...;. Add inputs.agent-skills.homeManagerModules.default to your existing Home Manager modules list and pass extraSpecialArgs = { inherit inputs; }; to home-manager.lib.homeManagerConfiguration. This makes the named skill input available to the module.

Then add the following to your Home Manager configuration:

programs.agent-skills = {
  enable = true;

  sources.anthropic = {
    input = "anthropic-skills";
    subdir = "skills";
  };

  skills.enable = [ "frontend-design" "skill-creator" ];
  targets.claude.enable = true;
};

Apply your Home Manager configuration as usual. The selected skills are synced to ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/skills. Enable other agents with targets..enable = true;; see default target paths. For an existing non-empty skills directory, see destination ownership.

The complete quickstart examples show both ways to arrange the inputs:

  • Main flake: keep agent-skills and skill sources alongside your Home Manager inputs.
  • Child flake: keep the skill inputs in a separate catalog flake.

How it works

  1. Sources point to skill roots in flake inputs, local paths, or an optional source registry.
  2. Discovery scans for SKILL.md files and builds a catalog. Nested skill IDs use /, such as documents/pdf; idPrefix adds a source namespace.
  3. Selection chooses catalog entries with skills.enable or skills.enableAll, and custom declarations with skills.explicit.
  4. Bundling builds the selection in the Nix store, including any content transforms and package dependencies.
  5. Targets install the bundle for enabled agents. Explicit skills can limit installation to named targets with agents.

Guides and examples

Task Guide Example
Configure sources, select skills, and customise content Configuration Transforms and dependencies
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add kyure-a/agent-skills-nix
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →