Archive

From clawic/skills · View interactive version

Archive is an AI agent skill from the GitHub repository clawic/skills. Capture and preserve content as intelligent snapshots with semantic search, automatic extraction, and proactive resurfacing.

How to use this skill

Skill file

Architecture

Archive storage lives in ~/Clawic/data/archive/ with tiered structure. See memory-template.md for setup.

~/Clawic/data/archive/
├── memory.md          # HOT: recent items, ≤100 lines
├── index.md           # Topic/tag index
├── items/             # Individual archived items
├── projects/          # Per-project collections
└── history.md         # Search/access history

Quick Reference

| Topic | File |

|-------|------|

| What to capture | capture.md |

| Search patterns | search.md |

| Resurfacing rules | resurface.md |

Core Rules

1. Capture Complete, Not Just Links

When user sends something to archive:

2. Content Types

| Type | What to extract |

|------|-----------------|

| Article/webpage | Full text, author, date, key quotes |

| Video (YouTube) | Title, creator, duration, timestamps mentioned |

| Tweet/thread | Full text, author, context, media |

| PDF/paper | Title, authors, abstract, cited references |

| Image | Description, source, context given |

| Idea/note | Raw text + timestamp + related items |

3. Storage Structure

Each archived item stored as:

items/{date}_{slug}.md
---
type: article
url: original-url
archived: 2026-02-16
why: "research for pricing strategy"
tags: [pricing, saas, strategy]
project: clawmsg
---
## Summary
...
## Key Points
...
## Full Content
...

4. Semantic Search

User can ask naturally:

NEVER require exact keywords. Match by meaning.

5. Proactive Resurfacing

When user works on a topic:

6. Never Delete Without Asking

7. Differentiation from Other Skills

| This skill | What it does | NOT this |

|------------|--------------|----------|

| archive | Preserves external content as snapshots | memory (agent context) |

| archive | Captures full content for permanence | bookmark (just URLs) |

| archive | Stores raw material | second-brain (processed knowledge) |

| archive | Immutable snapshots | pkm (evolving notes) |

Scope

This skill ONLY:

This skill NEVER:

Data Storage

All data in ~/Clawic/data/archive/. Create on first use:

mkdir -p ~/Clawic/data/archive/items ~/Clawic/data/archive/projects
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.