bushido
Philosophical overlay that injects seven Samurai virtues to shape how agents approach software work.
- CCM score
- 40 of 100
- GitHub stars
- 201
Own this plugin? Claim it
What it does
- Adds a session-start hook (
agent-bushido.md) that injects seven virtues: Righteousness, Courage, Compassion, Respect, Honesty, Honor, and Loyalty - Shapes agent behavior around transparent trade-offs, direct recommendations, and honest assessments of complexity and technical debt
- Guides communication and code review toward respectful feedback, quality ownership, and long-term maintainability over quick fixes
- Designed for teams that want a cultural overlay on top of the core infrastructure, not a technical enforcement layer
The philosophy of the Samurai applied to software development. The seven virtues guide agent behavior. Requires core for infrastructure.
Add marketplace
/plugin marketplace add TheBushidoCollective/hanRun it inside Claude Code once, then install the plugin below.
Install
/plugin install bushido@hanRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceChangelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[2.2.0] - 2026-01-24
[2.1.0] - 2025-12-07
Added
- add epistemic rigor enforcement and spinning wheels detection (9ebce22b)
Changed
- rename han-core to core and update website (190f876b)
Other
- update MCP server documentation for core plugin (0c084c8c)
[2.0.1] - 2025-12-07
Changed
- rename han-core to core and update website (190f876b)
[2.0.0] - 2025-12-07
BREAKING CHANGES
- Refactored bushido to philosophy-only plugin
- All infrastructure, skills, commands, and MCP servers moved to new
han-coreplugin - Plugin now contains ONLY the 7 Bushido virtues (agent-bushido.md hook)
- Added dependency on
han-core ^1.0.0
Removed
- All skills (moved to han-core): baseline-restorer, boy-scout-rule, code-reviewer, debugging, documentation, explainer, orthogonality-principle, performance-optimization, professional-honesty, proof-of-work, refactoring, simplicity-principles, solid-principles, structural-design-principles, technical-planning, architecture-design
- All commands (moved to han-core): architect, code-review, debug, develop, document, explain, fix, optimize, plan, refactor, review, test
- All hooks except agent-bushido.md (moved to han-core): ensure-subagent.md, ensure-skill-use.md, pre-push-check.sh, no-time-estimates.md
- MCP server configurations (moved to han-core)
Migration Guide
To update from bushido 1.x:
# Install han-core (gets all the infrastructure back)
han plugin install han-core
# Update bushido (now philosophy-only)
han plugin install bushido
# Or install both together
han plugin install han-core bushido
[1.2.1] - 2025-12-05
Added
- add pre-push hook verification feature (65bcac74)
Fixed
- markdownlint errors in ensure-subagent.md (9ec0fc70)
[1.2.0] - 2025-12-05
Added
- add pre-push hook verification feature (65bcac74)
[1.1.18] - 2025-12-04
Other
- rename Buki→Jutsu and Sensei→Hashi across documentation (faabb59e)
[1.1.17] - 2025-12-03
Fixed
- always delegate for exhaustive commands, never use Bash directly (5da6124a)
- add delegation requirement for user-requested actions (11e1d063)
- add delegation requirement for user-requested actions (9d122ee8)
- improve hook output with cat and important tags (f449cc55)
Changed
- simplify must-read-first tags to just file paths (83f79b3d)
- use must-read-first tags with reasons in hooks (f6616232)
Other
- prefer specialized agents over built-in fallbacks (b4afe6df)
- expand custom agent discovery with general example (d8008b51)
- add examples of custom/specialized subagents (5c614130)
- add examples for Explore and Plan subagent types (9fb9002e)
[1.1.16] - 2025-12-03
Fixed
- always delegate for exhaustive commands, never use Bash directly (5da6124a)
- add delegation requirement for user-requested actions (11e1d063)
- add delegation requirement for user-requested actions (9d122ee8)
- improve hook output with cat and important tags (f449cc55)
Changed
- use must-read-first tags with reasons in hooks (f6616232)
Other
- prefer specialized agents over built-in fallbacks (b4afe6df)
- expand custom agent discovery with general example (d8008b51)
- add examples of custom/specialized subagents (5c614130)
- add examples for Explore and Plan subagent types (9fb9002e)
[1.1.15] - 2025-12-03
Fixed
- always delegate for exhaustive commands, never use Bash directly (5da6124a)
- add delegation requirement for user-requested actions (11e1d063)
- add delegation requirement for user-requested actions (9d122ee8)
- improve hook output with cat and important tags (f449cc55)
Other
- prefer specialized agents over built-in fallbacks (b4afe6df)
- expand custom agent discovery with general example (d8008b51)
- add examples of custom/specialized subagents (5c614130)
- add examples for Explore and Plan subagent types (9fb9002e)
[1.1.14] - 2025-12-03
Fixed
- always delegate for exhaustive commands, never use Bash directly (5da6124a)
- add delegation requirement for user-requested actions (11e1d063)
- add delegation requirement for user-requested actions (9d122ee8)
- improve hook output with cat and important tags (f449cc55)
Other
- expand custom agent discovery with general example (d8008b51)
- add examples of custom/specialized subagents (5c614130)
- add examples for Explore and Plan subagent types (9fb9002e)
[1.1.13] - 2025-12-03
Fixed
- always delegate for exhaustive commands, never use Bash directly (5da6124a)
- add delegation requirement for user-requested actions (11e1d063)
- add delegation requirement for user-requested actions (9d122ee8)
- improve hook output with cat and important tags (f449cc55)
Other
- expand custom agent discovery with general example (d8008b51)
- add examples of custom/specialized subagents (5c614130)
- add examples for Explore and Plan subagent types (9fb9002e)
[1.1.12] - 2025-12-03
Fixed
- always delegate for exhaustive commands, never use Bash directly (5da6124a)
- add delegation requirement for user-requested actions (11e1d063)
- add delegation requirement for user-requested actions (9d122ee8)
- improve hook output with cat and important tags (f449cc55)
Other
- add examples of custom/specialized subagents (5c614130)
- add examples for Explore and Plan subagent types (9fb9002e)
[1.1.11] - 2025-12-03
Fixed
- always delegate for exhaustive commands, never use Bash directly (5da6124a)
- add delegation requirement for user-requested actions (11e1d063)
- add delegation requirement for user-requested actions (9d122ee8)
- improve hook output with cat and important tags (f449cc55)
[1.1.10] - 2025-12-03
Fixed
- add delegation requirement for user-requested actions (11e1d063)
- add delegation requirement for user-requested actions (9d122ee8)
- improve hook output with cat and important tags (f449cc55)
[1.1.9] - 2025-12-03
Fixed
- add delegation requirement for user-requested actions (9d122ee8)
- improve hook output with cat and important tags (f449cc55)
[1.1.8] - 2025-12-03
Fixed
- improve hook output with cat and important tags (f449cc55)
Readme
Bushido
The philosophy of the Samurai applied to software development.
Overview
Bushido (武士道) is the code of the Samurai - a set of seven virtues that guide honorable conduct. This plugin applies these timeless principles to software development, shaping how AI agents approach their work.
This plugin provides ONLY the philosophical overlay. For marketplace infrastructure, skills, and MCP servers, install core.
The Seven Virtues
When this plugin is enabled, agents are guided by:
義 Righteousness (Gi) - Transparency in reasoning
- Always explain the "why" behind technical decisions
- Make trade-offs explicit (performance vs maintainability, etc.)
- Admit when multiple valid approaches exist
- Never hide complexity or make unjustified assumptions
勇 Courage (Yu) - Challenge and recommend
- Point out code smells and anti-patterns even if not explicitly asked
- Suggest better architectural patterns when you see them
- Challenge requirements that will create technical debt
- Make bold refactoring recommendations when needed
仁 Compassion (Jin) - Assume positive intent
- Respect existing code decisions (don't call legacy code "bad")
- Understand constraints that led to current implementation
- Help teams incrementally improve rather than demanding rewrites
- Create opportunities to add value without being asked
礼 Respect (Rei) - Honor existing work
- Never be condescending about prior implementations
- Explain disagreements with technical merit, not judgment
- Stay composed when seeing problematic patterns
- Acknowledge the knowledge embedded in existing systems
誠 Honesty (Makoto) - Truthfulness over comfort
- Admit "I don't know" instead of guessing
- Provide realistic assessments of complexity
- Don't sugarcoat technical debt or risks
- Follow through on commitments made during implementation
名誉 Honor (Meiyo) - Quality ownership
- Take responsibility for code quality
- Stand behind recommendations with solid reasoning
- Deliver what was promised in specifications
- Maintain high standards even under time pressure
忠義 Loyalty (Chugi) - Long-term thinking
- Consider maintenance burden of every decision
- Optimize for team velocity over quick fixes
- Think about the next developer who reads this code
- Prioritize sustainable solutions over clever tricks
Installation
Requirements
This plugin requires core:
# Install core first
han plugin install core
# Then install bushido
han plugin install bushido
Or install both together:
han plugin install core bushido
What You Get
With core only:
- Marketplace infrastructure
- All skills (workflow + programming principles)
- MCP server (hooks, documentation access, memory, blueprints)
- Quality enforcement
- No philosophical overlay
With core + bushido:
- Everything from core
- Plus the 7 Bushido virtues guiding agent behavior
- Work shaped by honor, courage, compassion, respect, honesty, quality ownership, and long-term thinking
Philosophy in Practice
The virtues influence how agents:
- Communicate: Direct and honest (誠 Honesty), respectful (礼 Respect)
- Make decisions: Transparent reasoning (義 Righteousness), courageous recommendations (勇 Courage)
- Review code: Compassionate feedback (仁 Compassion), high standards (名誉 Honor)
- Build features: Long-term focus (忠義 Loyalty), quality ownership (名誉 Honor)
Optional Philosophy
Bushido is a cultural choice, not a technical requirement. You can:
- Use
corealone for pure infrastructure - Add
bushidowhen you want the philosophical overlay - Disable
bushidoanytime to remove the virtues
The seven virtues are injected at session start. They shape agent behavior but don't enforce specific workflows.
Comparison
| Plugin | Philosophy | Infrastructure | Skills |
|---|---|---|---|
| core | None | Full | All |
| bushido | 7 Virtues | Depends on core | Depends on core |
License
MIT
Links
Details
- Marketplace
- TheBushidoCollective/han
- Source
- plugins/bushido
- Category
- Core
- Keywords
- philosophy, bushido, virtues, honor, quality
- Listed since
- Apr 7, 2026
More from TheBushidoCollective/han
All 340Similar to bushido
More Agent Workflow & Planningjutsu-bddTheBushidoCollective/han201 starsComprehensive Behavior-Driven Development principles, practices, and collaboration patterns
core-skillsSylphAI-Inc/skills112 starsEssential skills for teams and developers building software with best engineering practices and 10x productivity
agent-skillsaddyosmani/agent-skills120.3K starsProduction-grade engineering skills covering every phase of software development: spec, plan, build, verify, review, and ship.
builder-skillsBuilderIO/skills4.7K starsPublic Builder skills for docs-first discipline, autonomous execution, cross-agent review, local-first Rewind memory, efficient agent workflows, clear status re
jutsu-credoTheBushidoCollective/han201 starsCredo skills for Elixir code analysis and style checking
engineering-workflow-skillsmhattingpete/claude-skills-marketplace696 starsSkills for common software engineering workflows including git operations, test fixing, code review implementation, and feature planning with plan-implementer a