Help us improve
Share bugs, ideas, or general feedback.
From lib
Migrates local agent-produced Markdown and text files into the Obsidian vault for long-term memory. Trigger when the user says: "archive to Obsidian", "migrate to vault", "save to Obsidian", "archive my notes", "move this to my vault", "store in Obsidian", or any request to move local .md or .txt files into a vault. Do NOT trigger for simply reading or viewing vault notes (use workflow:organize for vault management).
npx claudepluginhub cosmicdreams/claude-plugins --plugin libHow this skill is triggered — by the user, by Claude, or both
Slash command
/lib:archiveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
Creates p5.js generative art with seeded randomness, noise fields, and interactive parameter exploration. Use for algorithmic art, flow fields, or particle systems.
Share bugs, ideas, or general feedback.
VAULT_ROOT="$HOME/Vaults/${OBSIDIAN_VAULT_NAME:-Neurons}"
Before determining where any file goes, read obsidian-rules.md:
cat ~/.claude/plugins/cache/local/workflow/*/references/obsidian-rules.md | tail -1 | xargs cat
Use the purpose taxonomy and path patterns there to decide each file's destination.
Do not assume all files belong under Projects/ — content type determines placement.
Discover files: find .md and .txt files in the specified local directory
find DIRECTORY -name "*.md" -o -name "*.txt" | sort
Determine placement: for each file, read its content and apply obsidian-rules.md
to determine the correct vault path. Check existing vault folders first — prefer
matching an existing folder over creating a new one.
Preview and confirm — file deletion is irreversible. Always require explicit confirmation before touching any files:
Found X files to archive:
- file1.md → Research/topic/file1.md
- file2.md → Projects/my-project/file2.md
Proceed? (yes/no)
Do NOT proceed without explicit "yes".
For each file (after confirmation):
a. Resolve full destination: $VAULT_ROOT/<vault-path>
b. Create destination directory:
mkdir -p "$VAULT_ROOT/<destination-folder>"
c. Copy to vault:
cp "LOCAL_PATH" "$VAULT_ROOT/<destination>"
d. Verify the file exists at the destination before deleting the source. e. Only after confirmed success — delete the local file:
rm "LOCAL_PATH"
f. Report: "Archived: FILENAME → VAULT_PATH"
Summary: list all successfully archived files and any failures