archive

Migrate local Markdown and text files into an Obsidian vault.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/cosmicdreams/claude-plugins --skill archive-cosmicdreams
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: archive
Source: https://github.com/cosmicdreams/claude-plugins/tree/main/lib/skills/archive
Command: npx skills add https://github.com/cosmicdreams/claude-plugins --skill archive-cosmicdreams

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the problem of scattering local agent outputs across your filesystem by providing a safe, rule-based way to migrate .md and .txt files into your Obsidian vault for durable long-term memory.

Core Features & Use Cases

  • Vault-aware placement: Reads obsidian-rules.md to choose the correct destination folder based on content type and path patterns, including preference for existing folders.
  • Interactive safety guardrails: Performs a discovery pass, shows a full mapping preview, and requires an explicit yes/no confirmation before any file deletion.
  • Reliable copy-and-verify flow: Copies each file to the resolved vault location, verifies presence, and only then deletes the local source; failures preserve local files and continue processing.

Quick Start

Tell your AI to archive the generated markdown and text files into your Obsidian vault for long-term storage.

Frequently Asked Questions about archive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely move markdown files into an Obsidian vault without losing data?

To safely move markdown files into an Obsidian vault, the archive Skill uses a copy-verify-delete flow. It copies each file to the resolved vault location, verifies presence, and only deletes the local source after confirmation, preserving local files on any failure.

Can I automatically organize migrated text files into specific Obsidian vault folders?

Yes, migrated text files are automatically organized using obsidian-rules.md. This rule-driven destination selection chooses the correct vault folder based on content type and path patterns, including a preference for placing files in existing folders.

What happens if a file migration to my Obsidian vault fails midway?

If a file migration fails midway, the archive Skill preserves your local files. The per-file copy-and-verify flow ensures that any failure during the process stops the deletion of the local source file and continues processing the remaining files.

Does the archive Skill read or modify existing notes inside the Obsidian vault?

No, the archive Skill does not read or modify existing notes inside the Obsidian vault. It applies specifically when asked to archive or migrate .md and .txt files by moving them into the vault for long-term retrieval and consolidation.

Do I need to confirm before the archive Skill deletes my local markdown files?

Yes, you must provide explicit confirmation before any local markdown files are deleted. The Skill performs a discovery pass, shows a full mapping preview of the proposed file placements, and requires a yes/no confirmation to ensure safety.

What is the best way to consolidate scattered agent-produced notes into a long-term vault?

The best way to consolidate scattered agent-produced notes is using rule-driven file migration. This process applies destination selection rules to move local .md and .txt files into an Obsidian vault for durable long-term memory and retrieval.