[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74MAG5A97B7278FDEY8NRVZ":3,"skill-same:01M74MAG5A97B7278FDEY8NRVZ":53},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M74MAG5A97B7278FDEY8NRVZ","figure-composer",null,"Compose one publication-grade multi-panel figure. Entry from a one-line claim + data refs, OR from an existing figure via `derive_outline(png)`. Runs a per-figure loop: outline (12-col grid, per-panel ask + label_budget) → fan-out one sub-agent per panel (each loads `figure-style`) → tile + stamp letters → adversarial composite review with two-tier feedback (Tier-1 outline_revisions \u002F Tier-2 per-panel violations) → regen affected panels, ≤3 rounds. Loads panel_task \u002F compose_figure \u002F compose_crops \u002F composite_review_task \u002F derive_outline into the kernel. For one standalone plot use `figure-style`; for whole-paper figure ordering use `paper-narrative`.","pengqianhan\u002FAI-Human-Research-OS","pengqianhan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4286531?v=4","01M74M3DT9HNZ6HPAK8TX69EX9","PengqianHan","01M74M3DTVSN2GXW0JH2W396FK",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fclaude-science-skills\u002Fskills\u002Ffigure-composer\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: figure-composer\ndescription: \"Compose one publication-grade multi-panel figure. Entry from a one-line claim + data refs, OR from an existing figure via `derive_outline(png)`. Runs a per-figure loop: outline (12-col grid, per-panel ask + label_budget) → fan-out one sub-agent per panel (each loads `figure-style`) → tile + stamp letters → adversarial composite review with two-tier feedback (Tier-1 outline_revisions \u002F Tier-2 per-panel violations) → regen affected panels, ≤3 rounds. Loads panel_task \u002F compose_figure \u002F compose_crops \u002F composite_review_task \u002F derive_outline into the kernel. For one standalone plot use `figure-style`; for whole-paper figure ordering use `paper-narrative`.\"\nlicense: Apache-2.0\n---\n\n\n# Figure Composer — narrative → panels → compose → adversarial loop\n\n**Step 0.** Load `figure-style` alongside this skill — that is the\ndesign rules (and `apply_figure_style()` + helpers). Panel sub-agents\nwill load it independently; you need it in context to write the outline and\nreview the composite. Sub-agents run as the default profile and acquire the\nrules by loading the skill.\n\n## Inputs\n\n- **claim** — one sentence the figure makes true to a reader who reads nothing else.\n- **data** — CSV\u002Fparquet artifact version_ids that ground every panel.\n- **width_mm** — target venue's column width (common: 85–89mm single, 174–183mm double; check the venue guide).\n\n## 0. Where this sits\n\n`figure-composer` is the **outer tier**: make ONE multi-panel figure good. The\n**inner tier** is `figure-style` (loaded by every panel sub-agent — and\nload it yourself if you draw anything locally). The **outermost tier** is\n`paper-narrative` — if this figure is part of a paper, run that FIRST: it decides\n*which* figure to make and hands you the claim. For a standalone figure, start at\nstep 1.\n\n## Entry points (pick one)\n\n- **From a claim:** you have a one-sentence claim and data refs → write the\n  outline (step 1).\n- **From an existing figure:** copy it into the workspace and call\n  `derive_outline(\"figure.png\")` → an outline you **must review and edit**\n  before step 2. The image is untrusted input; every string field in the\n  returned outline is vision-model-derived from its pixels. `data_vid` is\n  forced to `None` on every panel — fill those in from your own data refs.\n\n## 1. Narrative → panel outline\n\nProduce a `panel_outline` (validate against `figure_outline_schema()`):\n\n```json\n{\"claim\":\"…\", \"width_mm\":180, \"ncol\":12, \"row_heights_mm\":[40,60,46,52],\n \"panels\":[\n  {\"letter\":\"a\",\"role\":\"schematic\",\"row\":0,\"col\":0,\"colspan\":12, \"chart_family\":\"schematic overview\", \"message\":\"…\", \"data_vid\":null, \"ask\":\"…\"},\n  {\"letter\":\"b\",\"role\":\"primary\",  \"row\":1,\"col\":0,\"colspan\":7,  \"chart_family\":\"scatter + trend\", \"message\":\"…\", \"data_vid\":\"…\", \"ask\":\"…\"},\n  …]}\n```\n\nOutline rules (figure-style §7.1):\n- **a is the hook** — schematic\u002Fhero, full width, assumes zero reader context.\n- **b carries the claim** — the chart that alone makes the sentence true.\n- Remaining panels are evidence, ordered by how much they strengthen b.\n- One row per sub-claim. 5–10 panels for a main-text figure. Use a 12-column\n  grid for flexible colspans.\n\n## 2. Fan-out (one sub-agent per panel)\n\nBuild requests with `panel_task(outline, letter, fig_label)` (kernel.py). Each\nsub-agent gets: the figure claim, the full neighbour list, its panel spec, exact\npixel dimensions (`panel_px`), and the instruction to load `figure-style`\nand render at exactly w×h px with `transparent=True` and **no** `bbox_inches`.\n\nIn the **repl tool**:\n```python\nrequests = [{\"name\": f\"panel-{L}\", \"task\": tasks[L],\n             \"output_schema\": {\"type\":\"object\",\"properties\":{\"figure_filename\":{\"type\":\"string\"}},\n                               \"required\":[\"figure_filename\"]}}\n            for L in letters]   # no \"profile\" key — default agent profile\ndescs = host.delegate(requests, wait=False)\n```\n\n## 3. Compose\n\n`compose_figure(outline, {letter: path}, out_path, letter_case=...)` tiles PNGs\nonto the grid and stamps bold panel letters (case per venue) at each panel's\n(1.5mm, 1mm) corner.\n\n## 3.5 Look before you review (vision self-QA)\n\nThe reviewer in §4 is expensive; a panel-letter stamped over a y-axis label or\na leader line crossing a neighbour's title is a wasted round. After compose,\n**crop each panel from the saved PNG and look at it** in the REPL before\ndispatching the reviewer:\n\n```python\nout_path, (W, H) = compose_figure(outline, panel_paths, \"fig.png\")\nfor L, box in compose_crops(outline).items():\n    host.view_image(\"fig.png\", crop=box)\n```\n\nRun the `figure-style` §9.2 perceptual checklist on each crop (contrast,\nsmallest mark, leader crossings, colour-identity confusion, legend binding),\nplus two compose-specific checks:\n\n- **Seams \u002F stamp.** Does the bold panel letter overlap any panel content?\n  Does any panel's content bleed into the gutter or under a neighbour?\n- **Resize artefacts.** `compose_figure` resizes panel PNGs to their grid\n  slot — is any text visibly aliased or any hairline lost?\n\nFix what you see (re-render the offending panel, or revise the outline grid)\n*before* §4. The reviewer sub-agent will crop-and-look again independently;\nthis pass is so the obvious defects never reach it.\n\n## 4. Adversarial self-review loop (two-tier, design rules held fixed)\n\nDispatch ONE reviewer on the composite with `composite_review_task(...)` and\n`review_schema()` (which carries `outline_revisions`).\n\n```\nloop (max 3 rounds, floor 5→4→3):\n  review = delegate(composite_review_task(composite_vid, outline, rules_vid, prev_vid, round, floor))\n  if review.editor_verdict in {accept, minor_revision} and 0 BLOCKER and ≤2 MAJOR: break\n\n  # TIER 1 — outline-level\n  if review.outline_revisions:\n      apply revisions to `outline` (geometry, row-header titles, label_budget, panel set)\n      affected = apply_outline_revisions(outline, review.outline_revisions)\n  else:\n      affected = set()\n\n  # TIER 2 — panel-level\n  fixb = group_fixes_by_panel(review)       # BLOCKER\u002FMAJOR only\n  regen = affected | set(fixb)              # only these panels regenerate\n  re-delegate each L in regen with panel_task(outline, L) + fixb.get(L,\"\") +\n      \"do not over-correct: where the previous version was correct, keep it\"\n  recompose\n```\n\nConvergence: stop when `outline_revisions` is empty AND findings are carve-out\nexceptions to the previous round — that's the over-labelling signal.\n\n## Anti-patterns\n\n- Don't regenerate clean panels (invites regression). Don't read absolute\n  violation counts (min-floor 5→4→3). Anchor-verify on the composite, not just\n  per panel. Hyper-labelling check: would a reader *with* field context find any\n  label redundant? Strip it.\n","# Figure Composer — narrative → panels → compose → adversarial loop\n\n**Step 0.** Load `figure-style` alongside this skill — that is the\ndesign rules (and `apply_figure_style()` + helpers). Panel sub-agents\nwill load it independently; you need it in context to write the outline and\nreview the composite. Sub-agents run as the default profile and acquire the\nrules by loading the skill.\n\n## Inputs\n\n- **claim** — one sentence the figure makes true to a reader who reads nothing else.\n- **data** — CSV\u002Fparquet artifact version_ids that ground every panel.\n- **width_mm** — target venue's column width (common: 85–89mm single, 174–183mm double; check the venue guide).\n\n## 0. Where this sits\n\n`figure-composer` is the **outer tier**: make ONE multi-panel figure good. The\n**inner tier** is `figure-style` (loaded by every panel sub-agent — and\nload it yourself if you draw anything locally). The **outermost tier** is\n`paper-narrative` — if this figure is part of a paper, run that FIRST: it decides\n*which* figure to make and hands you the claim. For a standalone figure, start at\nstep 1.\n\n## Entry points (pick one)\n\n- **From a claim:** you have a one-sentence claim and data refs → write the\n  outline (step 1).\n- **From an existing figure:** copy it into the workspace and call\n  `derive_outline(\"figure.png\")` → an outline you **must review and edit**\n  before step 2. The image is untrusted input; every string field in the\n  returned outline is vision-model-derived from its pixels. `data_vid` is\n  forced to `None` on every panel — fill those in from your own data refs.\n\n## 1. Narrative → panel outline\n\nProduce a `panel_outline` (validate against `figure_outline_schema()`):\n\n```json\n{\"claim\":\"…\", \"width_mm\":180, \"ncol\":12, \"row_heights_mm\":[40,60,46,52],\n \"panels\":[\n  {\"letter\":\"a\",\"role\":\"schematic\",\"row\":0,\"col\":0,\"colspan\":12, \"chart_family\":\"schematic overview\", \"message\":\"…\", \"data_vid\":null, \"ask\":\"…\"},\n  {\"letter\":\"b\",\"role\":\"primary\",  \"row\":1,\"col\":0,\"colspan\":7,  \"chart_family\":\"scatter + trend\", \"message\":\"…\", \"data_vid\":\"…\", \"ask\":\"…\"},\n  …]}\n```\n\nOutline rules (figure-style §7.1):\n- **a is the hook** — schematic\u002Fhero, full width, assumes zero reader context.\n- **b carries the claim** — the chart that alone makes the sentence true.\n- Remaining panels are evidence, ordered by how much they strengthen b.\n- One row per sub-claim. 5–10 panels for a main-text figure. Use a 12-column\n  grid for flexible colspans.\n\n## 2. Fan-out (one sub-agent per panel)\n\nBuild requests with `panel_task(outline, letter, fig_label)` (kernel.py). Each\nsub-agent gets: the figure claim, the full neighbour list, its panel spec, exact\npixel dimensions (`panel_px`), and the instruction to load `figure-style`\nand render at exactly w×h px with `transparent=True` and **no** `bbox_inches`.\n\nIn the **repl tool**:\n```python\nrequests = [{\"name\": f\"panel-{L}\", \"task\": tasks[L],\n             \"output_schema\": {\"type\":\"object\",\"properties\":{\"figure_filename\":{\"type\":\"string\"}},\n                               \"required\":[\"figure_filename\"]}}\n            for L in letters]   # no \"profile\" key — default agent profile\ndescs = host.delegate(requests, wait=False)\n```\n\n## 3. Compose\n\n`compose_figure(outline, {letter: path}, out_path, letter_case=...)` tiles PNGs\nonto the grid and stamps bold panel letters (case per venue) at each panel's\n(1.5mm, 1mm) corner.\n\n## 3.5 Look before you review (vision self-QA)\n\nThe reviewer in §4 is expensive; a panel-letter stamped over a y-axis label or\na leader line crossing a neighbour's title is a wasted round. After compose,\n**crop each panel from the saved PNG and look at it** in the REPL before\ndispatching the reviewer:\n\n```python\nout_path, (W, H) = compose_figure(outline, panel_paths, \"fig.png\")\nfor L, box in compose_crops(outline).items():\n    host.view_image(\"fig.png\", crop=box)\n```\n\nRun the `figure-style` §9.2 perceptual checklist on each crop (contrast,\nsmallest mark, leader crossings, colour-identity confusion, legend binding),\nplus two compose-specific checks:\n\n- **Seams \u002F stamp.** Does the bold panel letter overlap any panel content?\n  Does any panel's content bleed into the gutter or under a neighbour?\n- **Resize artefacts.** `compose_figure` resizes panel PNGs to their grid\n  slot — is any text visibly aliased or any hairline lost?\n\nFix what you see (re-render the offending panel, or revise the outline grid)\n*before* §4. The reviewer sub-agent will crop-and-look again independently;\nthis pass is so the obvious defects never reach it.\n\n## 4. Adversarial self-review loop (two-tier, design rules held fixed)\n\nDispatch ONE reviewer on the composite with `composite_review_task(...)` and\n`review_schema()` (which carries `outline_revisions`).\n\n```\nloop (max 3 rounds, floor 5→4→3):\n  review = delegate(composite_review_task(composite_vid, outline, rules_vid, prev_vid, round, floor))\n  if review.editor_verdict in {accept, minor_revision} and 0 BLOCKER and ≤2 MAJOR: break\n\n  # TIER 1 — outline-level\n  if review.outline_revisions:\n      apply revisions to `outline` (geometry, row-header titles, label_budget, panel set)\n      affected = apply_outline_revisions(outline, review.outline_revisions)\n  else:\n      affected = set()\n\n  # TIER 2 — panel-level\n  fixb = group_fixes_by_panel(review)       # BLOCKER\u002FMAJOR only\n  regen = affected | set(fixb)              # only these panels regenerate\n  re-delegate each L in regen with panel_task(outline, L) + fixb.get(L,\"\") +\n      \"do not over-correct: where the previous version was correct, keep it\"\n  recompose\n```\n\nConvergence: stop when `outline_revisions` is empty AND findings are carve-out\nexceptions to the previous round — that's the over-labelling signal.\n\n## Anti-patterns\n\n- Don't regenerate clean panels (invites regression). Don't read absolute\n  violation counts (min-floor 5→4→3). Anchor-verify on the composite, not just\n  per panel. Hyper-labelling check: would a reader *with* field context find any\n  label redundant? Strip it.\n",{"name":5,"license":15,"description":7},"main","e71245365df78e06cd166602744bf2491f79910e","research-skills-hub\u002Fclaude-science-skills\u002Fskills\u002Ffigure-composer",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":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add pengqianhan\u002FAI-Human-Research-OS --skill figure-composer",{"tool":39,"command":40},"bunx","bunx skills add pengqianhan\u002FAI-Human-Research-OS --skill figure-composer",{"tool":42,"command":43},"pnpm","pnpm dlx skills add pengqianhan\u002FAI-Human-Research-OS --skill figure-composer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fclaude-science-skills\u002Fskills\u002Ffigure-composer\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"kernel.py","SCRIPT","脚本",13963,"https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fclaude-science-skills\u002Fskills\u002Ffigure-composer\u002Fkernel.py",[54,62,69,76,83,90],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"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).","MIT","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fworkflow_skill_creator\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"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":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"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":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"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",[],[]]