agentleFS
olgasafonovaolgasafonova/mediawiki-mcp-server/skills/wiki-editing/SKILL.md

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.

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
  1. Very specific:

    Do NOT use mediawiki_edit_page for simple text changes when mediawiki_find_replace or mediawiki_apply_formatting would work.

    line 24
  2. Distinctive:

    Always preview destructive edits before executing them.

    line 36
  3. Very specific:

    Use internal wiki links [[Page Title]], never full URLs for wiki pages.

    line 37
  4. Very specific:

    Don't create email links for names.

    line 38
  5. Distinctive:

    All content must be in English on the wiki.

    line 41

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 typeTool
Strike out or format text (bold, italic, underline)mediawiki_apply_formatting
Replace specific text on one pagemediawiki_find_replace
Replace a term across multiple pagesmediawiki_bulk_replace
Add new content or complex multi-section editsmediawiki_edit_page
Upload a file from URLmediawiki_upload_file

Do NOT use mediawiki_edit_page for simple text changes when mediawiki_find_replace or mediawiki_apply_formatting would work.

Workflow

  1. Preview first — Always use preview=true on mediawiki_find_replace and mediawiki_bulk_replace before making changes. Show the preview to the user and get confirmation.
  2. Make the edit — Execute with preview=false after confirmation.
  3. 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_title if unsure.
  • Editing requires authentication (MEDIAWIKI_USERNAME and MEDIAWIKI_PASSWORD environment variables).
  • All content must be in English on the wiki.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.