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.
npx agentmods add skills/cliffren/swf/archivenpx skills add cliffren/swf --skill archivegit clone --depth 1 https://github.com/cliffren/swfWrote 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.
[](https://agentmods.dev/skills/cliffren/swf/archive)<a href="https://agentmods.dev/skills/cliffren/swf/archive"><img src="https://agentmods.dev/badge/skills/cliffren/swf/archive.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00022 | $0.00856 |
| Opus 5 | $0.00011 | $0.00428 |
| Sonnet 5 | $0.00004 | $0.00171 |
| Haiku 4.5 | $0.00002 | $0.00086 |
Grade A, and why
archive 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Archive Issues
Export completed issues to the Archive project as Documents, then guide user to delete originals in Linear web UI to free up the 250 issue quota.
Input
$ARGUMENTS — optional project name. If omitted, archive across all projects.
Workflow
-
Query archivable issues:
- List all issues with status Done or Canceled (excluding Archive project itself)
- Keep recent Done issues: only archive Done issues completed more than 7 days ago. Recent ones serve as working context for ongoing development.
- Canceled issues can be archived immediately (no context value)
- If a project is specified, filter by that project
- Group by project
-
Show quota and preview:
当前 X/250 活跃 issues,其中 Y 个可归档: spaharmony (3): - TAO-11: 发布 v1 [Done, 2026-04-14] - ... Ideas (5): - TAO-5: Spatial Harmony 评估 [Done, 2026-04-14] - ... 归档后释放 Y 个额度,剩余 Z/250。 确认归档吗? -
Export to Archive project Document (按月合并):
- Check if a Document titled
归档 YYYY-MMalready exists in Archive project:- Use
list_documentswithproject: "Archive"and search for current month title
- Use
- If exists: use
update_documentto append new entries - If not: use
create_documentwithproject: "Archive", titled归档 YYYY-MM - Content format, grouped by project and phase:
# 归档 2026-04 ## spaharmony — Phase 1 ### [Done] TAO-11: 发布 v1:整理文档 + 发布 PyPI (2026-04-14) **Comments:** - [2026-04-14] 已发布 v1.0.0,README 包含安装说明... ### [Done] TAO-14: v2: Harmony 主循环迁移至 CuPy (2026-04-18) (no comments) ## Ideas ### [Done] TAO-5: Spatial Harmony 评估 (2026-04-14) (no comments) ### [Canceled] TAO-99: 某个放弃的想法 (2026-04-10) (no comments) - Record: status, issue ID, title, completion date, comments
- Fetch comments with
list_commentsfor each issue - Skip descriptions and labels — these live in git history
- Check if a Document titled
-
Guide user to delete originals:
归档文档已创建:Archive 项目 → "归档 2026-04-14" 请在 Linear 网页上删除已归档的 issues: 1. 打开对应项目 2. Filter → Status = Done 3. 全选 → 右键 → Delete issue 或逐个:选中 issue → 右键 → Delete issue ⚠️ 删除不可恢复,但数据已保存在 Archive 项目的文档中。
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.
- 3d ago First seen · 94 lines · 22 tokens per session scan A 449810efe64e
archive is a skill published in the GitHub repository cliffren/swf (5 stars, last pushed 4mo ago), licensed MIT. It adds 22 tokens to every session and 856 once invoked, about $0.0001 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.
Other skills, from other repositories
sred-project-organizer
Take a list of projects and their related documentation, and organize them into the SRED format for submission.
moai-workflow-project
Integrated project management system covering documentation, language initialization, template optimization, docs generation, and JIT document loading. Absorbed from moai-workflow-templates, moai-docs-generation, and moai-workflow-jit-docs.
paper-sprint-review
Scrum-inspired paper review, revision, and R&R workflow. Handles docx/tex/md/PDF in English or Chinese. Auto-detects manuscript stage, estimates sprint count, runs multi-lens review (Contribution/Rigor/Writing/Editor), generates prioritized revision backlog, exports MD/DOCX/PDF/HTML reports. Use when asked to review a…
bkit-templates
PDCA + Sprint document templates — Plan, Design, Analysis, Report for individual features plus templates/sprint/{master-plan, prd, plan, design, iterate, qa, report}.template.md for sprint-level documents (v2.1.13). Triggers: template, plan document, design template.
notion-sync
Read, create, and update Notion pages and databases. Requires Notion API integration token.
notion-recipes
Use this skill when a user wants to turn meeting notes into a tracked Action Items database in Notion, or to bulk-edit, find-replace, normalize, or repair Notion database rows or page text at a scale past Notion's native find-and-replace limits. Uses easy-notion's MCP tools.