MB AI Tools
A plugin marketplace for Factory (Droid) and Claude Code -- skills, commands, and hooks that work across both AI coding agents from a single repository.
Overview
This marketplace provides plugins for Jira integration, git worktree management, PR workflows, and session tooling. Most plugins work on both platforms; a few use Droid-specific hooks and are noted as such below.
Installation
Factory (Droid)
droid plugin marketplace add https://github.com/mbensch/mb-ai-tools
Claude Code
/plugin marketplace add https://github.com/mbensch/mb-ai-tools
Browse all available plugins: /plugins (Droid) or /plugin marketplace list (Claude Code).
Available Plugins
droid-receipts
Generate visual receipts for Droid sessions showing token usage and costs.
droid plugin install droid-receipts@mb-ai-tools
Features:
- Automatic receipt generation when sessions end (via SessionEnd hook)
- HTML and SVG output formats
- Factory Token Usage calculation with model multipliers
- Cache token discounting (billed at 1/10 rate)
- Star Wars-style droid cashier names
- Cost breakdown by token type
auto-worktrees
Automatically create and manage git worktrees for Droid sessions, isolating each session on its own branch.
droid plugin install auto-worktrees@mb-ai-tools
Features:
- Creates isolated worktree for each session on
droid/{session_id} branch
- Worktrees created at
../droid-worktrees/{repo}-{session_id}/
- Automatic cleanup of worktrees older than 14 days
- Prevents conflicts between concurrent Droid sessions
- Works on macOS and Linux
manual-worktrees
On-demand git worktree creation via a slash command.
# Factory
droid plugin install manual-worktrees@mb-ai-tools
# Claude Code
/plugin install manual-worktrees@mb-ai-tools
Features:
/worktree - Create a worktree for the current session on demand
- Session isolation with dedicated branches
- Flexible: use alongside or instead of automatic worktree creation
worktrees-skill
A skill for systematic git worktree management with smart directory selection and safety verification.
# Factory
droid plugin install worktrees-skill@mb-ai-tools
# Claude Code
/plugin install worktrees-skill@mb-ai-tools
Features:
- Auto-invoked skill for creating isolated worktrees
- Smart directory selection (
.worktrees/, worktrees/, or ../droid-worktrees/)
- Safety verification to ensure directories are gitignored
- Auto-detection of project setup commands (npm, cargo, pip, go mod)
- Baseline test verification before starting work
jira-tools
Jira issue creation and management via Atlassian MCP tools. Use /jira-create to create Objectives, Initiatives, Epics, Stories, and Bugs with guided intake and optional codebase analysis.
# Factory
droid plugin install jira-tools@mb-ai-tools
# Claude Code
/plugin install jira-tools@mb-ai-tools
Commands:
/jira-create - Guided entry point: picks issue type, gathers intent, optionally analyzes the codebase, then creates the ticket
Requires: Atlassian MCP integration configured in Factory settings.
pr-tools
Skills for safe and consistent pull request workflows.
# Factory
droid plugin install pr-tools@mb-ai-tools
# Claude Code
/plugin install pr-tools@mb-ai-tools
Skills:
safe-pr-workflow - Checks branch state before git push and PR creation to avoid silently pushing to dead PRs
create-pr - Creates PRs with consistent formatting, Jira-aware branch naming, and repo template support
steering
Generate and maintain a STEERING.md file that defines non-negotiable rules for AI agents working in your codebase. Inspired by Kiro's steering file concept.
# Factory
droid plugin install steering@mb-ai-tools
# Claude Code
/plugin install steering@mb-ai-tools
Commands:
/init-steering - Deep-scans the codebase (manifests, linter configs, docs, CI workflows) and generates a tailored STEERING.md. Also updates AGENTS.md and installs a project-local tech-stack skill.
/update-steering - Guided command to add or modify rules in STEERING.md (new "do"/"don't" rules, tech stack changes, conventions, architecture constraints)
/remove-steering - Remove all steering artifacts: deletes STEERING.md, removes the tech-stack skill, and strips the steering section from AGENTS.md
Skills:
tech-stack - Auto-loaded project skill (installed by /init-steering) that enforces reading STEERING.md before every technology or architecture decision
Platform Compatibility
| Plugin | Factory (Droid) | Claude Code |
|---|
| droid-receipts | Yes | No (Droid-only hooks) |
| auto-worktrees | Yes | No (Droid-only hooks) |
| manual-worktrees | Yes | Yes |
| worktrees-skill | Yes | Yes |
| jira-tools | Yes | Yes |
| pr-tools | Yes | Yes |
| steering | Yes | Yes |