Logo vun Trmnl

Trmnl

Organisatioun
usetrmnl
trmnl

Use when working on anything TRMNL — building plugins, writing or editing markup, designing layouts using the TRMNL CSS framework, calling the TRMNL MCP server (mcp__trmnl__*), or any task that mentions "trmnl", "ePaper display", "e-ink display", "trmnl.com", "TRMNL plugin", "Liquid markup", "image-dither", "title_bar", or screen sizes 800x480 / 800x240 / 400x480 / 400x240. References embed the production prompts TRMNL's external MCP server ships — agent rules, the full design system template guide, and the framework v3 supplement.

Iwwersiicht

Editeurusetrmnl
Repositorytrmnl-agent-skills
Skill-Nummtrmnl
Stären
29
Forks
1
Matgeliwwert Fichieren
3
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum usetrmnl op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Trmnl an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/usetrmnl/trmnl-agent-skills/tree/main/skills/trmnl
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/usetrmnl/trmnl-agent-skills.git /tmp/trmnl-agent-skills
mkdir -p .claude/skills
cp -r /tmp/trmnl-agent-skills/skills/trmnl .claude/skills/trmnl
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Trmnl an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Trmnl automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Trmnl net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

TRMNL

Everything you need to work on TRMNL. The references in this skill are verbatim copies of the prompts TRMNL's own production AI assistant reads.

Read first, in this order

#ReferenceWhat it coversLines
1references/agent_prompt.mdCore rules: data-first hard gate, mandatory workflows, view dimensions, layout system, image dithering, no-custom-styles, no-emojis, common mistakes. This is also what TRMNL's MCP server ships as the connection-level instructions to every external client.427
2references/template_guide.mdTHE design system reference — every framework class, layout pattern, chart code, item component, custom-fields YAML schema. Bundled here so non-MCP users can read it offline; MCP-connected users can also fetch it via the design-system template-guide tool.2710
3references/framework_v3_guide.mdv3 supplement: chromatic palette, CSS variables, label variants. v3.0.3+ specific.230

Adding the TRMNL MCP server (optional)

The skill works standalone — agents read the bundled references to write TRMNL-compliant markup locally without ever calling MCP. Adding TRMNL's hosted MCP server unlocks live operations on your real account. One endpoint, https://trmnl.com/mcp, two ways in — the credential decides which tools you get:

ConnectionCredentialTools you get
One pluginMCP key from TRMNL dashboard → that plugin → settings → MCP tab, as ?api_key=The markup tools for that one plugin: read/write markup, screenshots, merge variables, logs, refresh, recipe search, design system reference
Whole accountSign in with OAuth (no key). The account API key from https://trmnl.com/account is for the REST API only and answers 401 on /mcpThe account tools: devices, playlists and mashups, plugin settings, markup, profile, recipes, themes, authored plugins, apps and room booking, the plugin catalog, and third-party API search — every action is an operation of the REST API

The full authentication reference is https://trmnl.com/auth.md. Step-by-step setup for Claude, ChatGPT, Cursor and other clients: https://help.trmnl.com/en/articles/17432548-mcp-server.

Register the server with your agent

AgentOne plugin (key)Whole account (OAuth)
Claude Codeclaude mcp add --transport http trmnl "https://trmnl.com/mcp?api_key=<api-key>"claude mcp add --transport http trmnl https://trmnl.com/mcp, then /mcp in a session → sign in. A browser tab opens for consent and bounces to http://localhost:<port>/callback; that tab going blank afterward is normal, the CLI already took the code.
CursorEdit ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project) and add: {"mcpServers": {"trmnl": {"url": "https://trmnl.com/mcp?api_key=<api-key>", "type": "http"}}} — restart Cursor afterward.Same entry without ?api_key=; Cursor prompts for the OAuth sign-in.
Codex, Gemini, genericAdd to your MCP config JSON: {"mcpServers": {"trmnl": {"url": "https://trmnl.com/mcp?api_key=<api-key>"}}}Same entry without ?api_key=; the client must speak MCP OAuth (RFC 7591 registration, PKCE).

Verify: ask your agent to list TRMNL MCP tools. One plugin: MarkupsReadTool, MarkupsWriteTool, MarkupsScreenshotTool, etc. Whole account: AccountDevicesReadTool, AccountDevicesWriteTool, AccountPlaylistsReadTool and the rest of the account tools table below, plus APIEndpointsSearchTool. In ChatGPT the account tools are the actions themselves: listDevices, updateDevice and so on.

Endpoint: POST https://trmnl.com/mcp. Rate limit: 60 req / 60s. OAuth scopes are capabilities: read (list and read), content (markup, plugin data and fields, playlists, creating plugin settings), devices (device settings, identify), delete (plugin settings, playlist items), profile (getMe), apps (installing apps, fleets, room booking). Ask for all six; the user ticks what they want at consent (delete, profile and apps start unticked) and may limit the connection to some devices and plugin settings. write is the older name for content + devices + delete.

Tool name mapping

The references reference TRMNL tools two different ways depending on context. Map between them:

