Logo van Openpencil Setup

Openpencil Setup

Organisatie
ZSeven-W
openpencil-setup

Connect and diagnose the local Rust OpenPencil editor for the Codex OpenPencil plugin. Use for initial setup, missing tools, or a disconnected local canvas.

Add to TypingMind

Overzicht

UitgeverZSeven-W
Repositorycodex-openpencil
Skillnaamopenpencil-setup
Sterren
140
Forks
17
Meegeleverde bestanden
1
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 1

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door ZSeven-W op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Openpencil Setup in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ZSeven-W/codex-openpencil/tree/main/plugins/openpencil/skills/openpencil-setup
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ZSeven-W/codex-openpencil.git /tmp/codex-openpencil
mkdir -p .claude/skills
cp -r /tmp/codex-openpencil/plugins/openpencil/skills/openpencil-setup .claude/skills/openpencil-setup
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Openpencil Setup in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Openpencil Setup automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Openpencil Setup niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Connect OpenPencil

The plugin opens a managed interactive Rust canvas or connects to an existing desktop editor. First canvas use automatically downloads the matching complete runtime from pinned public GitHub Release assets and validates its SHA-256, payload manifest, version and platform before configuring or starting it.

Interactive canvas

  1. In Codex, call canvas_open_browser, optionally with the user's existing absolute .op path, then open its panelUrl in the Codex browser panel (open_in_codex, browser target) or @Browser. Use an external browser only when the user explicitly requests one. The source is copied into a recovery draft. If only open_canvas is available, its returned panelUrl works the same way. Codex currently filters local HTTP iframe origins, so its MCP Apps entrypoint shows a browser launcher. Do not request weaker browser security or claim an embedded canvas was verified. Its button prepares the same canvas URL and, where host text messaging is supported, sends one opening request to the current chat through ui/message. Open the supplied exact URL with open_in_codex (browser target) or @Browser; preserve its theme/launch fragment so the panel can confirm editor readiness. Do not create a second canvas, launch an OS browser or use a deep-link workaround. Without host messaging, the user copies an opening instruction into the current chat. A message acknowledgment is not a connected canvas. ui/open-link acknowledgments also do not prove navigation: the current bridge drops HTTP URLs.
  2. Missing runtime configuration triggers installation automatically. Allow the initial download to finish; do not repeatedly call either opener after a host timeout. For preflight or a slow connection, run node scripts/runtime-install.mjs from the installed plugin directory, then call canvas_open_browser. Failed downloads do not configure partial runtimes. Existing invalid configurations are reported without switching runtimes. Configuration stays private in ~/.codex-openpencil/runtime.json. A complete custom package can be selected with OPENPENCIL_EDITOR_RUNTIME_DIR; it needs a matching native server, editable WASM, CanvasKit and integrity manifest. A desktop binary alone is insufficient.
  3. Use the UI resource/thread entrypoint, or show the returned local panelUrl in hosts without MCP Apps. Verify canvas_status and get_editor_state: they must describe the same managed document before editing.
  4. Each conversation keeps one canvas. Use another chat for a different document. Recovery drafts survive in ~/.codex-openpencil/sessions/. A stopped session's URL is temporary; reopen its recovery file in a new session.
  5. Reconnect or open a new chat after upgrading the plugin. Resource loading and visibly displayed embedded host UI are separate verification steps.

For a new install, follow the public repository's INSTALL.md. Its npm run setup verifies an isolated native edit/save/reopen before installing the plugin, registers the current Node executable privately, and verifies canvas tools through Codex's actual plugin loader. For a desktop startup error such as No such file or directory despite a working terminal, rerun setup and npm run host-check from that repository. Do not rewrite unrelated MCP settings. A successful fresh host check does not prove this existing chat has reloaded. If this chat has not loaded newly installed MCP tools yet, npm run canvas in the repository provides the same editable canvas and accepts native tool requests through a persistent terminal's stdin. Use that entry point to complete the design now, then explain that reconnect loads the installed tools. Never mistake a successful install for a verified live canvas.

Existing desktop editor

  1. Try get_editor_state through this plugin's OpenPencil tools. A response proves the actual connection; an installed package alone does not.
  2. If unavailable, run node scripts/mcp-bridge.mjs --doctor from the installed plugin directory (two levels above this file). The doctor reads the editor's ~/.openpencil/.op-mcp-port and verifies the instance identity. The plugin's launcher uses the Node.js 22+ executable registered by setup, then known local Node locations if needed; it never downloads a runtime to solve discovery.
  3. For a missing editor, use the official OpenPencil installation instructions. When launch is within the user's request, run op start, then enable MCP in the editor's Agent Settings. An old op binary may not discover the current Rust editor; trust the bridge doctor and editor state over that binary's status.
  4. For an intentional headless/web endpoint without a live discovery record, set OPENPENCIL_MCP_PORT in the MCP process environment or append --port PORT to the bundled server args. Only local loopback ports are accepted. Do not guess a port or rewrite unrelated Codex server configuration.
  5. If MCP discovery failed at session startup, reconnect/reload the plugin or start a new chat after the editor is reachable. Verify get_editor_state again and report the active document/page before editing.

A stale identity error requires reopening the intended editor or fixing its MCP setting. The bridge refuses to silently fall back to a different canvas. Keep discovery tokens out of chat, logs, committed files, and reports.

After either canvas opener, all native tools target that managed session instead of the discovered desktop editor. Report the target before edits; never silently take over a different document.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Openpencil Setup?

Connect and diagnose the local Rust OpenPencil editor for the Codex OpenPencil plugin. Use for initial setup, missing tools, or a disconnected local canvas.

Waarom Openpencil Setup gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Openpencil Setup bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Openpencil Setup in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ZSeven-W/codex-openpencil/tree/main/plugins/openpencil/skills/openpencil-setup. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Openpencil Setup gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Openpencil Setup gebruiken?

Zoveel als je wilt. Je kunt Openpencil Setup gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Openpencil Setup gratis?

Ja. Deze skill is door ZSeven-W op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