opsx-apply-resume

opsx-apply-resume is a command for Claude Code from hmj1026/dhpk. It costs 65 tokens per session (153 once invoked), scanned A, original, MIT.

A handoff command for saving and resuming long-running opsx:apply work across a new session. It detects whether to save the current worktree and task state or continue from a saved handoff.

In plain words
What is it for?
Use it before starting a new session or fork to save state, then use it afterward to resume unfinished work.
Why use it?
It reduces the risk of losing progress when a session is interrupted or its context becomes full.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: $skill-name invocation.

Part of the dhpk plugin — 20 commands, 32 agents, 1 hook, 1 plugin shipped together

Good fit Use it before starting a new session or fork to save state, then use it afterward to resume unfinished work.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hmj1026/dhpk/opsx-apply-resume
View source ↗ hmj1026/dhpk
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/hmj1026/dhpk

Made for: Claude Code.

Or install dhpk, the plugin that ships this one along with the rest of its 20 commands, 32 agents, 1 hook, 1 plugin.

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 opsx-apply-resume

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/hmj1026/dhpk/opsx-apply-resume"><img src="https://agentmods.dev/badge/commands/hmj1026/dhpk/opsx-apply-resume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 153 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.00065 $0.00153
Opus 5.5 $0.00026 $0.00061
Sonnet 5.5 $0.00013 $0.00031
Haiku 4.5 $0.00006 $0.00015

Measured 14d ago against content hash 48307f84b8e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opsx-apply-resume 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 14d 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.

commands/opsx-apply-resume.md · 11 lines

What it actually says

Load the canonical $opsx-apply-resume Skill from SKILL.md and follow it with $ARGUMENTS. Keep its argument contract, authority boundary, verification, and output.

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. 14d ago Changed · -1 lines 48307f84b8e0
  2. 21d ago Changed · -14 lines · +47 tokens per session 8215341748ab
  3. 1mo ago Changed · -343 lines · -7 tokens per session 55f1ce83c990
  4. 2mo ago First seen · 369 lines · 25 tokens per session scan A be7448f06cdc

Subscribe to this mod's changes

opsx-apply-resume is a command published in the GitHub repository hmj1026/dhpk (2 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 153 once invoked, about $0.0003 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-05.

Related

opsx-apply-resume compared with commands from other repositories

opsx-apply-resume next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opsx-apply-resumehmj1026/dhpkCommand2yesterdayMITA65Claude Code
scout-meta-reviewRaven-Scout/ScoutCommand20yesterdayMITA61Claude Code
agent-triagequickchatai/quickchat-claude-pluginCommand1yesterdayMITA11Claude Code
modelongthread/claude-pluginsCommand11mo agoMITA9Claude Code
accessibility-modegonzalezpazmonica/saviaCommand49yesterdayMITA19Claude Code
helpjosstei/argus-claudeCommand69mo agoMITA7Claude Code
helpthephw/claude-meseeksCommand803mo agononeB19Claude Code