Tooluck logoTooluck
SKILL.md

wiki-stage-commit

Agent skill fromAr9av/obsidian-wiki

Review staged wiki writes and promote accepted pages to final locations when WIKI_STAGED_WRITES is enabled. Use for staging approval/commit; rejected pages return to _raw/ for editing.

How to install wiki-stage-commit

install wiki-stage-commit
# install the obsidian-wiki pack with the skills CLI
npx skills add Ar9av/obsidian-wiki

# or add only this skill to Claude Code: copy the folder

skills/wiki-stage-commit/

# into

~/.claude/skills/wiki-stage-commit/ (all projects)

.claude/skills/wiki-stage-commit/ (one project)

skills/wiki-stage-commit/SKILL.md

MITFull file
1# Wiki Stage Commit — Staged Write Promotion
2
3You are reviewing LLM-written pages that are waiting in `_staging/` for human approval before they land in the live wiki. This skill is only useful when `WIKI_STAGED_WRITES=true` in the vault config.
4
5## Before You Start
6
71. **Resolve config** — follow the Config Resolution Protocol in `llm-wiki/SKILL.md`. This gives `OBSIDIAN_VAULT_PATH` and `WIKI_STAGED_WRITES`.
82. If `WIKI_STAGED_WRITES` is not set or is `false`, tell the user: "Staged writes mode is not enabled. Set `WIKI_STAGED_WRITES=true` in your `.env` to use this feature." Then stop.
93. Read the `_staging/` directory inventory.
10
11## Invocation Forms
12
13```
14/wiki-stage-commit # interactive review: show each file and ask accept/reject
15/wiki-stage-commit --all # accept all staged files without per-file review
16/wiki-stage-commit --reject-all # reject all staged files (move to _raw/ for manual editing)
17/wiki-stage-commit --list # list staged files with summary, no changes
18```
19
20## Step 1: Inventory Staged Files
21
22The CLI owns the inventory — don't glob `_staging/` yourself:
23
24```bash
25obsidian-wiki staging list --json
26```
27
28Each entry carries:
29
30| Field | Meaning |
31|---|---|
32| `staged_path` | vault-relative path of the staged file |
33| `live_path` | where it will land (a `.patch.md` targets the page it is named after) |
34| `kind` | `new`, `update`, or `patch` |
35| `staged_revision` | content hash of the staged file, as you are seeing it now |
36…

Excerpt shown under the repository's MIT license.

More skills in obsidian-wiki

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates