LLMSkillHub
mirroredCopied from razzant/claudexor under MIT. razzant has not claimed this page, and is not affiliated with LLM SkillHub.

razzant / claudexor

Use the local Claudexor control plane for harness-agnostic coding work across Claude Code, Codex, Cursor, and OpenCode. Use when a task benefits from route-aware harness and account selection, quota-aware account rotation, shared thread context, read-only planning or research, best-of-N execution, or cross-harness review.

0
SKILL.md
6.9 KB

Claudexor

Use the MCP tools supplied by this plugin. They connect to the user's local
Claudexor installation; they do not provide accounts or remote model access.

Preconditions

  • Support macOS and Linux. Do not claim Windows support.
  • Require Node.js 20.19 or newer and a preinstalled claudexor command. If the
    MCP server is missing, ask the user to run npm install -g claudexor, then
    restart the host. Do not download a runtime implicitly.

  • If a generated Claudexor host integration already owns the current host's
    setup, leave it in place. Do not repair, replace, or uninstall it
    automatically.

Choose a route

Start read-only unless the user explicitly asked to change or create files.

  1. Call claudexor_status to inspect the aggregate/default-store projection,
    but do not use it as a universal admission veto. An unpinned request may be
    admitted by the canonical account pool through a ready exact profile even
    when default doctor is unavailable; only a genuinely profile-less/default
    fallback requires doctor status ok and the requested intent. Aggregate
    status neither proves nor vetoes a pooled or explicitly named profile.

  2. Call claudexor_accounts before choosing an account or reviewer identity.
    It is the read-only Accounts view of registered profiles, readiness, quota
    freshness, and the daemon's next_up routing projection; the default call
    combines current quota and registry facts with retained readiness observations.
    One coalesced cold acquisition, including failure, is followed by passive reads
    with the original check time; viewing does not renew old evidence.
    fresh: true requests the atomic snapshot, an expensive explicit refresh
    to use only when acting on staleness matters. Check the selected row's age:
    retained available/passed describes its last observation, while actual
    execution performs its own current admission checks. unknown,
    not_run, or stale quota means uncertain, not absent. Never substitute
    aggregate doctor status, another profile's probe, or a host/default login.
    Never initiate login or OAuth merely because a row is unknown; ask the user
    for explicit authority. An explicit reviewer credentialProfileId is
    strict and never falls back, while an omitted id uses the canonical account
    pool.

  3. Call claudexor_capabilities when the task depends on the current modes,
    mutability, controls, models, setup transport, or tool surface. The CLI
    claudexor models --harness <id> is default-route discovery, not
    a named profile's entitlement; source: none or an unavailable inventory
    is an honest refusal, not permission to guess. For a named profile, let the
    strict pinned run/reviewer preflight admit the model and verify observed
    profile/model telemetry afterward. A declared setupLogin transport of
    external_terminal means the host must provide the supported client
    terminal attach path; it is not itself unreadiness and must not be silently
    treated as in_app.

  4. Use claudexor_ask for read-only answers and bounded research, or
    claudexor_plan for a read-only implementation plan.

  5. Only for explicit implementation intent, use claudexor_run,
    claudexor_best_of, or claudexor_create. Pass an absolute repoPath
    whenever the target repository could be ambiguous. Pass
    credentialProfileId to pin the run strictly to one account.

  6. For durable multi-turn work, call claudexor_thread_create once and enqueue
    each follow-up with claudexor_thread_turn. Pass an idempotencyKey and
    retry an unknown outcome with the same key and body. Follow the returned
    runId with the same status/result tools as a one-shot run; if only a queued
    jobId is returned, use claudexor_runs to recover its runId after
    binding. claudexor_thread_read lists earlier turns without starting work.

Run tools enqueue work and return a durable handle, not terminal output or
proof of completion. Use claudexor_runs, claudexor_inspect,
claudexor_run_status, and claudexor_run_result to recover and follow it.
Use claudexor_run_interactions to read pending questions and
claudexor_answer_interaction only with answers supplied or approved by the
user. Use claudexor_run_cancel only when cancellation is requested.

Use claudexor_apply_check to dry-check delivery. MCP does not apply a patch.
Only when the user explicitly requests delivery and the server-owned
applyEligibility.eligible value is true may the host invoke the ordinary
Claudexor CLI apply path under its normal command permission.

For an explicit reviewer panel, pass entries such as
{"harness":"cursor","model":"cursor-grok-4.6-high","credentialProfileId":"review-cursor"}.
The CLI equivalent is --reviewer-panel-json '<array>'; the legacy compact
--reviewer-panel form stays unpinned and should not be extended with an
escaping-sensitive profile syntax. After review, verify the observed profile
and route proof in the result artifacts.

Use claudexor_account_resources for independently dated balances, spending
facts, reset offers and quota. Its optional refresh and exact
target: {harness, profile_id} use the existing foreground observation path.
Use claudexor_account_reset for an intentional reset under the caller's existing
authority. Preserve the original idempotency_key and complete request body:
retrying that pair recovers the same operation, even if the first reply lost its
receipt id; operation_id reads a known receipt. A different key is a separate
reset. Provider outcome and refreshed usage are distinct: Codex
already_redeemed confirms the original request; Claude already_used does not.
The primitive does not choose an automatic reset or spending strategy.

Use claudexor_journal_recovery for read-only journal inspection, validation,
or export. claudexor_quarantine_journal is destructive: invoke it only after
the user explicitly requests quarantine and provides the exact fingerprint and
confirmation required by its schema.

Safety

  • NEVER paste live credentials into prompts. Ask the user to use
    claudexor auth login <harness> or claudexor secrets set outside the
    conversation; do not collect or transform credentials.

  • NEVER auto-answer claudexor decision for a blocked run. Risk acceptance and
    overrides are human decisions, even when the calling host otherwise permits
    mutation.

  • Do not infer success, applyability, readiness, or completion from model
    prose. Use the typed status, result, and applyEligibility projections.

  • Do not claim native vendor sessions move between credential profiles.