Agent skill

HTML

by mathbullet in mathbullet/skills

概念・仕組み・調査内容を、HTML による視覚的な説明ドキュメントとして作成・編集する. An agent skill from mathbullet/skills.

MITAuto-check passed

Install HTML

skills CLI
$ npx skills add mathbullet/skills --skill html -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mathbullet/skills html --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mathbullet/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/html/skills/html .claude/skills/html && rm -rf skills-src

Use ~/.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/

Facts

Skill name
html
GitHub stars
173
Token cost
~905 tokens
SKILL.md length
182 words
Files
5
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

概念・仕組み・調査内容を、HTML による視覚的な説明ドキュメントとして作成・編集する. An agent skill from mathbullet/skills.

  • Works in 4 steps: 背景と要点 → 本論 → 具体例 → …
  • SKILL.md covers 文章, 成果物, デザインシステム and 構成とフォーマット, plus 4 more sections
  • Runs JavaScript and Shell scripts from its folder; reaches fonts.googleapis.com and fonts.gstatic.com

What it does

HTML is an agent skill from mathbullet/skills. 概念・仕組み・調査内容を、HTML による視覚的な説明ドキュメントとして作成・編集する。

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `design-system/math-copy.js` and `render-pdf.sh`).

The repository describes itself as: mathbullet Agent Skills. The licence is MIT.

Example prompts

  • “/html”

Requirements

  • Node.js
  • A Bash shell

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 背景と要点
  2. 本論
  3. 具体例
  4. 補足・限界・関連事項

What it can do on your machine

