ask
CommandAsk a codebase question and get a cited, synthesised answer with a confidence rating (costs an LLM call).
Report unreachable files, unused exports, and zombie packages, tiered by confidence.
> /plugin marketplace add repowise-dev/repowise> /plugin install repowise@repowise
description: Report unreachable files, unused exports, and zombie packages, tiered by confidence. allowed-tools: Bash(repowise dead-code:*), Read disable-model-invocation: true
Find dead code through graph reachability + git context. No LLM — works in index-only mode. Findings are tiered by confidence; only `safe_to_delete` ones should be proposed for removal.
1. If `.repowise/` doesn't exist: "This repo isn't indexed yet. Run `/repowise:init` first." Stop. 2. Run `repowise dead-code` (with any filters from `$ARGUMENTS`). 3. Present findings grouped by confidence. Mark which are `safe_to_delete`. For lower-confidence ones, frame them as "candidates to investigate," not deletions.
Other flags: `--format json`, `--include-internals` (aggressive, private-symbol scan; higher false-positive rate), `--include-zombie-packages` / `--no-include-zombie-packages`, `--no-unreachable`, `--no-unused-exports`, `--repo <alias>` / `--no-workspace`.
For per-directory or per-owner rollups, use the `get_dead_code` MCP tool with `group_by="directory"` or `group_by="owner"` (these are tool params, not CLI flags). If your client does not list `get_dead_code`, add `+get_dead_code` to `mcp.tools` in `.repowise/config.yaml` and restart the MCP server.
can look unused but aren't. Repowise filters the common cases; edge cases remain.
or exported symbols.
Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Ask a codebase question and get a cited, synthesised answer with a confidence rating (costs an LLM call).
Triage card for files, modules, or symbols — layer, hotspot, fix history, freshness (relationships, not source bytes).
Ingest or inspect test-coverage reports (LCOV, Cobertura, Clover, Go cover profiles, JaCoCo, Salesforce Apex JSON, or repowise…
Work with architectural decisions — list, inspect health, add, or confirm auto-proposed decisions.
Diagnose the Repowise setup — install, API keys, index/store drift — and optionally repair it.
Export the wiki (or architecture model) to markdown, HTML, JSON, or Structurizr DSL.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.