claude

code-search

Read-only code search and investigation behind one stable tool surface. Finds code by meaning or structure, traces callers, callees and blast radius, and dispatches an analyze agent for deep dives. The search engine is named in project settings and is swappable.

14 on GitHubby Jack Rudenkov8.7.0MITupdated todaydevelopment
/

Plugin code-search from marketplace magus in MadAppGang/magus. Commands read from the repo's manifest — today.

This plugin runs code on your machine — its hooks fire automatically on events like tool use and it starts local MCP servers. The exact commands are listed below; read them before installing.

What it installs

Skills (4)

  • deep-analysis

    Audits a codebase across seven dimensions, from architecture to code health, scoring each finding with evidence. Use for a full codebase review, tech-debt assessment, or post-incident analysis.

  • investigate

    Routes a code investigation to one of four modes — bug, test gap, architecture, implementation — and runs the query sequence that mode needs. Use when asked to investigate, trace, or debug code.

  • search

    Finds code by meaning, structure or exact text, then reads only the spans returned. Use when searching a codebase, locating a symbol, tracing callers, or about to open three or more files.

  • setup

    Sets up code-search in a project (search engine, index and settings) through its setup CLI, asking before every change. Use when code-search setup is incomplete, or the user asks to set up, reconfigure or upgrade code search.

Slash commands (3)

  • /code-search:analyze

    Investigate a codebase read-only — understand architecture, trace how a feature works, locate an implementation, or track a bug to its origin

  • /code-search:help

    Show what the code-search plugin provides — its agent, commands, skills, tool surface, and which one to reach for

  • /code-search:setup

    Set up code-search in this project: choose, install and configure a search engine, build its index, and verify. Asks before every change, and undoes an earlier ignore-for-this-project.

Subagents (1)

  • analyze

    Investigates a codebase read-only and returns a report with file:line evidence — traces how a feature works end to end, maps inbound and outbound dependencies, and tracks a bug to its origin. Where the `search` skill locates (one query, ranked spans), `analyze` runs many searches, reads the returned

MCP servers (1)

  • ca

    runs: bun ${CLAUDE_PLUGIN_ROOT}/mcp/server.ts

Hooks (8)

  • SessionStart

    bun --env-file=/dev/null --config=/dev/null ${CLAUDE_PLUGIN_ROOT}/hooks/magus-version-check.ts

  • SessionStart

    command -v bun >/dev/null 2>&1 && exec bun --env-file=/dev/null --config=/dev/null "${CLAUDE_PLUGIN_ROOT}/hooks/deps-check.ts" code-search || exec sh "${CLAUDE_PLUGIN_ROOT}/hooks/bun-missing.sh" code-

  • SessionStart

    bun --env-file=/dev/null --config=/dev/null "${CLAUDE_PLUGIN_ROOT}/hooks/offer-setup.ts"

  • SessionStart

    command -v bun >/dev/null 2>&1 && [ -f "${CLAUDE_PLUGIN_ROOT}/hooks/worktree-start.ts" ] && bun --env-file=/dev/null --config=/dev/null "${CLAUDE_PLUGIN_ROOT}/hooks/worktree-start.ts" || true

  • SessionStart

    command -v bun >/dev/null 2>&1 && CODE_SEARCH_SESSION_PID=$PPID bun --env-file=/dev/null --config=/dev/null "${CLAUDE_PLUGIN_ROOT}/hooks/grep-merge-env.ts" 2>/dev/null || true

  • PostToolUse

    command -v bun >/dev/null 2>&1 && CODE_SEARCH_SESSION_PID=$PPID bun --env-file=/dev/null --config=/dev/null "${CLAUDE_PLUGIN_ROOT}/hooks/grep-tool-merge.ts" 2>/dev/null || true

  • PreToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/block-git-add-private.sh

  • PreToolUse

    command -v bun >/dev/null 2>&1 && CODE_SEARCH_SESSION_PID=$PPID bun --env-file=/dev/null --config=/dev/null "${CLAUDE_PLUGIN_ROOT}/hooks/redirect-search-to-facade.ts" 2>/dev/null || true

View source on GitHub

More from MadAppGang/magus

All 16 plugins →

dev

claude

Universal development assistant. Detects the project stack and routes work to specialist agents for architecture, implementation, debugging, review and research, enforcing design-system guardrails on every UI change.

19 skills · 17 commands · 12 agents · hooks

14

bunjs

claude

Bun and TypeScript toolkit. A `/bunjs:bun` index routes any task to the right one of eight task-shaped skills — setup, HTTP, errors, testing, security, production, performance, TUI — each shipping copyable code verified against Bun. Only Bun is tested.

9 skills · 9 commands

14

terminal

claude

Slot-addressed terminal control over tmux or herdr. Runs interactive commands, dev servers, test watchers, REPLs and TUI apps in numbered helper panes — beside the user or isolated from view — that the server places and owns, so an agent never holds a pane id or targets the user's own session.

5 skills · 9 commands · 1 agent · 1 MCP server · hooks

14

designer

claude

UI design validation. Compares a rendered screen against its reference by pixel diff, then reviews the result for spacing, hierarchy and design-system consistency.

6 skills · 3 commands · 2 agents

14

Full-platform browser automation through its own MCP server: navigation, clicks and typing, live-page JS eval, keyboard and focus, file screenshots, session export and a configurable agent LLM, on local or cloud browsers. Runs Playwright's own Chromium, never your real Chrome. Ships 6 skills.

6 skills · 1 MCP server · hooks

14

setup

claude

Project setup jobs in one plugin. Investigates a repository and provisions it — plugins, tools, framework best-practice references, and a seeded knowledge base — then installs the adaptive statusline and indexes every skill reachable from the project into browsable markdown.

2 skills · 4 commands · hooks

14

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

AI-powered codebase understanding — analyze, visualize, and explain any project

9 skills · 10 agents · hooks

Egonex-AI/Understand-Anything 92,410

diagram-design

claudecodex

Editorial diagrams in your brand, as self-contained HTML and SVG. Architecture, flowcharts, sequence, state machines, ER and database schemas, timelines, swimlanes, org charts, Gantt, Wardley maps, user journeys, service blueprints, UML class, lifecycle phase maps, and charts from bar, line and scatter to Sankey, treemap and heatmap, plus many more. Redraws draw.io, Mermaid, Excalidraw and PlantUML files. Exports SVG and PNG.

1 skill · 7 commands

cathrynlavery/diagram-design 66,757

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Maintain code-search?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins16 plugins