npx claudepluginhub githits-com/githits-claude-code-plugin --plugin githitsCode examples from global open source for developers and AI assistants.
GitHits gives your AI coding assistant access to verified, canonical code examples drawn from all of open source. When your assistant is stuck, needs an up-to-date API example, or encounters a vague error, GitHits helps it find a working solution in seconds.
Open Claude Code first (claude), then run these in the Claude input box:
/plugin marketplace add githits-com/githits-claude-code-plugin
/plugin install githits@githits-plugins
If you prefer terminal commands (outside a Claude session), use:
claude plugin marketplace add githits-com/githits-claude-code-plugin
claude plugin install githits@githits-plugins
| Command | Description |
|---|---|
/githits:search <query> | Search for code examples from open source |
/githits:login | Authenticate with your GitHits account |
/githits:status | Show your current authentication status |
/githits:logout | Remove stored credentials |
/githits:help | Show available commands and usage |
The plugin expects the
githitsCLI to be published on npm. Marketplace installs should happen after the CLI package is live.
This plugin connects to the GitHits MCP server via the
githits npm package, started with
npx -y githits mcp start over stdio. Claude Code gets three tools:
| Tool | Purpose |
|---|---|
search | Find code examples by describing what you need |
search_language | Look up supported programming language names |
feedback | Rate search results to improve future quality |
Claude decides when to call these tools on its own — typically when it's stuck, needs a working example for an unfamiliar API, or encounters an error it can't resolve from its training data alone.
Search results respect license filtering by default, excluding copyleft-licensed code. Three modes are available:
GitHits requires authentication. Claude handles login automatically — if your session isn't authorized, it opens your browser for quick OAuth approval and retries once you're logged in.
If you run into issues with automatic login, you can authenticate directly:
npx -y githits login
This opens your browser for secure OAuth authentication. Tokens are stored locally and refreshed automatically.
Useful flags:
--no-browser — prints a URL instead of opening a browser (useful for SSH,
CI, or containers)--force — re-authenticate even if already logged in--port <port> — use a specific port for the local callback serverCheck your current authentication status:
npx -y githits auth status
Log out and remove stored credentials:
npx -y githits logout
For CI or headless environments, set an environment variable:
export GITHITS_API_TOKEN=your-token-here
Use the --plugin-dir flag to load the plugin without installing it from a
marketplace:
claude --plugin-dir ./githits-claude-code-plugin
This starts Claude Code with the plugin loaded for that session. You can verify
it loaded by running /mcp.
npm linkTo test unpublished githits-cli changes with the plugin, link your local build
globally:
cd /path/to/githits-cli
bun run build
npm link
githits --version # verify the linked version
Then load the plugin as usual:
claude --plugin-dir ./githits-claude-code-plugin
MIT
Delegate GitHub-context research and code review to GitHub Copilot CLI via ACP. Part of cc-multi-cli-plugin. Requires the `multi` plugin.
Clone repos, crawl docs, search locally. Fast, authoritative answers for AI coding agents.
CodeAlive context engine for semantic code search and AI-powered codebase Q&A. Enables AI coding agents to understand entire codebases beyond just open files — search across all indexed repositories, trace cross-service dependencies, discover usage patterns, and get synthesized answers to architectural questions. Includes a lightweight code exploration subagent, authentication hooks, and multiple search modes (fast lexical, semantic, and deep cross-cutting). Works standalone or alongside the CodeAlive MCP server for direct tool access via the Model Context Protocol.
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
No model invocation
Executes directly as bash, bypassing the AI model
Share bugs, ideas, or general feedback.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim