harvest-artifacts

harvest-artifacts is a skill for Claude Code, Codex from paultyng/skill-issue. It costs 88 tokens per session (1,752 once invoked), scanned A, original, MIT.

A cleanup workflow for old plans and review files stored in project folders such as .plans/ and .reviews/. It extracts facts that should live in lasting project documentation or rules, then removes the consumed history.

In plain words
What is it for?
Use it to sweep older artifacts or process one named file, identify decisions, findings, conventions, and checks worth keeping, and place each in the appropriate documentation or instruction file.
Why use it?
Temporary plans and reviews accumulate after work is finished, making durable decisions hard to find. This separates reusable project knowledge from records that the code and Git history already preserve.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it to sweep older artifacts or process one named file, identify decisions, findings, conventions, and checks worth keeping, and place each in the appropriate documentation or instruction file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paultyng/skill-issue/harvest-artifacts
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 paultyng/skill-issue --skill harvest-artifacts
Clone the repo
git clone --depth 1 https://github.com/paultyng/skill-issue

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 harvest-artifacts

README.md
[![agentmods](https://agentmods.dev/badge/skills/paultyng/skill-issue/harvest-artifacts/github.svg)](https://agentmods.dev/skills/paultyng/skill-issue/harvest-artifacts)
Your own site
<a href="https://agentmods.dev/skills/paultyng/skill-issue/harvest-artifacts"><img src="https://agentmods.dev/badge/skills/paultyng/skill-issue/harvest-artifacts/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 harvest-artifacts

Your own site · 80×15
<a href="https://agentmods.dev/skills/paultyng/skill-issue/harvest-artifacts"><img src="https://agentmods.dev/badge/skills/paultyng/skill-issue/harvest-artifacts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,752 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.00088 $0.01752
Opus 5.5 $0.00035 $0.00701
Sonnet 5.5 $0.00018 $0.00350
Haiku 4.5 $0.00009 $0.00175

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

Security

Grade A, and why

harvest-artifacts 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 7d 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/harvest-artifacts/SKILL.md · 140 lines

How it starts

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

Harvest Artifacts

Plans and reviews pile up in .plans/ and .reviews/. A few facts in them are durable: an invariant a reviewer proved, a convention a pattern scan found, a check reviewers keep needing. The rest is history the code and git log already hold. Move the durable facts to the right home, then delete what was consumed. This is a periodic sweep of the long tail of finished work, not a post-merge step.

What each producing skill writes, and where its harvestable content sits: reference.md.

Extract with one model: sonnet subagent per artifact, in parallel, each returning candidates with path:line. The parent probes, dedups, routes, and owns every prompt and write.

Arguments

  • None: sweep artifacts older than 7 days.
  • A path (.reviews/2026-11-19, .plans/x.md): only that artifact, any age.
  • An age (3d, all): override the 7-day retention for this run.

Age is the review directory's date, or the file's mtime for plans and nits.md. Artifacts inside retention are not read and not listed.

Goal

Every candidate fact (a finding, nit, Behavior delta entry, decision, or pattern) ends in exactly one place:

Candidate Home
A constraint every agent working in this repo must respect AGENTS.md. If only CLAUDE.md exists, use it. If CLAUDE.md imports @AGENTS.md, AGENTS.md is canonical
A class of defect reviewers should check for in this repo REVIEW.md (review-* skills read it at runtime)
A narrow, file-type-scoped behavior Project .claude/rules/<topic>.md, written via create-rule
User-facing behavior or usage README.md
An invariant of the code that no test defends Follow-up: a test (per derive-tests-from-invariants). Do not write the code
A fact about the user, true across repos, not derivable from any repo Auto-memory: a topic file in the project memory directory plus a one-line pointer in its MEMORY.md
Open finding, open nit, unchecked plan task, trajectory Proposed follow-up Follow-up list in the report. Never post it anywhere
Fixed, already recorded (in the target, a rule, or memory), or no longer true Dropped, with the reason

Read the full file on GitHub · 140 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. 7d ago First seen · 140 lines · 88 tokens per session scan A 7a9d39faf42f

Subscribe to this mod's changes

harvest-artifacts is a skill published in the GitHub repository paultyng/skill-issue (8 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 1,752 once invoked, about $0.0004 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-11-25.

Related

harvest-artifacts compared with skills from other repositories

harvest-artifacts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harvest-artifactspaultyng/skill-issueSkill8todayMITA88Claude Code, Codex
chatcrystal-debug-recallZengLiangYi/ChatCrystalSkill652d agoApache-2.0A54Codex
verifyyha9806/academic-writing-toolkitSkill572d agoMITA26Claude Code
skillnoteluna-prompts/skillnoteSkill11429d agoMITA54Claude Code, Codex
megalinter-checkulises-jeremias/agent-toolkitSkill28todayMITA96Claude Code
assistantulises-jeremias/agent-toolkitSkill28todayMITA64Claude Code
design-improvementulises-jeremias/agent-toolkitSkill28todayMITA60Claude Code