Provides tools for installing and managing context files from Ruby gems for AI agents.
This gem allows you to install and manage context files from other gems. Gems can provide context files in a context/ directory in their root, which can contain documentation, configuration examples, migration guides, and other contextual information.
This gem provides its own context files in the context/ directory, including:
- adding-context.md - Guide for adding context files to gems.
- examples.md - Examples of context file usage.
- getting-started.md - Getting started guide.
When you install context from other gems, they will be placed in the .context/ directory.
Add the agent-context gem to your project:
List all gems that have context available:
List context files for a specific gem:
Show the content of a specific context file:
Install context from all available gems:
Install context from a specific gem:
This will create a .context/ directory in your project with the installed context files organized by gem name.
To provide context files in your gem, create a context/ directory in your gem's root:
Context files can be in any format, but markdown (.md) files are commonly used for documentation.
- Bake — The bake task execution tool.
We welcome contributions to this project.
- Fork it.
- 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 new Pull Request.
In 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.