Crux — AI skill for Claude Code
Taking the pi coding agent to Claude Code-level performance: 0.539 → 0.773 pass@1 on Terminal-Bench 2.1 with the same self-hosted 27B model, by re-engineering the agent.
How to install Crux
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open alanhuangyoo/crux and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Crux does
Taking the pi coding agent to Claude Code-level performance: 0.539 → 0.773 pass@1 on Terminal-Bench 2.1 with the same self-hosted 27B model, by re-engineering the agent.
Alternatives in AI
- Invisible Dots — Open-source, self-hosted alternative to OpenAI Dots, Meta Muse, Grok Bot, Manus Cue and Claude Cowork 31.8k ★
- Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
- Open Dots — Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Man 5.5k ★
README
Crux
A coding agent built on pi, re-engineered for long-horizon terminal tasks.
Terminal-Bench 2.1 pass@1 from 0.539 to 0.773 — on par with Claude Code on the same model.
English · 简体中文
Results
| Agent | Terminal-Bench 2.1 pass@1 |
|---|---|
| Crux | 0.773 0.793 on a rerun |
| Claude Code, same model | 0.730 |
| pi, upstream | 0.539 |
Self-hosted Qwen3.8-27B, identical weights for every agent · 89 tasks · pass@1 over whole runs.
What changed from pi
All changes are in the agent layer; the model is untouched.
- Context engine. Compaction requests are sized to fit the window, retried smaller on rejection, and summarize single-task sessions in full; the task's original wording is carried verbatim through every compaction. Compaction success: 14% → 100%.
- Agent loop. Recovery paths live in one explicit state machine: two-phase recovery from truncated output, the reasoning tail handed back after a cut, stall detection, and pacing against each task's own deadline. Truncated outputs: 18.0% → 0.7%.
- Runtime. A stream idle watchdog, a default command timeout, pr
Related Skills
Kappa Bench
κ-bench: Measuring the reliability of frontier work. How reliably can you hand everyday work to a personal age
CorvinOS
Self-hosted agentic OS — a Vibe-Engineering platform for Builders. Connect Claude Code, Codex or Hermes Agent
Dinotty
Multi-device terminal server for AI coding agents. Server-side VTE, session persistence, file browser, web pre
Prometheus
电脑、手机、浏览器、终端共用同一个 AI Agent 会话。开源可自托管,会话内可无缝切换PI、Claude Code、Codex、OpenCode 等 Agent。 One AI agent session acros
Ptylon
Self-hosted browser terminal workspace for AI coding agents (Claude Code, Codex) — persistent sessions, a brow
SSH WEB Public
Lightweight self-hosted web SSH terminal for running AI coding agents from any device
Related Agents
Colab Qwen Worker
One-shot task worker - a Qwen model (default qwen3.8:27b via Ollama) on a Google Colab A100 that is started fo
Bench Runner
Executes a11y skill benchmarks across hosted and local model families. Runs cloud/Codex/Ollama benchmark scrip
Config Skills
crux-config stage S8 (skills). Goes through the agents one at a time, searches skills with skills find, checks