Compactor Doctor

SkillDev tools

Diagnostics — validate config, session DB, runtimes, and troubleshoot compactor issues.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Compactor Doctor skill

What this skill tells your AI

The instructions your AI receives, as published by neuron-mr-white/unipi in packages/compactor/skills/compactor-doctor/SKILL.md and read by ahel’s review.

Run diagnostics and troubleshoot compactor issues.

Commands and Tools

  • /unipi:compact-doctor — user-facing diagnostics
  • compactor_doctor tool — agent-callable diagnostics
  • ctx_doctor tool — deprecated alias

Checks Performed

CheckWhat It Validates
Config file~/.unipi/config/compactor/config.json exists or defaults can be used
Session DBSQLite connection works and session schema is usable
Runtime: nodeNode.js available for sandbox/runtime helpers
Runtime: python3Python 3 available for Python sandbox execution
Runtime: bashBash available for shell sandbox execution

Status Icons

  • pass — check succeeded
  • ⚠️ warn — non-critical issue, such as an optional runtime missing
  • fail — critical issue; a feature may not work

Common Issues

"Config file: Using defaults"

  • Normal on first run.
  • Config is created by the extension or on settings save.
  • Fix: open /unipi:compact-settings, adjust if desired, then save.

"Session DB: Connection failed"

  • SQLite or better-sqlite3 may be unavailable.
  • Compaction can still degrade gracefully, but stats/recall may be limited.
  • Fix: verify dependencies and run package install/build steps.

"Runtime: python3 Not found"

  • Python is not installed or not in PATH.
  • Only needed for Python sandbox execution.
  • Fix: install Python 3 or ignore if not needed.

Manual Diagnostics

Check config

cat ~/.unipi/config/compactor/config.json

Check DB files

ls -la ~/.unipi/db/compactor/

Check runtimes

node --version
python3 --version
bash --version

Project content indexing is not part of compactor.

Signals

GitHub stars
64
Forks
15
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
compactor-doctor
Source
github.com/neuron-mr-white/unipi