okf-comparison-reader — Claude Code subagent: install
The okf-comparison-reader subagent for Claude Code, Codex, and Cursor checks task answers against references. It evaluates queries, rules, numbers, and answers stating that the bundle contains no information.
no license ★ 105 updated 2026-10-31
.claude/agents/okf-comparison-reader.mdWhat okf-comparison-reader does
okf-comparison-reader issues a verdict for each task by comparing its question, reference answer, and derived answer. It receives no full bundle or producer assessment. Its available tools are read, grep, find, ls, and bash.
For query tasks, it compares result rows in light of tables, joins, filters, and parameters. If the database can be reached, it runs both queries and compares their output. Otherwise, it reviews the query text and says the result needs manual confirmation.
What it helps with
- compare each task answer with its reference
- check whether two queries return matching rows
- judge answers about rules and numbers
Example prompts for the agent
- Compare the task answers with their references and give a verdict for each one.
- Check whether the two queries in this task return the same rows.
- Judge this answer about a rule against its reference.
How to install okf-comparison-reader
Manually: put the files in place
.claude/agents/okf-comparison-reader.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/okf-comparison-reader.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/okf-comparison-reader.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about okf-comparison-reader
How do I install okf-comparison-reader in Claude Code?
Save the subagent file at .claude/agents/okf-comparison-reader.md.
What does okf-comparison-reader do?
It compares each derived task answer with its reference and gives a verdict. For query tasks, it checks the returned rows and runs both queries when the database is reachable.
How does it assess queries when the database is unreachable?
It reviews the query text and notes that the result needs manual confirmation.