Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
repowise-hello: a minimal plugin
One package that registers four things: a CLI command (repowise hello), an
opt-in MCP tool (hello_greet), an event sink (hello-stderr) and a report
section (hello). Read src/repowise_hello/__init__.py
next to the plugin author guide.
Install and check it loaded
pip install -e examples/plugins/hello # into the same environment as repowise
repowise plugins # hello entry point repowise_hello:register loaded
repowise hello # hello, world
Try each registration
The report and the sink read an index, so run these in a repository indexed
with repowise init.
repowise mcp --tools "+hello_greet" # stdio MCP server with the opt-in tool; point your agent at it
repowise report assessment --format markdown # the "Hello" section runs with the rest
To send events to the sink, add it in .repowise/config.yaml, then run
repowise update. Each delivery prints repowise-hello: N event(s) for <path>
on stderr when the run produces component events.
events:
sinks: [jsonl, hello-stderr]
Without installing
PYTHONPATH=examples/plugins/hello/src REPOWISE_PLUGINS=repowise_hello:register repowise plugins