In-app agent (snake_case)MCP server (PascalCase + Tool)
show_integrationIntegrationsShowTool
show_merge_variablesMergeVariablesShowTool
write_settingsIntegrationsWriteSettingsTool
show_logsIntegrationsLogsTool
refresh_dataIntegrationsRefreshDataTool (answers within 15s; for a slower fetch dispatch via AsyncStartTool; 12 refreshes an hour per plugin setting, 30 on Plus)
read_markupMarkupsReadTool
write_markupMarkupsWriteTool
list_markup_sizesMarkupsListSizesTool
screenshot_markupMarkupsScreenshotTool (takes a views array and optional device_models; long renders answer a job_id to poll with AsyncResultTool)
pull_recipe_markupRecipesPullMarkupTool
(no in-app equivalent)RecipesSearchTool, DesignSystemReferenceTool, DesignSystemTemplateGuideTool, APIEndpointsSearchTool, AsyncStartTool, AsyncResultTool

If you're calling MCP from outside TRMNL's web app, use the right column. The references use the left column — translate as you go.

Account tools (whole-account connection)

Each account tool takes an action (the REST API operation) and a params hash. The tool description lists every action with its parameters, accepted values and shapes — read it before guessing a shape. A …ReadTool holds only reads and is marked read-only, so clients run it without asking; every change is in the matching …WriteTool. ChatGPT instead lists every action as a tool of its own, named after the action and marked read-only or destructive one by one; resetPluginSettingCredentials is the one exception, listed as forgetAccountAndDeletePluginSetting.

ToolActions
AccountAppsReadToollistApps, listAppInstallations, getFleet, listFleetDevices
AccountAppsWriteToolinstallApp, uninstallApp (destructive), addFleetDevice, removeFleetDevice, setFleetMaster, removeFleetMaster, updateFleetSettings, updateFleetAlerts, pushFleet, pushFleetDevice
AccountAuthoringReadToollistMyPlugins, getAuthorAnalytics, listAuthorPluginErrors, listUninstallFeedback
AccountAuthoringWriteToolcreateMyPlugin, updateMyPlugin, hideAuthorPluginError, unhideAuthorPluginError
AccountDevicesReadToollistDevices, getDevice, getDeviceLogs, getDeviceForecast, getDevicePlaylistCoverage, getDeviceTimeline
AccountDevicesWriteToolclaimDevice, updateDevice, identifyDevice, clearDevicePlaylist (destructive), mirrorDevice, stopMirroringDevice, resyncDeviceMirror, retryDeviceFirmwareUpdate
AccountMarkupReadToolreadMarkup, getPreview, getRefresh
AccountMarkupWriteToolwriteMarkup, startPreview (answers a job_id, poll with getPreview), startRefresh (answers a job_id on a polling instance, poll with getRefresh)
AccountPlaylistsReadToollistDevicePlaylist, listPlaylistItems, getPlaylistItemSchedule, getMashup, getMashupTimeline
AccountPlaylistsWriteTooladdDevicePlaylistItem, reorderDevicePlaylist, bulkUpdateDevicePlaylist, copyDevicePlaylist, updatePlaylistItem, deletePlaylistItem (destructive), replacePlaylistItemSchedule, duplicatePlaylistItem, createDeviceMashup, updateMashup, resetMashupHealth
AccountPluginSettingsReadToollistPluginSettings, getPluginSettingDetails, getPluginSettingData (native plugins), getPluginSettingLogs, getPluginSettingTimeline, getMergeVariables (private plugins), getPluginSettingFiles (private plugins)
AccountPluginSettingsWriteToolcreatePluginSetting, updatePluginSetting, deletePluginSetting (destructive), updatePluginSettingFields, updatePluginSettingData (webhook plugins), importPluginSettingFiles (private plugins), uploadPluginSettingImage (webhook_image plugins, base64), copyPluginSetting, clearPluginSettingState, enablePluginSettingDebugLogs, resetPluginSettingHealth, setPluginSettingFeaturedImage, removePluginSettingFeaturedImage, removePluginSettingTransform, verifyCustomFields, resetPluginSettingCredentials (destructive)
AccountPluginsToollistPlugins, getPlugin
AccountProfileReadToolgetMe, listModels, listPalettes, listCategories
AccountProfileWriteToolupdateMe
AccountRecipesReadToolsearchRecipes, getRecipe, getRecipeMarkup
AccountRecipesWriteToolinstallRecipe
AccountRoomBookingReadToolgetRoomBooking, getRoomBookingBilling, getRoomBookingSettings, listRoomBookingCalendars, getRoomBookingCalendar, listRoomBookingCalendarScreens, listRoomBookings, listRoomBookingCollections, listRoomBookingCollectionScreens, listRoomBookingIntegrations, getRoomBookingIntegrationConnectUrl
AccountRoomBookingWriteToolupdateRoomBookingSettings, setRoomBookingCompanyLogo, removeRoomBookingCompanyLogo, setRoomBookingColorCompanyLogo, removeRoomBookingColorCompanyLogo, createRoomBookingCalendar, updateRoomBookingCalendar, deleteRoomBookingCalendar, refetchRoomBookingCalendar, bindRoomBookingCalendarDevice, unbindRoomBookingCalendarDevice, createRoomBooking, cancelRoomBooking, endRoomBooking, createRoomBookingCollection, updateRoomBookingCollection, deleteRoomBookingCollection, bindRoomBookingCollectionDevice, unbindRoomBookingCollectionDevice, syncRoomBookingIntegration, updateRoomBookingIntegration, disconnectRoomBookingIntegration
AccountThemesReadToollistUserThemes, getUserTheme
AccountThemesWriteToolcreateUserTheme, updateUserTheme, deleteUserTheme (destructive), importUserTheme
APIEndpointsSearchToolsearch a catalog of free third-party APIs a private plugin can poll — not TRMNL's own API

