Get a high-level overview of the codebase architecture
Analyze dependencies for a file or symbol
Quick health check for Constellation connectivity and authentication
Analyze the impact of changing a symbol or file
Check Constellation API connectivity and authentication status
This skill should be used when the user asks about "Constellation errors", "fix Constellation", "debug Constellation", "Constellation not working", "API connection issues", "indexing problems", "MCP server", "Failed to reconnect", mentions any Constellation error codes (AUTH_ERROR, PROJECT_NOT_INDEXED, etc.), or when Constellation commands fail.
This skill should be used before any non-trivial code modification to assess the blast radius and risk of the change. Trigger when the user discusses renaming, refactoring, deleting, moving, restructuring, or modifying code. Also trigger when the user asks "what would break if...", "is X safe to remove", or wants to estimate risk before a refactor.
Executes bash commands
Hook triggers when Bash tool is used
Requires secrets
Needs API keys or credentials to function
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
While Constellation's MCP server provides raw code intelligence capabilities, this plugin enhances your Claude Code experience with:
| Feature | Benefit |
|---|---|
| Slash Commands | Quick access to common workflows |
| Contextual Skills | Claude automatically loads relevant knowledge — including proactive impact analysis before risky changes |
| Safety Hooks | Nudges Claude toward code_intel over text search at session start, in subagents, and before Grep/Glob/Bash search commands |
Execute powerful analysis with simple slash commands:
| Command | Description |
|---|---|
/constellation:status | Check API connectivity and project indexing status |
/constellation:diagnose | Quick health check for connectivity and authentication |
/constellation:impact <symbol> <file> | Analyze blast radius before changing a symbol |
/constellation:deps <file> [--reverse] | Map dependencies or find what depends on a file |
/constellation:unused | Discover orphaned exports and dead code |
/constellation:architecture | Get a high-level overview of your codebase structure |
Claude automatically activates specialized knowledge based on your questions:
| Skill | Triggers When You Ask About... |
|---|---|
| constellation-troubleshooting | Error codes, connectivity issues, debugging problems |
| impact-analysis | Renaming, refactoring, deleting, or moving symbols/files; "what would break if...", "is X dead code", "what depends on X" |
Example Trigger:
You: "Rename AuthService to AuthenticationService"
Claude: "Before renaming, let me analyze the potential impact..."
[impact-analysis skill activates, runs api.impactAnalysis, reports risk + dependents]
Event hooks enable intelligent, transparent assistance:
| Hook | Event (matcher) | Behavior |
|---|---|---|
| Session Awareness | SessionStart | Injects code_intel MCP tool awareness at session start |
| Subagent Awareness | SubagentStart | Injects code_intel awareness into spawned subagents (built-ins like Explore/Plan don't inherit project AGENTS.md) |
| Search Tool Nudge | PreToolUse (Grep|Glob) | Reminds Claude to prefer code_intel over Grep/Glob for structural queries |
| Bash Search Nudge | PreToolUse (Bash) | Inspects the command and emits the same reminder when it starts with grep/rg/glob/awk/findstr |
All hooks are gated on CONSTELLATION_ACCESS_KEY being set (no key → silent no-op, so the plugin doesn't nag in environments where Constellation isn't configured).
# Add the marketplace to Claude
claude plugin marketplace add ShiftinBits/constellation-claude
# Install the Constellation Claude plugin
claude plugin install constellation@constellation-plugins --scope project
> /constellation:status
Status: Connected
Project: my-awesome-app
Files Indexed: 1,247
Symbols: 8,932
Languages: TypeScript, JavaScript
> /constellation:impact validateUser src/auth/validator.ts
Symbol: validateUser (function)
Risk Level: MEDIUM
Files Affected: 12
Symbols Affected: 34
Test Coverage: 67%
Recommendations:
- Update unit tests in auth.spec.ts
- Check integration with UserController
> /constellation:unused --kind function
Found 7 orphaned functions:
├── src/utils/legacy.ts
│ ├── formatLegacyDate (line 23)
│ └── parseLegacyConfig (line 45)
├── src/helpers/deprecated.ts
│ └── oldValidation (line 12)
...
> /constellation:deps src/services/payment.service.ts
Dependencies (12):
├── Internal (8)
│ ├── src/models/payment.model.ts
│ ├── src/utils/currency.ts
│ └── ...
└── External (4)
├── stripe
├── lodash
└── ...
No circular dependencies detected.
| Issue | Solution |
|---|---|
AUTH_ERROR | Check CONSTELLATION_ACCESS_KEY is set correctly, use constellation auth CLI command to set |
PROJECT_NOT_INDEXED | Run constellation index --full in your project |
| Commands not appearing | Restart Claude Code or check plugin path |
npx claudepluginhub shiftinbits/constellation-claude --plugin constellationLocal codebase intelligence + change-safety gates for coding agents. Pre-indexes your repo's symbols, call graph, deps, and git history into SQLite (28 languages, 100% local, zero API keys), then exposes a lean 16-tool MCP core preset: graph-precise search, callers/impact blast radius, coupling, dead code, taint reachability, and pre-merge verify/critique gates that catch regressions, broken references, AI-slop duplication, and convention drift before they ship.
Smart codebase exploration with dependency mapping and structure analysis
AI-powered codebase understanding assistant. Learn design patterns, analyze impact, trace code flows, and understand any codebase through information theory principles. Includes 6 Agent Skills for automatic analysis triggering.
Graph-first code intelligence for AI agents. SurrealDB knowledge graph + 52 MCP tools replace Read/Grep/Glob with deterministic graph traversal. 80–95% fewer tokens on code context. Rust-native, fully local.
Codebase intelligence — semantic search workflows, dependency graph analysis, and context artifact exploration for SocratiCode
Codebase exploration, refactoring, and quality analysis