[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AC9SN35Q5HV3VR5YBHP48Y":3,"skill-same:01M7AC9SN35Q5HV3VR5YBHP48Y":60},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7AC9SN35Q5HV3VR5YBHP48Y","attach-image",null,"Load an on-disk image (PNG, JPEG, GIF, WebP) into the model's context as a viewable attachment so the model can directly SEE it — for screenshots, diagrams, charts, photos, or scanned pages. Use this when you need to perceive an image's visual contents. Requires a vision-capable model; errors clearly otherwise.","Nom-nom-hub\u002FCapricorn-Agent","Nom-nom-hub","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F197694772?v=4","01M7AC9647NEKHD79PP5NSYA6S","Teck","01M7AC964TP4GZJZVH6QT30XW3",0,"MIT","https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fattach-image\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: attach-image\ndescription: Load an on-disk image (PNG, JPEG, GIF, WebP) into the model's context as a viewable attachment so the model can directly SEE it — for screenshots, diagrams, charts, photos, or scanned pages. Use this when you need to perceive an image's visual contents. Requires a vision-capable model; errors clearly otherwise.\n---\n\n# Attach Image\n\nLoad on-disk images into the model's context as multimodal attachments. The\nimage is sent to the model the same way a pasted image is, so the model can\nactually look at it.\n\n## When to use this\n\n- The user points at an image file and wants you to look at it.\n- You need to read text, a chart, a diagram, or a layout from an image.\n- A screenshot needs visual interpretation.\n\n## When NOT to use this\n\nFor *programmatic* work on an image — measuring pixels, cropping, resizing,\ncomputing a hash, comparing files byte-by-byte — open it in the kernel with a\nlibrary instead:\n\n```python\nfrom PIL import Image\nimg = Image.open(\"diagram.png\")\nprint(img.size)\n```\n\nThat path does not put the image in the model's context; it only lets you\ncompute over it. Use `attach_image` when you need to *see* the image.\n\n## Usage\n\nCall the prepared `attach_image` import directly in the IPython kernel:\n\n```python\nprint(await attach_image(\"diagram.png\"))\nprint(await attach_image(\"a.png\", \"b.jpg\"))\n```\n\nThe skill automatically resizes and compresses large images before loading them\ninto context. Animated images that need compression are flattened to their first\nframe. Transparent images that need compression are composited onto a neutral\ngray background. Extremely large images are rejected by pixel count before full\nprocessing. The original file is left untouched.\n\nSupported formats: PNG, JPEG, GIF, WebP. The skill errors if a file is not a\nsupported image, or if the current model is not vision-capable.\n","# Attach Image\n\nLoad on-disk images into the model's context as multimodal attachments. The\nimage is sent to the model the same way a pasted image is, so the model can\nactually look at it.\n\n## When to use this\n\n- The user points at an image file and wants you to look at it.\n- You need to read text, a chart, a diagram, or a layout from an image.\n- A screenshot needs visual interpretation.\n\n## When NOT to use this\n\nFor *programmatic* work on an image — measuring pixels, cropping, resizing,\ncomputing a hash, comparing files byte-by-byte — open it in the kernel with a\nlibrary instead:\n\n```python\nfrom PIL import Image\nimg = Image.open(\"diagram.png\")\nprint(img.size)\n```\n\nThat path does not put the image in the model's context; it only lets you\ncompute over it. Use `attach_image` when you need to *see* the image.\n\n## Usage\n\nCall the prepared `attach_image` import directly in the IPython kernel:\n\n```python\nprint(await attach_image(\"diagram.png\"))\nprint(await attach_image(\"a.png\", \"b.jpg\"))\n```\n\nThe skill automatically resizes and compresses large images before loading them\ninto context. Animated images that need compression are flattened to their first\nframe. Transparent images that need compression are composited onto a neutral\ngray background. Extremely large images are rejected by pixel count before full\nprocessing. The original file is left untouched.\n\nSupported formats: PNG, JPEG, GIF, WebP. The skill errors if a file is not a\nsupported image, or if the current model is not vision-capable.\n",{"name":5,"description":7},"main","75c14756a51f122e141e05209b7eed8a8a838bd7","packages\u002Fcoding-agent\u002Fskills\u002Fattach-image","https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent","https:\u002F\u002Fgithub.com\u002FNom-nom-hub","2026-10-14 09:57:11",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Nom-nom-hub\u002FCapricorn-Agent --skill attach-image",{"tool":36,"command":37},"bunx","bunx skills add Nom-nom-hub\u002FCapricorn-Agent --skill attach-image",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Nom-nom-hub\u002FCapricorn-Agent --skill attach-image","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fattach-image\u002FSKILL.md",true,[44,50,56],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"pyproject.toml","OTHER","其他",429,"https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fattach-image\u002Fpyproject.toml",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"src\u002Fattach_image\u002F__init__.py","SCRIPT","脚本",126,"https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fattach-image\u002Fsrc\u002Fattach_image\u002F__init__.py",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"src\u002Fattach_image\u002Fattach_image.py",9686,"https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fattach-image\u002Fsrc\u002Fattach_image\u002Fattach_image.py",[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7ACC4NC86B79C1BFDQD44VE","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7ACC267AVAP9WT6PV3F3KT4","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"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},"01M7ACC04BTJVDXMK8NS999A7B","nested-child","Nested skill should be ignored.","https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002Fnested-child\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},"01M7ACBXS1X29GEPQJSA8EHVFS","root-skill-preferred","Root skill should win.","https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\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},"01M7ACBWRXSHSZAGJQ2Q3VK1JQ","python-skill","A Python-backed skill for testing.","https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fpython-skill\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},"01M7ACBTAR5Q28J7EVTKVN45CH","python-package-missing","A Python skill missing its import package.","https:\u002F\u002Fgithub.com\u002FNom-nom-hub\u002FCapricorn-Agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fpython-package-missing\u002FSKILL.md",[],[]]