olgasafonova/mediawiki-mcp-server/wiki-publish
Claude Code and agent skill by olgasafonova/mediawiki-mcp-server
- community
Checking that the SKILL.md file is still in the repository.
Convert a markdown file to wikitext and publish it to a MediaWiki wiki using the wiki CLI. Use when user says "publish to wiki", "push this to the wiki", "wiki publish", or asks to publish a markdown file as a wiki page.
Install
npx vskill@latest install olgasafonova/mediawiki-mcp-server/wiki-publishSKILL.md
wiki-publish
Publishes a markdown file to a MediaWiki wiki by shelling out to the wiki CLI. The plugin never re-implements wiki logic; the CLI is the contract.
Prerequisites
The wiki CLI must be on PATH and configured.
If wiki is not installed, install from the latest release at https://github.com/olgasafonova/mediawiki-mcp-server/releases or build from source:
If wiki config reports missing MEDIAWIKI_URL, stop and ask the user to set it (plus MEDIAWIKI_USERNAME + MEDIAWIKI_PASSWORD for write access). Do not attempt to publish.
Workflow
- Resolve the file path. If the user gave one, use it. If not, ask.
- Resolve the page title. If the user gave one, use it. Otherwise propose one from the markdown's first H1 heading; confirm before proceeding.
- Preview by default for unfamiliar files. Run
wiki publish <file> "<title>" --preview --jsonand show the user the wikitext. Skip the preview only if the user said "publish without preview" or "just push it." - Publish. Run
wiki publish <file> "<title>" --jsonwith optional flags:
--summary "<text>"if the user supplied one--minorif the user flagged the change as minor--theme tieto|neutral|darkif the user specified a theme--cssto include the CSS styling block
- Report the result. Parse the JSON response and surface the revision ID and (if a new page was created) the new_page flag.
CLI contract
JSON response on successful publish:
Error handling
- File not found. Surface the file path and ask the user to correct it.
- `wiki` CLI not on PATH. Show the install instructions above; do not proceed.
- `wiki publish` exits non-zero. Show stderr verbatim. Common cases: missing credentials (CLI says "authentication failed"), page-protection conflict, network failure.
- Page title collision with an unrelated page. If the user did not confirm the page title, stop and confirm before re-running.
Do not
- Do not call MCP tools directly. The plugin's contract is to use the CLI.
- Do not chain a write after a failed preview. If preview fails, fix the source markdown first.
- Do not retry the publish more than once on a transient error. Report it and let the user decide.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.claude-plugin/skills/wiki-publish/SKILL.md
Popularity
- 7-day trend score
- 0
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/olgasafonova/mediawiki-mcp-server/wiki-publish)