ai4s-agent
Use when the user wants an end-to-end AI4S research pipeline — broad direction or specific topic in, full research package out (exploration + literature survey…
Generate beautiful, high-resolution mindmaps from Markdown unordered lists. Outputs interactive HTML, HD PNG, and PDF with colorful branch themes.
$ npx -y skills add ai4s-research/ai4s-skills --skill mindmap-render --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mindmap-renderContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate beautiful, high-resolution mindmaps from Markdown unordered lists. Outputs interactive HTML, HD PNG, and PDF with colorful branch themes.
name: mindmap-render description: Generate beautiful, high-resolution mindmaps from Markdown unordered lists. Outputs interactive HTML, HD PNG, and PDF with colorful branch themes.
Use this skill when the user asks to:
Assume the runtime environment already has Python 3.10+, Playwright, and Chromium installed (they are provisioned in the container). **Do not proactively run `pip install` or `playwright install`** — just run the render script directly. Only if the first run fails with a clear missing-dependency error (ImportError, missing-browser error, etc.), then repair the environment:
pip install -r scripts/requirements.txt playwright install chromium
and retry. Never install speculatively before a failure is observed.
Ask the user (or infer from context):
**Default structural targets — for synthesis work only.** These do NOT apply when you are faithfully reproducing a named source (in that case, follow the source's actual shape). They also yield to any numbers the user gives explicitly.
If the user gives different numbers, use theirs; otherwise treat the defaults above as **guidance with judgment** — breadth/depth targets are firm, but per-branch expansion is deliberately uneven.
If the user already has a `.md` file, note its path and proceed to Step 3.
**CRITICAL: If the user has NOT provided a `.md` file, you MUST perform web research BEFORE writing the outline.** Do not rely solely on internal knowledge.
1. **Research** (mandatory): Use `WebSearch` to find authoritative, high-quality sources:
**Fail loudly if the authoritative source cannot be found.** When the user names a specific artifact (a particular book, edition, course, spec) and repeated searches do not surface its real ToC / syllabus / structure, **STOP** and tell the user: *"I couldn't find the authoritative structure of [X]. Please paste the ToC, confirm the edition/title, or allow me to produce a synthesized overview instead."* **Never invent chapter/section structure to fill the gap.** This is the single most important rule of this step.
2. **Write the outline** — choose the mode based on Step 1's fidelity-vs-synthesis judgment:
**a) Faithful reproduction** (user pointed to a specific named artifact and you located its real structure): copy the
Open-source agent skills for AI for Science: topic exploration, literature survey, experiments, paper writing, and integrity audit — driven by any coding agent.
Use when the user wants an end-to-end AI4S research pipeline — broad direction or specific topic in, full research package out (exploration + literature survey…
Use when the user has a research question and needs a complete experiment package — design document, runnable code, results (measured or simulated with honest…
Use when the user wants a paper audited for integrity issues — image misuse, numerical anomalies, logical gaps — and needs a reviewable evidence report. Works…
Use when the user wants a comprehensive literature survey on a specific research topic. Outputs a complete PDF survey (6–20 pages, 60+ real citations, 100+…
Use when the user wants a complete, publication-grade research paper on a specific topic — produces 200+ real citations, 4–8 publication-grade figures, and 7…
Use when the user has a vague research direction and wants to explore feasible specific topics. Outputs a structured analysis with candidate topics,…