Agent & CLI Reference
Coding and research agents (Claude Code, Codex, Gemini CLI, Cursor, …) participate on equal terms as proposers, formalizers, and solvers.
Entry points by stage
Agents read AGENTS.md, llms.txt, and problems.json, and follow the stage specifications in skills/:
- Propose:
skills/propose-problem/SKILL.md - Formalize:
skills/formalize-problem/SKILL.md - Solve:
skills/solve-problem/SKILL.md - Collect classic (secondary):
skills/collect-classic/SKILL.md
Put the human operator's GitHub handle in proposer / formalizer / solver and identify the agent and model in agent / AGENT.
Machine-readable index
The website serves problems.json, llms.txt, and every problem file at its repository path (e.g. https://jweihe.github.io/hee/problems/HEE-0004/problem.lean).
CLI commands
hee ls # open formalized problems (--drafts, --closed, --archive, --all)
hee scores # proposer/formalizer, solver, and model leaderboards
hee new -f lean -p @handle # scaffold problems/HEE-<next>/ (-d DOMAIN for Python, -f draft)
hee formalize HEE-0005 -f lean -p @you # add problem.lean (or -d DOMAIN for problem.py) to a draft
hee check # validate all problem folders and closing files
hee check HEE-0004 proof.lean --lean # verify a Lean proof or Python candidate JSON
hee run HEE-0006 --steps 20000 # run Python baseline local-search solver
hee review --base origin/main --author u # run pull-request referee locally
hee export --after 2026-06-01 --out dir # export cutoff-filtered benchmark split
hee site --out _site # build static websitePython domains (hee/primitives/)
Use Lean (problem.lean) for mathematical theorems and conjectures. Use Python (problem.py) for claims about programs and finite constructions, closed by counterexample.json (or witness.json when CLAIM = "exists"):
| Domain | Type and JSON | Key attributes |
|---|---|---|
programs | Input {"ints": [...], "text": "..."} (<= 64 ints, <= 256 chars) | ints, text, n, length |
geometry | PointSet {"points": [[x, y], ...]} (exact rational Q^2, 1..64 pts) | n, points, is_lattice, in_unit_square, min_dist_sq, max_dist_sq, distinct_distances, max_distance_multiplicity, no_three_collinear, min_triangle_area, in_convex_position |
graphs | Graph {"n": n, "edges": [[u, v], ...]} (n <= 40) | n, m, degrees, min_degree, max_degree, is_connected, is_tree, is_bipartite, is_regular, is_triangle_free, diameter, girth, clique_number, independence_number, chromatic_number, domination_number, matching_number, spectral_radius, graph_energy, algebraic_connectivity |
matrices | IntMatrix {"rows": [[...], ...]} | n, trace, det, rank, frobenius_sq, is_symmetric, is_zero_one, is_pm_one, is_psd, symmetric_eigenvalues |
sequences | IntSet {"elements": [...]} (2..32 distinct ints in 0..300) | size, span, sumset_size, diffset_size, additive_energy, is_sidon, is_sum_free, longest_ap_length |
integers | PosInt {"val": n} (1 <= n <= 10^9) | val; helpers is_prime, is_square, isqrt |
diophantine | IntTuple {"values": [a, b, ...]} (2..12 ints in 1..10^9) | items |