> Review and promote staged wiki pages to their final locations. Use when WIKI_STAGED_WRITES=true and the user says "/wiki-stage-commit", "review staged pages", "commit staged writes", "promote staged pages", "approve staged changes", or "what's waiting in staging". Shows each staged file, lets the user accept or reject it, and moves accepted files to their final wiki locations. Rejected files are moved back to _raw/ for manual editing.
npx skills add https://github.com/Ar9av/obsidian-wiki --skill wiki-stage-commit
You 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.
llm-wiki/SKILL.md. This gives OBSIDIAN_VAULT_PATH and WIKI_STAGED_WRITES.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._staging/ directory inventory./wiki-stage-commit # interactive review: show each file and ask accept/reject
/wiki-stage-commit --all # accept all staged files without per-file review
/wiki-stage-commit --reject-all # reject all staged files (move to _raw/ for manual editing)
/wiki-stage-commit --list # list staged files with summary, no changes
Glob $OBSIDIAN_VAULT_PATH/_staging/**/*.md — these are the pending pages.
Also glob $OBSIDIAN_VAULT_PATH/_staging/**/*.patch.md — these are pending *updates* to existing pages (diff-style files showing proposed additions and deletions).
Report the inventory:
Staged files: 4 new pages, 2 updates
New pages:
_staging/concepts/attention-mechanism.md (ingested 2 days ago)
_staging/entities/andrej-karpathy.md (ingested 2 days ago)
_staging/skills/fine-tuning-llms.md (ingested yesterday)
_staging/references/attention-is-all-you-need.md (ingested 3 hours ago)
Updates (patch files):
_staging/concepts/transformer-architecture.patch.md (target: concepts/transformer-architecture.md)
_staging/skills/prompt-engineering.patch.md (target: skills/prompt-engineering.md)
If _staging/ is empty, report: "Nothing staged. All writes have been committed or no staged writes have been produced yet."
For each staged file (new pages first, then updates):
Display a summary:
--- New page: concepts/attention-mechanism.md ---
Title: Attention Mechanism
Tags: #ml #architecture
Summary: Core building block of transformers — computes weighted sum of values based on query-key similarity.
Tier: supporting
Confidence: 0.72
Sources: papers/attention.pdf
[Preview first 20 lines of body]
...
Accept [a], Reject [r], Skip [s], Preview full [p]?
Display a structured diff:
--- Update: concepts/transformer-architecture.md ---
Source: _staging/concepts/transformer-architecture.patch.md
Proposed additions (+):
+ Transformers outperform RNNs on tasks requiring long-range dependencies. ^[inferred]
+ New source: papers/survey-2026.pdf
Proposed deletions (-):
- The attention mechanism was first described in [Bahdanau 2015]. (to be replaced by updated claim)
⚠️ Conflict check: target page was modified 3 days after staging. Review carefully.
Accept [a], Reject [r], Skip [s], Preview full diff [p]?
If --all flag is set, skip prompting and accept every file.
If --reject-all flag is set, skip prompting and reject every file.
If --list flag is set, stop after printing the inventory (Step 1).
_staging/<category>/page.md → <category>/page.md (the final location)index.md with the new page entryupdated frontmatter timestampindex.md if the summary changedMove it to $OBSIDIAN_VAULT_PATH/_raw/ for manual editing:
_staging/concepts/page.md → _raw/rejected-concepts-page.md_staging/concepts/page.patch.md → _raw/rejected-patch-concepts-page.mdrejected- so the user can identify itBefore applying a patch, check whether the target page's updated frontmatter is newer than the patch file's own updated field:
⚠️ Conflict: target was updated since this patch was staged. Applying may lose recent changes.Apply anyway [y], Skip [s], Reject [r]?After processing all staged files:
hot.md — update the Recent Activity section: "Committed N staged pages; rejected M."log.md — append: - [TIMESTAMP] STAGE_COMMIT accepted=N rejected=M skipped=K
Stage commit complete.
✅ Accepted (N):
concepts/attention-mechanism.md → now live
entities/andrej-karpathy.md → now live
concepts/transformer-architecture.md → updated (patch applied)
❌ Rejected (M):
skills/fine-tuning-llms.md → moved to _raw/rejected-skills-fine-tuning-llms.md
⏭️ Skipped (K):
references/attention-is-all-you-need.md → still in _staging/
Staging queue: K files remaining
+ are additions, lines starting with - are deletionsindex.md and log.md are always updated immediately on ingest (they are low-risk tracking files) — only category pages go through staging_staging/ directory is not tracked by Obsidian's graph view — pages only appear in the wiki after promotionGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementing any feature or bugfix, before writing implementation code
Use when you have a spec or requirements for a multi-step task, before touching code
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.
| Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Official Opentrons Protocol API for OT-2 and Flex robots. Use when writing protocols specifically for Opentrons hardware with full access to Protocol API v2 features. Best for production Opentrons protocols, official API compatibility. For multi-vendor automation or broader equipment control use pylabrobot.
Take ar9av/wiki-stage-commit from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.