implement-next

A workflow for taking the next ready task from TASKS.md, a project task ledger, and sending it through one implementation cycle.

In plain words
What is it for?
It helps select a ready task, load its issue brief, run the required implementation and review process, and update the task status.
Why use it?
It prevents work from being invented or started out of order. It also stops at tasks that need human approval or are blocked.

Skill for Claude CodeCodex

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 skills/jsuvic/agent-profile/implement-next
Any agent
npx skills add jsuvic/agent-profile --skill implement-next
Clone the repo
git clone --depth 1 https://github.com/jsuvic/agent-profile

Made for: Claude Code, Codex.

Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 761 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00031 $0.00761
Opus 5 $0.00015 $0.00380
Sonnet 5 $0.00006 $0.00152
Haiku 4.5 $0.00003 $0.00076

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

Security

Grade A, and why

implement-next 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 2d 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.

.agents/skills/implement-next/SKILL.md · 52 lines

How it starts

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

Implement Next

Purpose

Advance exactly one ready task from the TASKS.md ledger through a single implementation cycle, using its persisted issue brief as context. One invocation advances at most one task; it never iterates. Repeat the command for the next task.

Preconditions

  • TASKS.md exists and is an index-only ledger whose rows link to issue briefs.
  • If TASKS.md is missing or contains no ready task, stop and report the ledger state; do not invent work.

Flow

  1. Read TASKS.md and select the first task in state ready.
    • Stop at a human-gate task and explain the approval it needs; do not proceed past it.
    • Skip blocked and sequenced tasks; they are not ready.
    • If no ready task exists, stop and report.
  2. Mark the selected task in-progress in TASKS.md through the client's write-approval flow.
  3. Load the linked issue brief and run subagent-driven-change with the brief as Fresh Context. Its owner runs code-quality-reviewer before change-risk-reviewer; initiate or resume the closed change-risk handoff and report its current state, but do not independently invoke another review, redefine budgets, or reset counters.
  4. Mark the task done only after the owner returns a validated terminal CLEAN handoff and required tests run green. Validate the closed ChangeRiskOrchestrationStateV1 record; its snapshot matches the current snapshot (modulo docs/review-learning/) and its terminal status is CLEAN. Do not infer completion from free-form prose or an unvalidated status. The next task requires a new invocation.
  5. If the validated handoff reports NO_PROGRESS or NEEDS_HUMAN_REVIEW, report that outcome and its required escalation; do not mark the task done or start another review. Keep the task out of done until a human resolves the escalation.

Failure Path

Stop and report BLOCKED when any of these holds:

  • implementer returns BLOCKED or NEEDS_CONTEXT,
  • a review finding cannot be resolved within the brief's scope,
  • GREEN is unreachable within the brief's declared seam.

Read the full file on GitHub · 52 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. 2d ago First seen · 52 lines · 31 tokens per session scan A 0bcc35047cdb

Subscribe to this mod's changes

implement-next is a skill published in the GitHub repository jsuvic/agent-profile (3 stars, last pushed 9d ago), licensed Apache-2.0. It adds 31 tokens to every session and 761 once invoked, about $0.0002 per session on Opus 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-08-31.