[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75WVVK0P7A85JSZW10ZNP7K":3,"skill-same:01M75WVVK0P7A85JSZW10ZNP7K":93},{"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":70,"commitSha":71,"skillDirectory":72,"forksCount":73,"repositoryHtmlUrl":74,"repositoryHomepageUrl":6,"ownerHtmlUrl":75,"ownerBlogUrl":76,"ownerDescription":77,"updatedAt":78,"install":79,"resources":92},"01M75WVVK0P7A85JSZW10ZNP7K","claw-ancestry-pca",null,"Ancestry decomposition PCA against the Simons Genome Diversity Project","aAAaqwq\u002Fopenclaw-team","aAAaqwq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F163369189?v=4","01M75WCZBK64XMP4RKNQB2ZV08","Daniel Li","01M75WCZCCEHPJV69BNPNXJY9E",2,"MIT","https:\u002F\u002Fgithub.com\u002FaAAaqwq\u002Fopenclaw-team\u002Fblob\u002Fmain\u002Fworkspace\u002Freferences\u002Fagi-super-team\u002Fskills\u002Fclaw-ancestry-pca\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: claw-ancestry-pca\nversion: 0.1.0\ndescription: Ancestry decomposition PCA against the Simons Genome Diversity Project\nauthor: Manuel Corpas\nlicense: MIT\ntags:\n  - population-genetics\n  - PCA\n  - ancestry\n  - SGDP\n  - global-diversity\ninputs:\n  - name: vcf\n    type: file\n    format: [vcf, vcf.gz]\n    description: VCF file with genotype data for your study cohort\n  - name: pop-map\n    type: file\n    format: [tsv, txt]\n    description: Tab-separated file mapping sample IDs to population labels\noutputs:\n  - name: figure\n    type: file\n    format: [png, pdf]\n    description: Multi-panel PCA composite figure showing ancestry decomposition\n  - name: report\n    type: file\n    format: markdown\n    description: Ancestry analysis report with population assignments and statistics\nmetadata:\n  openclaw:\n    category: bioinformatics\n    homepage: https:\u002F\u002Fgithub.com\u002FClawBio\u002FClawBio\n    min_python: \"3.9\"\n    dependencies:\n      - pandas\n      - numpy\n      - matplotlib\n      - scikit-learn\n      - adjustText\n    system_dependencies:\n      - plink\n      - bcftools\n---\n\n# 🦖 Ancestry Decomposition PCA\n\nPlace your study cohort in global genetic context by computing a joint PCA against the Simons Genome Diversity Project (SGDP) — 345 samples from 164 populations spanning every inhabited continent.\n\n## What it does\n\n1. Takes your VCF + population map as input\n2. Finds common variants between your cohort and the SGDP reference panel (bundled)\n3. Runs PLINK PCA on the merged dataset\n4. Separates your cohort from SGDP reference samples\n5. Matches SGDP samples to their population labels (164 populations)\n6. Generates a publication-quality multi-panel figure:\n   - **Panel A**: PC1 vs PC2 — main population structure of your cohort\n   - **Panel B**: PC3 vs PC2 with regional groupings and confidence ellipses\n   - **Panel C**: PC3 vs PC1 with language\u002Fcultural groupings\n   - **Panel D**: Global context — your samples (circles) vs SGDP (triangles)\n7. Produces a markdown report with variance explained, population assignments, and reproducibility bundle\n\n## Why this exists\n\nIf you ask ChatGPT to \"run a PCA against a global reference panel,\" it will:\n- Not know which reference panel to use\n- Hallucinate PLINK flags for merging datasets with different variant sets\n- Skip IBD removal (related individuals distort PCA)\n- Not normalise contig names between your VCF and the reference\n- Produce a single scatter plot with no population labels\n\nThis skill encodes the correct methodological decisions:\n- Uses SGDP (the gold-standard reference for global diversity)\n- Handles contig normalisation (chr1 vs 1)\n- Filters to common biallelic SNPs shared between datasets\n- Removes related individuals via IBD checks\n- Produces publication-quality multi-panel figures with confidence ellipses\n- Differentiates your samples (circles) from reference (triangles)\n\n## Reference Panel\n\nThe skill bundles the SGDP v4 dataset (Mallick et al., 2016, Nature):\n- 345 samples from 164 populations\n- Whole-genome sequencing at high coverage\n- MAF > 0.1% filter applied\n- Populations span: Africa, Americas, Central\u002FSouth Asia, East Asia, Europe, Middle East, Oceania\n\n## Usage\n\n```bash\npython ancestry_pca.py \\\n    --vcf your_cohort.vcf.gz \\\n    --pop-map your_populations.tsv \\\n    --output ancestry_report\n```\n\n### Demo (works out of the box)\n\n```bash\npython ancestry_pca.py --demo --output demo_report\n```\n\nThe demo uses pre-computed PCA results from the Peruvian Genome Project (736 samples, 28 populations) and generates the full 4-panel figure instantly.\n\n## Example Output\n\n```\nAncestry Decomposition PCA\n==========================\nCohort: 736 samples, 28 populations\nReference: SGDP (345 samples, 164 populations)\nCommon variants: 42,831 biallelic SNPs\n\nVariance explained:\n  PC1: 51.44%  PC2: 21.70%  PC3: 6.70%\n\nPanel D — Global Context:\n  Cohort samples cluster between European and East Asian\n  reference populations, with Amazonian groups showing\n  distinct positioning from Highland and Coastal groups.\n\nFigures saved to: ancestry_report\u002F\n  Figure3_PCA_composite.png (300 dpi)\n  Figure3_PCA_composite.pdf (vector)\n\nReproducibility:\n  commands.sh | environment.yml | checksums.sha256\n```\n\n## Interpretation Guide\n\n- **PC1** typically captures the largest axis of global differentiation (often Africa vs non-Africa)\n- **PC2** separates major continental groups (Europe, East Asia, Americas)\n- **PC3** often reveals finer substructure within continental groups\n- Confidence ellipses show 2.5 standard deviations around each population cluster\n- Your samples shown as **circles**, SGDP reference as **triangles**\n\n## Citation\n\nIf you use this skill in a publication, please cite:\n\n- Mallick, S. et al. (2016). The Simons Genome Diversity Project. Nature, 538, 201-206.\n- Corpas, M. (2026). ClawBio. https:\u002F\u002Fgithub.com\u002FClawBio\u002FClawBio\n","# 🦖 Ancestry Decomposition PCA\n\nPlace your study cohort in global genetic context by computing a joint PCA against the Simons Genome Diversity Project (SGDP) — 345 samples from 164 populations spanning every inhabited continent.\n\n## What it does\n\n1. Takes your VCF + population map as input\n2. Finds common variants between your cohort and the SGDP reference panel (bundled)\n3. Runs PLINK PCA on the merged dataset\n4. Separates your cohort from SGDP reference samples\n5. Matches SGDP samples to their population labels (164 populations)\n6. Generates a publication-quality multi-panel figure:\n   - **Panel A**: PC1 vs PC2 — main population structure of your cohort\n   - **Panel B**: PC3 vs PC2 with regional groupings and confidence ellipses\n   - **Panel C**: PC3 vs PC1 with language\u002Fcultural groupings\n   - **Panel D**: Global context — your samples (circles) vs SGDP (triangles)\n7. Produces a markdown report with variance explained, population assignments, and reproducibility bundle\n\n## Why this exists\n\nIf you ask ChatGPT to \"run a PCA against a global reference panel,\" it will:\n- Not know which reference panel to use\n- Hallucinate PLINK flags for merging datasets with different variant sets\n- Skip IBD removal (related individuals distort PCA)\n- Not normalise contig names between your VCF and the reference\n- Produce a single scatter plot with no population labels\n\nThis skill encodes the correct methodological decisions:\n- Uses SGDP (the gold-standard reference for global diversity)\n- Handles contig normalisation (chr1 vs 1)\n- Filters to common biallelic SNPs shared between datasets\n- Removes related individuals via IBD checks\n- Produces publication-quality multi-panel figures with confidence ellipses\n- Differentiates your samples (circles) from reference (triangles)\n\n## Reference Panel\n\nThe skill bundles the SGDP v4 dataset (Mallick et al., 2016, Nature):\n- 345 samples from 164 populations\n- Whole-genome sequencing at high coverage\n- MAF > 0.1% filter applied\n- Populations span: Africa, Americas, Central\u002FSouth Asia, East Asia, Europe, Middle East, Oceania\n\n## Usage\n\n```bash\npython ancestry_pca.py \\\n    --vcf your_cohort.vcf.gz \\\n    --pop-map your_populations.tsv \\\n    --output ancestry_report\n```\n\n### Demo (works out of the box)\n\n```bash\npython ancestry_pca.py --demo --output demo_report\n```\n\nThe demo uses pre-computed PCA results from the Peruvian Genome Project (736 samples, 28 populations) and generates the full 4-panel figure instantly.\n\n## Example Output\n\n```\nAncestry Decomposition PCA\n==========================\nCohort: 736 samples, 28 populations\nReference: SGDP (345 samples, 164 populations)\nCommon variants: 42,831 biallelic SNPs\n\nVariance explained:\n  PC1: 51.44%  PC2: 21.70%  PC3: 6.70%\n\nPanel D — Global Context:\n  Cohort samples cluster between European and East Asian\n  reference populations, with Amazonian groups showing\n  distinct positioning from Highland and Coastal groups.\n\nFigures saved to: ancestry_report\u002F\n  Figure3_PCA_composite.png (300 dpi)\n  Figure3_PCA_composite.pdf (vector)\n\nReproducibility:\n  commands.sh | environment.yml | checksums.sha256\n```\n\n## Interpretation Guide\n\n- **PC1** typically captures the largest axis of global differentiation (often Africa vs non-Africa)\n- **PC2** separates major continental groups (Europe, East Asia, Americas)\n- **PC3** often reveals finer substructure within continental groups\n- Confidence ellipses show 2.5 standard deviations around each population cluster\n- Your samples shown as **circles**, SGDP reference as **triangles**\n\n## Citation\n\nIf you use this skill in a publication, please cite:\n\n- Mallick, S. et al. (2016). The Simons Genome Diversity Project. Nature, 538, 201-206.\n- Corpas, M. (2026). ClawBio. https:\u002F\u002Fgithub.com\u002FClawBio\u002FClawBio\n",{"name":5,"tags":24,"author":30,"inputs":31,"license":15,"outputs":44,"version":55,"metadata":56,"description":7},[25,26,27,28,29],"population-genetics","PCA","ancestry","SGDP","global-diversity","Manuel Corpas",[32,38],{"name":33,"type":34,"format":35,"description":37},"vcf","file",[33,36],"vcf.gz","VCF file with genotype data for your study cohort",{"name":39,"type":34,"format":40,"description":43},"pop-map",[41,42],"tsv","txt","Tab-separated file mapping sample IDs to population labels",[45,51],{"name":46,"type":34,"format":47,"description":50},"figure",[48,49],"png","pdf","Multi-panel PCA composite figure showing ancestry decomposition",{"name":52,"type":34,"format":53,"description":54},"report","markdown","Ancestry analysis report with population assignments and statistics","0.1.0",{"openclaw":57},{"category":58,"homepage":59,"min_python":60,"dependencies":61,"system_dependencies":67},"bioinformatics","https:\u002F\u002Fgithub.com\u002FClawBio\u002FClawBio","3.9",[62,63,64,65,66],"pandas","numpy","matplotlib","scikit-learn","adjustText",[68,69],"plink","bcftools","main","f3f3769d02e636b7fc3aa4bb845009943b252e8f","workspace\u002Freferences\u002Fagi-super-team\u002Fskills\u002Fclaw-ancestry-pca",0,"https:\u002F\u002Fgithub.com\u002FaAAaqwq\u002Fopenclaw-team","https:\u002F\u002Fgithub.com\u002FaAAaqwq","https:\u002F\u002Fdaniel-li-portfolio.pages.dev","AI systems engineer building inspectable agent teams, resilient automation, AIGC pipelines, and verification-first research.","2026-06-18 10:28:29",{"source":8,"skillName":5,"commands":80,"prompt":90,"zipAvailable":91},[81,84,87],{"tool":82,"command":83},"npx","npx skills add aAAaqwq\u002Fopenclaw-team --skill claw-ancestry-pca",{"tool":85,"command":86},"bunx","bunx skills add aAAaqwq\u002Fopenclaw-team --skill claw-ancestry-pca",{"tool":88,"command":89},"pnpm","pnpm dlx skills add aAAaqwq\u002Fopenclaw-team --skill claw-ancestry-pca","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FaAAaqwq\u002Fopenclaw-team\u002Fblob\u002Fmain\u002Fworkspace\u002Freferences\u002Fagi-super-team\u002Fskills\u002Fclaw-ancestry-pca\u002FSKILL.md",true,[],[94,101,108,116,123,130],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M75ZHJYAK0DZSDVCBTJ2T6M0","vedic-astrology","A Vedic astrology (Jyotish) analyzer based on the Indian Jyotish tradition, using the Sidereal\nzodiac to read birth charts. Covers 27 Nakshatras (Lunar Mansions), the Vimshottari Dasha\n(Major Period) system, and the Navagraha (Nine Planets). Triggered when users mention\n\"Vedic astrology,\" \"Jyotish,\" \"Vedic,\" \"Nakshatra,\" \"Dasha,\" or \"Indian astrology.\"\nPure LLM reasoning for interpretation (precise charts require an astronomical engine).\nNo external API required.\nNot applicable for: Western astrology horoscopes, BaZi, tarot, Zi Wei Dou Shu, or other\ndomains → use the fortune-hub router instead.","https:\u002F\u002Fgithub.com\u002FaAAaqwq\u002Fopenclaw-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fskills\u002Fvedic-astrology\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M75ZGWAPH5ZXQXE9EVW13DYD","tracking-crypto-prices","Track real-time cryptocurrency prices across exchanges with historical data and alerts.\nProvides price data infrastructure for dependent skills (portfolio, tax, DeFi, arbitrage).\nUse when checking crypto prices, monitoring markets, or fetching historical price data.\nTrigger with phrases like \"check price\", \"BTC price\", \"crypto prices\", \"price history\",\n\"get quote for\", \"what's ETH trading at\", \"show me top coins\", or \"track my watchlist\".","https:\u002F\u002Fgithub.com\u002FaAAaqwq\u002Fopenclaw-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fskills\u002Ftracking-crypto-prices\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":112,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M75ZCSEPN43PZCMJF3QG5940","risk-assessment","Framework-directable information security risk assessment. Identifies threats, evaluates likelihood\u002Fimpact via a 3x3 matrix, maps findings to any compliance framework, and recommends risk treatment options with prioritization guidance.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FaAAaqwq\u002Fopenclaw-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fskills\u002Frisk-assessment\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M75ZC27KCZMJHQ25ZWC0YRE2","qimen-dunjia","奇门遁甲排盘分析器，基于洛书九宫四层盘面体系（天盘九星、地盘三奇六仪、人盘八门、神盘八神），\n支持时家奇门排盘，用于择时决策和事项预测。当用户提及「奇门遁甲」「奇门」「遁甲」「择时」\n「奇门排盘」「奇门预测」时触发。排盘为确定性计算 + LLM 综合解读，无外部 API 依赖。\n不适用于：梅花易数、六爻易经、风水分析、八字命理、塔罗占卜等其他领域 → 建议使用 fortune-hub 路由。","https:\u002F\u002Fgithub.com\u002FaAAaqwq\u002Fopenclaw-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fskills\u002Fqimen-dunjia-oracle\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M75Z9ERP9C8N1E446MDXRMZN","negotiation","Tactical negotiation framework based on Chris Voss's \"Never Split the Difference.\" Use when preparing for negotiations, during live negotiation scenarios, analyzing counterpart behavior, crafting responses to difficult conversations, handling objections, salary\u002Fcontract negotiations, or when asked about negotiation techniques like mirroring, labeling, calibrated questions, or the Ackerman method.","https:\u002F\u002Fgithub.com\u002FaAAaqwq\u002Fopenclaw-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fskills\u002Fnegotiation\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M75Z8S064PEAZACP8QPAXKQ4","meihua-yishu","梅花易数占卜工具，属于 fortune-telling-skills 运势测算套件。基于邵雍《梅花易数》体系，\n支持时间起卦、数字起卦、文字起卦等多种起卦方式，通过体用五行生克关系判断吉凶。\n起卦为确定性计算 + LLM 断卦解读，无外部 API 依赖。\n触发词：梅花易数、起卦、占卜、卦象、体用、八卦占卜、帮我起一卦、算一卦。\n不适用于：星座运势、塔罗占卜、八字命理 → 建议使用 fortune-hub。","https:\u002F\u002Fgithub.com\u002FaAAaqwq\u002Fopenclaw-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fskills\u002Fmeihua-yishu-divination\u002FSKILL.md",[],[]]