
kyure-a/agent-skills-nix
Analytics & monitoringこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
kyure-a/agent-skills-nix は [https://github.com/kyure-a/agent-skills-nix.] からインポートされた Agent Skill の候補です
概要
kyure-a/agent-skills-nix は [https://github.com/kyure-a/agent-skills-nix.] からインポートされた Agent Skill の候補です
概要(AI 翻訳)
エージェントスキル([[T0]を含むディレクトリ)をNixで宣言的に管理します。 ピン スキル ソース, 必要なスキルを選択し、ホームを介してそれらをインストールします。 マネージャーまたは project-local コマンド 選択したスキルをエクスポートすることもできます。 自己完結型 Agent プラグイン。
デフォルトでは何もインストールされていません。スキルとターゲットの両方を明示的に選択します。
##ホームマネージャーのクイックスタート
既存の flake ベースの Home Manager 構成では、これらの入力を あなたの薄片:
[outputs = inputs@{ ... }: ...;] でフレーク入力をキャプチャします。 追加する
[inputs.agent-skills.homeManagerModules.default]を既存のホームマネージャーに
[modules] リストとパス [extraSpecialArgs = { inherit inputs; };]
[home-manager.lib.homeManagerConfiguration]。 これは、名前付けされたスキルの入力を作ります
モジュールに利用できます。
次に、ホームマネージャーの構成に以下を追加します。
いつも通りホームマネージャーの設定を行います。 選択したスキルが同期されます
[${CLAUDE_CONFIG_DIR:-$HOME/.claude}/skills へ。 他のエージェントを有効にする
[targets. .enable = true;; デフォルトターゲットパスを参照してください。
既存の非空のスキルディレクトリについては、
目的地の所有権。
完全なクイックスタートの例は両方を示しています 入力を整理する方法:
このページは 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
- Sources point to skill roots in flake inputs, local paths, or an optional source registry.
- Discovery scans for
SKILL.mdfiles and builds a catalog. Nested skill IDs use/, such asdocuments/pdf;idPrefixadds a source namespace. - Selection chooses catalog entries with
skills.enableorskills.enableAll, and custom declarations withskills.explicit. - Bundling builds the selection in the Nix store, including any content transforms and package dependencies.
- 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 |
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add kyure-a/agent-skills-nix