Mines structured Codex /goal history locally or across a machine fleet, measuring active time, thread spans, and token usage. Converts recurring runs into reusable rerun suites.
Ships in codex-goal-mining. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Recover structured Codex goal history and convert free-form runs into evidence-backed, repeatable suites.
/goal commands ran locally or across the fleet.scripts/codex-goal-report.py.
scripts/codex-goal-report.py --policy ~/.config/codex-goal-mining/fleet-policy.json --jsonscripts/codex-goal-report.py --local --json--since YYYY-MM-DD.--activity-overlap --since <ISO> --until <ISO>.
Existing --since semantics remain creation-time based without that flag.--cursor-file <path> to compute reset-safe
deltas. No cursor or report directory is created by default.--machine <fleet-alias>.--fleet; any unreachable source is rendered
and returns nonzero instead of silently reporting success.--one-attempt for a single configured/first interpreter attempt per
host. Policy entries may declare python and wsl_python.fleet-credentials ssh-target TARGET. Its
token-free reply selects the registered helper or an unregistered native
SSH alias. A missing helper, unsupported query, or invalid reply stops that
target; it never authorizes native SSH.transport: "fleet-credentials" for a helper-owned target, and
wsl_transport separately for a WSL target. Removing its registration then
remains an error. Omitted transport or "ssh" performs automatic lookup
before each native interpreter attempt; it does not remember past ownership.python3. Helper refusals never retry another interpreter or use raw SSH.
The helper needs its own enrolled context and Python 3.11+; the reporter
remains compatible with Python 3.9. Local-only collection needs no helper.references/fleet-policy.example.json; never commit a real private inventory.goals_1.sqlite for objective, status, tokens, and Codex-recorded active goal time.state_5.sqlite for thread timestamps and rollout paths.coverage.complete reports machine collection success, not historical
completeness. State uninspected sources, parse errors, missing records,
and uncertain identity explicitly.complete status is not independent proof of delivery.[suite:<name>] [baseline:<sha-or-date>] [matrix:<targets>] [exit:<criteria>].references/goal-suite-patterns.md, then adapt to current evidence.--output only when retained output
was requested or required.$operations-worktree. Reuse identity-matched canonical
inventories instead of copying large payloads.~/.codex/.--policy or CODEX_FLEET_POLICY./goal suite prompts and rerun priority order.stateDiagram-v2
[*] --> Select
Select --> Local: local only
Select --> Lookup: remote target
Lookup --> Helper: registered
Lookup --> Native: unregistered and automatic mode
Lookup --> Blocked: unknown or required registration absent
Lookup --> StopFleet: timeout or cancellation
Helper --> Report: completed or refused
Helper --> StopFleet: timeout cancellation or I/O failure
Native --> Report: completed or terminal refusal
Native --> Lookup: interpreter failed and retry allowed
Native --> StopFleet: timeout or cancellation
Local --> Report
Blocked --> Report
StopFleet --> Report: include unattempted targets
Report --> [*]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/codex-goal-mining:codex-goal-miningfrom codex-goal-mining
npx claudepluginhub vincentkoc/dotskills --plugin codex-goal-miningOther plugins' skills for the same job