PhD-Zero: Skill for Codex

.agents/skills/run-governor/SKILL.md

run-governor is a skill for Codex from TenureAI/PhD-Zero. It costs 93 tokens per session (3,366 once invoked), scanned A, original, MIT.

A run-level controller for research work that selects an operating mode, tracks progress, records stages, and manages long-running actions. A run is one identifiable execution of a research task.

In plain words
What is it for?
Use it when starting a research run, choosing between automatic and approval-based operation, switching execution targets, tracking long actions, or resuming interrupted work.
Why use it?
It keeps multi-step research work consistent and recoverable, while controlling when the agent must ask for confirmation or pause for a safety decision.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is TenureAI/PhD-Zero's own configuration. It tells Codex how to work on PhD-Zero itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything PhD-Zero configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TenureAI/PhD-Zero. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TenureAI/PhD-Zero/main/.agents/skills/run-governor/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/TenureAI/PhD-Zero

Made for: 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 run-governor

README.md
[![agentmods](https://agentmods.dev/badge/skills/tenureai/phd-zero/run-governor.svg)](https://agentmods.dev/skills/tenureai/phd-zero/run-governor)
Your own site
<a href="https://agentmods.dev/skills/tenureai/phd-zero/run-governor"><img src="https://agentmods.dev/badge/skills/tenureai/phd-zero/run-governor.svg" alt="Measured on agentmods" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,366 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.00093 $0.03366
Opus 5 $0.00046 $0.01683
Sonnet 5 $0.00019 $0.00673
Haiku 4.5 $0.00009 $0.00337

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

Security

Grade A, and why

run-governor 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.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/launch_long_action.py, scripts/poll_long_action.py, scripts/resume_run.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/run-governor/SKILL.md · 351 lines

How it starts

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

Run Governor

Mission

Set and enforce run-level execution policy so research runs stay consistent, auditable, durable across long waits, and mode-aware.

Mode Selection Policy

At the start of a research run, ask the user to choose one mode:

  1. full-auto
    • Minimize user interruptions.
    • Ask only for hard blockers or major safety risks.
    • Keep ownership until compiled success criteria are met, or a true blocker/safety gate requires interruption.
  2. moderate (recommended)
    • Confirm during plan finalization.
    • Confirm before high-resource actions.
  3. detailed
    • Ask when path is unclear.
    • Ask before high-resource actions.

Additional rules:

  1. If the user explicitly asks to switch mode, switch immediately.
  2. If the user says "just do it" or equivalent, treat as a temporary switch to full-auto behavior.
  3. If mode selection is pending, keep the run in pending-confirmation and do not initialize run artifacts.
  4. Never auto-default mode from timeout. A mode must be explicitly confirmed by the user before initialization.
  5. After mode is selected, do not auto-continue after confirmation timeouts in non-full-auto modes.
  6. While confirmation is pending, read-only intake, code inspection, and evidence gathering are allowed; creating run artifacts or launching jobs is not.

Persistent Completion Policy

When the user expresses persistence or target-seeking intent, compile it into run policy rather than treating it as stylistic wording.

Trigger phrases include examples such as:

  1. "keep iterating"
  2. "do not stop"
  3. "until target"
  4. "try many iterations"
  5. "optimize until it works"
  6. "reach 90%/100%" or similar target metrics

Required policy fields:

  1. execution_intent: single-pass|persistent-optimization
  2. completion_policy: normal|until-target-or-hard-blocker
  3. done_guard: normal|forbid_done_if_target_unmet
  4. promotion_gates: ordered thresholds such as "pass 30-case regression before 100-case sweep"
  5. non_regression_guards: conditions that must not degrade materially
  6. backup_policy: when to snapshot best-so-far prompts/configs/code/results

Read the full file on GitHub · 351 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 First seen · 351 lines · 93 tokens per session scan A b7e57f2d6e51

Subscribe to this mod's changes

run-governor is a skill published in the GitHub repository TenureAI/PhD-Zero (52 stars, last pushed 5mo ago), licensed MIT. It adds 93 tokens to every session and 3,366 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

auto-paper-improvement-loop

An automated loop for improving a generated research paper through repeated review, editing, and recompilation. Recompiling rebuilds the paper so changes can be checked in the final document.

AI4Scientist/nano-scientist · 67 tokens

grant-proposal

A grant-writing workflow that turns research ideas and related literature into structured funding proposals for named national and international grant formats.

AI4Scientist/nano-scientist · 131 tokens

paper-illustration

A tool for creating academic-paper illustrations such as architecture diagrams and method figures with Gemini image generation and Claude-guided revisions.

AI4Scientist/nano-scientist · 67 tokens

proof-checker

A rigorous proof-checking and repair skill for LaTeX mathematics. LaTeX is a text format commonly used to write mathematical documents.

AI4Scientist/nano-scientist · 90 tokens

citation-audit

Zero-context verification that every bibliographic entry in the paper is real, correctly attributed, and used in a context the cited paper actually supports. Uses a fresh cross-model reviewer with web/DBLP/arXiv lookup to catch hallucinated authors, wrong years, fabricated venues, version mismatches, and wrong-context…

AI4Scientist/nano-scientist · 114 tokens

paper-navigator

Find and read academic papers: disambiguate queries, discover papers (search, citation traversal, recommendations, arXiv monitoring, trending, GitHub search), evaluate (TLDR, citations, code, SOTA), and read with structured analysis (3-level strategy). Use when: finding papers, reading a paper, related work, citation…

AI4Scientist/nano-scientist · 141 tokens