Things that trip agents up:

  • writeMarkup lints the Liquid and warns on variables the plugin's data does not have — fetch data first (startRefresh) or push it (updatePluginSettingData), then write.
  • A schedule window is {"week_days": [1, 2], "start_time": "09:00", "end_time": "17:00"} with 0 for Sunday. Keys the API does not know are dropped silently.
  • updateDevice refuses a refresh_interval outside 300–86400 with a 422 that names the range.
  • A change that renders spends from the account's hourly render allowance (60, 180 on Plus), shared with the dashboard: startPreview, startRefresh on a setting that does not poll, a device appearance change (one render per playlist item), an item appearance change or showing a hidden item, a new plugin setting, a refresh_interval change, copyDevicePlaylist (one per plugin setting), updateMashup and a featured image (two). Past it the API answers 429 and nothing changes; do not retry, tell the user it opens again within the hour.
  • Another user's ids answer 404, never 403 — there is no way to tell "not yours" from "does not exist".
  • A 403 names what the connection lacks: a capability (This connection lacks the devices capability) or a device or plugin setting it was not granted. Do not retry; tell the user and ask them to widen it — connect again for a capability, Account → Connected agents for a device or plugin setting. A limited connection's listDevices and listPluginSettings show only what it was granted.

What's in-app-only (translate or ignore)

agent_prompt.md was written for TRMNL's in-app AI assistant (the web chat at trmnl.com). A handful of sections are about that web UI specifically and don't apply to external agents (Claude Code, Cursor, Codex, Gemini, Copilot). Translate as you read:

ReferenceWhat it saysWhat to do externally
agent_prompt.md:35"NEVER write raw HTML/markup in your chat response"Applies only to TRMNL's in-app chat (where markup interferes with the live editor). External agents — show markup in chat freely; users often want to review it before committing.
agent_prompt.md:71, 212"use ask_user"ask_user is an in-app tool. Externally: just ask the user a normal question.
agent_prompt.md:79"the Self-Correction Workflow (loaded separately in this system prompt)"The mandate to screenshot after every write still applies. Iterate; react to overflow signals in the response; look for washed images (missing image-dither) and empty boxes (emoji used).
agent_prompt.md:101write_markup "broadcasts live update to browser editor"Web UI artifact. MarkupsWriteTool writes to the database; there's no editor to update. Ignore the broadcast wording.
agent_prompt.md:105-108Tools listed: preview_markup, validate_liquid, version_history, ask_userNone of these exist as external MCP tools. Skip workflow steps that depend on them.

Everything else in agent_prompt.md applies universally — design rules, ePaper constraints, image dithering, no-custom-styles, no-emojis, the data-first hard gate, spatial proportioning, layout system, charts.

template_guide.md and framework_v3_guide.md are pure design system reference — no in-app artifacts.

NOT for

  • The TRMNL REST API for outside-MCP integrations — see the OpenAPI spec at /api-docs directly.
  • TRMNL firmware — different repo.
  • Generic Liquid/Shopify/Jekyll questions — TRMNL Liquid has TRMNL-specific filters and merge variables.

How to use the references

These files are LARGE. Read selectively:

  • Starting any markup work? → agent_prompt.md (mandatory workflows section), then jump to relevant template_guide.md section by topic.
  • Picked a v3 plugin? → also load framework_v3_guide.md (color rules differ from v2).
  • Need a specific framework class or layout pattern? → search template_guide.md directly.

Don't load all 3 files at once unless you have to. Each is independently useful.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Trmnl?

Use when working on anything TRMNL — building plugins, writing or editing markup, designing layouts using the TRMNL CSS framework, calling the TRMNL MCP server (mcp__trmnl__*), or any task that mentions "trmnl", "ePaper display", "e-ink display", "trmnl.com", "TRMNL plugin", "Liquid markup", "image-dither", "title_bar", or screen sizes 800x480 / 800x240 / 400x480 / 400x240. References embed the production prompts TRMNL's external MCP server ships — agent rules, the full design system template guide, and the framework v3 supplement.

Firwat Trmnl op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Trmnl besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Trmnl an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/usetrmnl/trmnl-agent-skills/tree/main/skills/trmnl an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Trmnl benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Trmnl benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Trmnl domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Trmnl gratis?

Jo. De Skill gëtt vum usetrmnl ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