wiki-editing
Skill23 starsChanged 7 days agoMITView on GitHub
Edit MediaWiki pages safely using the right tool for each change. Covers text replacement, formatting, bulk updates, and new page creation with preview-before-save workflow.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- wiki-operationsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Do NOT use mediawiki_edit_page for simple text changes when mediawiki_find_replace or mediawiki_apply_formatting would work.
- Distinctive: line 36
Always preview destructive edits before executing them.
- Very specific: line 37
Use internal wiki links [[Page Title]], never full URLs for wiki pages.
- Very specific: line 38
Don't create email links for names.
- Distinctive: line 41
All content must be in English on the wiki.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Wiki Editing
Trigger
Making changes to wiki pages: text corrections, formatting, bulk replacements, or creating new content.
Tool Selection
Pick the simplest tool that handles the edit:
| Change type | Tool |
| Strike out or format text (bold, italic, underline) | mediawiki_apply_formatting |
| Replace specific text on one page | mediawiki_find_replace |
| Replace a term across multiple pages | mediawiki_bulk_replace |
| Add new content or complex multi-section edits | mediawiki_edit_page |
| Upload a file from URL | mediawiki_upload_file |
Do NOT use mediawiki_edit_page for simple text changes when mediawiki_find_replace or mediawiki_apply_formatting would work.
Workflow
- Preview first — Always use
preview=trueonmediawiki_find_replaceandmediawiki_bulk_replacebefore making changes. Show the preview to the user and get confirmation. - Make the edit — Execute with
preview=falseafter confirmation. - Include an edit summary — Describe what changed: "Updated version to 3.0", "Struck out former employee name", "Fixed broken internal links".
Guardrails
- Always preview destructive edits before executing them.
- Use internal wiki links
[[Page Title]], never full URLs for wiki pages. - Don't create email links for names; wiki doesn't support
mailto:properly. - Page titles are case-sensitive. Use
mediawiki_resolve_titleif unsure. - Editing requires authentication (
MEDIAWIKI_USERNAMEandMEDIAWIKI_PASSWORDenvironment variables). - All content must be in English on the wiki.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

