Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
resciencelab avatar

Archive

  • 1k installs
  • 1.2k repo stars
  • Updated July 27, 2026
  • resciencelab/opc-skills

archive is a productivity skill that persists session learnings, bug fixes, and deploy notes under `.archive/YYYY-MM-DD/` with tagged markdown and a searchable `.archive/MEMORY.md` index for the next agent run.

About

archive is an opc-skills skill that captures debugging solutions, deployment logs, and task learnings as indexed markdown after significant work completes. It writes dated folders under `.archive/yyyy-mm-dd/` and maintains a `.archive/MEMORY.md` index with searchable tags for cross-session knowledge reuse. Developers reach for archive after deploys, migrations, major features, tricky bug resolutions, or when the user says archive this. The skill also supports consulting prior archives at the start of new sessions so agents reuse prior fixes instead of rediscovering them.

  • Writes dated folders `.archive/yyyy-mm-dd/` with indexed markdown and searchable tags
  • Maintains `.archive/MEMORY.md` one-line category index for cross-session lookup
  • Lookup workflow: grep archives and read MEMORY before infra, deploy, or CI repeats
  • YAML frontmatter template with optional `related` links to prior archives
  • Triggers on deploy completion, hard bugs, multi-step learnings, or user says archive this

Archive by the numbers

  • 1,006 all-time installs (skills.sh)
  • +18 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #467 of 3,301 Productivity & Planning skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/resciencelab/opc-skills --skill archive

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1k
repo stars1.2k
Security audit3 / 3 scanners passed
Last updatedJuly 27, 2026
Repositoryresciencelab/opc-skills

How do you persist agent session learnings across runs?

Persist session learnings, bug fixes, and deploy notes under `.archive/YYYY-MM-DD/` with tagged markdown and a searchable `.archive/MEMORY.md` index for the next agent run.

Who is it for?

Developers using long-running agent sessions who want searchable cross-session memory for bugs, deploys, and migrations.

Skip if: Teams needing formal wiki documentation, ticket systems, or git-based ADRs instead of local agent memory files.

When should I use this skill?

User completes a significant task, resolves a tricky bug, deploys, says archive this, or starts a session needing prior learnings.

What you get

Dated `.archive/YYYY-MM-DD/` markdown files and updated `.archive/MEMORY.md` searchable index

  • dated archive markdown files
  • .archive/MEMORY.md index

Files

SKILL.mdMarkdownGitHub ↗

Archive Skill

Capture, index, and reuse project knowledge across sessions.

When to Archive

  • After completing a significant task (deploy, migration, major feature)
  • After resolving a tricky debugging session
  • When the user says "archive this"
  • After any multi-step process with learnings worth preserving

When to Consult Archives

  • Before debugging infrastructure, deploy, or CI issues
  • Before repeating a process done in a past session
  • When encountering an error that may have been solved before

Search: grep -ri "keyword" .archive/ Index: .archive/MEMORY.md

Archive Workflow

1. Read .archive/MEMORY.md — check for related existing archives 2. Create .archive/YYYY-MM-DD/ directory if needed 3. Write markdown file with YAML frontmatter (see references/TEMPLATE.md) 4. Update `.archive/MEMORY.md`: add one-line entry under the right category 5. If related archives exist, add related field in frontmatter

Lookup Workflow

1. Read .archive/MEMORY.md to find relevant entries 2. Read the specific archive file for detailed context 3. Apply learnings to current task

Categories

  • infrastructure — AWS, ECS, IAM, networking, secrets, CloudWatch
  • release — TestFlight, versioning, Git Flow, CHANGELOG
  • debugging — Bug fixes, error resolution, gotchas
  • feature — Feature design, implementation notes
  • design — UI/UX, icons, visual design

Rules

  • .archive/ must be in .gitignore — local-only notes
  • Keep entries concise but reproducible
  • Focus on problems, fixes, and exact commands
  • Always update MEMORY.md after creating an archive
  • Use descriptive filenames (e.g., cloudwatch-logging.md not session.md)
  • Include YAML frontmatter with tags, category, and optional related

Related skills

How it compares

Use archive for lightweight agent-session memory in the repo; use ADR or wiki skills when organization-wide formal documentation is required.

FAQ

Where does archive store session learnings?

archive stores learnings as tagged markdown under `.archive/yyyy-mm-dd/` dated directories and updates a searchable `.archive/MEMORY.md` index. Agents can consult that index on future runs to reuse prior fixes and deploy notes.

When should archive be used?

archive should run after completing significant tasks such as deploys, migrations, or major features, after resolving tricky bugs, or when the user explicitly says archive this. It preserves knowledge worth reusing across sessions.

Is Archive safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.