Skip to content
Agentmart
Submit a tool

halmos

Sequential cross-chapter linkage review.

Skill by charles-hoskinson

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/charleshoskinson-halmos

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Sequential cross-chapter linkage review. Use when drafting chapter N to audit how it builds on chapters 1..N-1 — concept linkage, handoff seams, and spiral coherence in Paul Halmos's sense. Emits halmos-review.md + halmos-verdict.json and soft-gates the chapter via halmos_critical_count == 0. Do NOT use for logical entailment (book-thesis) or persona review (review-conductor).

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/halmos

What's inside

Skill name
halmos
Description
Sequential cross-chapter linkage review. Use when drafting chapter N to audit how it builds on chapters 1..N-1 — concept linkage, handoff seams, and spiral coherence in Paul Halmos's sense. Emits halmos-review.md + halmos-verdict.json and soft-gates the chapter via halmos_critical_count == 0. Do NOT use for logical entailment (book-thesis) or persona review (review-conductor).
License
MIT
Metadata
author: charles-hoskinson · version: 0.1.0 · category: writing · workspace-aware: true
Instructions
33 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (23)

  • README.md
  • SKILL.md
  • pyproject.toml
  • halmos-doctrine.md · references/
  • seed-concepts.txt · references/
  • __init__.py · scripts/
  • aggregate_halmos.py · scripts/
  • build_linkage.py · scripts/
  • concept_ledger.py · scripts/
  • conductor.py · scripts/
  • dispatch_halmos_review.py · scripts/
  • ids.py · scripts/
  • proof_gate.py · scripts/
  • skill_api.py
  • __init__.py · tests/
  • test_aggregate_halmos.py · tests/
  • test_build_linkage.py · tests/
  • test_concept_ledger.py · tests/
  • test_conductor_integration.py · tests/
  • test_dispatch_halmos_review.py · tests/
  • test_ids.py · tests/
  • test_live_proof_gate.py · tests/
  • test_proof_obligations.py · tests/

SKILL.md (first lines)

# halmos

Named for Paul Halmos, whose *How to Write Mathematics* prescribes the spiral method:
each new part recalls and refines what came before, so the reader is always prepared.
`halmos` enforces that spiral across chapters.

## Public surface (`skill_api.py`)
- `run_halmos(workspace, chapter_id, dispatcher)` — the entrypoint; chains the four below.
- `build_concept_ledger(workspace)` — `halmos/concepts.jsonl`.
- `build_linkage(workspace, chapter_id)` — `halmos/linkage/ch-NN.json` (references inventory, seam, broken-seam flag).
- `dispatch_halmos_review(workspace, chapter_id, dispatcher)` — Halmos-reviewer subagent.
- `aggregate_halmos(...)` — `chapters/drafts/<id>/{halmos-review.md, halmos-verdict.json}`.

The `dispatcher` is caller-provided: in production it issues a Task-tool call running
`references/halmos-doctrine.md`; in tests it returns a canned findings dict.

## What it checks (the Halmos doctrine)
Deterministic: `broken-seam` (the N-1 close shares no salient term with the N open).
Agent (via `references/halmos-doctrine.md`): orphan-reference, continuity-gap, missed-recall,
spiral-stall, terminology-drift, premature-definition, and a `spiral_coherence` verdict.
The deterministic layer cannot decide reference-before-introduction (a concept appearing in N
has `intro_n <= N` by construction), so the agent owns it, using the references/introduces
inventory and a per-prior-chapter introduced-concepts digest.

## Gate
Add `- halmos_critical_count == 0` to a chapter contract's `acceptance_tests`. `book-compose`'s
`chapter_contract_check` reads `chapters/drafts/<id>/halmos-verdict.json`.

## Boundaries
Reads chapters/drafts, contracts, claims, thesis. Writes `halmos/` and the two per-chapter
files only. No network.

From CharlesHoskinson/russellian-book-suite, MIT.

More from CharlesHoskinson/russellian-book-suite

Signals

Stars
2
Forks
0
Open issues
4
Last commit (this folder)
Jun 19, 2026 (4 months ago)
Last release
May 17, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
0.1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from charles-hoskinson

Cite this page

halmos skill. Agent Mart. https://agentmart.dev/skills/charleshoskinson-halmos (last updated 2026-10-24)