Read from SKILL.md and the folder at commit 5ab997f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships script files (JavaScript and Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • fonts.googleapis.com
    • fonts.gstatic.com
    • cdn.jsdelivr.net
    • cdnjs.cloudflare.com

    Also links to:

    • gist.github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

HTML loads about 905 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 182 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~905

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from mathbullet/skills at commit 5ab997f, republished under its MIT licence (© mathbullet). 182 words, ~905 tokens.

Download SKILL.mdSave it as .claude/skills/html/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
html
description
概念・仕組み・調査内容を、HTML による視覚的な説明ドキュメントとして作成・編集する。

HTML による説明ドキュメント

文章

説明内容と日本語表現を補うため、次のスキルの併用を推奨する。

  • explain:概念や仕組みを説明するときの用語定義、説明の粒度、構成
  • japanese-tech-writing:日本語の技術文書、記事、解説文の構成と文章規範
  • cognitive-rhythm-writing:読み物としての緩急が必要な長文の文章規範

いずれも推奨スキルであり、html の必須依存ではない。

成果物

  • HTML を作る
  • ビルドなしでブラウザが直接描画できる状態にする
  • 保存先が指定されている場合は従う。指定がなければ現在の作業ディレクトリへ保存する
  • ファイル名は {yyyymmdd}-{内容を表すケバブケース}.html とする。既存ファイルの更新では名前を変えない
  • 個別の文書管理システム、メタデータ、Viewer、公開先に関する規則は、このスキルを参照する上位スキルの指示に従う

デザインシステム

作成前に design-system/component-samples.html を確認する。コンポーネント集は design-system/document.css、数式コピー機能は design-system/math-copy.js を正とする。

既定では、成果物と一緒に必要なファイルを配置し、次の相対パスで読み込む。上位スキルが共有アセットのパスを指定した場合は、その指定を優先する。

html
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu+Sans:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&family=Ubuntu+Mono:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./design-system/document.css">
<script src="./design-system/math-copy.js"></script>
<script async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js"></script>
<script>document.addEventListener("DOMContentLoaded", () => hljs.highlightAll());</script>

主要規則は次のとおり。

  • 背景は #FAF9F6。部品は白地、黒罫線、角丸を基本とする
  • 自然言語は Ubuntu Sans と Noto Sans JP、コード・URL・日付は Ubuntu Mono を使う
  • 有彩色はリンク青 #2990DA とアクセント赤 #D63A2F に限定する
  • 赤い強調は原則として 1 ページ 1 箇所までとする
  • シンタックスハイライトとコード差分の色は、意味を区別する機能色としてこの制限の対象外とする
  • 余白は上下左右の均衡を保つ
  • 引用は .mb-quote を使い、原文と訳文を同じ文字サイズ・色で上下に並べる
  • .mb-chip は並列の固有名や分類名の列挙にだけ使う
  • 絵文字や矢印文字を図記号として使わない。必要な記号はインライン SVG で描く
  • 表は短い対応関係に使い、3 列までを基本とする
  • 行見出しのセルには .mb-rowlabel を付け、語中の折り返しを防ぐ
  • コード差分は pre.mb-diff を使い、変更理由を散文で説明してから必要な断片を示す
  • ページ固有の <style> は図の配置調整など最小限にとどめる

構成とフォーマット

説明対象に合わせて、並置、図解、タイムライン、要約、折りたたみを使い分ける。 一方向の単純な手順を、必要性なくフローチャートにしない。

基本構成は次の順とする。

  1. 背景と要点
  2. 本論
  3. 具体例
  4. 補足・限界・関連事項

h1 とリード文の後に .mb-toc の目次を置き、各 h2 に対応する id を付ける。

用語リスト

専門用語は本文の初出で定義する。 用語リストは、複数箇所から参照する用語がある場合だけ設ける。 用語リストの位置は文書ごとに変更しない。 ブラウザ幅 1400px 以上では、本文右側の専用欄へ表示する。 ブラウザ幅 1399px 以下では、本文末尾へ表示する。 配置の切り替えは共有 CSS だけが担当し、用語リストによってヘッダー、リード、目次、要約、本文の幅を縮めてはならない。 マークアップは aside.mb-glossary と dl、dt、dd を使う。 正解例は design-system/component-samples.html を参照する。

図

  • .mb-figure は、画像・SVGなどの視覚資料とキャプションを一つにまとめる外枠である。特定の図形や「矢印で結んだ箱」を意味しない
  • .mb-figure-frame は視覚資料の表示面、figcaption は図番号・説明・出所の表示領域として使う
  • 原典に重要な図がある場合は、出所を明示して引用する
  • 原典の図があるのに模倣図を作らない
  • 自作図はインライン SVG とし、アスキーアートを使わない
  • 黒一色の線画を基本とし、.mb-figure-frame に載せる
  • ノード数が多い場合は縦方向を優先する
  • 矢印が交差する構成を避ける
  • 単なる直列手順は番号付きの説明として表現する

コード

  • Highlight.js を必ず読み込み、言語に応じたシンタックスハイライトを適用する
  • pre code には language-javascript、language-python、language-html などの言語クラスを必ず付ける
  • ハイライトしないテキストには language-plaintext を付ける
  • 独自の色付けでコードを装飾せず、document.css の .hljs-* 規則を使う
  • pre.mb-diff code には nohighlight を付け、差分専用の色と行頭記号を使う

数式

  • MathJax 3 を使う
  • インライン数式は $...$、ディスプレイ数式は $$...$$ とする
  • ベクトルと行列は \boldsymbol{...} を使う
  • スカラー、添字、集合名は装飾しない
  • 名前付きの演算は \mathtt{...}、標準 LaTeX コマンドはそのまま使う
  • math-copy.js により、すべての数式から LaTeX 原文をコピーできるようにする
  • ページ側で window.MathJax を再定義しない
  • 未知のコマンドを別記法へ勝手に置換しない

印刷と PDF

印刷対応は document.css の @media print を使う。 PDF 化はユーザーから明示的に依頼された場合だけ render-pdf.sh を実行する。

© mathbullet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files in plugins/html/skills/html of mathbullet/skills.

  • SKILL.md
  • design-system/component-samples.html
  • design-system/document.css
  • design-system/math-copy.js
  • render-pdf.sh

Open the folder on GitHubat commit 5ab997f

More from mathbullet/skills

All 8 skills in this repo
  • Paper Details

    mathbullet/skills

    Produce a detailed Markdown explainer of an academic paper. An agent skill from mathbullet/skills.

    173 GitHub stars~3.6k tokensUpdated 29 days ago
    Auto-check passed
  • Survey

    mathbullet/skills

    Investigate a topic across papers, articles, social-media posts, and industry signals, then deliver an indexed Markdown report.

    173 GitHub stars~1.7k tokensUpdated 29 days ago
    Auto-check passed
  • Grilling Viz

    mathbullet/skills

    grilling による質問を、選択肢と自由入力でまとめて回答し、コピーできるHTMLにする. An agent skill from mathbullet/skills.

    173 GitHub stars~310 tokensUpdated 29 days ago
    Auto-check passed
  • Explain

    mathbullet/skills

    Conventions for writing a Markdown explainer that walks the reader through a concept or system.

    173 GitHub stars~659 tokensUpdated 29 days ago
    Auto-check passed
  • Writing Quotation

    mathbullet/skills

    Formatting rules for quoting external sources (papers, articles, web pages, prompt templates) inside a Markdown document.

    173 GitHub stars~1.7k tokensUpdated 29 days ago
    Auto-check passed
  • Documenting With Sources

    mathbullet/skills

    Common conventions for writing Markdown documents that cite external sources (survey reports, paper explainers, and any deliverable that surfaces facts from outside).

    173 GitHub stars~781 tokensUpdated 29 days ago
    Auto-check passed

Questions about HTML

What does HTML do?

概念・仕組み・調査内容を、HTML による視覚的な説明ドキュメントとして作成・編集する. An agent skill from mathbullet/skills. HTML is an agent skill from mathbullet/skills.

How do I install HTML in Claude Code?

Run `npx skills add mathbullet/skills --skill html -a claude-code`. Or copy the skill folder (plugins/html/skills/html in mathbullet/skills) into .claude/skills/html in your project. Claude Code loads it when a task matches its description.

How do I install HTML in Codex?

Run `npx skills add mathbullet/skills --skill html -a codex`. Or copy the skill folder (plugins/html/skills/html in mathbullet/skills) into .agents/skills/html in your project. Codex loads it when a task matches its description.

Can I use HTML in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mathbullet/skills --skill html -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/html, .gemini/skills/html, .github/skills/html and .opencode/skills/html in your project.

What does HTML need to run?

Going by SKILL.md and its folder, HTML needs JavaScript and a shell for the scripts in its folder. Our summary lists: Node.js; A Bash shell.

Does HTML access the network?

SKILL.md names 5 domains. In commands or code: fonts.googleapis.com, fonts.gstatic.com, cdn.jsdelivr.net and cdnjs.cloudflare.com; the agent is likely to contact these when it follows the instructions. As links in the text: gist.github.com. This is read from the text; nothing was executed.

Is HTML safe to install?

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.

What licence does HTML use?

HTML is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does HTML use?

About 905 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

Who maintains HTML?

mathbullet (a GitHub user) maintains it in mathbullet/skills, which has 173 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 9, 2026.

Source: mathbullet/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.