🚀Claude Hero

Your 10X Pair Programmer

An intelligent Claude Code plugin that watches your workflow and guides you to ship production-grade apps faster.

Why Claude Hero?

Like having a senior developer watching over your shoulder, catching mistakes before they happen.

🛡️

Security Guardrails

Catches hardcoded secrets, dangerous git commands, and sensitive files before they're committed.

Testing Reminders

Nudges you to run tests after code changes and before commits. Never deploy untested code again.

🎯

Workflow Guidance

Suggests best practices like using Plan mode for large tasks and /compact for long conversations.

🚀

Hero Mode

Phase-aware project management that tracks sprints, features, and guides you through your development flow.

📊

Context Awareness

Analyzes your conversation transcript to provide timely, relevant suggestions based on what you're doing.

Non-Blocking

Only critical security alerts block actions. Everything else is just gentle guidance that won't slow you down.

How It Works

Claude Hero hooks into Claude Code's event system to provide real-time guidance.

1

Monitor

Hooks into UserPromptSubmit and PostToolUse events to understand your workflow context.

2

Analyze

Uses pattern matching and AI to detect risky operations, missing tests, and workflow issues.

3

Guide

Provides timely suggestions and blocks critical security issues before they cause damage.

Quick Install

Get started in under a minute.

1

Install the package

npm install -g claude-hero
2

Add hooks to your Claude Code settings

// ~/.claude/settings.json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "",
        "hooks": ["claude-hero"]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "",
        "hooks": ["claude-hero"]
      }
    ]
  }
}
3

Start coding with Claude Code

Claude Hero will automatically provide guidance as you work. That's it!

Open Source on GitHub

Claude Hero is fully open source. Star the repo, report issues, or dive into the code.

ohmnow/claude-hero

Want to Contribute?

We welcome contributions! Whether it's new rules, bug fixes, or documentation improvements, we'd love to have you.

Add New Rules

Extend the rule engine with new patterns and best practices for specific frameworks or workflows.

Improve Detection

Help make our security checks and pattern matching smarter with fewer false positives.

Write Docs

Help others get started by improving our documentation and creating tutorials.

View Open Issues