npx claudepluginhub hmans/beansConfigure Claude Code to track work using Beans.
Share bugs, ideas, or general feedback.
Beans is an issue tracker for you, your team, and your coding agents. Instead of tracking tasks in a separate application, Beans stores them right alongside your code. You can use the beans CLI to interact with your tasks, but more importantly, so can your favorite coding agent!
This gives your robot friends a juicy upgrade: now they get a complete view of your project, make suggestions for what to work on next, track their progress, create bug issues for problems they find, and more.
You've been programming all your life; now you get to be a product manager. Let's go! 🚀
https://github.com/user-attachments/assets/dbe45408-d3ed-4681-a436-a5e3046163da
Beans is still under heavy development, and its features and APIs may still change significantly. If you decide to use it now, please follow the release notes closely.
Since Beans emits its own prompt instructions for your coding agent, most changes will "just work"; but sometimes, we modify the schema of the underlying data files, which may require some manual migration steps. If you get caught by one of these changes, your agent will often be able to migrate your data for you:
The Beans data format has changed. Please migrate this project's beans to the new format.
.beans directory in your project. Easy to version control, readable and editable by humans and machines alike!beans CLI to create, list, view, update, and archive beans; but more importantly, let your coding agent do it for you!We'll need to do three things:
beans CLI tool.Either download Beans from the Releases section, or install it via Homebrew:
brew install hmans/beans/beans
Alternatively, install directly via Go:
go install github.com/hmans/beans@latest
Inside the root directory of your project, run:
beans init
This will create a .beans/ directory and a .beans.yml configuration file at the project root. All of it is meant to be tracked in your version control system.
From this point onward, you can interact with your Beans through the beans CLI. To get a list of available commands:
beans help
But more importantly, you'll want to get your coding agent set up to use it. Let's dive in!
The most basic way to teach your agent about Beans is to simply add the following instruction to your AGENTS.md, CLAUDE.md, or equivalent file:
**IMPORTANT**: before you do anything else, run the `beans prime` command and heed its output.
Some agents provide mechanisms to automate this step:
An official Beans plugin for Claude is in the works, but for the time being, please manually add the following hooks to your project's .claude/settings.json file:
{
"hooks": {
"SessionStart": [
{ "hooks": [{ "type": "command", "command": "beans prime" }] }
],
"PreCompact": [
{ "hooks": [{ "type": "command", "command": "beans prime" }] }
]
}
}
Beans integrates with OpenCode via a plugin that injects task context into your sessions. To set it up, copy the plugin from .opencode/plugin/beans-prime.ts to your project's .opencode/plugin/ directory (or ~/.opencode/plugin/ for global availability across all projects).