mcpbeat Sign in

Unit Executor Skill for Codex

Execute exactly one eligible Unit in an existing research Workspace; use for stepwise or manual semantic execution when status, Attempt, Artifact, Manifest, checkpoint, and acceptance evidence must remain synchronized.

1k tokens
context cost
the whole folder, loaded on every use
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
496
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/WILLOSCAR/research-units-pipeline-skills --skill unit-executor

What comes with it

1 263 bytes besides the instruction
scripts/run.py

The instruction itself

15 sections, as written by the author

Unit Executor

The leading principle is atomicity: one invocation owns one Unit Attempt and

either commits one accepted Completion or records one diagnosable block. It

never starts a second Unit.

Inputs

  • UNITS.csv and the selected Unit row.
  • Files declared by that row's inputs field.
  • DECISIONS.md when the Unit is checkpoint-gated.

Outputs

  • Files declared by the Unit's outputs field.
  • Updated UNITS.csv, Run Evidence, and optional STATUS.md projection.
  • output/QUALITY_GATE.md when strict quality checks block Completion.

Steps

1. Reconcile and select one Unit

Inspect the Workspace through the Pipeline adapter. Select the requested Unit,

or the first TODO Unit whose dependencies are DONE. Stop when a HUMAN

checkpoint, unresolved Decision, open Attempt, or integrity failure prevents

selection.

Completion criterion: exactly one eligible Unit is selected, or one blocking

condition is recorded with a concrete next action.

2. Open the Attempt

Start semantic work through the adapter, never by editing a status cell:

uv run python scripts/pipeline.py mark \
  --workspace workspaces/<name> \
  --unit-id <U###> \
  --status DOING \
  --note "starting semantic execution"

Completion criterion: the Unit is DOING and one matching open Attempt owns

the execution.

3. Execute the declared Skill

Read the selected Unit's Skill and only the context pointers required by this

branch. Produce the declared outputs without changing unrelated Workspace

artifacts.

Completion criterion: every required output exists or the failure is specific

enough to commit as BLOCKED.

4. Verify and commit Completion

Evaluate the Unit acceptance rule and strict quality contract when requested.

Commit through the adapter:

uv run python scripts/pipeline.py mark \
  --workspace workspaces/<name> \
  --unit-id <U###> \
  --status DONE \
  --note "acceptance checked"

Use BLOCKED with a concrete reason when acceptance fails. Do not directly

edit UNITS.csv; the adapter aligns Attempt, Artifact, Manifest, Decision, and

status projections.

Completion criterion: Completion is DONE with acceptance and provenance

evidence, or BLOCKED with a diagnosable Failure.

5. Stop after one Unit

Refresh the Workspace projection and report the completed or blocked Unit. Do

not claim end-to-end completion and do not start the next eligible Unit.

Completion criterion: exactly one Unit changed execution state during this

invocation and the next operator can resume from Workspace files.

Context Pointers

  • The selected row in UNITS.csv owns dependencies, inputs, outputs,

acceptance, checkpoint, and Skill identity.

  • The selected Skill owns semantic behavior.
  • The locked Pipeline owns cross-Unit gates and target Artifacts.
  • Use research-pipeline-runner for automatic continuation across Units.

Script

Quick Start

uv run python .codex/skills/unit-executor/scripts/run.py \
  --workspace workspaces/<name>

All Options

  • --workspace <path>: existing Workspace.
  • --unit-id <U###>: execute a specific eligible Unit.
  • --inputs, --outputs, --checkpoint: Pipeline-runner compatibility

arguments.

  • --strict: block scaffold-like outputs and write the quality-gate report.

Examples

Run exactly one strict Unit:

uv run python .codex/skills/unit-executor/scripts/run.py \
  --workspace workspaces/<name> \
  --strict

Equivalent adapter command:

uv run python scripts/pipeline.py run-one \
  --workspace workspaces/<name> \
  --strict

The helper returns 0 for DONE or IDLE, and 2 for BLOCKED or ERROR.

Troubleshooting

  • When no Unit is runnable, inspect dependencies, checkpoint approvals, and

open Attempts before changing status.

  • When a DONE Unit has missing outputs, reopen it through the adapter with an

explanatory note; never repair the CSV projection alone.

Other skills for the same job

different authors, same section of the catalogue
Content Research Writer
by frostant
×10

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

4k tokens
Lead Research Assistant
by frostant
×8

Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.

2k tokens
Notebooklm
by ZhanlinCui
×6

Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.

26k tokens scripts
Biorxiv Database
by christophacham
×4

Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.

9k tokens scripts
Openalex Database
by christophacham
×4

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.

13k tokens scripts
Uspto Database
by christophacham
×4

Access USPTO APIs for patent/trademark searches, examination history (PEDS), assignments, citations, office actions, TSDR, for IP analysis and prior art searches.

21k tokens scripts
Denario
by christophacham
×3

Multiagent AI system for scientific research assistance that automates research workflows from data analysis to publication. This skill should be used when generating research ideas from datasets, developing research methodologies, executing computational experiments, performing literature searches, or generating publication-ready papers in LaTeX format. Supports end-to-end research pipelines with customizable agent orchestration.

11k tokens
Hypogenic
by christophacham
×3

Automated LLM-driven hypothesis generation and testing on tabular datasets. Use when you want to systematically explore hypotheses about patterns in empirical data (e.g., deception detection, content analysis). Combines literature insights with data-driven hypothesis testing. For manual hypothesis formulation use hypothesis-generation; for creative ideation use scientific-brainstorming.

7k tokens

How to use it

Copy the folder

Take willoscar/unit-executor from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.