
kyure-a/agent-skills-nix
Analytics & monitoringЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
kyure-a/agent-skills-nix — кандидат в агенты, импортируемый из https://github.com/kyure-a/agent-skills-nix.
Обзор
kyure-a/agent-skills-nix — кандидат в агенты, импортируемый из https://github.com/kyure-a/agent-skills-nix.
Обзор (машинный перевод)
Управляйте навыками агента (каталоги, содержащие T0) декларативно с Nix. Источники навыков Pin, выберите необходимые навыки и установите их через Home Менеджер или проект-локальные команды. Вы также можете использовать выбранные навыки в качестве Самодостаточный агент Плагин.
Ничто не устанавливается по умолчанию: выбирайте как навыки, так и цели.
Быстрый старт с Home Manager
Для существующей конфигурации Home Manager на основе хлопьев добавьте эти входные данные в Ваш хлопок:
Захватывайте хлопья с помощью outputs = inputs@{ ... }: ...;. Добавить
[[Т2]] для вашего существующего домашнего менеджера
[3] Перечислить и передать [4]
[[Т5]]. Это делает именуемый навык входным
Доступен для модуля.
Затем добавьте следующее в конфигурацию Home Manager:
Применяйте конфигурацию Home Manager как обычно. Выбранные навыки синхронизируются [6][править править код] Позволяет другим агентам [7]; см. целевые пути по умолчанию. Для существующего каталога непустых навыков см. право собственности на место назначения.
Примеры быстрого старта показывают, что оба Способы организации входов:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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