Web Artifacts Builder
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
Resolve which document, page, and (optionally) selected element the user is currently viewing in the open-doc dev server.
$ npx skills add simonliu-ai-product/open-doc --skill current-doc -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install simonliu-ai-product/open-doc current-doc --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/simonliu-ai-product/open-doc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/core/skills/current-doc .claude/skills/current-doc && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "current-doc" agent skill from https://github.com/simonliu-ai-product/open-doc/tree/main/packages/core/skills/current-doc into .claude/skills/current-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "current-doc", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/simonliu-ai-product/open-doc/tree/main/packages/core/skills/current-docType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add simonliu-ai-product/open-doc --skill current-doc -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install simonliu-ai-product/open-doc current-doc --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simonliu-ai-product/open-doc.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packages/core/skills/current-doc .agents/skills/current-doc && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "current-doc" agent skill from https://github.com/simonliu-ai-product/open-doc/tree/main/packages/core/skills/current-doc into .agents/skills/current-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "current-doc", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add simonliu-ai-product/open-doc --skill current-doc -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install simonliu-ai-product/open-doc current-doc --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simonliu-ai-product/open-doc.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packages/core/skills/current-doc .cursor/skills/current-doc && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "current-doc" agent skill from https://github.com/simonliu-ai-product/open-doc/tree/main/packages/core/skills/current-doc into .cursor/skills/current-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "current-doc", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/simonliu-ai-product/open-doc.git --path packages/core/skills/current-doc--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add simonliu-ai-product/open-doc --skill current-doc -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install simonliu-ai-product/open-doc current-doc --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simonliu-ai-product/open-doc.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packages/core/skills/current-doc .gemini/skills/current-doc && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "current-doc" agent skill from https://github.com/simonliu-ai-product/open-doc/tree/main/packages/core/skills/current-doc into .gemini/skills/current-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "current-doc", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install simonliu-ai-product/open-doc current-docInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add simonliu-ai-product/open-doc --skill current-doc -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/simonliu-ai-product/open-doc.git skills-src && mkdir -p .github/skills && cp -r skills-src/packages/core/skills/current-doc .github/skills/current-doc && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "current-doc" agent skill from https://github.com/simonliu-ai-product/open-doc/tree/main/packages/core/skills/current-doc into .github/skills/current-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "current-doc", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add simonliu-ai-product/open-doc --skill current-doc -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install simonliu-ai-product/open-doc current-doc --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simonliu-ai-product/open-doc.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packages/core/skills/current-doc .opencode/skills/current-doc && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "current-doc" agent skill from https://github.com/simonliu-ai-product/open-doc/tree/main/packages/core/skills/current-doc into .opencode/skills/current-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "current-doc", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
current-docResolve which document, page, and (optionally) selected element the user is currently viewing in the open-doc dev server.
Current Doc is an agent skill from simonliu-ai-product/open-doc. Resolve which document, page, and (optionally) selected element the user is currently viewing in the open-doc dev server. Consult this whenever the user references "this page", "this document", "this element", "the page I'm on", "the report I'm looking at", or any deictic reference to document content without naming it. Re-read nodemodules/.open-doc/current.json at the start of every such turn — the user navigates between turns, so a value you read earlier in the conversation is almost certainly stale.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design. The repository describes itself as: The document framework built for agents — write reports as React, get real A4 pages, an outline, page numbers, and a PDF. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit af6095d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Current Doc loads about 1.8k tokens when it runs. Until then it costs about 131 tokens; SKILL.md has 986 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from simonliu-ai-product/open-doc at commit af6095d, republished under its MIT licence (© simonliu-ai-product). 986 words, ~1,810 tokens.
.claude/skills/current-doc/SKILL.md (or your agent's skills folder).When the user says "fix this page", "tighten this heading", or "the report I'm looking at", they almost never name the document id, page number, or element — they mean wherever they are in the dev viewer. Before asking "which document?" or "which element?", check the file the dev server writes on every navigation and inspector pick.
current.json is a live cursor, not a fact about the conversation. The user moves between documents, pages, and elements freely between your turns — including while you were doing other work. Read the file fresh at the start of every new turn that uses a deictic reference, even if:
A "continue editing" follow-up is exactly the case where the user has likely just scrolled to a different page or picked a different element. Trusting your last read here will silently edit the wrong sheet. Re-read, compare docId / pageIndex / selection against what you used last time, and act on the new values.
node_modules/.open-doc/current.jsonPath is relative to the project root (the user's cwd, the directory that contains docs/ and package.json). Use the Read tool. The file is JSON.
{
"docId": "q3-review",
"pageIndex": 2,
"pageNumber": 3,
"totalPages": 8,
"docTitle": "Q3 Review",
"pagePath": "docs/q3-review/index.tsx",
"selection": {
"line": 42,
"column": 6,
"tagName": "h2",
"text": "Availability"
},
"updatedAt": "2026-08-17T14:32:11.123Z"
}docId — folder name under docs/. Use as-is for any /__docs/<id>/... API or as the URL segment (/d/<docId>).pageIndex — 0-based rendered page index.pageNumber — 1-based, for talking to the user ("page 3 of 8").totalPages — how many sheets the document currently renders to.pagePath — relative path to the document source. Hand straight to Read / Edit.selection — null if nothing is selected. Otherwise, the JSX element the user picked in the inspector overlay:line (1-indexed) and column (0-indexed) point to the JSX opening tag inside pagePath. This is the canonical handle — match against the source line, not the rendered DOM.tagName is the rendered DOM tag, lowercased ("h1", "p", "td").text is a trimmed snippet (≤120 chars) of the element's textContent, useful to confirm you are looking at the right node.updatedAt — ISO timestamp of the last navigation or selection change. Use it to detect staleness.This is the one thing that differs from a slide deck, and getting it wrong means editing the wrong thing.
export default [Cover, Contents, flow(<>…</>)] has three entries, but may render to twelve sheets — the framework measures a flow() section and packs it across as many pages as it needs. So:
pageIndex indexes rendered sheets, not the array. Do not use it to subscript the default export.selection (it points at real source coordinates), then the page's visible text, then the surrounding heading.DocPage component is one sheet, so for documents made only of fixed pages the index does line up. Confirm with pagePath before relying on that.selection is non-null, that's the element they mean.git log, recently-edited files, or the newest folder under docs/.q3-review") — use that name directly.apply-comments workflow already finds its own targets via @doc-comment markers; it does not need this skill.docs/ directly.updatedAt is the last time the user navigated. Treat it like a cache:
pagePath, do the work.A newer updatedAt than the one you saw last turn is the normal signal that the user has moved — switch to the new docId / pageIndex / selection without asking.
User: "tighten the spacing on this page"
node_modules/.open-doc/current.json.updatedAt is recent.pagePath (e.g. docs/q3-review/index.tsx).pageNumber — by the selection, or by matching visible content, remembering that a flow section spans many sheets.doc-authoring skill for the spacing and vertical-budget rules, then edit in place.If current.json is missing or stale, ask: "Which document and page should I tighten? The dev server hasn't published a current page recently."
User: "make this bigger"
node_modules/.open-doc/current.json.selection is non-null, that is the element. Read pagePath, jump to selection.line, and find the JSX opening tag near that line/column. Confirm against selection.text and tagName.doc-authoring for the print type scale before editing — a size that looks fine on screen can print below the legibility floor.If selection is null, fall back to the page-level flow above — and consider asking "which element?", since the user used a deictic but hasn't picked one in the inspector.
© simonliu-ai-product, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in packages/core/skills/current-doc of simonliu-ai-product/open-doc.
Open the folder on GitHubat commit af6095d
Current Doc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Current Doc this skillsimonliu-ai-product/open-doc | 108 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Web Artifacts Builderanthropics/skills | 180k | 41 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| React Doctormakeplane/plane | 61k | 12 repos | ~657 | Automated safety check: Pass | AGPL-3.0 | |
| Impeccablebestofjs/bestofjs | 3.1k | 27 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Figma Design System Builderwarpdotdev/warp | 65k | 2 repos | ~4.4k | Automated safety check: Pass | AGPL-3.0 | |
| Web Interface Guidelines Reviewervercel-labs/openreview | 1.7k | 97 repos | ~308 | Automated safety check: Pass | None |
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
makeplane/plane
Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.
bestofjs/bestofjs
A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…
warpdotdev/warp
Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.
vercel-labs/openreview
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…
anonaddy/anonaddy
Always invoke when the user's message includes 'tailwind' in any form.
simonliu-ai-product/open-doc
A skill your agent uses when the user asks to apply, process, or clear the comments they left in the open-doc inspector — phrases like "apply the comments", "apply my edits", "I left notes on the…
simonliu-ai-product/open-doc
Technical reference for writing or editing open-doc pages — file contract, the A4/B4/A3 page canvas, print type scale, the vertical budget that decides where a page breaks, tables, charts, table of…
simonliu-ai-product/open-doc
A skill your agent uses when the user wants to create, draft, author, or generate a new document, report, whitepaper, proposal, memo, or spec in this open-doc repo.
simonliu-ai-product/open-doc
Implementation patterns for the @open-doc/core runtime — the split between the viewer and the published bundle, virtual modules, the flow pipeline, the ops layer, dev-only plugins, and the…
simonliu-ai-product/open-doc
Reviews page layout, typography, and pagination code in open-doc against a print craft bar — the sheet is the deliverable, not the screen.
simonliu-ai-product/open-doc
Design and accessibility rules for the open-doc viewer chrome — the browser shell, sidebars, thumbnail rail, outline, assets and design panels, inspector overlay, and menus.
Categories
Resolve which document, page, and (optionally) selected element the user is currently viewing in the open-doc dev server. Current Doc is an agent skill from simonliu-ai-product/open-doc. Resolve which document, page, and (optionally) selected element the user is currently viewing in the open-doc dev server.
Current Doc fits situations like: frontend & Design work in your project.
Run `npx skills add simonliu-ai-product/open-doc --skill current-doc -a claude-code`. Or copy the skill folder (packages/core/skills/current-doc in simonliu-ai-product/open-doc) into .claude/skills/current-doc in your project. Claude Code loads it when a task matches its description.
Run `npx skills add simonliu-ai-product/open-doc --skill current-doc -a codex`. Or copy the skill folder (packages/core/skills/current-doc in simonliu-ai-product/open-doc) into .agents/skills/current-doc in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add simonliu-ai-product/open-doc --skill current-doc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/current-doc, .gemini/skills/current-doc, .github/skills/current-doc and .opencode/skills/current-doc in your project.
Going by SKILL.md and its folder, Current Doc needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Current Doc is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Current Doc: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 61k stars), Impeccable (bestofjs/bestofjs, 3.1k stars) and Figma Design System Builder (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
simonliu-ai-product (a GitHub organization) maintains it in simonliu-ai-product/open-doc, which has 108 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.
Source: simonliu-ai-product/open-doc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.