Sapho — Development skill for Claude Code
Compound decisions with System One models like Jev: ask small questions, combine the answers with rules you write in a decision graph.
How to install Sapho
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open agent-ix/sapho and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Sapho does
Compound decisions with System One models like Jev: ask small questions, combine the answers with rules you write in a decision graph. Rust library and CLI.
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Understand Anything — Claude Code skills that turn any codebase into an interactive knowledge graph you can explore, search, and ask 2.5k ★
- Fast Jev Compaction — Claude Code plugin that replaces the compaction summary with Jev decisions: every tool call and result is scor 425 ★
README
Sapho
[](LICENSE) [](https://discord.gg/k8DVhuYBR2)
**Make compound decisions with System One models and rules you write.**
Sapho is a Rust library and command-line tool for making compound decisions with System One models such as Jev. System One models cut inference time and cost significantly, and they are fast enough to run on an M5 laptop.
Sapho splits a decision into many simple questions, asks the model each one, and combines the answers using rules you write. Rules use logic operators such as and, or, min and max, and you can build larger rules out of smaller ones.
Write your questions and rules as a decision graph in YAML or JSON. Run them from the command line, or use Sapho in a Rust application. Keep the answers and intermediate results so you can see how a decision was made, measure it against labelled examples, and improve the rule.
[CLI setup](#install-the-cli) · [Rust integration](#use-sapho-in-a-rust-project) · [Claude Code](#use-the-skills-in-claude-code) · [Documentation](docs/index.md)
How it works
Suppose you want to decide whether a code change needs closer review. Break that decision into questions:
- Did the public API change?
- Could the change break an existing contract?
- Are important cases missing from the tests?
Your code can answer the first question. A model can help answer the other two. Then a rule combines those answers. For example, you could use this policy:
needs_review = public_api_changed AND
(contract_risk >= 0.7 OR test_gap >= 0.8)
You choose the questions, the meaning of each answer, and the thresholds. Sapho runs the steps and returns the decision with a trace of
Related Skills
Jev Brig
A Claude Code hook that judges Bash commands against a session policy level, and answers allow/ask/deny with a
Ask Your Library
Local-first semantic search over your notes, textbooks and lectures, with page-cited answers. MCP server for C
V Remember
Recall relevant past Compound V context — prior decisions, failures, routing lessons, specs/plans — from docs/
Claude Referee
Evidence over eloquence. Unofficial Claude Code plugin that checks "done" claims and small judgement calls wit
CloakBrowser Agent
Jev-powered stealth browser agent. TypeSafe Jev decides each step in ~0.3 s, CloakBrowser carries it out like
Jev Ask
Turn a question about the code into a typed Jev query
Related Agents
Greenharbor Backend Coder Rust
Use this agent when implementing Rust library, CLI, backend, async, integration, FFI, or bug-fix work. It prod
Contract Historian
Answers "why is X like this?" questions about a mapped service. Claude sends these questions to it in any sess
Mapbox Esri Layer Builder
Use this agent when the user needs to integrate Esri map data with Mapbox, create map layers, or build mapping