This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Wiki Editor Skill ====== Self-updating skill for editing the Organic community wiki via JSON-RPC API. **Skill:** [[https://gist.githubusercontent.com/gwyntel-git/af775c3d800f9a8914d9ba9bd1576894/raw/organic-wiki-editor-skill.md|Gist]] | **Wiki:** [[https://organic.eris.host]] | **Support:** Contact Kat/Xenofembutch on [[https://discord.gg/9sfuT7BJfE|Discord]] <WRAP center round important>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.</WRAP> ===== Getting a Token ===== - Login: [[https://organic.eris.host/start?do=login]] - 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) ==== <code bash> 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"}' </code> ==== Read Page ==== <code bash> 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"}' </code> ==== Write Page ==== <code bash> 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"}' </code> ==== List All Pages ==== <code bash> curl -s -b cookies.txt -X POST "https://organic.eris.host/lib/exe/jsonrpc.php/dokuwiki.getPagelist" \ -H "Content-Type: application/json" \ -d '{"ns":""}' </code> ==== Raw Export (No Auth) ==== <code bash> curl -s "https://organic.eris.host/doku.php?id=models:glm-5&do=export_raw" </code> ===== Python Helper ===== <code python> 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"}) </code> ===== 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 | ''[[:namespace:page]]'' (colon prefix = absolute) | | Include page | ''{{page>namespace:page}}'' | | Table header | ''^ Header ^ Header ^'' | | Table cell | ''| cell | cell |'' | | Bullet list | '' * item'' (2-space indent) | | Info wrap | ''<WRAP info round>text</WRAP>'' | | Tip wrap | ''<WRAP tip center round>text</WRAP>'' | | Important wrap | ''<WRAP center round important>text</WRAP>'' | <WRAP tip round>**Use ''<WRAP>'' 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 * [[:models:kimi-k25]], [[:models:glm-5]], [[:models: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]]