OPOS: Skill for Claude Code

.claude/skills/task-update/SKILL.md

task-update is a skill for Claude Code from Koroqe/OPOS. It costs 25 tokens per session (2,052 once invoked), scanned C, original, MIT.

A skill for adding a progress comment to the active GitHub issue and updating its status line.

In plain words
What is it for?
Use it during implementation to report completed work, blockers, or a move to review.
Why use it?
It records meaningful progress in the issue while preventing repeated updates when the same operation is run again.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths.

This is Koroqe/OPOS's own configuration. It tells Claude Code how to work on OPOS itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OPOS configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .claude/skills/lease/lease.mjs acquire --key "issue:<repo>#<number>" --intent "<one line: what this session is doing on the task>".

View source ↗ Koroqe/OPOS
Reuse

Borrowing it

Nothing to install: this file belongs to Koroqe/OPOS. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Koroqe/OPOS/main/.claude/skills/task-update/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Koroqe/OPOS

Made for: Claude Code.

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 task-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/koroqe/opos/task-update/github.svg)](https://agentmods.dev/skills/koroqe/opos/task-update)
Your own site
<a href="https://agentmods.dev/skills/koroqe/opos/task-update"><img src="https://agentmods.dev/badge/skills/koroqe/opos/task-update/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 task-update

Your own site · 80×15
<a href="https://agentmods.dev/skills/koroqe/opos/task-update"><img src="https://agentmods.dev/badge/skills/koroqe/opos/task-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,052 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00025 $0.02052
Opus 5.5 $0.00010 $0.00821
Sonnet 5.5 $0.00005 $0.00410
Haiku 4.5 $0.00003 $0.00205

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

Security

Grade C, and why

task-update scanned grade C with 1 finding 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 4d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rc=$?; rm -rf "$TMP"; echo "status patch exit=$rc"
.claude/skills/task-update/SKILL.md · 88 lines

How it starts

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

task-update

When to use

Mid-execution, to record meaningful progress: a slice committed, a blocker encountered, a status flip (in_progress → blocked). NOT for chatty updates. Each invocation requires an idempotency --key so re-running the same update is a no-op.

Inputs

  • message — the update body (required; markdown).
  • key — idempotency key (required; e.g. a commit SHA or a slice number — anything stable).
  • status — optional new status: in_progress | blocked | review. Default: leave the body status line unchanged.
  • issue — optional override; default: read the active issue number from <repo-root>/.claude/.current-task. As of v0.7.0 .current-task is a newline-delimited array of active issue numbers; this skill auto-picks when exactly 1 is active and REQUIRES --issue when 2+ are active (see step 3).

Steps

  1. (Removed in v0.21.0 — do NOT invoke check-for-updates.) Update checks belong to the SessionStart updater (shared/scripts/opos-session-update.mjs), which runs once a day for free. Invoking the skill here cost ~5 model requests per lifecycle call, each re-reading the whole session context. Step numbering is kept so the references below stay valid.
  2. Resolve repo root via git rev-parse --show-toplevel.
  3. Read $REPO_ROOT/.claude/.current-task as a newline-delimited array of active task issue numbers (v0.7.0 array semantics; v0.6.x single-task content parses as 1-element array — fully backwards-compatible). Apply defensive read-side filtering (drop non-digit lines per Risk 30). Then determine the target issue number:
    • If --issue <N> was provided → use it directly. (Works regardless of array size; lets a batch script or external caller target a specific issue without parsing the active list.)
    • Else if the array has EXACTLY 1 entry → use that entry. This preserves v0.6.x single-task workflow behavior; users who only ever work on one task at a time see no change.
    • Else if the array has >1 entries (multi-active parallel-session workflow as of v0.7.0) → ABORT with: Multiple active tasks: #<comma-list>. Pass --issue <N> to specify which one to update. Do not guess; the user must disambiguate.
    • Else (array empty / file absent) → ABORT with: No active task. Open one with task-register, or pass --issue <N> explicitly.
  4. Read $REPO_ROOT/.claude/task-tracking.config.json. Validate repo.
  5. gh issue view <number> --repo <repo> --json comments,state — abort if state is CLOSED (the user must reopen with gh issue reopen or invoke task-complete instead). 5b. Lease gate (v0.17.2). Take — or confirm you already hold — the lease on the task:
    node .claude/skills/lease/lease.mjs acquire --key "issue:<repo>#<number>" --intent "<one line: what this session is doing on the task>"
    
    acquire, not check, on purpose. If this session already holds the lease it is a no-op that exits 0. If the task is free it takes the lease, which posts the 🔒 claim comment on the issue so every other session and every human sees who is working on it. If another session holds it, it exits 2 in every enforcement mode — so two sessions can never both write to one task, even while issue: enforcement is still warn. check in warn mode would only have logged.

Read the full file on GitHub · 88 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed · +4 lines scan A → C 157c51f49770
  2. 27d ago Changed · +9 lines 6e91dee4affa
  3. 28d ago Changed ede2c265595b
  4. 1mo ago First seen · 75 lines · 25 tokens per session scan A 4b9fa136b67c

Subscribe to this mod's changes

task-update is a skill published in the GitHub repository Koroqe/OPOS (4 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 2,052 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.