tristanh/wikiwise/upgrade
Claude Code and agent skill by tristanh/wikiwise
- community
Checking that the SKILL.md file is still in the repository.
Upgrade this wiki's scaffold files (CLAUDE.md, skills, build tooling) to match the latest Wikiwise app version from GitHub.
Install
npx vskill@latest install tristanh/wikiwise/upgradeSKILL.md
Upgrade scaffold
Bring this wiki's scaffold files up to date with the latest Wikiwise release.
How it works
The file .claude/scaffold-version records either a created:YYYY-MM-DD date (from initial scaffold creation) or a git commit SHA (from a previous upgrade). This skill fetches the latest scaffold from the Wikiwise GitHub repo, diffs what changed, and applies updates.
If .claude/scaffold-version doesn't exist, this wiki predates versioning — treat everything as potentially stale and do a full comparison.
Step 1: Get the latest commit SHA
If python3 is unavailable, use grep + cut:
Read the current version:
Step 2: Determine what changed
If BASE is a 40-character SHA
Use the GitHub compare API, but filter for both scaffold files and build tooling:
This catches changes to both scaffold templates (scaffold/CLAUDE.md, scaffold/skills/...) and build tooling (Resources/build.js, Resources/style.css, etc.).
If BASE is created:... or missing
Do a full comparison — fetch every scaffold and tooling file from GitHub and diff against local copies. See the fetch helper below.
Fetching files safely
Always download to a temp file first, validate it's not an error response, then move into place:
Scaffold file URLs
Scaffold templates (CLAUDE.md, AGENTS.md, skills, wiki seed files):
Build tooling (these live outside scaffold/ in Resources/):
Step 3: Categorize and apply changes
Safe to overwrite (auto-apply)
These files are tooling or agent instructions that the user doesn't customize:
.claude/skills/*/SKILL.md— skill definitions (overwrite entirely, also add any new skills that didn't exist before)site/build.js— the wiki compilersite/style.css— the wiki themesite/app.js,site/graph.js,site/map.html,site/map-3d.html,site/markdown-it.min.js— supporting JS/HTMLAGENTS.md— cross-agent instructionsllm-wiki.md— reference document (read-only)
For new skills that didn't exist when the wiki was created, create the directory and download:
Needs contextual merge (show diff, apply carefully)
These files contain user-specific content and must be merged, not overwritten:
CLAUDE.md— contains the wiki name and possibly user-added rules. Fetch the latest template, show what sections changed, and apply structural changes while preserving the wiki name and any custom additions.
For CLAUDE.md:
- Fetch the latest template (it has
{{WIKI_NAME}}as a placeholder) - Read the local CLAUDE.md to find the wiki name from the first heading
- Show the diff of everything except the first heading
- Apply new/changed sections while preserving the wiki name and user additions
Merge .gitignore entries
.gitignore is generated from a string literal in the app, not a scaffold file. Instead of fetching, just ensure these entries exist (append any missing):
Skip — do not fetch or compare
.claude/settings.json— generated from a string literal in the app, not a scaffold file. Only add new entries if you know what the latest settings contain. In practice, settings rarely change.wiki/— all wiki pages are user contentraw/— immutable source documents
Step 4: Update the version marker
After applying all changes:
Step 5: Trigger a rebuild
This tells the Wikiwise app to recompile everything with the updated build tooling.
Step 6: Report
Summarize what was updated:
- Files overwritten (safe updates)
- Files merged (with what changed)
- New skills added
- Any files that failed to fetch or had conflicts
Append to wiki/log.md:
Rules
- Never touch `wiki/` or `raw/` content — this skill only updates infrastructure.
- Always show CLAUDE.md changes before applying — the user may have custom rules.
- Always trigger `.rebuild` after upgrading so the app picks up build.js/CSS changes.
- Always use the safe fetch pattern — download to temp, validate, then move. Never
curl > targetdirectly. - If no `.claude/scaffold-version` exists, do a full comparison and let the user review everything. Write the version file after.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSources/Wikiwise/Resources/scaffold/skills/upgrade/SKILL.md
Popularity
- Repository stars
- 232
- Repository forks
- 20
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tristanh/wikiwise/upgrade)