Trader Memory Core
tradermonty/claude-trading-skills
Track investment theses across their lifecycle — from screening idea to closed position with postmortem.
Convert long-form Markdown (plan, spec, system design, RFC, runbook, postmortem, brainstorm, notes) into a single self-contained HTML page with Mermaid diagrams, step timelines, callouts, sidebar TOC.
$ npx skills add haidang1810/md2html --skill md2html -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install haidang1810/md2html md2html --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "md2html" agent skill from https://github.com/haidang1810/md2html/tree/main into .claude/skills/md2html/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2html", 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.
$ npx skills add haidang1810/md2html --skill md2html -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install haidang1810/md2html md2html --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "md2html" agent skill from https://github.com/haidang1810/md2html/tree/main into .agents/skills/md2html/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2html", 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 haidang1810/md2html --skill md2html -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install haidang1810/md2html md2html --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "md2html" agent skill from https://github.com/haidang1810/md2html/tree/main into .cursor/skills/md2html/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2html", 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.
$ npx skills add haidang1810/md2html --skill md2html -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install haidang1810/md2html md2html --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "md2html" agent skill from https://github.com/haidang1810/md2html/tree/main into .gemini/skills/md2html/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2html", 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 haidang1810/md2html md2htmlInstalls 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 haidang1810/md2html --skill md2html -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "md2html" agent skill from https://github.com/haidang1810/md2html/tree/main into .github/skills/md2html/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2html", 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 haidang1810/md2html --skill md2html -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install haidang1810/md2html md2html --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "md2html" agent skill from https://github.com/haidang1810/md2html/tree/main into .opencode/skills/md2html/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2html", 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.
md2htmlConvert long-form Markdown (plan, spec, system design, RFC, runbook, postmortem, brainstorm, notes) into a single self-contained HTML page with Mermaid diagrams, step timelines, callouts, sidebar TOC.
Md2html is an agent skill from haidang1810/md2html. Convert long-form Markdown (plan, spec, system design, RFC, runbook, postmortem, brainstorm, notes) into a single self-contained HTML page with Mermaid diagrams, step timelines, callouts, sidebar TOC. Claude-orange light+dark theme. Multi-language. Portable across Claude Code / Codex / Antigravity / any AI agent.
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files (for example `README.md`, `components.md` and `examples/example-plan.md`).
It sits in DevOps & Cloud, covering Runbooks and postmortems, Brainstorming and HTML artifacts. The repository describes itself as: Your AI writes docs — md2html turns them into pages people actually read. A portable skill for Claude Code / Codex / Antigravity that converts long-form Markdown (plans, specs… The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 82fa59c. 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.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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.
Md2html loads about 3k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 1,471 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 haidang1810/md2html at commit 82fa59c, republished under its MIT licence (© haidang1810). 1,471 words, ~3,026 tokens.
.claude/skills/md2html/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.Convert a verbose Markdown document into a single, self-contained HTML file that a tired human can actually scan: diagrams instead of paragraphs, step cards instead of numbered lists, callouts for the parts that matter.
/md2html <file.md> # output <file>.html next to source
/md2html <file.md> --out X.html # custom output path
/md2html # if no arg, ask user which filetemplate.html — HTML skeleton with embedded CSS (Claude orange light+dark), Mermaid CDN, theme toggle, TOC sidebar, footer. Contains {{PLACEHOLDER}} strings and <!-- COMMENT --> slots.components.md — catalog of HTML snippets you must copy verbatim (step cards, callouts, mermaid blocks, pros-cons, comparison cards, collapsibles).examples/ — at least one reference <doc>.md → <doc>.html pair. Read one to calibrate output quality before starting.You MUST read all three before writing output. Do not invent CSS classes or skip the catalog.
Follow these steps in order. Do not skip.
.md nào cần convert?" and stop..md fully.template.html and components.md from the same directory as this SKILL.md.examples/ to calibrate.Do this analysis silently in your head (or as one short summary line to the user). Identify:
Language of the source — detect from the actual prose, not the filename. Set <html lang="..."> to the ISO 639-1 code (en, vi, zh, ja, ko, es, fr, de, ru, ar, th, …) and translate every UI label to that language.
Common samples (extend to any language using the same scheme):
| Key | EN | VI | ZH (中文) | JA (日本語) | KO (한국어) | ES (Español) |
|---|---|---|---|---|---|---|
| TOC title | Contents | Mục lục | 目录 | 目次 | 목차 | Contenido |
| Read-time | ~N min read | ~N phút đọc | ~N 分钟阅读 | ~N 分で読了 | ~N분 소요 | ~N min de lectura |
| Recommended | ★ Recommended | ★ Đề xuất | ★ 推荐 | ★ 推奨 | ★ 추천 | ★ Recomendado |
| Key point | Key point | Ý chính | 要点 | 要点 | 핵심 | Idea clave |
| Pros | ✓ Pros | ✓ Ưu điểm | ✓ 优点 | ✓ 長所 | ✓ 장점 | ✓ Ventajas |
| Cons | ✕ Cons | ✕ Nhược điểm | ✕ 缺点 | ✕ 短所 | ✕ 단점 | ✕ Desventajas |
| Print tooltip | Print / Save PDF | In / Lưu PDF | 打印 / 保存 PDF | 印刷 / PDF 保存 | 인쇄 / PDF 저장 | Imprimir / Guardar |
| Theme tooltip | Toggle theme | Đổi theme | 切换主题 | テーマ切替 | 테마 전환 | Cambiar tema |
| Source: prefix | Source: | Nguồn: | 来源: | ソース: | 소스: | Fuente: |
For any language not listed, translate using the same conventions. The "Recommended" badge is configured via the --rec-label CSS variable set on <html> (no per-language CSS needed) — see {{REC_LABEL}} below.
RTL languages (Arabic, Hebrew, Persian) — current template is LTR-only. If source is RTL, also add dir="rtl" to <html> and consider it a known visual limitation (sidebar will stay on the left).
Title — from first H1 or filename. Title should be ≤ 80 chars.
Subtitle — first paragraph after H1, or the document's TL;DR sentence. ≤ 200 chars.
Doc type — infer one of: PLAN, SPEC, SYSTEM DESIGN, RFC, RUNBOOK, POSTMORTEM, BRAINSTORM, NOTES. Pick the closest match based on the document's purpose, not its filename. Brainstorm = exploring options with rationale; Plan = ordered steps to a goal; Spec = exact behavior contract; System design = architecture + tradeoffs; RFC = proposal seeking feedback; Runbook = operational procedure; Postmortem = incident review. The uppercase code in the eyebrow stays universal; the topbar BRAND_LABEL localizes (Plan / Kế hoạch / 计划 / etc).
Reading time — words ÷ 250, round to nearest minute. Format: ~N min read (EN) or ~N phút đọc (VI).
Section map — walk each H2/H3 and tag with the BEST component using §11 cheatsheet in components.md:
<h2> + <p>template.html content into a string. Do NOT use Read-then-Edit on a file you haven't created; instead, build the output buffer in memory then Write once.{{LANG}} → ISO 639-1 code: en / vi / zh / ja / ko / es / …{{REC_LABEL}} → text shown on the "Recommended" comparison-card badge, e.g. ★ Recommended / ★ Đề xuất / ★ 推荐 / ★ 추천. Sets the --rec-label CSS variable on <html>. If you forget this, CSS falls back to ★ Recommended.{{TITLE}} (appears twice: <title> and .doc-title){{SUBTITLE}}{{DOC_TYPE}} → universal uppercase code: PLAN, SPEC, SYSTEM DESIGN, RFC, RUNBOOK, POSTMORTEM, BRAINSTORM, NOTES{{SOURCE_FILE}} → basename of source (e.g. plan.md){{DATE}} → ISO date or localized "Updated <today>"{{READ_TIME}} → localized reading time, e.g. ~3 min read / ~3 phút đọc / ~3 分钟阅读{{BRAND_LABEL}} → localized doc-type label for the topbar{{TOC_TITLE}} → localized "Contents" (also used as aria-label for the TOC drawer){{PRINT_TOOLTIP}} → localized print tooltip{{THEME_TOOLTIP}} → localized theme-toggle tooltip{{CLOSE_LABEL}} → localized "Close" (used for the mobile TOC drawer close button), e.g. Close / Đóng / 关闭 / 閉じる{{SKIP_LINK_LABEL}} → localized skip-to-content link text, e.g. Skip to content / Bỏ qua menu / 跳到正文{{FOOTER_NOTE}} → localized source attribution (e.g. Source: plan.md / Nguồn: plan.md / 来源: plan.md)<!-- TOC_ENTRIES --> with one <a> per H2/H3 (see §2 in components.md). Generate stable kebab-case id from heading text.<!-- CONTENT_START --> and <!-- CONTENT_END --> with the document body, section by section, using components from components.md. Each section must:<h2 id="..."> (matching the TOC entry).After writing, do ONE quick sanity check by re-reading just the section you generated (not the whole file):
id="..." referenced in the TOC exists on a heading.{{PLACEHOLDER}} strings.flowchart, sequenceDiagram, erDiagram, stateDiagram-v2, or gantt — never bare graph without direction).<script> tags added beyond what template.html already includes.Report back to the user with:
xdg-open <file>.html (Linux) / open <file>.html (mac).chạy migration 0042_user_schema.sql must remain that exact filename — don't change to chạy migration mới.template.html.template.html or components.md — those are the skill's source of truth. Only Write the output .html.<svg class="..."><use href="#i-NAME"/></svg> referencing the sprite at the top of <body>. See §13 in components.md for the catalog. No emoji glyphs anywhere in callouts, doc-meta, topbar, or body content.id, and put code in <pre><code>. The template's boot script handles the rest..table-wrap — see components.md §14b. Tables ≥ 4 columns or with long cells need the wrapper for mobile scroll.<figure> + <figcaption> for images with descriptive alt. See components.md §14a.This skill is designed to run identically on:
~/.claude/skills/md2html/ (this directory, symlinked or copied). Invoke with /md2html <file>.SKILL.md content to ~/.codex/prompts/md2html.md, keep template.html and components.md at a stable absolute path, update the file references in SKILL.md if needed. Invoke with /md2html.The only external dependency is mermaid via CDN (resolved at HTML open time, not at skill execution time). No npm/pip install required for the skill itself.
<h2 id="content">Nội dung</h2> and infer logical breaks from blank lines + topic shifts.<figure class="diagram"> with caption.<div> if safe, else escape.<aside class="toc"> block), render as single column.<details>..md is canonical; HTML is regenerated artifact.<style> — extend template.html instead and tell the user.© haidang1810, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files in the repository root of haidang1810/md2html.
Open the folder on GitHubat commit 82fa59c
Md2html 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 |
|---|---|---|---|---|---|---|
| Md2html this skillhaidang1810/md2html | 421 | — | ~3k | Automated safety check: Pass | MIT | |
| Trader Memory Coretradermonty/claude-trading-skills | 3k | 3 repos | ~4.3k | Automated safety check: Pass | MIT | |
| OpenRig Upgrade Proceduremvschwarz/openrig | 5.9k | 1 repos | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| Author Migrationnrwl/nx | 29k | — | ~12k | Automated safety check: Notes | MIT | |
| Write Notes Like Deepseekczm15053/write-notes-like-deepseek | 484 | — | ~2k | Automated safety check: Pass | None | |
| GreptimeDB Release RunbookGreptimeTeam/greptimedb | 6.7k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 |
tradermonty/claude-trading-skills
Track investment theses across their lifecycle — from screening idea to closed position with postmortem.
mvschwarz/openrig
Walks an agent through upgrading the OpenRig CLI and daemon one observed step at a time, keeping live seats alive and reconciling managed plugin files.
nrwl/nx
Author or scope a first-party Nx migration. An agent skill from nrwl/nx.
czm15053/write-notes-like-deepseek
A skill your agent uses when a change is non-trivial by DSH standards (behavior, architecture, cross-file contracts, process/tooling, testing strategy, or on-disk/wire/config formats), when choosing…
GreptimeTeam/greptimedb
Runbook for publishing a GreptimeDB version: pick the release branch, verify the Cargo version, then tag, create the GitHub release and open the docs note PR.
henryqin1997/statem
A skill your agent uses when a long coding or research task should be managed with statem state-machine runbooks, including creating specs, starting or resuming runs, checking current state…
Categories
Convert long-form Markdown (plan, spec, system design, RFC, runbook, postmortem, brainstorm, notes) into a single self-contained HTML page with Mermaid diagrams, step timelines, callouts, sidebar TOC. Md2html is an agent skill from haidang1810/md2html. Convert long-form Markdown (plan, spec, system design, RFC, runbook, postmortem, brainstorm, notes) into a single self-contained HTML page with Mermaid diagrams, step timelines, callouts, sidebar TOC.
Md2html fits situations like: tasks that involve Runbooks and postmortems; tasks that involve Brainstorming; tasks that involve HTML artifacts.
Run `npx skills add haidang1810/md2html --skill md2html -a claude-code`. Or copy the skill folder (the haidang1810/md2html repository) into .claude/skills/md2html in your project. Claude Code loads it when a task matches its description.
Run `npx skills add haidang1810/md2html --skill md2html -a codex`. Or copy the skill folder (the haidang1810/md2html repository) into .agents/skills/md2html 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 haidang1810/md2html --skill md2html -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/md2html, .gemini/skills/md2html, .github/skills/md2html and .opencode/skills/md2html in your project.
SKILL.md names no scripts, command-line tools or credentials: Md2html is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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.
Md2html is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k 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 Md2html: Trader Memory Core (tradermonty/claude-trading-skills, 3k stars), OpenRig Upgrade Procedure (mvschwarz/openrig, 5.9k stars), Author Migration (nrwl/nx, 29k stars) and Write Notes Like Deepseek (czm15053/write-notes-like-deepseek, 484 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
haidang1810 (a GitHub user) maintains it in haidang1810/md2html, which has 421 GitHub stars. The repository was last updated on May 14, 2026.
Source: haidang1810/md2html on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.