Skip to main content

cmdop-claude

Self-maintaining .claude/ runtime for Claude Code. Keeps your project documentation accurate, your context lean, and your LLM session aware of what matters — automatically.

cmdop-claude

~$0.003 per full cycle (scan → review → fix → map) using DeepSeek V3.2.


What it does

  • Documentation review — LLM finds stale docs, contradictions, coverage gaps, abandoned plans. Runs automatically once per day.
  • Project map — annotates directories with one-sentence descriptions. Cached by SHA256; only changed dirs cost tokens.
  • Task queue — review findings become structured tasks (T-001.md, ...). Top pending items injected into every prompt automatically.
  • Auto-fix — LLM generates targeted file edits for any task. Preview diff or apply directly.
  • Project init — bootstraps CLAUDE.md + rules/ from scratch using a two-step LLM pipeline.
  • Rules system — generates .claude/rules/*.md with paths: frontmatter so rules load lazily (only when relevant files are open). Use sidecar_add_rule to persist discovered patterns.
  • Docs search (FTS5) — docs_search / docs_get with BM25 full-text search. No external service.
  • Docs semantic search — docs_semantic_search via sqlite-vec embeddings. Build index with make embed-docs.
  • Plugin browser — searches Smithery + Official MCP registries (~1000 plugins).
  • Skill Studio — install, browse, edit Claude Code skills from claude-plugins.dev.
  • Changelog system — changelog/vX.Y.Z.md per release. changelog_list / changelog_get MCP tools.
  • Auto-update — checks PyPI once per 6 hours, upgrades silently in background.
  • Streamlit dashboard — 12-tab UI for all of the above.

Install

pip install cmdop-claude

# With Streamlit dashboard
pip install cmdop-claude

Quick Start

pip install cmdop-claude
cd your-project
python -m cmdop_claude.sidecar.hook setup

setup registers the MCP server, installs hooks, configures .claude/, and generates docs if none exist.

Then set your API key:

export OPENROUTER_API_KEY=sk-or-...   # OpenRouter (recommended)
export OPENAI_API_KEY=sk-...          # OpenAI
export SDKROUTER_API_KEY=...          # SDKRouter

Or configure it in the dashboard: make run → Settings & Security → LLM Provider.

Uninstall

python -m cmdop_claude.sidecar.hook unregister

MCP Tools (quick reference)

Tool Description
sidecar_scan Run documentation review
sidecar_map Generate/update project map
sidecar_tasks List/create/update tasks
sidecar_fix Generate fix for a task
sidecar_init Bootstrap .claude/ for bare projects
sidecar_add_rule Add/update a rule in .claude/rules/
docs_search Full-text search across bundled + custom docs
docs_semantic_search Semantic vector search over docs
changelog_list / changelog_get Browse release history

→ Full table with all 19 tools: docs/mcp-tools.md


Dashboard

make run   # http://localhost:8501

12 tabs: Overview, Project Map, Task Queue, Changelog, Skills, Plugins, Docs, MCP, Hooks, Settings, Sidecar, Trigger Graph.

Health Auditor MCP Studio & Plugins
Plugin Browser Project Map
Task Queue Sidecar Monitor

Docs


Testing

make test   # 455+ tests

License

MIT

Metadata

Release files for cmdop-claude 0.1.79

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmdop-claude 0.1.79
File Size Uploaded
cmdop_claude-0.1.79.tar.gz 522.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cmdop-claude 0.1.79
File Interpreter ABI Platform
cmdop_claude-0.1.79-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / cmdop_claude-0.1.79.tar.gz

Download URL cmdop_claude-0.1.79.tar.gz
Size 522.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7ceaa198ffd35057b9cd0f15d837c920d2ad84995e29e5fcf948a0950baa44c9
BLAKE2b-256 checksum
How to use checksums
06766341cd56cc5c6d0b637091fdd64db303a4014fec279e59c8f725f4924439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release files / cmdop_claude-0.1.79-py3-none-any.whl

Download URL cmdop_claude-0.1.79-py3-none-any.whl
Size 563.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8126b7c2c0e2ddbadd1ecf4c7d7add4d461a011c3f0854078db2d8e82bc49fd
BLAKE2b-256 checksum
How to use checksums
638f0df3a8aca8cb0b7f2a2f19e09ae74e96672a5bf2000bac3ec9f9700b95b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release history Release notifications | RSS feed

This release

0.1.79 This release

2 release files

0.1.78

2 release files

0.1.77

2 release files

0.1.76

2 release files

0.1.75

2 release files

0.1.74

2 release files

0.1.73

2 release files

0.1.70

2 release files

0.1.63

2 release files

0.1.62

2 release files

0.1.60

2 release files

0.1.59

2 release files

0.1.58

2 release files

0.1.57

2 release files

0.1.56

2 release files

0.1.55

2 release files

0.1.54

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page