Syncs the local wiki directory with the GitHub repository wiki.

Install

mkdir -p .claude/skills/update-wiki && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12626" && unzip -o skill.zip -d .claude/skills/update-wiki && rm skill.zip

Installs to .claude/skills/update-wiki

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Publish the repo-root wiki/ specification tree to the HW-OpenClaw GitHub Wiki on demand. Use when the user asks to sync, publish, update, or refresh the GitHub Wiki from the version-controlled wiki/ directory.
209 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Publish local `wiki/` content to GitHub Wiki
  • Clone GitHub Wiki into a temporary directory
  • Replace cloned content with local `wiki/` tree
  • Preserve directory structure and file names
  • Commit and push only when content changed
  • Remove temporary clone after publishing

How it works

The skill clones the GitHub Wiki, replaces its content with the local `wiki/` directory, commits and pushes changes if detected, and then cleans up the temporary clone.

Inputs & outputs

You give it
Local `wiki/` directory content
You get back
Updated GitHub Wiki and a dry run preview

When to use update-wiki

  • Syncing wiki docs
  • Publishing spec changes
  • Updating project documentation

About this skill

Update Wiki

Use this skill to publish the version-controlled wiki/ tree to the GitHub Wiki.

The source of truth is always the repo-root wiki/ directory. The GitHub Wiki is only a generated mirror for web browsing.

Workflow

  1. Make sure the local branch contains the intended wiki/ content.
  2. Run a dry run first:
python3 .codex/skills/update-wiki/scripts/update-wiki.py --dry-run --output /tmp/hw-openclaw-wiki-preview
  1. Inspect the generated preview if the change is non-trivial.
  2. Publish:
python3 .codex/skills/update-wiki/scripts/update-wiki.py

Behavior

  • clones https://github.com/<owner>/<repo>.wiki.git into a temporary local directory
  • replaces the clone content with the local wiki/ tree
  • preserves the wiki/ directory structure and file names as much as possible
  • copies Markdown pages and supported assets exactly as they live under wiki/
  • commits and pushes only when generated wiki content changed
  • removes the temporary local wiki clone before the script exits

Authentication

The script uses normal Git commands.

If pushing fails, fix the local Git credential setup the same way you would for any other git push to GitHub.

Rules

  • Do not edit the GitHub Wiki web UI as the source of truth.
  • Do not publish unreviewed wiki changes.
  • Do not keep the local wiki clone after publishing.
  • If generated wiki output looks wrong, fix the versioned wiki/ source or the script, not the generated Wiki repo by hand.

When not to use it

  • When the GitHub Wiki is considered the source of truth
  • When unreviewed wiki changes are to be published
  • When the local `wiki/` directory is not the intended source

Limitations

  • Requires the local branch to contain the intended `wiki/` content
  • Does not support editing the GitHub Wiki web UI as the source of truth
  • Authentication relies on normal Git command setup

How it compares

This skill automates the synchronization of a local `wiki/` directory to a GitHub Wiki, ensuring the local version is the source of truth, unlike manual copy-pasting or direct GitHub Wiki edits.

Compared to similar skills

update-wiki side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
update-wiki (this skill)04moReviewBeginner
add-provider-doc63moReviewBeginner
update-release-notes129dReviewAdvanced
higress-daily-report16moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry