skill-library
Extract an agent-neutral skill implementation into a reusable, versioned public library while keeping identity, private state, provider errors, and runtime…
от our-ark★ 48 звёзд на GitHub
Установить skill-library в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Skill Library
Turn a proven skill implementation into a reusable public artifact without turning descendants into copies of the library owner.
Boundary
Keep these concerns in the shared library:
- agent-neutral data types and algorithms;
- stable public functions and protocols;
- validation that does not depend on one agent's identity;
- library-level tests.
Keep these concerns in the agent adapter:
- identity and personality;
- private state paths and credentials;
- provider-specific errors and configuration;
- command surfaces, permissions, and lifecycle wiring.
Do not extract a library merely to move code. Extract only when the contract is useful across agents or implementations.
Workflow
- Define a small versioned contract before moving code.
- Create the library under
libraries/<name>/, outside everygenesis.tomlbody_pathsentry. - Give the library a neutral package and import name. Include focused tests and an explicit license.
- Replace the original implementation with a thin adapter that activates the dependency, supplies agent-owned paths and configuration, and translates library errors into local provider errors.
- Commit the standalone library first. Treat that immutable commit as the dependency release.
- Pin the full library commit in both package metadata and
runtime_dependencies; setlocal_sourceso the owning repository can validate its checkout without downloading itself. Onlygenesis.tomland the rootpyproject.tomlpin commits: libraries depend on each other by package name, never by commit. In a repository that hosts its libraries and usespython -m enoch.library_pins, point the new pin lines at the current main commit and never edit pin lines again by hand. CI installs the checkout's own libraries, and Enoch re-pins every library to main after a merge that changeslibraries/. - Record
library_owner,library_package,library_contract, andlibrary_commitin the skill metadata. - Validate the library, adapter, runtime bootstrap, full agent suite, and a real Genesis descendant.
Inheritance Contract
Genesis descendants inherit the skill declaration, adapter, and regression
tests. They do not inherit libraries/. At runtime they resolve the exact
pinned public library commit into private instance state.
A descendant may keep the shared contract, select another compatible implementation, or replace the skill entirely. The dependency is reusable knowledge, not permanent ownership of the descendant.
Guardrails
- Never place secrets, memories, logs, chat identifiers, or instance state in a shared library.
- Never use a moving branch or partial commit reference as a dependency.
- Preserve upstream provenance, license terms, and attribution.
- Do not rewrite the library owner when transforming descendant identity.
- Keep the library commit separate from the later adapter-and-pin commit so the dependency can resolve immutably, unless the repository re-pins automatically after merge as described above.
- Require human review before publishing, changing permission boundaries, or adopting externally sourced code.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
- skill.yaml
FAQ
Что делает скилл skill-library?
Extract an agent-neutral skill implementation into a reusable, versioned public library while keeping identity, private state, provider errors, and runtime wiring in a thin inheritable adapter. Use when a skill is duplicated across agent repositories, should be shared with descendants without copying its implementation, or needs a stable library contract and immutable dependency pin.
Как установить скилл skill-library?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skill-library запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…