resume_work_openai

resume_work_openai is a command for Claude Code, OpenCode from allisoneer/agentic_auxilary. It costs 10 tokens per session (1,456 once invoked), scanned A, original, MIT.

A workflow command for restarting coding work from a saved handoff document. The document records what was done, what remains, and which claims are verified.

In plain words
What is it for?
It is for resuming repository tasks from a structured handoff, rebuilding the current state, and tracking the remaining steps.
Why use it?
It reduces the risk of losing context or repeating completed work when continuing in a new session. It also tells the agent to stop when a user decision or unresolved blocker is required.

Command for Claude CodeOpenCode

Written for Claude Code and OpenCode: $ARGUMENTS substitution, but also installed under .opencode/. Also seen: agent in frontmatter; mentions subagents; mentions OpenCode.

Good fit It is for resuming repository tasks from a structured handoff, rebuilding the current state, and tracking the remaining steps.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/allisoneer/agentic_auxilary/resume_work_openai
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/allisoneer/agentic_auxilary

Made for: Claude Code, OpenCode.

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 resume_work_openai

README.md
[![agentmods](https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/resume_work_openai/github.svg)](https://agentmods.dev/commands/allisoneer/agentic_auxilary/resume_work_openai)
Your own site
<a href="https://agentmods.dev/commands/allisoneer/agentic_auxilary/resume_work_openai"><img src="https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/resume_work_openai/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 resume_work_openai

Your own site · 80×15
<a href="https://agentmods.dev/commands/allisoneer/agentic_auxilary/resume_work_openai"><img src="https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/resume_work_openai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,456 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.00010 $0.01456
Opus 5.5 $0.00004 $0.00582
Sonnet 5.5 $0.00002 $0.00291
Haiku 4.5 $0.00001 $0.00146

Measured 1mo ago against content hash cd2c4c058ebb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

resume_work_openai 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 1mo 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.

.opencode/command/resume_work_openai.md · 144 lines

How it starts

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

<workflow_contract>

  1. Follow all 6 steps in order.
  2. Read the handoff artifact fully before any other major action.
  3. Re-read the source workflow command file if the artifact names one.
  4. Treat the artifact as canonical unless current repository files contradict it.
  5. Create todowrite immediately after reconstructing state.
  6. Do not redo completed work unless the artifact or current files show contradiction or drift.
  7. If the artifact contains unresolved blockers that require the user, stop and ask instead of guessing.
  8. Treat confirmed, inferred, and unconfirmed validation claims differently; only confirmed means verified work.
  9. If you create or edit workflow prompt files (for example .opencode/**) or opencode.json, do a post-write comparison pass before treating that work as complete. </workflow_contract>

<step_1>

Step 1: Load the Handoff Artifact

  1. Parse the handoff artifact path from <userMessage>.
  2. Treat any remaining text in <userMessage> as this session's override instructions.
  3. Read the handoff artifact fully before doing anything else.
  4. Extract at least these values from the artifact:
    • source_workflow_command
    • source_workflow_file
    • resume_mode
    • recommended_resume_command if present
    • anchor documents from ## Resume Protocol
    • first actions
    • do not redo list
    • remaining work
    • validation status
  5. If no valid handoff artifact path is available, ask the user for it and stop.
  6. If the artifact is missing important sections, state what is missing and continue only if the remaining information is still usable.

</step_1>

<step_2>

Step 2: Reconstruct Instructions and Context Separately

Read the full file on GitHub · 144 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. 1mo ago First seen · 144 lines · 10 tokens per session scan A cd2c4c058ebb

Subscribe to this mod's changes

resume_work_openai is a command published in the GitHub repository allisoneer/agentic_auxilary (79 stars, last pushed 6d ago), licensed MIT. It adds 10 tokens to every session and 1,456 once invoked, about $0.0000 per session on Opus 5.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-08.