Explore agent-skills-nix usage examples
masterThe examples/ directory provides several use-case-oriented patterns for implementing agent-skills-nix in your projects:
- Quickstart patterns: Demonstrates two ways to structure skills: a
mainpattern where skills are tightly coupled, and achildpattern where skills are organized into a separated catalog. - Library functions: Shows how to use the project's internal library helpers directly.
- Agent Plugin export: Demonstrates how to export a selection of skills as a self-contained, skills-only Agent Plugin (experimental).
- Skill customization: Provides examples of using
transformandpackagesto customize skill behavior. - Local installation: Shows how to create a project-local install app using
mkLocalInstallProgram. - Development shell: Demonstrates auto-installing dependencies within a development shell using
mkShellHook. - Source registry: Explains how to use per-source manifests combined with an
npinsJSON lock to manage skills without requiring a separate flake input for every skill repository.