[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F2PXXGZ5DPHJJTQQJ1R7MP":3,"skill-same:01M7F2PXXGZ5DPHJJTQQJ1R7MP":69},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7F2PXXGZ5DPHJJTQQJ1R7MP","pacsomatic",null,"Operator toolkit for nf-core\u002Fpacsomatic matched tumor-normal workflows from BAM inputs. Use this skill when the user needs to validate run inputs, generate pacsomatic-compliant samplesheets, prepare reproducible Nextflow launch artifacts, run locally or submit to schedulers (LSF\u002FSlurm\u002FPBS\u002FSGE), and triage execution failures. Triggers on requests to run pacsomatic, prepare launch commands\u002Fscripts, perform dry-run checks, or troubleshoot pipeline startup and scheduler submission errors.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fpacsomatic\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: pacsomatic\ndescription: Operator toolkit for nf-core\u002Fpacsomatic matched tumor-normal workflows from BAM inputs. Use this skill when the user needs to validate run inputs, generate pacsomatic-compliant samplesheets, prepare reproducible Nextflow launch artifacts, run locally or submit to schedulers (LSF\u002FSlurm\u002FPBS\u002FSGE), and triage execution failures. Triggers on requests to run pacsomatic, prepare launch commands\u002Fscripts, perform dry-run checks, or troubleshoot pipeline startup and scheduler submission errors.\nlicense: MIT\nmetadata:\n  version: \"1.2\"\n  skill-author: Beifang Niu\n  contributors: Haidong, Wenchao\n  upstream-pipeline: https:\u002F\u002Fgithub.com\u002Fnf-core\u002Fpacsomatic\n---\n\n# pacsomatic\n\n## Overview\n\nThis skill provides a reproducible execution workflow for nf-core\u002Fpacsomatic, centered on a single helper entrypoint that handles validation, artifact generation, and optional execution.\n\nPrimary entrypoint:\n- `scripts\u002Frun_pacsomatic.py`\n\nThe helper script:\n- validates required identifiers, files, reference mode, and runtime prerequisites\n- writes a pacsomatic-compatible samplesheet (`patient,sample,status,bam,pbi`)\n- generates a params YAML and launch script for reproducible reruns\n- supports dry-run validation and run\u002Fsubmit execution paths\n\nUse this skill as the default path for pacsomatic operations. Do not bypass it with manually assembled `nextflow run nf-core\u002Fpacsomatic` commands unless the user explicitly asks for manual command construction.\n\n## When to Use This Skill\n\nInvoke this skill when the user asks to:\n- run matched tumor-normal analysis from BAM files\n- generate or fix pacsomatic samplesheet and launch artifacts\n- execute locally or submit to schedulers (LSF\u002FSlurm\u002FPBS\u002FSGE)\n- perform dry-run validation before execution\n- troubleshoot launch failures or summarize run outputs\n\nDo not use this skill for:\n- deep biological interpretation beyond run-level sanity checks\n- editing pipeline internals unless explicitly requested\n\nTypical trigger phrases:\n- \"run nf-core\u002Fpacsomatic for this tumor-normal pair\"\n- \"prepare pacsomatic samplesheet and launch script\"\n- \"do a dry run first and tell me what is missing\"\n- \"submit pacsomatic to slurm\u002Flsf and return the job id\"\n- \"why did pacsomatic submission fail\"\n\n## Routing and Execution Rules\n\n1. Always collect required run inputs first.\n2. Always route through `scripts\u002Frun_pacsomatic.py` for validation and artifact generation.\n3. Default to `--dry-run` when the user asks for checks\u002Fvalidation only.\n4. Use `--run` only when the user asks to execute\u002Fsubmit.\n5. For scheduler modes, include executor-specific resource arguments and return detected job ID when available.\n6. If execution fails, report first failure point and next triage target (`.nextflow.log`, `pipeline_info`, failing task logs).\n\n## Inputs Required\n\nRequired:\n- tumor BAM path\n- normal BAM path\n- patient ID\n- tumor sample ID\n- normal sample ID\n- output directory\n- exactly one reference mode: `--fasta` or `--genome`\n\nOptional:\n- profile, resources, scheduler account\u002Fqueue\n- pipeline version (`-r`)\n- params file, resume\u002Freport\u002Fdag flags\n- `--dry-run` and\u002For `--run`\n\n## Workflow\n\n1. Validate identity and input constraints.\n2. Validate required local paths (BAM, optional PBI, optional FASTA).\n3. Resolve runtime and dependency checks.\n4. Build samplesheet and generated params YAML.\n5. Generate launch script for selected executor.\n6. If `--dry-run` and not `--run`, stop after artifact generation.\n7. If `--run`, execute locally or submit to scheduler.\n8. Return command\u002Fscript path, validation status, and job ID (if detected).\n\n## Agent Response Contract\n\nEvery response after invocation should include:\n- exact command used or generated script path\n- confirmation that validation checks ran\n- run type (`dry-run` vs `run`)\n- scheduler job ID when available\n- one concrete next step for validation\u002Ftriage\n\n## Quick Start\n\nDry run:\n\n```bash\npython scripts\u002Frun_pacsomatic.py \\\n  --tumor-bam \u002Fpath\u002Fto\u002Ftumor.bam \\\n  --normal-bam \u002Fpath\u002Fto\u002Fnormal.bam \\\n  --patient-id P001 \\\n  --tumor-sample-id P001_T \\\n  --normal-sample-id P001_N \\\n  --outdir \u002Fpath\u002Fto\u002Foutput \\\n  --genome GRCh38 \\\n  --profile singularity,sanger \\\n  --dry-run\n```\n\nScheduler execution example (Slurm):\n\n```bash\npython scripts\u002Frun_pacsomatic.py \\\n  --tumor-bam \u002Fpath\u002Fto\u002Ftumor.bam \\\n  --normal-bam \u002Fpath\u002Fto\u002Fnormal.bam \\\n  --patient-id P001 \\\n  --tumor-sample-id P001_T \\\n  --normal-sample-id P001_N \\\n  --outdir \u002Fpath\u002Fto\u002Foutput \\\n  --genome GRCh38 \\\n  --profile singularity,sanger \\\n  --executor slurm \\\n  --queue compute \\\n  --project my_account \\\n  --cpus 16 \\\n  --memory-gb 64 \\\n  --walltime 48:00 \\\n  --run\n```\n\n## Configuration\n\nUse `config.yaml` as the baseline for profile\u002Fexecutor\u002Fruntime defaults. Override at invocation time when user requirements differ.\n\n## Testing\n\nRun unit tests from skill root:\n\n```bash\npython -m unittest discover -s tests\u002Fpacsomatic -v\n```\n\n## References\n\n- `references\u002Fagent-playbook.md`\n- `references\u002Fconfig-and-output.md`\n- `references\u002Fpacsomatic_guide.md`\n- `scripts\u002Frun_pacsomatic.py`\n","# pacsomatic\n\n## Overview\n\nThis skill provides a reproducible execution workflow for nf-core\u002Fpacsomatic, centered on a single helper entrypoint that handles validation, artifact generation, and optional execution.\n\nPrimary entrypoint:\n- `scripts\u002Frun_pacsomatic.py`\n\nThe helper script:\n- validates required identifiers, files, reference mode, and runtime prerequisites\n- writes a pacsomatic-compatible samplesheet (`patient,sample,status,bam,pbi`)\n- generates a params YAML and launch script for reproducible reruns\n- supports dry-run validation and run\u002Fsubmit execution paths\n\nUse this skill as the default path for pacsomatic operations. Do not bypass it with manually assembled `nextflow run nf-core\u002Fpacsomatic` commands unless the user explicitly asks for manual command construction.\n\n## When to Use This Skill\n\nInvoke this skill when the user asks to:\n- run matched tumor-normal analysis from BAM files\n- generate or fix pacsomatic samplesheet and launch artifacts\n- execute locally or submit to schedulers (LSF\u002FSlurm\u002FPBS\u002FSGE)\n- perform dry-run validation before execution\n- troubleshoot launch failures or summarize run outputs\n\nDo not use this skill for:\n- deep biological interpretation beyond run-level sanity checks\n- editing pipeline internals unless explicitly requested\n\nTypical trigger phrases:\n- \"run nf-core\u002Fpacsomatic for this tumor-normal pair\"\n- \"prepare pacsomatic samplesheet and launch script\"\n- \"do a dry run first and tell me what is missing\"\n- \"submit pacsomatic to slurm\u002Flsf and return the job id\"\n- \"why did pacsomatic submission fail\"\n\n## Routing and Execution Rules\n\n1. Always collect required run inputs first.\n2. Always route through `scripts\u002Frun_pacsomatic.py` for validation and artifact generation.\n3. Default to `--dry-run` when the user asks for checks\u002Fvalidation only.\n4. Use `--run` only when the user asks to execute\u002Fsubmit.\n5. For scheduler modes, include executor-specific resource arguments and return detected job ID when available.\n6. If execution fails, report first failure point and next triage target (`.nextflow.log`, `pipeline_info`, failing task logs).\n\n## Inputs Required\n\nRequired:\n- tumor BAM path\n- normal BAM path\n- patient ID\n- tumor sample ID\n- normal sample ID\n- output directory\n- exactly one reference mode: `--fasta` or `--genome`\n\nOptional:\n- profile, resources, scheduler account\u002Fqueue\n- pipeline version (`-r`)\n- params file, resume\u002Freport\u002Fdag flags\n- `--dry-run` and\u002For `--run`\n\n## Workflow\n\n1. Validate identity and input constraints.\n2. Validate required local paths (BAM, optional PBI, optional FASTA).\n3. Resolve runtime and dependency checks.\n4. Build samplesheet and generated params YAML.\n5. Generate launch script for selected executor.\n6. If `--dry-run` and not `--run`, stop after artifact generation.\n7. If `--run`, execute locally or submit to scheduler.\n8. Return command\u002Fscript path, validation status, and job ID (if detected).\n\n## Agent Response Contract\n\nEvery response after invocation should include:\n- exact command used or generated script path\n- confirmation that validation checks ran\n- run type (`dry-run` vs `run`)\n- scheduler job ID when available\n- one concrete next step for validation\u002Ftriage\n\n## Quick Start\n\nDry run:\n\n```bash\npython scripts\u002Frun_pacsomatic.py \\\n  --tumor-bam \u002Fpath\u002Fto\u002Ftumor.bam \\\n  --normal-bam \u002Fpath\u002Fto\u002Fnormal.bam \\\n  --patient-id P001 \\\n  --tumor-sample-id P001_T \\\n  --normal-sample-id P001_N \\\n  --outdir \u002Fpath\u002Fto\u002Foutput \\\n  --genome GRCh38 \\\n  --profile singularity,sanger \\\n  --dry-run\n```\n\nScheduler execution example (Slurm):\n\n```bash\npython scripts\u002Frun_pacsomatic.py \\\n  --tumor-bam \u002Fpath\u002Fto\u002Ftumor.bam \\\n  --normal-bam \u002Fpath\u002Fto\u002Fnormal.bam \\\n  --patient-id P001 \\\n  --tumor-sample-id P001_T \\\n  --normal-sample-id P001_N \\\n  --outdir \u002Fpath\u002Fto\u002Foutput \\\n  --genome GRCh38 \\\n  --profile singularity,sanger \\\n  --executor slurm \\\n  --queue compute \\\n  --project my_account \\\n  --cpus 16 \\\n  --memory-gb 64 \\\n  --walltime 48:00 \\\n  --run\n```\n\n## Configuration\n\nUse `config.yaml` as the baseline for profile\u002Fexecutor\u002Fruntime defaults. Override at invocation time when user requirements differ.\n\n## Testing\n\nRun unit tests from skill root:\n\n```bash\npython -m unittest discover -s tests\u002Fpacsomatic -v\n```\n\n## References\n\n- `references\u002Fagent-playbook.md`\n- `references\u002Fconfig-and-output.md`\n- `references\u002Fpacsomatic_guide.md`\n- `scripts\u002Frun_pacsomatic.py`\n",{"name":5,"license":15,"metadata":24,"description":7},{"version":25,"contributors":26,"skill-author":27,"upstream-pipeline":28},"1.2","Haidong, Wenchao","Beifang Niu","https:\u002F\u002Fgithub.com\u002Fnf-core\u002Fpacsomatic","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fpacsomatic",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill pacsomatic",{"tool":43,"command":44},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill pacsomatic",{"tool":46,"command":47},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill pacsomatic","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fpacsomatic\u002FSKILL.md",true,[51,57,61,65],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"config.yaml","REFERENCE","参考文档",1058,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fpacsomatic\u002Fconfig.yaml",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fagent-playbook.md",2052,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fpacsomatic\u002Freferences\u002Fagent-playbook.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fconfig-and-output.md",2156,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fpacsomatic\u002Freferences\u002Fconfig-and-output.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fpacsomatic_guide.md",7363,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fpacsomatic\u002Freferences\u002Fpacsomatic_guide.md",[70,77,82,89,96,103],{"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},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":78,"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":79,"categories":80,"keywords":81,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]