[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75N482R2175H0YZXG2DXQ2V":3,"skill-same:01M75N482R2175H0YZXG2DXQ2V":168},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":13,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M75N482R2175H0YZXG2DXQ2V","Pydicom (DICOM medical imaging)",null,"rhCat\u002FskillChip","rhCat","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90529833?v=4","01M75MPVRCVW3V3RQ924XGPE0G","Rui He","01M75MPVSDT47E5PYXE0XFKFZB",0,"MIT","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nskill: pydicom\nname: Pydicom (DICOM medical imaging)\nperks: [extract_metadata, convert_image, anonymize]\n---\n\n# pydicom — Pydicom (DICOM medical imaging)\n\nExtract DICOM metadata, convert DICOM pixel data to a standard image, or anonymize a DICOM file by stripping PHI — each a read-only \u002F local file producer.\n\n## What to look out for\nEach tool emits one line of structured JSON (the audit + debug log) and writes its\nartifacts under `record_store`. LOGS TO CHECK: that line + the named output file + the executor run-ledger.\nAll three porters degrade gracefully when `pydicom` (or `numpy`\u002F`Pillow` for image conversion) is not importable — they leave a placeholder so the contract's `output_exists` still holds.\n\n## Perks\n| perk | tool | nature |\n|---|---|---|\n| `extract_metadata` | `extract_metadata` | read-only \u002F safe — reads a `.dcm` and writes its metadata as `text` or `json` |\n| `convert_image` | `dicom_to_image` | read-only \u002F safe — converts a `.dcm`'s pixel data to PNG\u002FJPEG\u002FTIFF\u002FBMP |\n| `anonymize` | `anonymize_dicom` | read-only on input — writes a NEW de-identified `.dcm` (removes\u002Freplaces PHI tags) |\n\nThe `extract_metadata` perk runs the vendored `extract_metadata.py` core over `DICOM_IN`, writing `metadata.txt` (or `metadata.json` when `META_FORMAT=json`) under `record_store`. The `convert_image` perk runs the vendored `dicom_to_image.py` core, normalising pixel data and writing the requested image format under `record_store`. The `anonymize` perk runs the vendored `anonymize_dicom.py` core, reading `DICOM_IN` and writing a fresh anonymized `anonymized.dcm` under `record_store` — it never mutates the input or any remote service, so all three are declared `destructive: false`.\n\n## How to use it\nPick a perk (`extract_metadata`, `convert_image`, or `anonymize`), copy `ledger.json` → `task-ledger.json`, fill its vars + `record_store`,\nthen validate → compose → compile → oversight → executor.\n\n> Localized from [K-Dense-AI\u002Fscientific-agent-skills](https:\u002F\u002Fgithub.com\u002FK-Dense-AI\u002Fscientific-agent-skills) `pydicom` — MIT (see LICENSE.txt).\n","# pydicom — Pydicom (DICOM medical imaging)\n\nExtract DICOM metadata, convert DICOM pixel data to a standard image, or anonymize a DICOM file by stripping PHI — each a read-only \u002F local file producer.\n\n## What to look out for\nEach tool emits one line of structured JSON (the audit + debug log) and writes its\nartifacts under `record_store`. LOGS TO CHECK: that line + the named output file + the executor run-ledger.\nAll three porters degrade gracefully when `pydicom` (or `numpy`\u002F`Pillow` for image conversion) is not importable — they leave a placeholder so the contract's `output_exists` still holds.\n\n## Perks\n| perk | tool | nature |\n|---|---|---|\n| `extract_metadata` | `extract_metadata` | read-only \u002F safe — reads a `.dcm` and writes its metadata as `text` or `json` |\n| `convert_image` | `dicom_to_image` | read-only \u002F safe — converts a `.dcm`'s pixel data to PNG\u002FJPEG\u002FTIFF\u002FBMP |\n| `anonymize` | `anonymize_dicom` | read-only on input — writes a NEW de-identified `.dcm` (removes\u002Freplaces PHI tags) |\n\nThe `extract_metadata` perk runs the vendored `extract_metadata.py` core over `DICOM_IN`, writing `metadata.txt` (or `metadata.json` when `META_FORMAT=json`) under `record_store`. The `convert_image` perk runs the vendored `dicom_to_image.py` core, normalising pixel data and writing the requested image format under `record_store`. The `anonymize` perk runs the vendored `anonymize_dicom.py` core, reading `DICOM_IN` and writing a fresh anonymized `anonymized.dcm` under `record_store` — it never mutates the input or any remote service, so all three are declared `destructive: false`.\n\n## How to use it\nPick a perk (`extract_metadata`, `convert_image`, or `anonymize`), copy `ledger.json` → `task-ledger.json`, fill its vars + `record_store`,\nthen validate → compose → compile → oversight → executor.\n\n> Localized from [K-Dense-AI\u002Fscientific-agent-skills](https:\u002F\u002Fgithub.com\u002FK-Dense-AI\u002Fscientific-agent-skills) `pydicom` — MIT (see LICENSE.txt).\n",{"name":5,"perks":24,"skill":28},[25,26,27],"extract_metadata","convert_image","anonymize","pydicom","main","809229203e31273bda79d47a69dfeecc282f0c9f","kdense\u002Fpydicom","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip","https:\u002F\u002Fgithub.com\u002FrhCat","2026-07-31 22:22:14",{"source":7,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add rhCat\u002FskillChip --skill \"Pydicom (DICOM medical imaging)\"",{"tool":41,"command":42},"bunx","bunx skills add rhCat\u002FskillChip --skill \"Pydicom (DICOM medical imaging)\"",{"tool":44,"command":45},"pnpm","pnpm dlx skills add rhCat\u002FskillChip --skill \"Pydicom (DICOM medical imaging)\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002FSKILL.md",true,[49,55,61,67,71,75,80,84,88,92,98,102,106,110,114,118,122,126,130,134,138,141,145,149,153,157,161,165],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"blueprint.drawio","OTHER","其他",2760,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fblueprint.drawio",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"blueprint.json","REFERENCE","参考文档",3601,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fblueprint.json",{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"blueprint.svg","ASSET","资产文件",9077,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fblueprint.svg",{"path":68,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":69,"sourceHtmlUrl":70},"index.json",3147,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Findex.json",{"path":72,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":73,"sourceHtmlUrl":74},"ledger.json",307,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fledger.json",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":15},"LICENSE.txt","LICENSE","许可证",1068,{"path":81,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":82,"sourceHtmlUrl":83},"perks.json",693,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks.json",{"path":85,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":86,"sourceHtmlUrl":87},"perks\u002Fanonymize\u002Fmanifesto.json",482,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fanonymize\u002Fmanifesto.json",{"path":89,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":90,"sourceHtmlUrl":91},"perks\u002Fanonymize\u002Fmetadata.json",1231,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fanonymize\u002Fmetadata.json",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"perks\u002Fanonymize\u002Fsrc\u002Fanonymize_dicom.py","SCRIPT","脚本",5254,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fanonymize\u002Fsrc\u002Fanonymize_dicom.py",{"path":99,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":100,"sourceHtmlUrl":101},"perks\u002Fanonymize\u002Fsrc\u002Fanonymize_dicom.sh",1110,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fanonymize\u002Fsrc\u002Fanonymize_dicom.sh",{"path":103,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":104,"sourceHtmlUrl":105},"perks\u002Fanonymize\u002Fsrc\u002Fcontracts.json",489,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fanonymize\u002Fsrc\u002Fcontracts.json",{"path":107,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":108,"sourceHtmlUrl":109},"perks\u002Fanonymize\u002Ftest\u002Fcase.json",285,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fanonymize\u002Ftest\u002Fcase.json",{"path":111,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":112,"sourceHtmlUrl":113},"perks\u002Fanonymize\u002Ftest\u002Ffixture\u002Fsample.dcm",866,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fanonymize\u002Ftest\u002Ffixture\u002Fsample.dcm",{"path":115,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":116,"sourceHtmlUrl":117},"perks\u002Fconvert_image\u002Fmanifesto.json",612,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fconvert_image\u002Fmanifesto.json",{"path":119,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":120,"sourceHtmlUrl":121},"perks\u002Fconvert_image\u002Fmetadata.json",1257,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fconvert_image\u002Fmetadata.json",{"path":123,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":124,"sourceHtmlUrl":125},"perks\u002Fconvert_image\u002Fsrc\u002Fcontracts.json",618,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fconvert_image\u002Fsrc\u002Fcontracts.json",{"path":127,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":128,"sourceHtmlUrl":129},"perks\u002Fconvert_image\u002Fsrc\u002Fdicom_to_image.py",6101,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fconvert_image\u002Fsrc\u002Fdicom_to_image.py",{"path":131,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":132,"sourceHtmlUrl":133},"perks\u002Fconvert_image\u002Fsrc\u002Fdicom_to_image.sh",1405,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fconvert_image\u002Fsrc\u002Fdicom_to_image.sh",{"path":135,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":136,"sourceHtmlUrl":137},"perks\u002Fconvert_image\u002Ftest\u002Fcase.json",255,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fconvert_image\u002Ftest\u002Fcase.json",{"path":139,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":112,"sourceHtmlUrl":140},"perks\u002Fconvert_image\u002Ftest\u002Ffixture\u002Fsample.dcm","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fconvert_image\u002Ftest\u002Ffixture\u002Fsample.dcm",{"path":142,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":143,"sourceHtmlUrl":144},"perks\u002Fextract_metadata\u002Fmanifesto.json",413,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fextract_metadata\u002Fmanifesto.json",{"path":146,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":147,"sourceHtmlUrl":148},"perks\u002Fextract_metadata\u002Fmetadata.json",872,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fextract_metadata\u002Fmetadata.json",{"path":150,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":151,"sourceHtmlUrl":152},"perks\u002Fextract_metadata\u002Fsrc\u002Fcontracts.json",408,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fextract_metadata\u002Fsrc\u002Fcontracts.json",{"path":154,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":155,"sourceHtmlUrl":156},"perks\u002Fextract_metadata\u002Fsrc\u002Fextract_metadata.py",5686,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fextract_metadata\u002Fsrc\u002Fextract_metadata.py",{"path":158,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":159,"sourceHtmlUrl":160},"perks\u002Fextract_metadata\u002Fsrc\u002Fextract_metadata.sh",1115,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fextract_metadata\u002Fsrc\u002Fextract_metadata.sh",{"path":162,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":163,"sourceHtmlUrl":164},"perks\u002Fextract_metadata\u002Ftest\u002Fcase.json",329,"https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fextract_metadata\u002Ftest\u002Fcase.json",{"path":166,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":112,"sourceHtmlUrl":167},"perks\u002Fextract_metadata\u002Ftest\u002Ffixture\u002Fsample.dcm","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fkdense\u002Fpydicom\u002Fperks\u002Fextract_metadata\u002Ftest\u002Ffixture\u002Fsample.dcm",[169,176,184,191,198,205],{"skillNo":170,"name":171,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":172,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":19},"01M75NB3PP9QA1W8ZH5KVTYQ0R","Vercel Deploy","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Fvercel-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Fvercel-deploy\u002FSKILL.md",[],[],{"skillNo":177,"name":178,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":179,"licenseFileUrl":180,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":19},"01M75NB0QM8KXFMBXMHN4HBZ3B","Audio Transcribe","Apache-2.0","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Ftranscribe\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Ftranscribe\u002FSKILL.md",[],[],{"skillNo":185,"name":186,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":179,"licenseFileUrl":187,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":19},"01M75NAYCCD9WRAR5JD1N24SJ7","Speech (OpenAI TTS)","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Fspeech\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Fspeech\u002FSKILL.md",[],[],{"skillNo":192,"name":193,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":179,"licenseFileUrl":194,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":19},"01M75NAVF19Y41CVD5RH954TEV","Skill Installer","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Fskill-installer\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Fskill-installer\u002FSKILL.md",[],[],{"skillNo":199,"name":200,"nameZh":6,"description":201,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":202,"categories":203,"keywords":204,"publishedAt":19},"01M75NASCZHSQNNHKKE8BM2TPS","demo-skill","A demo skill used as a test fixture for the validate perk. Use when checking that quick_validate.py accepts a well-formed SKILL.md.","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Fskill-creator\u002Fperks\u002Fvalidate\u002Ftest\u002Ffixture\u002FSKILL.md",[],[],{"skillNo":206,"name":200,"nameZh":6,"description":207,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":19},"01M75NAQZDP9C034Q3X81YHJ8Z","A demo skill used as a test fixture for generating agents\u002Fopenai.yaml. Use when validating the gen_openai_yaml perk.","https:\u002F\u002Fgithub.com\u002FrhCat\u002FskillChip\u002Fblob\u002Fmain\u002Fopenai\u002Fskill-creator\u002Fperks\u002Fgen_openai_yaml\u002Ftest\u002Ffixture\u002FSKILL.md",[],[]]