[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74MJ816HKRMVCTVYW42W3EZ":3,"skill-same:01M74MJ816HKRMVCTVYW42W3EZ":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M74MJ816HKRMVCTVYW42W3EZ","drawio",null,"Generate draw.io diagrams as .drawio files, optionally export to PNG\u002FSVG\u002FPDF with embedded XML","pengqianhan\u002FAI-Human-Research-OS","pengqianhan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4286531?v=4","01M74M3DT9HNZ6HPAK8TX69EX9","PengqianHan","01M74M3DTVSN2GXW0JH2W396FK",3,"MIT","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fcollected-skills\u002Fdrawio\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: drawio\ndescription: Generate draw.io diagrams as .drawio files, optionally export to PNG\u002FSVG\u002FPDF with embedded XML\nallowed-tools: Bash, Write\n---\n\n# Draw.io Diagram Skill\n\nGenerate draw.io diagrams as native `.drawio` files. Optionally export to PNG, SVG, or PDF with the diagram XML embedded (so the exported file remains editable in draw.io).\n\n## How to create a diagram\n\n1. **Generate draw.io XML** in mxGraphModel format for the requested diagram\n2. **Write the XML** to a `.drawio` file in the current working directory using the Write tool\n3. **If the user requested an export format** (png, svg, pdf), export using the draw.io CLI with `--embed-diagram`, then delete the source `.drawio` file\n4. **Open the result** — the exported file if exported, or the `.drawio` file otherwise\n\n## Choosing the output format\n\nCheck the user's request for a format preference. Examples:\n\n- `\u002Fdrawio create a flowchart` → `flowchart.drawio`\n- `\u002Fdrawio png flowchart for login` → `login-flow.drawio.png`\n- `\u002Fdrawio svg: ER diagram` → `er-diagram.drawio.svg`\n- `\u002Fdrawio pdf architecture overview` → `architecture-overview.drawio.pdf`\n\nIf no format is mentioned, just write the `.drawio` file and open it in draw.io. The user can always ask to export later.\n\n### Supported export formats\n\n| Format | Embed XML | Notes |\n|--------|-----------|-------|\n| `png` | Yes (`-e`) | Viewable everywhere, editable in draw.io |\n| `svg` | Yes (`-e`) | Scalable, editable in draw.io |\n| `pdf` | Yes (`-e`) | Printable, editable in draw.io |\n| `jpg` | No | Lossy, no embedded XML support |\n\nPNG, SVG, and PDF all support `--embed-diagram` — the exported file contains the full diagram XML, so opening it in draw.io recovers the editable diagram.\n\n## draw.io CLI\n\nThe draw.io desktop app includes a command-line interface for exporting.\n\n### Locating the CLI\n\nTry `drawio` first (works if on PATH), then fall back to the platform-specific path:\n\n- **macOS**: `\u002FApplications\u002Fdraw.io.app\u002FContents\u002FMacOS\u002Fdraw.io`\n- **Linux**: `drawio` (typically on PATH via snap\u002Fapt\u002Fflatpak)\n- **Windows**: `\"C:\\Program Files\\draw.io\\draw.io.exe\"`\n\nUse `which drawio` (or `where drawio` on Windows) to check if it's on PATH before falling back.\n\n### Export command\n\n```bash\ndrawio -x -f \u003Cformat> -e -b 10 -o \u003Coutput> \u003Cinput.drawio>\n```\n\nKey flags:\n- `-x` \u002F `--export`: export mode\n- `-f` \u002F `--format`: output format (png, svg, pdf, jpg)\n- `-e` \u002F `--embed-diagram`: embed diagram XML in the output (PNG, SVG, PDF only)\n- `-o` \u002F `--output`: output file path\n- `-b` \u002F `--border`: border width around diagram (default: 0)\n- `-t` \u002F `--transparent`: transparent background (PNG only)\n- `-s` \u002F `--scale`: scale the diagram size\n- `--width` \u002F `--height`: fit into specified dimensions (preserves aspect ratio)\n- `-a` \u002F `--all-pages`: export all pages (PDF only)\n- `-p` \u002F `--page-index`: select a specific page (1-based)\n\n### Opening the result\n\n- **macOS**: `open \u003Cfile>`\n- **Linux**: `xdg-open \u003Cfile>`\n- **Windows**: `start \u003Cfile>`\n\n## File naming\n\n- Use a descriptive filename based on the diagram content (e.g., `login-flow`, `database-schema`)\n- Use lowercase with hyphens for multi-word names\n- For export, use double extensions: `name.drawio.png`, `name.drawio.svg`, `name.drawio.pdf` — this signals the file contains embedded diagram XML\n- After a successful export, delete the intermediate `.drawio` file — the exported file contains the full diagram\n\n## XML format\n\nA `.drawio` file is native mxGraphModel XML. Always generate XML directly — Mermaid and CSV formats require server-side conversion and cannot be saved as native files.\n\n### Basic structure\n\nEvery diagram must have this structure:\n\n```xml\n\u003CmxGraphModel>\n  \u003Croot>\n    \u003CmxCell id=\"0\"\u002F>\n    \u003CmxCell id=\"1\" parent=\"0\"\u002F>\n    \u003C!-- Diagram cells go here with parent=\"1\" -->\n  \u003C\u002Froot>\n\u003C\u002FmxGraphModel>\n```\n\n- Cell `id=\"0\"` is the root layer\n- Cell `id=\"1\"` is the default parent layer\n- All diagram elements use `parent=\"1\"` unless using multiple layers\n\n### Common styles\n\n**Rounded rectangle:**\n```xml\n\u003CmxCell id=\"2\" value=\"Label\" style=\"rounded=1;whiteSpace=wrap;\" vertex=\"1\" parent=\"1\">\n  \u003CmxGeometry x=\"100\" y=\"100\" width=\"120\" height=\"60\" as=\"geometry\"\u002F>\n\u003C\u002FmxCell>\n```\n\n**Diamond (decision):**\n```xml\n\u003CmxCell id=\"3\" value=\"Condition?\" style=\"rhombus;whiteSpace=wrap;\" vertex=\"1\" parent=\"1\">\n  \u003CmxGeometry x=\"100\" y=\"200\" width=\"120\" height=\"80\" as=\"geometry\"\u002F>\n\u003C\u002FmxCell>\n```\n\n**Arrow (edge):**\n```xml\n\u003CmxCell id=\"4\" value=\"\" style=\"edgeStyle=orthogonalEdgeStyle;\" edge=\"1\" source=\"2\" target=\"3\" parent=\"1\">\n  \u003CmxGeometry relative=\"1\" as=\"geometry\"\u002F>\n\u003C\u002FmxCell>\n```\n\n**Labeled arrow:**\n```xml\n\u003CmxCell id=\"5\" value=\"Yes\" style=\"edgeStyle=orthogonalEdgeStyle;\" edge=\"1\" source=\"3\" target=\"6\" parent=\"1\">\n  \u003CmxGeometry relative=\"1\" as=\"geometry\"\u002F>\n\u003C\u002FmxCell>\n```\n\n### Useful style properties\n\n| Property | Values | Use for |\n|----------|--------|---------|\n| `rounded=1` | 0 or 1 | Rounded corners |\n| `whiteSpace=wrap` | wrap | Text wrapping |\n| `fillColor=#dae8fc` | Hex color | Background color |\n| `strokeColor=#6c8ebf` | Hex color | Border color |\n| `fontColor=#333333` | Hex color | Text color |\n| `shape=cylinder3` | shape name | Database cylinders |\n| `shape=mxgraph.flowchart.document` | shape name | Document shapes |\n| `ellipse` | style keyword | Circles\u002Fovals |\n| `rhombus` | style keyword | Diamonds |\n| `edgeStyle=orthogonalEdgeStyle` | style keyword | Right-angle connectors |\n| `edgeStyle=elbowEdgeStyle` | style keyword | Elbow connectors |\n| `dashed=1` | 0 or 1 | Dashed lines |\n| `swimlane` | style keyword | Swimlane containers |\n\n## CRITICAL: XML well-formedness\n\n- **NEVER use double hyphens (`--`) inside XML comments.** `--` is illegal inside `\u003C!-- -->` per the XML spec and causes parse errors. Use single hyphens or rephrase.\n- Escape special characters in attribute values: `&amp;`, `&lt;`, `&gt;`, `&quot;`\n- Always use unique `id` values for each `mxCell`","# Draw.io Diagram Skill\n\nGenerate draw.io diagrams as native `.drawio` files. Optionally export to PNG, SVG, or PDF with the diagram XML embedded (so the exported file remains editable in draw.io).\n\n## How to create a diagram\n\n1. **Generate draw.io XML** in mxGraphModel format for the requested diagram\n2. **Write the XML** to a `.drawio` file in the current working directory using the Write tool\n3. **If the user requested an export format** (png, svg, pdf), export using the draw.io CLI with `--embed-diagram`, then delete the source `.drawio` file\n4. **Open the result** — the exported file if exported, or the `.drawio` file otherwise\n\n## Choosing the output format\n\nCheck the user's request for a format preference. Examples:\n\n- `\u002Fdrawio create a flowchart` → `flowchart.drawio`\n- `\u002Fdrawio png flowchart for login` → `login-flow.drawio.png`\n- `\u002Fdrawio svg: ER diagram` → `er-diagram.drawio.svg`\n- `\u002Fdrawio pdf architecture overview` → `architecture-overview.drawio.pdf`\n\nIf no format is mentioned, just write the `.drawio` file and open it in draw.io. The user can always ask to export later.\n\n### Supported export formats\n\n| Format | Embed XML | Notes |\n|--------|-----------|-------|\n| `png` | Yes (`-e`) | Viewable everywhere, editable in draw.io |\n| `svg` | Yes (`-e`) | Scalable, editable in draw.io |\n| `pdf` | Yes (`-e`) | Printable, editable in draw.io |\n| `jpg` | No | Lossy, no embedded XML support |\n\nPNG, SVG, and PDF all support `--embed-diagram` — the exported file contains the full diagram XML, so opening it in draw.io recovers the editable diagram.\n\n## draw.io CLI\n\nThe draw.io desktop app includes a command-line interface for exporting.\n\n### Locating the CLI\n\nTry `drawio` first (works if on PATH), then fall back to the platform-specific path:\n\n- **macOS**: `\u002FApplications\u002Fdraw.io.app\u002FContents\u002FMacOS\u002Fdraw.io`\n- **Linux**: `drawio` (typically on PATH via snap\u002Fapt\u002Fflatpak)\n- **Windows**: `\"C:\\Program Files\\draw.io\\draw.io.exe\"`\n\nUse `which drawio` (or `where drawio` on Windows) to check if it's on PATH before falling back.\n\n### Export command\n\n```bash\ndrawio -x -f \u003Cformat> -e -b 10 -o \u003Coutput> \u003Cinput.drawio>\n```\n\nKey flags:\n- `-x` \u002F `--export`: export mode\n- `-f` \u002F `--format`: output format (png, svg, pdf, jpg)\n- `-e` \u002F `--embed-diagram`: embed diagram XML in the output (PNG, SVG, PDF only)\n- `-o` \u002F `--output`: output file path\n- `-b` \u002F `--border`: border width around diagram (default: 0)\n- `-t` \u002F `--transparent`: transparent background (PNG only)\n- `-s` \u002F `--scale`: scale the diagram size\n- `--width` \u002F `--height`: fit into specified dimensions (preserves aspect ratio)\n- `-a` \u002F `--all-pages`: export all pages (PDF only)\n- `-p` \u002F `--page-index`: select a specific page (1-based)\n\n### Opening the result\n\n- **macOS**: `open \u003Cfile>`\n- **Linux**: `xdg-open \u003Cfile>`\n- **Windows**: `start \u003Cfile>`\n\n## File naming\n\n- Use a descriptive filename based on the diagram content (e.g., `login-flow`, `database-schema`)\n- Use lowercase with hyphens for multi-word names\n- For export, use double extensions: `name.drawio.png`, `name.drawio.svg`, `name.drawio.pdf` — this signals the file contains embedded diagram XML\n- After a successful export, delete the intermediate `.drawio` file — the exported file contains the full diagram\n\n## XML format\n\nA `.drawio` file is native mxGraphModel XML. Always generate XML directly — Mermaid and CSV formats require server-side conversion and cannot be saved as native files.\n\n### Basic structure\n\nEvery diagram must have this structure:\n\n```xml\n\u003CmxGraphModel>\n  \u003Croot>\n    \u003CmxCell id=\"0\"\u002F>\n    \u003CmxCell id=\"1\" parent=\"0\"\u002F>\n    \u003C!-- Diagram cells go here with parent=\"1\" -->\n  \u003C\u002Froot>\n\u003C\u002FmxGraphModel>\n```\n\n- Cell `id=\"0\"` is the root layer\n- Cell `id=\"1\"` is the default parent layer\n- All diagram elements use `parent=\"1\"` unless using multiple layers\n\n### Common styles\n\n**Rounded rectangle:**\n```xml\n\u003CmxCell id=\"2\" value=\"Label\" style=\"rounded=1;whiteSpace=wrap;\" vertex=\"1\" parent=\"1\">\n  \u003CmxGeometry x=\"100\" y=\"100\" width=\"120\" height=\"60\" as=\"geometry\"\u002F>\n\u003C\u002FmxCell>\n```\n\n**Diamond (decision):**\n```xml\n\u003CmxCell id=\"3\" value=\"Condition?\" style=\"rhombus;whiteSpace=wrap;\" vertex=\"1\" parent=\"1\">\n  \u003CmxGeometry x=\"100\" y=\"200\" width=\"120\" height=\"80\" as=\"geometry\"\u002F>\n\u003C\u002FmxCell>\n```\n\n**Arrow (edge):**\n```xml\n\u003CmxCell id=\"4\" value=\"\" style=\"edgeStyle=orthogonalEdgeStyle;\" edge=\"1\" source=\"2\" target=\"3\" parent=\"1\">\n  \u003CmxGeometry relative=\"1\" as=\"geometry\"\u002F>\n\u003C\u002FmxCell>\n```\n\n**Labeled arrow:**\n```xml\n\u003CmxCell id=\"5\" value=\"Yes\" style=\"edgeStyle=orthogonalEdgeStyle;\" edge=\"1\" source=\"3\" target=\"6\" parent=\"1\">\n  \u003CmxGeometry relative=\"1\" as=\"geometry\"\u002F>\n\u003C\u002FmxCell>\n```\n\n### Useful style properties\n\n| Property | Values | Use for |\n|----------|--------|---------|\n| `rounded=1` | 0 or 1 | Rounded corners |\n| `whiteSpace=wrap` | wrap | Text wrapping |\n| `fillColor=#dae8fc` | Hex color | Background color |\n| `strokeColor=#6c8ebf` | Hex color | Border color |\n| `fontColor=#333333` | Hex color | Text color |\n| `shape=cylinder3` | shape name | Database cylinders |\n| `shape=mxgraph.flowchart.document` | shape name | Document shapes |\n| `ellipse` | style keyword | Circles\u002Fovals |\n| `rhombus` | style keyword | Diamonds |\n| `edgeStyle=orthogonalEdgeStyle` | style keyword | Right-angle connectors |\n| `edgeStyle=elbowEdgeStyle` | style keyword | Elbow connectors |\n| `dashed=1` | 0 or 1 | Dashed lines |\n| `swimlane` | style keyword | Swimlane containers |\n\n## CRITICAL: XML well-formedness\n\n- **NEVER use double hyphens (`--`) inside XML comments.** `--` is illegal inside `\u003C!-- -->` per the XML spec and causes parse errors. Use single hyphens or rephrase.\n- Escape special characters in attribute values: `&amp;`, `&lt;`, `&gt;`, `&quot;`\n- Always use unique `id` values for each `mxCell`",{"name":5,"description":7,"allowed-tools":24},"Bash, Write","main","e71245365df78e06cd166602744bf2491f79910e","research-skills-hub\u002Fcollected-skills\u002Fdrawio",0,"https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS","https:\u002F\u002Fpengqianhan.github.io\u002FAI-Human-Research-OS\u002F","https:\u002F\u002Fgithub.com\u002Fpengqianhan","Ph.D. candidate of The University of Auckland, New Zealand","2026-11-14 18:08:16",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add pengqianhan\u002FAI-Human-Research-OS --skill drawio",{"tool":40,"command":41},"bunx","bunx skills add pengqianhan\u002FAI-Human-Research-OS --skill drawio",{"tool":43,"command":44},"pnpm","pnpm dlx skills add pengqianhan\u002FAI-Human-Research-OS --skill drawio","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fcollected-skills\u002Fdrawio\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M74MWYTHT498SVMN823896T7","workflow-skill-creator","Distills a completed user workflow or interaction into a reusable agent skill. Use when the user asks to turn their workflow, interaction, or multi-step process into a skill, or when they say \"make this a skill\", \"create a skill from what we just did\", \"package this workflow\" or similar. Do not use for creating skills from scratch without an existing workflow (use a generic skill-creator for that).","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fworkflow_skill_creator\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M74MWWVCFZ8HQS8840F1V1FT","uv","Checks whether the uv Python package manager is installed and installs it if missing. Ensures uv is on PATH. Use when another skill requires uv as a prerequisite.","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fuv\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M74MWRH5BTSWZ2C5PCTD5FV9","uniprot-database","Access protein metadata, function, taxonomy, and sequences across UniProtKB, UniParc, and UniRef. Use when searching for proteins, mapping identifiers, or retrieving functional annotations and publications. Don't use for sequence alignment, protein folding, or sequence similarity search (use specialized skills for those tasks).","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Funiprot_database\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M74MWN1D3ER9F1FZPWH8HQC1","unibind-database","Queries the UniBind database for experimentally validated transcription factor (TF) binding sites. Use when retrieving direct TF-DNA interaction datasets, downloading binding site coordinates (BED\u002FFASTA) for local analysis, or listing available datasets by species, cell line, or TF name. Don't use to query specific intervals, locations, genes, motif models or expression data.","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Funibind_database\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M74MWHHB5QZY3NR2FYA1EK4N","ucsc-conservation-and-tfbs","Fetch Evolutionary Conservation scores (phyloP, phastCons) and Transcription Factor Binding Sites (TFBS) from the UCSC Genome Browser. Use when analyzing whether genomic variants or regions are evolutionarily conserved, functionally important, or bounded by TF regulators across major projects (ENCODE, JASPAR, ReMap).","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fucsc_conservation_and_tfbs\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M74MWERYHSY87P21FDMVE6BA","string-database","Query the STRING database for protein-protein interactions (PPIs), functional enrichment, and homology. Use when the user asks about interactions between specific proteins, interaction evidence, confidence scores, protein interaction partners, or pathway enrichments.","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fstring_database\u002FSKILL.md",[],[]]