/boxel-skills:boxel-markdown-formatfrom boxel-skills
Guides authoring static markdown templates for Boxel CardDef and FieldDef, including defaults, markdownEscape helper, and delegation patterns.
Ships in boxel-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Authoring static markdown templates: defaults, markdownEscape, markdown-helpers toolkit, delegation, and pitfalls.
Boxel has a sixth display format alongside isolated, embedded, fitted, atom, and edit:
markdown — the card (or field, or file) rendered as text in Boxel Flavored Markdown (BFM).This format is what the realm serves under Accept: text/markdown, what "Copy as Markdown" puts on the clipboard, what the code-mode markdown preview panel shows, and what gets indexed into the boxel_index.markdown column. See the boxel-flavored-markdown skill for the dialect itself.
boxel-flavored-markdown — for the dialect rules your output must conform to (directives, fenced renderers, escaping).boxel — for the surrounding CardDef structure and <@fields.x /> delegation rules.isolated or embedded (that's a runtime concern handled by Boxel's markdown component).MarkdownField instance — that's content, not a template.references/the-default-usually-good-enough.md — The default — usually good enoughreferences/shape-of-a-static-markdown-template.md — Shape of a static markdown templatereferences/essential-helper-markdownescape.md — Essential helper: markdownEscapereferences/the-markdown-helpers-toolkit.md — The markdown-helpers toolkitreferences/delegation-composes.md — Delegation composesreferences/pitfalls.md — Pitfallsreferences/worked-example-note-card-with-custom-markdown.md — Worked example: Note card with custom markdownreferences/rendering-markdown-html-at-runtime.md — Rendering markdown → HTML at runtimereferences/when-youre-done.md — When you're donereferences/delegation-composes.md (opens in a new tab)references/essential-helper-markdownescape.md (opens in a new tab)references/pitfalls.md (opens in a new tab)references/rendering-markdown-html-at-runtime.md (opens in a new tab)references/shape-of-a-static-markdown-template.md (opens in a new tab)references/the-default-usually-good-enough.md (opens in a new tab)references/the-markdown-helpers-toolkit.md (opens in a new tab)references/when-youre-done.md (opens in a new tab)references/worked-example-note-card-with-custom-markdown.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
27 skills in this plugin
/api-integrationsUse when a card needs data from, or sends data to, a third-party API — "show my GitHub pull requests in a card", "pull my open issues", "a card that calls the weather API with my key", "integrate with Stripe/Twilio/OpenAI", "how often can this card poll", "build a PR inbox". Takes a card author from "I want data from this vendor" to a working card: classifying the integration (no key, a key the workspace shares, the user's own key, a key that can write), choosing a live card or a scheduled pipeline (and why private data takes the pipeline), declaring the `callApi` operations with labels and credential slots, estimating polling cost, and recipes for GitHub (GraphQL, a GitHub App or a read-only fine-grained token, the PR inbox as a pipeline and as a live card), for a plain API key sent in a header, and for images from an AI vendor called with the user's own key (an automation run's own AI requests carry text only). Activates on "third-party API", "vendor API", "integration", "pipeline", "live card", "On a schedule and when the card is opened", "poll", "GitHub API", "GraphQL", `callApi`, `{{userKey}}`, `{{apiKey}}`, "image generation", "AI vendor key", "automation image"./api-keysUse when a card or the AI assistant needs a user's API key, or a key shared into a workspace — "this card needs my GitHub token", "the forecast operation was refused binding-not-approved", "let the user add their key", "share my key with this workspace", "add a key button". Also "sign in to GitHub from this card", "connect my account", "the operation was refused credential-rejected", "the service rejected my key", "should I register a GitHub App or an OAuth App". Covers getting a key from the user only through Boxel's secure window, with the open-secure-window tool: opening it from a card through `@context.toolContext` or from the assistant, its modes (enter a key, replace the key an operation sends, share a key, connect an account through OAuth, approve a card's requests for scheduled pipelines or also for when the card is opened, review what changed in them), passing only the operation the card is blocked on and letting the window gather the card's other operations into one approval, what the tool answers, the blocked-popup fallback, telling the user to check the address bar, what to do when the service rejects a key (stop polling, offer Try again, and Reconnect, which opens the window to replace the key), OAuth clients and connections (when to use a connection rather than a static key, what the card declares, opening connect mode, `credential-rejected` and its reasons, sharing a client into a workspace, and why GitHub takes a GitHub App), and never asking for a credential in the chat or building a form for one. Also covers asking first with `@context.keyReadiness` — the answers (`ready`, `needs-connect`, `needs-approval`, `needs-reapproval`, `needs-admin`, `needs-sign-in`, `rate-limited`, `over-budget`), what a card shows for each and what the secure window can fix, and treating `undefined` as "not known yet" so prerendered HTML never shows Connect. Also covers a call refused for the key owner's limits (`rate-limited`, `over-budget`, `rate-limit-unavailable`): backing off by `retryAfterSeconds` and saying the limit is reached without naming a budget. Activates on "approve", "Allow", "review changes", `needs-approval`, `needs-reapproval`, `open-secure-window`, `OpenSecureWindowTool`, `keyReadiness`, "secure window", "API key", "enter a key", "replace a key", "share a key", "OAuth", "connect", "Reconnect", "GitHub App", `{{userKey}}`, `{{apiKey}}`, `binding-not-approved`, `interactive-use-not-approved`, `anonymous-use-not-approved`, "On a schedule and when the card is opened", "people who aren't signed in", "anonymous cap", `credential-rejected`, `rate-limited`, `over-budget`.boxel-skills@cardstack-boxel is listed by cardstack/boxel — review the source before installing
npx claudepluginhub cardstack/boxel --plugin boxel-skillsOther plugins' skills for the same job