[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F136THPES8BNJ4YGQ05WSN":3,"skill-same:01M7F136THPES8BNJ4YGQ05WSN":47},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7F136THPES8BNJ4YGQ05WSN","read-metadata",null,"Use when the user wants to inspect EXIF, IPTC, XMP, or GPS metadata on images without modifying anything — read out as structured JSON or a human-readable summary. Read-only counterpart to `scrub-metadata` (removes) and `set-metadata` (writes). Triggers - \"what camera took this photo\", \"does this image have GPS in it\", \"show me the EXIF for this folder\".","shotcowboystyle\u002Fag-skills","shotcowboystyle","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F62471?v=4","01M7EZTCFCZJ6K3MYW8BPM4X6R","Curtis Blanton","01M7EZTCG1S5M04J90A931X9BX",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fimage-ops\u002Fskills\u002Fread-metadata\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: read-metadata\ndescription: Use when the user wants to inspect EXIF, IPTC, XMP, or GPS metadata on images without modifying anything — read out as structured JSON or a human-readable summary. Read-only counterpart to `scrub-metadata` (removes) and `set-metadata` (writes). Triggers - \"what camera took this photo\", \"does this image have GPS in it\", \"show me the EXIF for this folder\".\nallowed-tools: Bash(exiftool *), Bash(command *), Bash(find *), Bash(jq *), Bash(head *), Bash(wc *), Read, Write\n---\n\n# Read Image Metadata\n\nExtract metadata from image files using `exiftool` and output as structured JSON. Supports single files, batch operations, and filtering by metadata group (EXIF, IPTC, XMP, GPS, etc.).\n\n## When to use\n\n- Inspecting the metadata on a photo before sharing or publishing.\n- Auditing a batch of images to verify copyright, GPS, or camera information.\n- Programmatically querying metadata for file organization or validation.\n\n## Inputs to gather\n\n- **Input file or directory** — single image or folder. Default: current directory.\n- **Recursive?** If directory, ask whether to descend. Default: **no** (flat).\n- **Filter\u002Fgroup** (optional) — ask if they want a specific metadata subset (e.g., EXIF only, GPS only, copyright-related tags). Default: all metadata.\n- **Output format** — JSON (default) or a human-readable summary. Recommend JSON for programmatic use, summary for quick inspection.\n\n## Procedure\n\n### 1. Check tooling\n\n```bash\ncommand -v exiftool >\u002Fdev\u002Fnull || {\n  echo \"exiftool not installed — see the image-ops-install-deps skill\" >&2\n  exit 1\n}\n```\n\n### 2. Determine scope\n\n- **Single file:** direct read.\n- **Directory (non-recursive):** read all image files in the folder.\n- **Recursive:** use `find` to walk the tree.\n\n### 3. Read metadata\n\n**Single file, full metadata as JSON:**\n\n```bash\nexiftool -j \"$file\"\n```\n\n**Single file, summary (human-readable):**\n\n```bash\nexiftool -G1 -a -s \"$file\" | head -50\n```\n\n**Filtered by group (EXIF only):**\n\n```bash\nexiftool -j -a -G1 -EXIF:all \"$file\"\n```\n\n**Common filters:**\n\n- `-EXIF:all` — EXIF metadata only.\n- `-IPTC:all` — IPTC tags (description, keywords, copyright).\n- `-XMP:all` — XMP metadata (structured, often used by Adobe).\n- `-GPS:all` — GPS coordinates (latitude, longitude, altitude).\n\nAlways write the `:all` suffix. A bare `-EXIF` or `-GPS` is read as a request for a single *tag* with that name, not the group. `-EXIF` returns at most the raw binary EXIF block, and `-GPS` matches no tag at all, so a photo with full GPS coordinates looks clean. Pair a group filter with `-a`, too. Without it, exiftool hides duplicate tag names, and `GPS:GPSLatitude` is dropped in favour of the `Composite` tag of the same name. The group filter then leaves only the `Ref` tags.\n\n`MakerNote` is a single raw EXIF tag holding an undecoded binary blob, not a group you can filter on like the four above. exiftool decodes maker notes into manufacturer-named groups (`Canon`, `Nikon`, `Sony`, …) — filter on those, or just run unfiltered and read what appears.\n\n**Batch (directory or recursive):**\n\n`exiftool` already walks directories and emits one valid JSON array for the whole set. Use that rather than `find -exec`, which invokes exiftool once per file and concatenates N separate `[...]` arrays into a file that is not valid JSON:\n\n```bash\nexiftool -j -r \\\n  -ext jpg -ext jpeg -ext png -ext heic -ext webp -ext tif -ext tiff \\\n  \"$target\" > metadata.json\n```\n\nDrop `-r` for the non-recursive case. If a `find`-driven list is genuinely needed (e.g. a filtered subset), pipe it through `jq -s 'add'` to flatten the per-file arrays into one before writing.\n\n### 4. Summarize or display\n\n**For JSON output:**\n\nIf the user wants a summary, parse the JSON:\n\n```bash\nexiftool -j \"$file\" | jq '.[] | {File, Make, Model, DateTime, GPSLatitude, GPSLongitude, Copyright}'\n```\n\n**For a batch report:**\n\n```bash\nexiftool -j -a -s \"$target\" | jq '.[] | {FileName, Make, Model, LensModel, FocalLength, ISO, ExposureTime, FNumber}'\n```\n\nPass the directory itself, not a quoted glob. `\"$target\u002F*\"` is quoted, so the shell never expands it and exiftool receives the literal string `dir\u002F*` as a filename that does not exist.\n\n### 5. Report\n\nPrint the metadata (JSON or summary, per user preference). If batch:\n\n- Count of files read.\n- Any files with missing metadata.\n- Common metadata patterns (e.g., \"15 images from Canon EOS 5D Mark III\", \"8 images missing GPS\").\n\n## Output \u002F side effects\n\n- Metadata displayed on stdout (or saved to a JSON file if requested).\n- No files modified.\n\n## Notes\n\n- **Metadata standards overlap:** EXIF, IPTC, and XMP sometimes describe the same field (e.g., copyright, description, keywords). `exiftool -j` merges these intelligently; check the JSON keys to see what's present.\n- **Camera-specific tags:** Each manufacturer embeds maker-specific metadata. exiftool decodes it into a manufacturer-named group — filter with `-Canon:all`, `-Nikon:all`, `-Sony:all`, or run unfiltered with `-G1` to see which groups a given file actually carries.\n- **GPS privacy:** Check `exiftool -a -G1 -GPS:all \"$file\"` before sharing a photo. Many smartphone cameras and some cameras embed GPS by default.\n- **Phone metadata:** iPhones embed extensive metadata in EXIF and XMP, including model, iOS version, and processing applied.\n- **PNG text chunks:** PNG metadata lives in text chunks (`tEXt`, `iTXt`) rather than EXIF. `exiftool` reads them as XMP or PNG metadata.\n- **Batch JSON:** prefer letting exiftool walk the directory (`-j -r \u003Cdir>`) — it emits one valid array. Only reach for `jq -s 'add'` when you had to drive it from an external file list and ended up with several concatenated arrays.\n- Depends on `exiftool` (`apt install libimage-exiftool-perl` on Debian\u002FUbuntu, `brew install exiftool` on macOS). Use `image-ops-install-deps` rather than installing by hand.\n","# Read Image Metadata\n\nExtract metadata from image files using `exiftool` and output as structured JSON. Supports single files, batch operations, and filtering by metadata group (EXIF, IPTC, XMP, GPS, etc.).\n\n## When to use\n\n- Inspecting the metadata on a photo before sharing or publishing.\n- Auditing a batch of images to verify copyright, GPS, or camera information.\n- Programmatically querying metadata for file organization or validation.\n\n## Inputs to gather\n\n- **Input file or directory** — single image or folder. Default: current directory.\n- **Recursive?** If directory, ask whether to descend. Default: **no** (flat).\n- **Filter\u002Fgroup** (optional) — ask if they want a specific metadata subset (e.g., EXIF only, GPS only, copyright-related tags). Default: all metadata.\n- **Output format** — JSON (default) or a human-readable summary. Recommend JSON for programmatic use, summary for quick inspection.\n\n## Procedure\n\n### 1. Check tooling\n\n```bash\ncommand -v exiftool >\u002Fdev\u002Fnull || {\n  echo \"exiftool not installed — see the image-ops-install-deps skill\" >&2\n  exit 1\n}\n```\n\n### 2. Determine scope\n\n- **Single file:** direct read.\n- **Directory (non-recursive):** read all image files in the folder.\n- **Recursive:** use `find` to walk the tree.\n\n### 3. Read metadata\n\n**Single file, full metadata as JSON:**\n\n```bash\nexiftool -j \"$file\"\n```\n\n**Single file, summary (human-readable):**\n\n```bash\nexiftool -G1 -a -s \"$file\" | head -50\n```\n\n**Filtered by group (EXIF only):**\n\n```bash\nexiftool -j -a -G1 -EXIF:all \"$file\"\n```\n\n**Common filters:**\n\n- `-EXIF:all` — EXIF metadata only.\n- `-IPTC:all` — IPTC tags (description, keywords, copyright).\n- `-XMP:all` — XMP metadata (structured, often used by Adobe).\n- `-GPS:all` — GPS coordinates (latitude, longitude, altitude).\n\nAlways write the `:all` suffix. A bare `-EXIF` or `-GPS` is read as a request for a single *tag* with that name, not the group. `-EXIF` returns at most the raw binary EXIF block, and `-GPS` matches no tag at all, so a photo with full GPS coordinates looks clean. Pair a group filter with `-a`, too. Without it, exiftool hides duplicate tag names, and `GPS:GPSLatitude` is dropped in favour of the `Composite` tag of the same name. The group filter then leaves only the `Ref` tags.\n\n`MakerNote` is a single raw EXIF tag holding an undecoded binary blob, not a group you can filter on like the four above. exiftool decodes maker notes into manufacturer-named groups (`Canon`, `Nikon`, `Sony`, …) — filter on those, or just run unfiltered and read what appears.\n\n**Batch (directory or recursive):**\n\n`exiftool` already walks directories and emits one valid JSON array for the whole set. Use that rather than `find -exec`, which invokes exiftool once per file and concatenates N separate `[...]` arrays into a file that is not valid JSON:\n\n```bash\nexiftool -j -r \\\n  -ext jpg -ext jpeg -ext png -ext heic -ext webp -ext tif -ext tiff \\\n  \"$target\" > metadata.json\n```\n\nDrop `-r` for the non-recursive case. If a `find`-driven list is genuinely needed (e.g. a filtered subset), pipe it through `jq -s 'add'` to flatten the per-file arrays into one before writing.\n\n### 4. Summarize or display\n\n**For JSON output:**\n\nIf the user wants a summary, parse the JSON:\n\n```bash\nexiftool -j \"$file\" | jq '.[] | {File, Make, Model, DateTime, GPSLatitude, GPSLongitude, Copyright}'\n```\n\n**For a batch report:**\n\n```bash\nexiftool -j -a -s \"$target\" | jq '.[] | {FileName, Make, Model, LensModel, FocalLength, ISO, ExposureTime, FNumber}'\n```\n\nPass the directory itself, not a quoted glob. `\"$target\u002F*\"` is quoted, so the shell never expands it and exiftool receives the literal string `dir\u002F*` as a filename that does not exist.\n\n### 5. Report\n\nPrint the metadata (JSON or summary, per user preference). If batch:\n\n- Count of files read.\n- Any files with missing metadata.\n- Common metadata patterns (e.g., \"15 images from Canon EOS 5D Mark III\", \"8 images missing GPS\").\n\n## Output \u002F side effects\n\n- Metadata displayed on stdout (or saved to a JSON file if requested).\n- No files modified.\n\n## Notes\n\n- **Metadata standards overlap:** EXIF, IPTC, and XMP sometimes describe the same field (e.g., copyright, description, keywords). `exiftool -j` merges these intelligently; check the JSON keys to see what's present.\n- **Camera-specific tags:** Each manufacturer embeds maker-specific metadata. exiftool decodes it into a manufacturer-named group — filter with `-Canon:all`, `-Nikon:all`, `-Sony:all`, or run unfiltered with `-G1` to see which groups a given file actually carries.\n- **GPS privacy:** Check `exiftool -a -G1 -GPS:all \"$file\"` before sharing a photo. Many smartphone cameras and some cameras embed GPS by default.\n- **Phone metadata:** iPhones embed extensive metadata in EXIF and XMP, including model, iOS version, and processing applied.\n- **PNG text chunks:** PNG metadata lives in text chunks (`tEXt`, `iTXt`) rather than EXIF. `exiftool` reads them as XMP or PNG metadata.\n- **Batch JSON:** prefer letting exiftool walk the directory (`-j -r \u003Cdir>`) — it emits one valid array. Only reach for `jq -s 'add'` when you had to drive it from an external file list and ended up with several concatenated arrays.\n- Depends on `exiftool` (`apt install libimage-exiftool-perl` on Debian\u002FUbuntu, `brew install exiftool` on macOS). Use `image-ops-install-deps` rather than installing by hand.\n",{"name":5,"description":7,"allowed-tools":24},"Bash(exiftool *), Bash(command *), Bash(find *), Bash(jq *), Bash(head *), Bash(wc *), Read, Write","main","f846d9a97082ff30d613b55a085cef425d822473","plugins\u002Fimage-ops\u002Fskills\u002Fread-metadata","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle","https:\u002F\u002Fshotcowboystyle.github.io","Building smarter with AI, automation & modern tools. Exploring how far one person can go without a big team using today’s AI.","2026-11-10 04:58:27",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add shotcowboystyle\u002Fag-skills --skill read-metadata",{"tool":39,"command":40},"bunx","bunx skills add shotcowboystyle\u002Fag-skills --skill read-metadata",{"tool":42,"command":43},"pnpm","pnpm dlx skills add shotcowboystyle\u002Fag-skills --skill read-metadata","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fimage-ops\u002Fskills\u002Fread-metadata\u002FSKILL.md",true,[],[48,54,61,68,75,82],{"skillNo":49,"name":50,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7F1YRY5S5QRJ1V0BJS130QX","no-description","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fno-description\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7F1Y9BV2FJNQJ3NB32JS5CM","good-skill","Fixture skill that satisfies every rule.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgood-skill\u002FSKILL.md",[],[],{"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},"01M7F1XXBQ3NQRXZSS0KAGAR9V","broken-link","Links to a reference file that does not exist.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fbroken-link\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},"01M7F1XBX4R46NR9W0HXQ7XCDX","Bad_Name","Name violates the kebab-case rule and does not match the directory.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fbad-name\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},"01M7F1WNAF8WNEQ7S5HKT5VK0D","skill-authoring","Write, review, and validate portable agent skills in SKILL.md format. Use when creating a new skill, editing an existing one, or asked whether a skill follows the Agent Skills spec.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-authoring\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},"01M7F1W30TC0XFNSF7YBRGETK2","weigh-bags","Record scale readings for each bag — empty (tare), outbound, current, final — and reconcile them against the itemised inventory to find unaccounted weight. Use when the user gives a bag weight, says how heavy something is, weighs their luggage, or asks how close to the limit they are. Appends to bags.yaml and runs scripts\u002Freconcile.py.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-packing-assistant\u002Fskills\u002Fweigh-bags\u002FSKILL.md",[],[]]