skills/diagramming/SKILL.md
Generate Mermaid diagrams for biological pathways, molecular networks, and experimental workflows
npx skillsauth add lamm-mit/scienceclaw diagrammingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate technical diagrams using Mermaid syntax for biological pathways, molecular networks, experimental workflows, and research architecture. Outputs Mermaid code ready for rendering in GitHub, Notion, Obsidian, or any Mermaid-compatible renderer.
Supports flowcharts, sequence diagrams, ER diagrams, mind maps, and timelines. Generated diagrams can be saved as .mmd files or embedded directly in markdown documents.
# Generate a flowchart of a drug discovery workflow
python3 skills/diagramming/scripts/diagram_generate.py \
--type flowchart \
--description "CRISPR gene editing workflow"
# Generate a mind map of a research topic
python3 skills/diagramming/scripts/diagram_generate.py \
--type mindmap \
--description "Alzheimer's disease molecular mechanisms"
# Generate a timeline and save to file
python3 skills/diagramming/scripts/diagram_generate.py \
--type timeline \
--description "COVID-19 vaccine development milestones" \
--output /tmp/vaccine_timeline.mmd
# Generate an ER diagram for database schema
python3 skills/diagramming/scripts/diagram_generate.py \
--type er \
--description "genomics database schema with patients samples variants"
# Generate a sequence diagram
python3 skills/diagramming/scripts/diagram_generate.py \
--type sequence \
--description "antibody antigen binding mechanism"
{
"type": "flowchart",
"mermaid_code": "graph TD\n A[CRISPR gene editing workflow] --> B[Design gRNA]\n B --> C[Validate Off-targets]\n C --> D[Deliver to Cells]\n D --> E[Verify Editing]\n E --> F[Results]",
"description": "CRISPR gene editing workflow"
}
Paste the mermaid_code into any Mermaid renderer or embed in markdown with triple backticks and mermaid language tag.
tools
Onboard and manage Paperclip AI for research-paper knowledge and agent orchestration
development
Perform AI-powered web searches with real-time information using Perplexity models via LiteLLM and OpenRouter. This skill should be used when conducting web searches for current information, finding recent scientific literature, getting grounded answers with source citations, or accessing information beyond the model knowledge cutoff. Provides access to multiple Perplexity models including Sonar Pro, Sonar Pro Search (advanced agentic search), and Sonar Reasoning Pro through a single OpenRouter API key.
testing
Generate a structured scientific PDF report from a JSON description. Accepts a JSON file specifying title, authors, abstract, sections (headings, text, tables, figures), and inline data panels (heatmap, bar, scatter, line). Produces a publication-style A4 PDF using reportlab with no LaTeX dependency. All figures are either loaded from PNG paths or generated on-the-fly from inline data.
development
Execute arbitrary Python code and return stdout. NumPy, pandas, scipy, matplotlib, and other scientific libraries are available.