richfrem/agent-plugins-skills / plugins/agent-memory/.apm/skills/managing-obsidian-vaults
managing-obsidian-vaults
VerifiedInteractive vault, wiki and Super-RAG setup in the main conversation. Use for "set up my wiki", "initialize the full knowledge stack" or combined RLM/vector/wiki setup. Manage Obsidian vaults and LLM wikis: initialize vaults, author Markdown and wikilinks, safely edit notes and Bases, create Canvas diagrams, traverse graphs, build concept wikis, distill summary/bullets/deep layers, query and lint knowledge.
references/obsidian-vault-crud-fallback-tree.md
View on GitHub# Procedural Fallback Tree: Obsidian Vault CRUD
## 1. Lock File Present
If `.agent-lock` exists at vault root when starting a write operation:
- **Action**: Do NOT override the lock. Report it to the user, showing the lock file path and creation time. Wait for user confirmation before retrying. Never auto-delete the lock.
## 2. Atomic Write Failed (tmp not renamed)
If `os.rename()` fails after writing to `.agent-tmp`:
- **Action**: Clean up the `.agent-tmp` file. Report the failure with the OS error. Do NOT leave the `.agent-tmp` file in place. Do NOT attempt the write again without user confirmation.
## 3. Concurrent Edit Detected (mtime changed)
If `st_mtime` changed between read and intended write:
- **Action**: ABORT the write immediately. Report which file changed and ask the user to re-read the current content and confirm the intended change. Never proceed with a stale write.
## 4. ruamel.yaml Import Fails
If `import ruamel.yaml` raises `ImportError`:
- **Action**: Do NOT fall back to `PyYAML`. Report the missing dependency and provide the install command: `pip install ruamel.yaml`. Halt all CRUD operations until resolved.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |