Audit the current repo's Claude Code ignore configuration and flag noise files or directories that could blow context.
Execute a nexum plan file by dispatching steps to the cheapest capable model tier, verifying acceptance, and escalating on failure.
Resume from the most recent session handoff written by /nx-save or the auto-handoff hook.
Produce a step-by-step implementation plan for the current task, routing each step to the cheapest model that can execute it reliably.
Write a session handoff so you can continue in a fresh session once a context or plan limit is near.
Implementation executor for Haiku-tier (mechanical) nexum steps
Implementation executor for needs-strong nexum steps (architecture, ambiguity, cross-cutting, debugging)
Implementation executor for standard nexum steps
Reviewer for completed nexum step implementations (escalation / high-risk only)
Executes bash commands
Hook triggers when Bash tool is used
Uses power tools
Uses Bash, Write, or Edit tools
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.
nexum is a Claude Code plugin that cuts context tokens and model cost during Claude Code sessions through three optimization pillars:
This repository is its own Claude Code plugin marketplace. Install it from within Claude Code:
/plugin marketplace add dropdevrahul/nexum
/plugin install nexum@nexum
/plugin install enables the plugin immediately. Use /plugin marketplace update nexum to pull new releases.
To try it from a local checkout instead:
/plugin marketplace add ./path/to/nexum
/plugin install nexum@nexum
/nx-plan — Analyze the task and produce a multi-step plan with explicit contracts and scope boundaries./nx-build — Execute the plan, routing each step to Haiku, Sonnet, or Opus based on complexity, running acceptance checks, and reporting per-step results./nx-audit — Scan the repo for context risks (unignored large/binary files, missing ignore rules) and optionally apply recommendations.nexum ships scripts/statusline.py, a Claude Code statusLine command that renders a compact session-usage bar in the Claude Code UI:
nexum <model> · <bar> <pct>% · <tokens> tok · $<cost> · saved <n>
A plugin cannot register the main statusLine itself (a plugin's settings.json only supports agent and subagentStatusLine), so you add it to your own settings. Run /nx-status to merge it automatically, or add it manually:
{
"statusLine": {
"type": "command",
"command": "python3 \"$(ls -dt ~/.claude/plugins/cache/nexum/nexum/*/scripts/statusline.py | head -1)\"",
"padding": 0
}
}
Put this in ~/.claude/settings.json (user-level) or .claude/settings.json (project-level). The $(ls -dt … | head -1) resolves the newest installed nexum version, so the status line keeps working after /plugin update instead of breaking on a hardcoded version path. (There is only one statusLine slot, so this replaces any existing one.)
The status line reads the session JSON piped in by Claude Code on stdin and takes effect on the next interaction after the setting is saved.
The status line appends a ⚠ /compact warning to prompt you to run /compact before the window fills. The warning fires when EITHER of two configurable thresholds is crossed — whichever comes first:
statusline_compaction_warn_pct (default 80%) — fires when context usage reaches this percentage of the window.statusline_compaction_warn_tokens (default 80,000) — fires when the absolute context token count reaches this value, regardless of window size (useful for large windows such as Opus's 1M-token window where 80% would be 800k tokens).Both thresholds are configurable via config.json in the nexum data directory. Set either to 0 to disable that trigger.
{} and exit 0.${CLAUDE_PLUGIN_ROOT}/.nexum-data/nexum.db.Working levers (PreToolUse updatedInput is honored):
read_guard_min_bytes (default 262144 bytes) and has no explicit limit already set, nexum injects a line limit (default read_guard_inject_lines = 2000) via updatedInput. This is the reliable context-saving path for large file reads. Configure via config.json:
{ "read_guard_enabled": true, "read_guard_min_bytes": 262144, "read_guard_inject_lines": 2000 }
permissionDecision: deny. This prevents context-blowing scans from reaching the model at all.Pending / self-test-gated (PostToolUse updatedToolOutput is currently ignored):
PostToolUse updatedToolOutput is silently ignored for built-in tools on current Claude Code (see anthropics/claude-code #65403 and #32105). As a result, the output truncation (truncate.py) and dedup pointer-collapse (dedup.py) hooks emit replacements that the harness does not apply.
npx claudepluginhub dropdevrahul/nexum --plugin nexumMulti-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.