Table of Contents
Wiki Editor Skill
Self-updating skill for editing the Organic community wiki via JSON-RPC API.
Skill: Gist | Wiki: https://organic.eris.host | Support: Contact Kat/Xenofembutch on Discord
Wiki administrators must enable API access for your account before you can use this skill. The API is not available to all users by default. Contact the wiki admins (Kat/Xenofembutch on Discord) to request API write access.
Getting a Token
- Get a session cookie via JSON-RPC login (see below)
- Alternatively, generate a JWT from your profile page after logging in
API
Endpoint: https://organic.eris.host/lib/exe/jsonrpc.php
Auth: Session cookie (from dokuwiki.login) or Authorization: Bearer <token>
Login (Cookie Auth)
curl -s -c cookies.txt -X POST "https://organic.eris.host/lib/exe/jsonrpc.php/dokuwiki.login" \ -H "Content-Type: application/json" \ -d '{"user":"YOUR_USERNAME","pass":"YOUR_PASSWORD"}'
Read Page
curl -s -b cookies.txt -X POST "https://organic.eris.host/lib/exe/jsonrpc.php/core.getPage" \ -H "Content-Type: application/json" \ -d '{"page":"models:glm-5"}'
Write Page
curl -s -b cookies.txt -X POST "https://organic.eris.host/lib/exe/jsonrpc.php/core.savePage" \ -H "Content-Type: application/json" \ -d '{"page":"models:glm-5","text":"content","summary":"edit description"}'
List All Pages
curl -s -b cookies.txt -X POST "https://organic.eris.host/lib/exe/jsonrpc.php/dokuwiki.getPagelist" \ -H "Content-Type: application/json" \ -d '{"ns":""}'
Raw Export (No Auth)
curl -s "https://organic.eris.host/doku.php?id=models:glm-5&do=export_raw"
Python Helper
import json, subprocess WIKI_API = "https://organic.eris.host/lib/exe/jsonrpc.php" def wiki(method, params, cookie_file="cookies.txt"): cmd = ["curl", "-s", "-b", cookie_file, "-X", "POST", f"{WIKI_API}/{method}", "-H", "Content-Type: application/json", "-d", json.dumps(params)] return json.loads(subprocess.run(cmd, capture_output=True, text=True).stdout) # Login wiki("dokuwiki.login", {"user": "YOU", "pass": "PASS"}) # Read page = wiki("core.getPage", {"page": "models:glm-5"})["result"] # Write wiki("core.savePage", {"page": "models:glm-5", "text": "new", "summary": "x"}) # Append wiki("core.savePage", {"page": "models:glm-5", "text": page + "\n\nNew section", "summary": "x"})
DokuWiki Syntax
| Element | Syntax |
|---|---|
| H1 | ====== Heading ====== |
| H2 | ===== Heading ===== |
| H3 | ==== Heading ==== |
| Bold | text |
| Italic | text |
| Inline code | “text” |
| Code block | <code>…</code> or <code python>…</code> |
| Internal link | page (colon prefix = absolute) |
| Include page |
|
| Table header | ^ Header ^ Header ^ |
| Table cell | | cell | cell | |
| Bullet list | * item (2-space indent) |
| Info wrap |
|
| Tip wrap |
|
| Important wrap |
|
Use
tags, NOT <note> tags — <note> doesn’t render on Organic. Internal links from sub-namespaces need a leading colon for absolute resolution: limits not limits when writing inside models:kimi-k25. Include specific dates (e.g. “Since February 15, 2026”) not vague “As of [current month]”.</WRAP>
===== Key Pages =====
* models — model catalog
* kimi-k25, glm-5, glm-5.1 — individual model pages
* limits — pricing and rate limits
* prompt_caching — cache behavior
* infrastructure — hardware details
* faq — frequently asked questions
* harnesses — integration guides
Sitemap: https://organic.eris.host/start?do=index
===== Agent Prompt =====
Copy-paste to any agent:
<code>
Load organic-wiki-editor skill. Source: https://gist.githubusercontent.com/gwyntel-git/af775c3d800f9a8914d9ba9bd1576894/raw/organic-wiki-editor-skill.md
This skill provides:
- Organic wiki JSON-RPC API (core.getPage, core.savePage, dokuwiki.getPagelist)
- Endpoint: https://organic.eris.host/lib/exe/jsonrpc.php
- Auth: session cookie from dokuwiki.login, or Bearer JWT
- Wiki admins MUST enable API access for your account (contact Kat/Xenofembutch)
- DokuWiki syntax with <WRAP> tags, absolute links with colon prefix
- Key pages: models, limits, faq, harnesses, prompt_caching, infrastructure
Self-update: curl -s “${source_url}” > skill.md
</code>
===== Self-Update =====
<code bash>
curl -s “https://gist.githubusercontent.com/gwyntel-git/af775c3d800f9a8914d9ba9bd1576894/raw/organic-wiki-editor-skill.md” > /path/to/skill.md
</code>
===== No API Access? =====
If you lack API access or your token returns read-only errors, contact the wiki administrators on Discord (Kat/Xenofembutch) to request API write access. Browser automation is possible but fragile — API is strongly preferred.
OpenAPI docs:** https://organic.eris.host/lib/exe/openapi.php