comprehension-workflow

comprehension-workflow is a skill for Claude Code, Codex from NicoGenti/opencode-orchestrator-kit. It costs 71 tokens per session (3,855 once invoked), scanned A, original, MIT.

A workflow for checking whether a person understands information before continuing, with configurable questions, records, and a manual recall command.

In plain words
What is it for?
It is for running LIGHT or DEEP comprehension evaluations, recording their outcomes, applying configuration limits, and using /recall.
Why use it?
It provides a defined process for running these understanding checks and keeping their results instead of handling them ad hoc.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions OpenCode.

Good fit It is for running LIGHT or DEEP comprehension evaluations, recording their outcomes, applying configuration limits, and using /recall.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicogenti/opencode-orchestrator-kit/comprehension-workflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NicoGenti/opencode-orchestrator-kit --skill comprehension-workflow
Clone the repo
git clone --depth 1 https://github.com/NicoGenti/opencode-orchestrator-kit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for comprehension-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicogenti/opencode-orchestrator-kit/comprehension-workflow/github.svg)](https://agentmods.dev/skills/nicogenti/opencode-orchestrator-kit/comprehension-workflow)
Your own site
<a href="https://agentmods.dev/skills/nicogenti/opencode-orchestrator-kit/comprehension-workflow"><img src="https://agentmods.dev/badge/skills/nicogenti/opencode-orchestrator-kit/comprehension-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for comprehension-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/nicogenti/opencode-orchestrator-kit/comprehension-workflow"><img src="https://agentmods.dev/badge/skills/nicogenti/opencode-orchestrator-kit/comprehension-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,855 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.03855
Opus 5.5 $0.00028 $0.01542
Sonnet 5.5 $0.00014 $0.00771
Haiku 4.5 $0.00007 $0.00385

Measured 8d ago against content hash d30c55efb2bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

comprehension-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/assets/skills/comprehension-workflow/SKILL.md · 187 lines

How it starts

The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Comprehension Workflow

Detailed operational protocol for the comprehension gate. The orchestrator loads this skill when it must run a LIGHT or DEEP evaluation, write gate telemetry, maintain a per-evaluation record, or execute /recall. Classification (NONE/LIGHT/DEEP), the closing rule, and escalation routing stay in agents/orchestrator.md.

Configuration and precedence

The comprehension gate reads its limits from a user-local config file: .opencode/comprehension.config.json (seeded by install.sh from templates/comprehension.config.json, leave-if-exists; copy manually only when running the kit without the installer).

Precedence: file value > built-in defaults. An absent file is the documented default: silent, zero warnings. A present-but-empty or invalid file falls back to the built-in defaults listed below with exactly one warning line in the progress notes (never a hard failure).

Invalid values (e.g. negative questions, missing required keys) are detected by the orchestrator's validator and treated as invalid → the offending entry falls back to its default, with a one-line warning logged.

Default limits:

Key Default
enabled true
mode adaptive
light.questions 2
light.modelTier TIER_FAST
deep.questions 4
deep.modelTier TIER_FAST
deep.escalationTier TIER_REVIEW
context.maxDiffLines 300
context.unifiedContextLines 3
context.maxRelatedSymbols 3
evaluation.maxRetries 1
evaluation.escalateOnAmbiguity true

The orchestrator reads these limits when composing delegations to comprehension-coach.
enabled: false skips the gate entirely — orchestrator proceeds straight to close and records comprehension=DISABLED in the progress notes.

Tier resolution stays on the existing TIER_FAST / TIER_REVIEW mapping via the preset resolver.

Context slicing (Slicer)

Trigger — the Slicer activates ONLY when the estimated change size exceeds context.maxDiffLines (default 300) or when the number of changed files requires a bounded slice. Tasks classified NONE receive 0 coach calls (no slice needed). Small changes follow the unchanged v0.3.0 path (specialist change report + coach reads the listed files only).

Read the full file on GitHub · 187 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed d30c55efb2bf
  2. 17d ago Changed 93708fc0e858
  3. 1mo ago Changed 463fe1001fac
  4. 1mo ago First seen · 187 lines · 71 tokens per session scan A 476e0f6e7900

Subscribe to this mod's changes

comprehension-workflow is a skill published in the GitHub repository NicoGenti/opencode-orchestrator-kit (9 stars, last pushed 5d ago), licensed MIT. It adds 71 tokens to every session and 3,855 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.

Related

comprehension-workflow compared with skills from other repositories

comprehension-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
comprehension-workflowNicoGenti/opencode-orchestrator-kitSkill95d agoMITA71Claude Code, Codex
agent-challengesruvnet/rufloSkill83ktodayMITA15Claude Code
cao-workflowawslabs/cli-agent-orchestratorSkill1.8ktodayApache-2.0A114Claude Code, Codex
aidlc-portfolioawslabs/cli-agent-orchestratorSkill1.8ktodayApache-2.0A74Codex
cao-event-pluginawslabs/cli-agent-orchestratorSkill1.8ktodayApache-2.0A97Claude Code
cao-mcp-appsawslabs/cli-agent-orchestratorSkill1.8ktodayApache-2.0A137Claude Code, Codex
cao-learningawslabs/cli-agent-orchestratorSkill1.8ktodayApache-2.0A105Claude Code, Codex