skill-archive-task

skill-archive-task is a skill for Claude Code, Codex from MatrixFounder/Agentic-development. It costs 42 tokens per session (6,343 once invoked), scanned A, original, Apache-2.0.

A procedure for storing completed task and plan documents in an archive with generated IDs. TASK.md and PLAN.md are project files that record the current work and its planned steps.

In plain words
What is it for?
Use it when starting a separate task or completing one, while leaving the living architecture document unchanged.
Why use it?
It prevents old task records from being confused with current ones and keeps task and plan history together.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .agent/tools/task_id_tool.py "<slug-from-meta>" --proposed-id "<id-from-meta>" --no-correction.

Good fit Use it when starting a separate task or completing one, while leaving the living architecture document unchanged.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/MatrixFounder/Agentic-development
agentmods
npx agentmods add skills/matrixfounder/agentic-development/skill-archive-task

Made for: Claude Code, Codex.

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 skill-archive-task

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/matrixfounder/agentic-development/skill-archive-task"><img src="https://agentmods.dev/badge/skills/matrixfounder/agentic-development/skill-archive-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,343 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.00042 $0.06343
Opus 5.5 $0.00017 $0.02537
Sonnet 5.5 $0.00008 $0.01269
Haiku 4.5 $0.00004 $0.00634

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

Security

Grade A, and why

skill-archive-task 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 8d 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.

.agent/skills/skill-archive-task/SKILL.md · 452 lines

How it starts

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

Task Archiving Protocol

This skill encapsulates the complete protocol for archiving docs/TASK.md to docs/tasks/ and docs/PLAN.md to docs/plans/ (in lockstep with TASK.md). Step 8 then re-targets the links that the task wrote into the two slots.

When to Archive

Archive docs/TASK.md ONLY when:

  1. Starting a NEW task AND docs/TASK.md exists with DIFFERENT content
  2. Completing a task (Orchestrator Completion stage)

DO NOT archive when:

  • Refining/clarifying the CURRENT task (overwrite instead)
  • docs/TASK.md does not exist

[!IMPORTANT] PLAN.md rotates in lockstep with TASK.md. Whenever TASK.md is archived for a NEW task, the old docs/PLAN.md (if present) is archived too — see "PLAN.md Archiving (Lockstep)" below. On task refinement, PLAN.md is overwritten in place, never archived. docs/ARCHITECTURE.md is a LIVING document: this skill never moves or archives it. Step 8 may re-target the task's own slot links in it.

Decision Logic: New vs Refinement

IF user request implies a NEW SEPARATE feature/refactor:
    → Archive existing TASK.md, then create new
    
IF user request is a clarification/refinement of CURRENT task:
    → Overwrite TASK.md, do NOT archive

Indicators of NEW task:

  • Different feature/component mentioned
  • "Create new task for...", "Start working on..."
  • Completed previous task

Indicators of REFINEMENT:

  • "Clarify requirement X", "Add detail to..."
  • Same feature context as current TASK.md

Protocol Steps

Step 1: Check Condition

IF NOT exists("docs/TASK.md"):
    SKIP archiving → Create new TASK.md

Step 2: Extract Metadata

Read from current docs/TASK.md:

  • Task ID from "0. Meta Information" section
  • Slug from "0. Meta Information" section
  • Base revision from the same section, as {base_revision}: the commit at which the task started. Step 8 passes it as --since. Without one, read Base revision from the header of docs/reviews/framework-audit-<ID>.md. Strip one pair of enclosing backticks; the rest must be 7–64 hexadecimal digits, and none, no value or any other value means no base. Never use a base that the current run recorded.

Read the full file on GitHub · 452 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. 8d ago Changed · +69 lines · +11 tokens per session f71ff61a3a02
  2. 9d ago Changed · +18 lines 379c87cf9a77
  3. 1mo ago First seen · 365 lines · 31 tokens per session scan A 86e932df1d7a

Subscribe to this mod's changes

skill-archive-task is a skill published in the GitHub repository MatrixFounder/Agentic-development (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 42 tokens to every session and 6,343 once invoked, about $0.0002 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-31.