codex-fast-worker

A compatibility entry point that sends requests for the old codex-fast-worker role to the canonical codex-worker role in workspace-write mode.

In plain words
What is it for?
Use it when maintaining or migrating dispatches that still refer to codex-fast-worker and need to launch codex-worker through the repository's standard launcher.
Why use it?
It lets older callers keep working while the system records which role was requested and which role actually ran.

Agent

Part of the dhpk plugin — 19 commands, 36 agents shipped together

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.

agentmods
npx agentmods add agents/hmj1026/dhpk/codex-fast-worker
Clone the repo
git clone --depth 1 https://github.com/hmj1026/dhpk

Or install dhpk, the plugin that ships this one along with the rest of its 19 commands, 36 agents.

Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 870 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% copy Near-identical to another mod 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 $0.00016 $0.00870
Opus 5 $0.00008 $0.00435
Sonnet 5 $0.00003 $0.00174
Haiku 4.5 $0.00002 $0.00087

Measured 3d ago against content hash ae8ec71b4211, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codex-fast-worker 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 3d 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.

Origin

This is a copy

86% identical to agy-fast-worker — 53 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/codex-fast-worker.md · 92 lines

How it starts

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

Codex Fast Worker Compatibility Forwarder

This one-release compatibility entry point resolves to codex-worker in workspace-write mode. New dispatches use the canonical role; legacy callers record requested_role=codex-fast-worker and effective_role=codex-worker through the immutable role contract.

Follow agents/codex-worker.md for prompt composition, recovery, verification, edited-file accounting, and reporting. Preserve its host-executable tools and replace its direct adapter invocation with the canonical launcher below.

Forward through the canonical launcher

Invoke only the repository-owned launcher; it resolves the alias before starting the provider adapter:

node "${CLAUDE_PLUGIN_ROOT}/skills/dhpk-cli-dispatch-context/scripts/launch-cli-dispatch.js" \
  --dispatching-agent "<dispatcher-role>" \
  --execution-provider codex \
  --requested-role codex-fast-worker \
  --mode workspace-write \
  --task-id "<task-id>" \
  --attempt-id "<attempt-id>" \
  --workdir "<absolute-workdir>" \
  --prompt "<absolute-prompt-file>" \
  --scope "<absolute-scope-json>" \
  --config-layer "<absolute-config-json>"

The resulting context must retain requested_role=codex-fast-worker, resolve effective_role=codex-worker, bind provider codex, and bind authority workspace-write. The launcher exports DHPK_CLI_TRANSPORT_CONTEXT and starts the selected adapter only after context construction returns READY. A missing or contradictory role, mode, provider, authority, path, scope, transport, or receipt is BLOCKED; never fabricate the context or call the adapter directly.

Mid-batch timeout recovery (multi-file dispatch only)

A runner exit 124 is timeout evidence only when the contained dhpk.cli.receipt.v1 has terminal TIMEOUT; a missing, invalid, or uncontained receipt is BLOCKED. On the first verified timeout, request exactly one same-backend, same-model/effort recovery scoped to remaining ∪ unconfirmed. Never self-edit the unresolved files or repeat confirmed files. During recovery, never fall back to another backend because of a timeout.

Read the full file on GitHub · 92 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. 3d ago First seen · 92 lines · 16 tokens per session scan A ae8ec71b4211

Subscribe to this mod's changes

codex-fast-worker is an agent published in the GitHub repository hmj1026/dhpk (2 stars, last pushed 3d ago), licensed MIT. It adds 16 tokens to every session and 870 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to agy-fast-worker, differing in 53 lines, and is treated as a copy.

Related

Other agents, from other repositories