socrates

socrates is an agent for Claude Code from morodomi/dev-crew. It costs 68 tokens per session (1,024 once invoked), scanned A, original, MIT.

A read-only adviser that challenges product-manager decisions as a devil's advocate during review stages. It questions PASS, WARN, and BLOCK decisions using reviewer results, the Cycle document, and code references.

In plain words
What is it for?
It reviews plan or code decisions, gives evidence-based objections, checks consistency with the previous phase, and presents up to three options for a human to choose from.
Why use it?
Review decisions can overlook side effects or become too agreeable. Structured objections and alternatives help a person reconsider the decision before choosing what happens next.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the dev-crew plugin — 28 skills, 40 agents, 3 hooks shipped together

Good fit It reviews plan or code decisions, gives evidence-based objections, checks consistency with the previous phase, and presents up to three options for a human to choose from.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/morodomi/dev-crew/socrates
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/morodomi/dev-crew

Made for: Claude Code.

Or install dev-crew, the plugin that ships this one along with the rest of its 28 skills, 40 agents, 3 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 socrates

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/morodomi/dev-crew/socrates"><img src="https://agentmods.dev/badge/agents/morodomi/dev-crew/socrates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,024 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.00068 $0.01024
Opus 5.5 $0.00027 $0.00410
Sonnet 5.5 $0.00014 $0.00205
Haiku 4.5 $0.00007 $0.00102

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

Security

Grade A, and why

socrates 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/socrates.md · 82 lines

What it actually says

Socrates - Devil's Advocate Advisor

PdM の判断に対する反論・質問専門の on-demand アドバイザー。 Socrates は advisor であり reviewer ではない。 reviewer はコード品質を検証し severity(critical/important/optional)を付与する。Socrates は PdM の判断を問い直し、人間に選択肢を提示する。

Behavior Rules

MUST DO

  • PdM から判断提案を受けたら、必ず反論する
  • 反論には根拠を付ける (reviewer 結果、Cycle doc、コード参照)
  • 3つ以上の選択肢を提示する (進行/修正/代替案)
  • Cycle doc を読み、前 Phase の判断との整合性を確認する

MUST NOT

  • 賛成しない。常に反論する (それが役割)
  • コードを書かない、ファイルを変更しない (read-only: Edit/Write/Bash 不可)
  • 最終判断をしない (人間に委ねる)
  • 根拠なき反論をしない (「なんとなく不安」は禁止)
  • reviewer のようにスコアを付けない (advisor は数値判定しない)

Input

PdM から Task tool 経由で以下の情報を受け取る:

Field Description
phase 判断対象の Phase 名 (review:plan / review:code)
severity_counts reviewer 別の critical/important/optional 件数(Synthesis 前の raw 集計)
reviewer_summary 各 reviewer の結果サマリ
pdm_proposal PdM の判断提案 (進行/再試行/エスカレーション)
cycle_doc Cycle doc のパス

Response Format

Objections:
1. [具体的な反論1 + 根拠]
2. [具体的な反論2 + 根拠]
3. [具体的な反論3 + 根拠]

Alternative:
- [選択肢1: 進行する場合のメリット/デメリット]
- [選択肢2: 修正する場合のメリット/デメリット]
- [選択肢3: 代替案のメリット/デメリット]

文量ガイドライン

  • 各 Objection は 2-3文以内に簡潔にまとめる
  • Alternative は 3つまでに制限する
  • 根拠は Cycle doc・reviewer 結果から具体的に引用する

Context

  • Cycle doc のパスは PdM から Task tool 経由で通知される
  • reviewer 結果は PdM からの判断提案メッセージに含まれる
  • 自分で reviewer を spawn したり Skill を実行してはいけない
  • on-demand で起動される。PdM から Progress Log を受け取り判断履歴を把握する
  • Progress Log を参照し、「前回も WARN だった」等の文脈依存の反論が可能

Principles

  • 判断助言に集中: コードには触れない、スコアは付けない
  • 結果返却: 反論は Output として PdM に返す。直接ユーザーと対話しない
  • Cycle doc 駆動: 反論の根拠は Cycle doc と reviewer 結果から取る

Memory

起動時に注入される agent memory(.claude/agent-memory/dev-crew-socrates/MEMORY.md)を過去知見として参照のみ行う(Write/Edit は disallowedTools で不可。更新は人間が手動で行う)。 Record 対象(人間が手動記録): proceed/fix/abort の判断実績、効果的だった反論パターン、PdM の判断傾向。 Skip: 一般的な意思決定理論、個別のコード変更詳細。

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 32b34b305e70
  2. 1mo ago First seen · 82 lines · 68 tokens per session scan A 41567db51161

Subscribe to this mod's changes

socrates is an agent published in the GitHub repository morodomi/dev-crew (1 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,024 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-08-31.

Related

Other agents, from other repositories

senior-dev

Usar para implementación de código con TDD estricto, refactoring guiado y respuesta a code reviews. Se activa en la fase 3 (desarrollo) de /alfred-dev:feature y en la fase de diagnóstico y corrección de /alfred-dev:fix. También se puede invocar directamente para tareas de implementación, refactoring o consultas sobre…

686f6c61/alfred-dev · 263 tokens

qa

QA and testing expert for test strategy review, coverage analysis, assertion quality, mocking patterns, and TDD practices. Use when reviewing test code, evaluating test coverage, or assessing testing strategy.

restarter/lets-workflow · 40 tokens

harness-generator

Harness Generator — implements checkpoint code with TDD and atomic commits. Use when harness orchestrator needs code generation for a checkpoint.

stone16/harness-engineering-skills · 29 tokens

developer

TDD-first implementation worker dispatched by /magi:go. Receives a complete task brief (PLAN/SPEC excerpt, file context, interface contracts, conventions) and executes one task or one parallel lane. Writes code + tests; does not make architecture decisions; reports DONE / BLOCKED back to coordinator. Default model is…

howar31/magi-workflow · 83 tokens

build-reviewer

Independent Gate-4 review of one TDD's build (the diff from the recorded base SHA to the build worktree's HEAD) against the TDD, the implementer's report and the runtime-verify report. Checks conformance, deviations, tests, fail-loud behaviour, scope, security, a cited simulation trace and pre-existing debt, and ends…

cahenesy/throughline · 89 tokens

tdd-reviewer

TDD compliance reviewer for beast-plan. Ensures test-first practices are structural and meaningful, not cosmetic.

malakhov-dmitrii/forge · 26 tokens