mcpField
A
archive

archive

github.com/resciencelabAgent workflows1.9k1.2k installsUpdated 1d ago
Repository

About archive

Archive is an agent skill for preserving project knowledge between sessions in dated Markdown files, with a central index for lookup. It guides teams through recording significant work and consulting prior fixes or process notes before repeating tasks.

Key features

  1. 01Dated Markdown archive entries
  2. 02Central MEMORY.md index
  3. 03Guided archive and lookup workflows
  4. 04Categories for project knowledge
  5. 05Related-archive references

Use cases

  1. 01Preserving lessons after a deployment
  2. 02Looking up prior infrastructure fixes
  3. 03Reusing notes from a past process

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/resciencelab/opc-skills --skill archive

After installing, type/archivein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

.factory-plugin/
plugin.json
hooks/
hooks.json
load-memory.py
references/
TEMPLATE.md

Details

From the project README

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

Comments

Markdown supported