by chutingyean
Evidence-chain whiteboard + MCP server for AI research agents: every claim traces back to the run and code that produced it. 讓 AI agent 做研究時,每個結論都能追到產生它的程式碼。Claude Code · Codex · Cursor · Gemini CLI
# Add to your Claude Code skills
git clone https://github.com/chutingyean/Agent-CockpitGuides for using ai agents skills like Agent-Cockpit.
Last scanned: 11/6/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-11-06T11:51:06.136Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how Agent-Cockpit compares with popular alternatives.
Agent-Cockpit is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by chutingyean. Evidence-chain whiteboard + MCP server for AI research agents: every claim traces back to the run and code that produced it. 讓 AI agent 做研究時,每個結論都能追到產生它的程式碼。Claude Code · Codex · Cursor · Gemini CLI. It has 367 GitHub stars.
Yes. Agent-Cockpit passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/chutingyean/Agent-Cockpit" and add it to your Claude Code skills directory (see the Installation section above).
Agent-Cockpit is primarily written in JavaScript. It is open-source under chutingyean on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Agent-Cockpit against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
Agent Cockpit is a local whiteboard plus an MCP server for AI agents that do research. Any agent that speaks MCP (Claude Code, Codex, Cursor, Gemini CLI, …) draws its work onto the same board: the plan, the tasks, every experiment run, every claim, and the code each run depended on. A deterministic engine keeps checking the whole evidence chain. When any link changes, the cards that depend on it turn red. You can tell which results still hold, and why, without reading the code.
After a few days of research with AI agents, the same things keep going wrong:
Agent Cockpit turns these into rules a machine can check, and shows the result on one board.
cockpit init writes the config for Claude Code, Cursor, VS Code and Gemini CLI, and prints the command for Codex.git commit, and Claude Code cannot end its turn until it reports them.cockpit_decide and wait. When a change breaks claims, the cockpit raises a decision itself and writes a one-page evidence brief, laid out by answer-me-with-html.Requires Node.js 22.13+ (for the built-in node:sqlite), git, and python3 for the demo project.
git clone https://github.com/chutingyean/Agent-Cockpit.git
cd Agent-Cockpit
npm install
npm run demo # build a demo research repo: 6 real runs, 6 claims
node bin/cockpit.mjs serve --repo demo/research # open http://127.0.0.1:4180
Then, in a second terminal, break something and watch the board:
node bin/cockpit.mjs demo --break # quietly loosens the grader's answer matching, unreported
node bin/cockpit.mjs demo --restore # put it back: hashes match, claims recover
No clone needed:
cd /path/to/your-research # must be a git repo
npx -y @tingyen/agent-cockpit init # MCP configs, AGENTS.md, Stop hook, pre-commit
npx -y @tingyen/agent-cockpit serve # the board
npx -y @tingyen/agent-cockpit run -- python3 train.py # run experiments through the cockpit
Prefer a permanent cockpit command? npm install -g @tingyen/agent-cockpit.
init only writes inside your repo. Open the repo in your agent and it reads AGENTS.md and the MCP config. The tutorial walks through every agent step by step.
Claude Code plugin. Adds a skill that teaches Claude when and how to use Agent Cockpit, including how to set it up:
claude plugin marketplace add chutingyean/Agent-Cockpit
claude plugin install agent-cockpit@agent-cockpit
The same skill lives in skills/agent-cockpit/SKILL.md for other agents that read SKILL.md files. The MCP server is also listed in the MCP Registry as io.github.chutingyean/agent-cockpit.
.cockpit/events.jsonl is the single source of truth, and it doubles as the agents' work log. Commit it. The board is a pure projection (reduce → derive), which makes replay possible.| Research tools | Purpose |
|---|---|
cockpit_overview |
Call first: pending decisions, claims needing recheck and why, unreported changes |
cockpit_plan / cockpit_stage |
The research path. A stage cannot close until its required tools have been called |
cockpit_task |
The agent's own task card, updated every round (what, why, next) |
cockpit_run |
Run an experiment and record it |
cockpit_claim |
Register a claim. Evidence must be a file and field written by a recorded run |
cockpit_hypothesis / cockpit_premise |
Hypotheses and not-yet-verified premises |
cockpit_decide / cockpit_decisions |
Ask a human; read the answers |
cockpit_report |
Report which files changed |
cockpit_review |
Code review: ocr if installed, otherwise built-in rules; or report your own findings |
Canvas tools: canvas_list, canvas_read, canvas_search, canvas_createNode, canvas_link, canvas_diagram (architecture diagrams in md²'s format) and canvas_structure (code graph and impact analysis).
npm install -g @tingyen/agent-cockpit gives you a global cockpit command. Otherwise use npx -y @tingyen/agent-cockpit <command>, or node bin/cockpit.mjs from a clone.
| Command | Purpose |
|---|---|
cockpit init |
Write MCP configs, rules files, the Stop hook and the pre-commit hook |
cockpit serve [--port 4180] |
Open the board |
cockpit run -- <command> |
Run and record an experiment |
cockpit graph |
Rebuild the code graph (graphify if installed) |
cockpit review [--all] |
Code review (ocr if installed; changed lines by default) |
cockpit status / cockpit check |
Print the cockpit summary / list unreported changes |
cockpit demo [--break|--restore|--fresh] |
The demo project |
Every command accepts --repo <path>; the default is the current directory.
bin/cockpit.mjs CLI
src/engine.mjs reduce and derive: evidence chains, propagation rules, tours, brief drafts
src/gate.mjs the single write gate
src/store.mjs event store (node:sqlite) and canvas projection
src/run.mjs cockpit run
src/graph.mjs built-in code graph (graphify-compatible output)
src/review.mjs built-in rule-based code review
src/mcp.mjs MCP server
src/server.mjs board server (SSE, decisions, briefs, replay)
web/board.html the board (no framework, no build step)
demo/template/ demo research project (Python, really runs)
skills/