dialectic-deriver

dialectic-deriver is an agent for Claude Code from Kanevry/session-orchestrator. It costs 86 tokens per session (2,073 once invoked), scanned A, original, MIT.

A read-only reasoning agent that studies recent lessons, past sessions, peer guidance files, and related cards. It proposes carefully grounded updates to the instructions shared between a user and an agent.

In plain words
What is it for?
It is for deriving proposed updates to user and agent guidance from repeated project experience.
Why use it?
It helps preserve useful working patterns without turning one-off events into permanent rules.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Part of the session-orchestrator plugin — 56 skills, 34 commands, 17 agents, 10 hooks shipped together

Good fit It is for deriving proposed updates to user and agent guidance from repeated project experience.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kanevry/session-orchestrator/dialectic-deriver
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.

Clone the repo
git clone --depth 1 https://github.com/Kanevry/session-orchestrator

Made for: Claude Code.

Or install session-orchestrator, the plugin that ships this one along with the rest of its 56 skills, 34 commands, 17 agents, 10 hooks.

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 dialectic-deriver

README.md
[![agentmods](https://agentmods.dev/badge/agents/kanevry/session-orchestrator/dialectic-deriver/github.svg)](https://agentmods.dev/agents/kanevry/session-orchestrator/dialectic-deriver)
Your own site
<a href="https://agentmods.dev/agents/kanevry/session-orchestrator/dialectic-deriver"><img src="https://agentmods.dev/badge/agents/kanevry/session-orchestrator/dialectic-deriver/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 dialectic-deriver

Your own site · 80×15
<a href="https://agentmods.dev/agents/kanevry/session-orchestrator/dialectic-deriver"><img src="https://agentmods.dev/badge/agents/kanevry/session-orchestrator/dialectic-deriver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,073 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.00086 $0.02073
Opus 5.5 $0.00034 $0.00829
Sonnet 5.5 $0.00017 $0.00415
Haiku 4.5 $0.00009 $0.00207

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

Security

Grade A, and why

dialectic-deriver 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 1mo 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.

agents/dialectic-deriver.md · 161 lines

How it starts

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

Dialectic-Deriver Agent

You reason over recent learnings, sessions, peer cards, and project steering to propose updates to the canonical peer cards (USER.md and AGENT.md in the repo's .orchestrator/peers/ directory). You are dispatched by scripts/dialectic-deriver.mjs::runDialecticDeriver with a complete payload — your job is to read the payload, decide whether each peer card warrants an update, and emit the ## sections you change or add for any card you wish to update.

Core responsibilities

  1. Synthesise: identify durable, repeated patterns in the learnings + sessions that belong in the per-peer guidance (USER.md = how the user prefers to work; AGENT.md = how the agent should behave in this project).
  2. Be conservative: only propose updates grounded in the supplied inputs. Do not invent new sections that no learning or session supports.
  3. Preserve continuity: omitted sections stay unchanged; emit only grounded sections you change or add, repeating every existing point you keep verbatim. Leaving a point out does NOT delete it: the merge retains and reports it, and only the operator can confirm a deletion (#1810).
  4. Respect the model budget: you run as Haiku. Keep your reasoning compact; emit only the blocks you actually want applied.

Autonomy Readiness

autonomy-verdict learnings may justify an ## Autonomy Readiness section in the AGENT.md peer card. Add or update that section only when the supplied payload contains a grounded autonomy-verdict learning or repeated sessions that directly confirm the same readiness status. Summarize the readiness status, confidence, and practical operating constraint; do not infer dispatcher autonomy from unrelated productivity, CI, or preference signals, and do not treat a ready verdict as permission to bypass the configured dispatcher-autonomy dial.

Input format

The orchestrator dispatches you with a single prompt containing a JSON payload:

{
  "meta": { "schema_version": 1, "top_n_learnings": 50, "last_k_sessions": 10, ... },
  "learnings": [ { "id": "...", "subject": "...", "insight": "...", "confidence": 0.9, ... } ],
  "sessions":  [ { "session_id": "...", "completed_at": "...", "issues": [...], ... } ],
  "peer_cards": { "user": { "frontmatter": {...}, "body": "..." } | null, "agent": { ... } | null },
  "steering":   { "path": "CLAUDE.md", "content": "..." } | null
}

Read the full file on GitHub · 161 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. 1mo ago Changed · +1 lines bb932d7fad1c
  2. 1mo ago Changed · +6 lines · -95 tokens per session 24a7973cd8e3
  3. 2mo ago Changed · +3 lines e97965c99339
  4. 2mo ago Changed · +11 lines a028485dc46d
  5. 2mo ago First seen · 140 lines · 181 tokens per session scan A 5f2a50debd8e

Subscribe to this mod's changes

dialectic-deriver is an agent published in the GitHub repository Kanevry/session-orchestrator (53 stars, last pushed 5d ago), licensed MIT. It adds 86 tokens to every session and 2,073 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-09-03.

Related

dialectic-deriver compared with agents from other repositories

dialectic-deriver next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dialectic-deriverKanevry/session-orchestratorAgent535d agoMITA86Claude Code
arbiterSethGammon/CitadelAgent9433d agoMITA132Claude Code
archonSethGammon/CitadelAgent9433d agoMITA52Claude Code
test-analyzerliatrio-labs/claude-code-gauntletAgent137d agoApache-2.0A15Claude Code
cross-file-impactliatrio-labs/claude-code-gauntletAgent137d agoApache-2.0A12Claude Code
ai-sdlc-reviewerMostAshraf/ai-sdlc-harnessAgent2119d agoMITA63Claude Code
executorliatrio-labs/claude-code-gauntletAgent137d agoApache-2.0A15Claude Code