settings — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited settings (Hook) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A research co-pilot that remembers, verifies, and lets you steer.
中文版本: README.zh-CN.md
ClaudeScientist plugs into Claude Code or Codex and adds what most AI scientist systems leave out: it remembers what you've tried, verifies your numbers before you publish them, and gives you a live terminal dashboard where you can watch the research unfold and step in at any time.
You give the agent a research question. It generates hypotheses, ranks them in a tournament, runs experiments with built-in safety checks, and tracks provenance for every number it produces. You watch the whole process in a second terminal and can reject, redirect, or approve at any point.
Current version: v5.0.0 — the cockpit is now an "activity streaming" research monitor. The top of the screen shows a phase strip (idle / explore / select / experiment / verify / prove / review / narrate) derived live from cockpit_events; the main pane shows activity cards (one card per research action — a BT tournament, a proof diagnose loop, a Lean attempt) instead of a flat event firehose; a new Focus tab lists the node(s) the agent is working on right now. The original event stream is preserved as a collapsible audit log at the bottom (toggle with A). Two new optional MCP atomic tools — cockpit__set_phase and cockpit__narrate — let SOP-driven agents annotate decisions without coupling to the cockpit's rendering. No schema migration: phase / focus / activity are pure functions over the existing cockpit_events table, per ADR 0011 and architecture.md §14.
v4.2.0 features retained (see retrospective-v4.2.md): tab grouping into Cross / Empirical / Proof, collapsible detail sections, pane-scoped w/i/t keys, the multi-provider vector backend (DashScope / Jina / Voyage / GLM tested via ADR 0010, default local Qwen/Qwen3-Embedding-0.6B), reports-as-files (closure / draft / diagnostic / portfolio / cascade) per ADR 0009, and the cold-start Welcome screen. See architecture.md §13 for the two-trunk split.
Open two terminals side by side. That's the whole UI.
<picture> <img alt="Cockpit TUI screenshot" src="docs/assets/image2.png" width="800"> </picture>
The cockpit TUI — hypothesis tree, evidence, ratings, and event stream in one terminal.
The two terminals don't talk to each other directly — they both read and write the same SQLite file. This is the central design choice: every module collaborates through a shared database, not over the network.
| Role | Where | What it does |
|---|---|---|
| Claude Code / Codex | Terminal A | Drives the research: understands your question, calls tools, writes and runs code |
| MCP servers | Background | Provide the tools the agent calls — memory, verification, literature search, proof generation |
| Hooks | Auto-loaded at startup | Run safety checks before/after every tool call (block data leaks, log provenance) |
| Cockpit TUI | Terminal B | Shows live state; lets you approve, reject, or redirect hypotheses |
| SQLite | .research-agent/state.db | The single file that holds all state: hypotheses, evidence, ratings, metrics, events |
Install and run the setup wizard:
uv sync
uv run python -m claudescientist.setupThe wizard walks you through agent-host selection (claude, codex, or both), embedding backend, proof corpus seeding, held-out directory, Lean toolchain, and auto-prune — all in one pass. Run it again any time; it skips steps that are already done.
For non-interactive setup, set CLAUDESCIENTIST_SETUP_AGENT_HOST=codex or CLAUDESCIENTIST_SETUP_AGENT_HOST=both. Codex support is project-local: setup generates .codex/config.toml, .codex/agents/*.toml, and repo skills under .agents/skills/ from the existing Claude Code assets.
Literature search uses two external MCPs. arXiv is launched through uv tool run arxiv-mcp-server; OpenAlex is launched through npx -y openalex-research-mcp, so install Node.js/npm if you want the OpenAlex-backed librarian tools.
<details><summary>Manual setup (without the wizard)</summary>
uv sync --extra proof # pulls in sentence-transformers for the proof trunk
uv run python scripts/seed_proof_corpus.py
uv run python scripts/seed_proof_failures.py</details>
Run — open two terminals from the repo root:
# Terminal A: Claude Code (from the repo root)
claude
# Or Terminal A: Codex (after choosing codex/both in setup)
codex
# Terminal B: cockpit TUI (from the repo root)
uv run python -m cockpit.tuiFor the Chinese UI on Windows Terminal:
chcp 65001
$env:PYTHONUTF8=1
uv run python -m cockpit.tui --lang zhPress L inside the TUI to toggle English / Chinese labels.
Lean formal verification is a separate opt-in setup — see docs/setup-lean.md.
If you're new, read in this order:
More:
docs/adr/docs/roadmap.mddocs/archive/AGENTS.mdDefault paths:
.research-agent/state.db under the repo rootreports/ under the repo root; gitignored by default,force-add individual files only when you intentionally want to share them
%USERPROFILE%\.research-agent\heldout, configurable via RESEARCH_AGENT_HELDOUT_DIRlocal (sentence-transformers/Qwen/Qwen3-Embedding-0.6B); override with RESEARCH_AGENT_EMBED_BACKEND=mock|openai. Tests use mock automatically.Dev server commands for individual MCP modules:
uv run python -m memory_mcp.dev_server
uv run python -m verify_mcp.dev_server
uv run python -m prove_mcp.dev_server
uv run python -m cockpit.mcp_server
uv run python -m claudescientist.heldout register <name> <path>Before shipping a change:
uv run ruff check
uv run pytest tests/memory_mcp tests/verify_mcp tests/prove_mcp tests/hooks tests/cockpit tests/scripts tests/e2e
uv run python -m cockpit.tui --once --lang zh
uv run python -c "import memory_mcp.server; import verify_mcp.server; import prove_mcp.server; import cockpit.mcp_server; print('OK')"The repo works for local development and integration. A fresh end-to-end validation pass is needed before calling it production-ready.
A few things to know:
RESEARCH_AGENT_AUTO_PRUNE=1 to let it actually pause weak branches.docs/setup-lean.md.mem_bt_ratings.strength.Full tool list and scope details: docs/tool-reference.md and AGENTS.md.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.