thesis-gate

thesis-gate is a command for Claude Code from idoforgod/Dissertation-Simulator-AgenticWorkflow. It costs 23 tokens per session (220 once invoked), scanned A, original, MIT.

A validation step for a thesis workflow phase. It checks whether the outputs from the current group of tasks meet the required conditions before the next phase starts.

In plain words
What is it for?
Use it to run a cross-validation check, record whether it passed, and review failed criteria with suggested fixes.
Why use it?
It can catch incomplete or inconsistent work between phases instead of letting problems continue into later writing or analysis. Failed checks show what needs attention.

Command for Claude Code

Written for Claude Code: $CLAUDE_PROJECT_DIR variable.

Good fit Use it to run a cross-validation check, record whether it passed, and review failed criteria with suggested fixes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/idoforgod/dissertation-simulator-agenticworkflow/thesis-gate
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/idoforgod/Dissertation-Simulator-AgenticWorkflow

Made for: Claude Code.

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 thesis-gate

README.md
[![agentmods](https://agentmods.dev/badge/commands/idoforgod/dissertation-simulator-agenticworkflow/thesis-gate/github.svg)](https://agentmods.dev/commands/idoforgod/dissertation-simulator-agenticworkflow/thesis-gate)
Your own site
<a href="https://agentmods.dev/commands/idoforgod/dissertation-simulator-agenticworkflow/thesis-gate"><img src="https://agentmods.dev/badge/commands/idoforgod/dissertation-simulator-agenticworkflow/thesis-gate/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 thesis-gate

Your own site · 80×15
<a href="https://agentmods.dev/commands/idoforgod/dissertation-simulator-agenticworkflow/thesis-gate"><img src="https://agentmods.dev/badge/commands/idoforgod/dissertation-simulator-agenticworkflow/thesis-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 220 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.00023 $0.00220
Opus 5 $0.00012 $0.00110
Sonnet 5 $0.00005 $0.00044
Haiku 4.5 $0.00002 $0.00022

Measured 6d ago against content hash 700549b1b1f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

thesis-gate 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 6d 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.

.claude/commands/thesis-gate.md · 31 lines

What it actually says

Thesis Gate

Execute a Cross-Validation Gate to validate wave outputs before proceeding.

Protocol

Step 1: Identify Gate

Read SOT to determine which gate is next based on current_step.

Step 2: Run Gate Validation

python3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/scripts/validate_wave_gate.py \
  --project-dir "$CLAUDE_PROJECT_DIR/thesis-output/{project}" \
  --gate {gate-name}

Step 3: Record Result

python3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/scripts/checklist_manager.py \
  --project-dir "$CLAUDE_PROJECT_DIR/thesis-output/{project}" \
  # Record gate pass/fail via Python API

Step 4: Report (Korean)

  • If PASS: Display success, proceed to next wave
  • If FAIL: Display failing criteria, suggest remediation
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. 6d ago First seen · 31 lines · 23 tokens per session scan A 700549b1b1f8

Subscribe to this mod's changes

thesis-gate is a command published in the GitHub repository idoforgod/Dissertation-Simulator-AgenticWorkflow (108 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 220 once invoked, about $0.0001 per session on Opus 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

Other commands, from other repositories

cross-language-check

Replicate a quantitative analysis in a second language (R↔Python↔Stata↔Julia) and compare outputs for implementation errors. Use when an existing empirical result needs independent cross-language verification. Not for reviewing one implementation in place; use $code-suite.

flonat/flonat-research · 54 tokens

lean-check

Formalize a self-authored lemma or theorem in Lean 4/mathlib and require a clean lake build without sorry. Use when the mathematical claim can be stated faithfully and machine-checked. For numerical falsification or symbolic algebra, use $numerical-check or $symbolic-check.

flonat/flonat-research · 60 tokens

synthetic-data

Generate structurally realistic synthetic datasets for pipeline prototyping, test coverage, or prospective power analysis. Use when code or design must be exercised before real data are available or accessible. Never substitute synthetic records for governed raw data.

flonat/flonat-research · 44 tokens

verify-math

Verify a self-authored mathematical result end to end by routing claims across adversarial review, numerical falsification, symbolic or CAS checks, and Lean, then aggregating one report. Use when a theorem, proposition, conjecture, or paper-wide mathematical argument needs the appropriate combination of verification…

flonat/flonat-research · 81 tokens

eval

Evaluate the migrate-nextflow-code skill.

nextflow-io/agent-skills · 7 tokens

gpd:numerical-convergence

Systematic convergence testing for numerical physics computations.

psi-oss/get-physics-done · 16 tokens