Provides tools for discovering and installing agent skills distributed by Ruby gems.
Ruby gems can provide reusable agent workflows in a top-level skills/ directory. agent-skills discovers those packages and installs them into the consuming project's .agents/skills/ directory.
Installed skills are copied into the project so they can be used independently of the provider gem's installation path.
Add the gem to your project:
$ bundle add agent-skillsList available skills:
$ bundle exec bake agent:skills:listInstall all available skills:
$ bundle exec bake agent:skills:installInstall skills from a specific gem:
$ bundle exec bake agent:skills:install --gem susCreate a top-level skills/ directory containing one directory per skill:
your-gem/
├── skills/
│ └── ruby-testing/
│ ├── SKILL.md
│ ├── scripts/
│ ├── references/
│ └── assets/
├── lib/
└── your-gem.gemspec
Each SKILL.md begins with YAML frontmatter:
---
name: ruby-testing
description: Test Ruby projects using the project's configured test framework.
---
# Ruby Testing
Read the project instructions and run the narrowest relevant tests first.The declared name must match its containing directory. Ensure skills/**/* is included in the gem's packaged files.
The installer records gem-owned skills in .agents/skills/.agent-skills.yaml.
- Existing project-authored skills are never overwritten.
- Different gems cannot install the same skill name.
- A gem can update or remove only skills previously recorded as belonging to that gem.
- Invalid
SKILL.mdmetadata stops installation with an error.
Skills may include scripts and operational instructions. Review the skills supplied by dependencies before installing them.
The generated .agents/ directory should be excluded from version control. Run installation during project setup and in CI when skills are required.
# List every gem which provides skills:
bake agent:skills:list
# List skills from one gem:
bake agent:skills:list --gem sus
# Show a skill's SKILL.md:
bake agent:skills:show --gem sus --skill ruby-testing
# Install all discovered skills:
bake agent:skills:install
# Install skills from one gem:
bake agent:skills:install --gem susThis gem provides contextual documentation in context/ for use with agent-context.
Please see the project releases for all releases.
- Initial release.
- Discover and validate skills provided by Ruby gems.
- Install project-scoped skills with ownership and collision protection.
We welcome contributions to this project.
- Fork the repository.
- Create your feature branch (
git checkout -b my-new-feature). - Commit your changes (
git commit -am 'Add some feature.'). - Push to the branch (
git push origin my-new-feature). - Create a new pull request.
To run the test suite:
$ bundle exec susTo make a new release:
$ bundle exec bake gem:release:patch # or minor or majorIn order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.