long-task-continuation

long-task-continuation is a skill for Claude Code from GanyuanRan/Aegis. It costs 32 tokens per session (2,149 once invoked), scanned A, original, MIT.

A security guide for Payload CMS, a system for building content-management applications. It explains important rules for permissions and transaction-safe operations.

In plain words
What is it for?
Use it when writing Payload CMS server-side operations, especially code that runs on behalf of a user or performs related changes inside hooks.
Why use it?
It helps prevent users from accessing data they should not see and avoids database changes being split across incomplete transactions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the aegis plugin — 23 skills, 1 hook shipped together

Good fit Use it when writing Payload CMS server-side operations, especially code that runs on behalf of a user or performs related changes inside hooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ganyuanran/aegis/long-task-continuation
About the project

Aegis is a method pack that guides coding agents to inspect a project's baseline, make bounded changes, and verify their work with fresh evidence. It is for people using coding-agent hosts who want fewer unverified changes and less unnecessary process. The catalogue add-ons implement this method through skills, instructions, commands, a hook, and a plugin.

GanyuanRan/Aegis · 1,460 stars · on GitHub · autoloom.codes

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.

Any agent
npx skills add GanyuanRan/Aegis --skill long-task-continuation
Clone the repo
git clone --depth 1 https://github.com/GanyuanRan/Aegis

Made for: Claude Code.

Or install aegis, the plugin that ships this one along with the rest of its 23 skills, 1 hook.

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 long-task-continuation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ganyuanran/aegis/long-task-continuation"><img src="https://agentmods.dev/badge/skills/ganyuanran/aegis/long-task-continuation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,149 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00032 $0.02149
Opus 5.5 $0.00013 $0.00860
Sonnet 5.5 $0.00006 $0.00430
Haiku 4.5 $0.00003 $0.00215

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

Security

Grade A, and why

long-task-continuation 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.

skills/long-task-continuation/SKILL.md · 198 lines

How it starts

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

Long Task Continuation

Overview

Keep long work checkpointed, resumable, drift-aware, and evidence-gated. This protocol does not execute plans, dispatch subagents, run tests, or grant completion authority.

Authority Boundary

The Method Pack owns continuation discipline only. It does not own the parent plan, host retry/watchdog behavior, authoritative GateDecision, evidence sufficiency, requirement acceptance, or completion.

When To Use

Use this skill when the work has meaningful phases, may be compacted/resumed or handed off, uses subagents, or explicitly needs continuity and drift control. Architecture, contract, shared-workflow, and verification-gate changes also benefit from it. Do not force it onto a short answer or one-command check.

Choose exactly one state carrier:

  • within this continuation workflow, use a durable work/ record for medium/high work, or for work of any complexity that actually crosses sessions, needs handoff, or requires resumable state;
  • otherwise keep one inline checkpoint.

Multi-step, todo-driven, possible-compaction, and subagent use do not force durable records for low-complexity work by themselves. Do not create both carriers or a record per slice.

Required Artifacts

A durable task has one process trail under docs/aegis/work/YYYY-MM-DD-<slug>/. It keeps logical intent/baseline state, the latest todo/checkpoint/resume state, terminal evidence/drift state, and a completion reflection when warranted. These are TaskIntentDraft, BaselineReadSetHint, BaselineUsageDraft, ImpactStatementDraft, TodoCheckpointDraft, ResumeStateHint, DriftCheckDraft, and EvidenceBundleDraft views—not authoritative runtime records or separate plan owners.

Read only the lifecycle-matched section of durable-work-guidance.md:

  • ## Required Artifact Layout and ## Create A Durable Work Record for a new durable work record;
  • ## Update A Slice when an existing helper-backed record needs sidecar updates;
  • ## Retry Convergence Detail for retry/attempt bookkeeping;
  • ## Pause, Handoff, And Completion Bundle when preparing a pause, handoff, or completion bundle; and
  • ## Expanded State Fields only when natural checkpoint prose is ambiguous.

Read the full file on GitHub · 198 lines

Files

What ships with it

1 file 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. 1mo ago Changed · +5 lines dfb04e425747
  2. 1mo ago Changed · +4 lines 8f102e9732f7
  3. 1mo ago Changed · +1 lines 6f3aaeb9738e
  4. 2mo ago Changed · +7 lines 6c69ea53dbe5
  5. 2mo ago Changed · +4 lines 563b4e711c92
  6. 2mo ago Changed · -162 lines 0e2957594ca3
  7. 2mo ago Changed · +8 lines 71e63f17c42d
  8. 3mo ago Changed · +24 lines 0c78c67de20a
  9. 3mo ago First seen · 307 lines · 32 tokens per session scan A 34018b96fee1

Subscribe to this mod's changes

long-task-continuation is a skill published in the GitHub repository GanyuanRan/Aegis (1,460 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 2,149 once invoked, about $0.0001 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-08-30.

Related

long-task-continuation compared with skills from other repositories

long-task-continuation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
long-task-continuationGanyuanRan/AegisSkill1.5kyesterdayMITA32Claude Code
refocusingmvschwarz/openrigSkill9.0ktodayApache-2.0A59Claude Code
rulesyncdyoshikawa/rulesyncSkill1.7ktodayMITA64Claude Code, Codex
gitnexushashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A58Codex
animateericrisco/rsc-harnessSkill701todayMITA75Claude Code, Codex
gamedev-shadersericrisco/rsc-harnessSkill701todayMITA102Claude Code, Codex
no-code-appericrisco/rsc-harnessSkill701todayMITA87Claude Code, Codex