[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F155V495FW7KE5X17R7SWB":3,"skill-same:01M7F155V495FW7KE5X17R7SWB":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},"01M7F155V495FW7KE5X17R7SWB","workspace-setup",null,"Register or create the user's image operations workspace — a folder on disk where they keep image projects. Use when running for the first time, or when the user says \"set up my image workspace\", \"register my image workspace\", \"change my image workspace path\", or similar. Persists the path so other skills (open-workspace, new-project) can reference it.","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\u002Fworkspace-setup\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: workspace-setup\ndescription: Register or create the user's image operations workspace — a folder on disk where they keep image projects. Use when running for the first time, or when the user says \"set up my image workspace\", \"register my image workspace\", \"change my image workspace path\", or similar. Persists the path so other skills (open-workspace, new-project) can reference it.\nallowed-tools: Bash(mkdir *), Bash(test *), Bash(echo *), Bash(realpath *), Bash(date *), Bash(git init:*), Read, Write\n---\n\n# Image Workspace Setup\n\nRegister the folder the user treats as their image operations workspace. Individual projects live as sub-folders inside it.\n\n## Data store\n\n```\n${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME\u002F.local\u002Fshare}\u002Fclaude-plugins}\u002Fimage-ops\u002Fworkspace.json\n```\n\nDo **not** write under a coding tool's config directory (`~\u002F.claude\u002F`, `~\u002F.codex\u002F`, `~\u002F.config\u002Fopencode\u002F`, and the like).\n\n## Procedure\n\n### 1. Check for existing config\n\n```bash\nDATA_DIR=\"${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME\u002F.local\u002Fshare}\u002Fclaude-plugins}\u002Fimage-ops\"\nCONFIG=\"$DATA_DIR\u002Fworkspace.json\"\ntest -f \"$CONFIG\" && echo \"$CONFIG\"\n```\n\nIf the file exists, open it with the file-reading tool rather than `cat`, which keeps shell use down to the commands that actually do work.\n\nIf one exists, show the path and ask whether to keep or change it.\n\n### 2. Ask the user\n\n1. **Existing or new?** — do they already have an image workspace, or should one be created?\n2. **Path?**\n   - Existing: ask for absolute path; verify with `test -d`.\n   - New: propose `~\u002Fmedia-workspaces\u002Fimages` as the default. Don't auto-create until the user confirms.\n\n### 3. (New only) Version control\n\nAsk whether to `git init` the workspace. Default **no** — image libraries can be large. Only `git init` is in scope; this skill never commits, adds a remote, or pushes.\n\n### 4. Create + persist\n\n```bash\nmkdir -p \"$DATA_DIR\" \\\n  || { echo \"cannot create $DATA_DIR — check permissions\" >&2; exit 1; }\n\n# Only if new:\nmkdir -p \"$CHOSEN_PATH\" \\\n  || { echo \"cannot create $CHOSEN_PATH — check the path and permissions\" >&2; exit 1; }\n\nWS_PATH=$(realpath \"$CHOSEN_PATH\")\nCREATED=$(date -u +%Y-%m-%dT%H:%M:%SZ)\n```\n\nStop on either failure — persisting a config that points at a directory that does not exist just moves the error to the next skill that reads it.\n\nWrite `workspace.json` with the file-writing tool, substituting the two values above:\n\n```json\n{\n  \"path\": \"\u003CWS_PATH>\",\n  \"created\": \"\u003CCREATED>\",\n  \"version_controlled\": false,\n  \"type\": \"image\"\n}\n```\n\n`realpath` canonicalises the path so `open-workspace` and `new-project` resolve the same directory regardless of how the user typed it.\n\n### 5. Confirm\n\nPrint the registered path. Remind the user they can now say \"open my image workspace\" or \"create a new image project\".\n","# Image Workspace Setup\n\nRegister the folder the user treats as their image operations workspace. Individual projects live as sub-folders inside it.\n\n## Data store\n\n```\n${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME\u002F.local\u002Fshare}\u002Fclaude-plugins}\u002Fimage-ops\u002Fworkspace.json\n```\n\nDo **not** write under a coding tool's config directory (`~\u002F.claude\u002F`, `~\u002F.codex\u002F`, `~\u002F.config\u002Fopencode\u002F`, and the like).\n\n## Procedure\n\n### 1. Check for existing config\n\n```bash\nDATA_DIR=\"${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME\u002F.local\u002Fshare}\u002Fclaude-plugins}\u002Fimage-ops\"\nCONFIG=\"$DATA_DIR\u002Fworkspace.json\"\ntest -f \"$CONFIG\" && echo \"$CONFIG\"\n```\n\nIf the file exists, open it with the file-reading tool rather than `cat`, which keeps shell use down to the commands that actually do work.\n\nIf one exists, show the path and ask whether to keep or change it.\n\n### 2. Ask the user\n\n1. **Existing or new?** — do they already have an image workspace, or should one be created?\n2. **Path?**\n   - Existing: ask for absolute path; verify with `test -d`.\n   - New: propose `~\u002Fmedia-workspaces\u002Fimages` as the default. Don't auto-create until the user confirms.\n\n### 3. (New only) Version control\n\nAsk whether to `git init` the workspace. Default **no** — image libraries can be large. Only `git init` is in scope; this skill never commits, adds a remote, or pushes.\n\n### 4. Create + persist\n\n```bash\nmkdir -p \"$DATA_DIR\" \\\n  || { echo \"cannot create $DATA_DIR — check permissions\" >&2; exit 1; }\n\n# Only if new:\nmkdir -p \"$CHOSEN_PATH\" \\\n  || { echo \"cannot create $CHOSEN_PATH — check the path and permissions\" >&2; exit 1; }\n\nWS_PATH=$(realpath \"$CHOSEN_PATH\")\nCREATED=$(date -u +%Y-%m-%dT%H:%M:%SZ)\n```\n\nStop on either failure — persisting a config that points at a directory that does not exist just moves the error to the next skill that reads it.\n\nWrite `workspace.json` with the file-writing tool, substituting the two values above:\n\n```json\n{\n  \"path\": \"\u003CWS_PATH>\",\n  \"created\": \"\u003CCREATED>\",\n  \"version_controlled\": false,\n  \"type\": \"image\"\n}\n```\n\n`realpath` canonicalises the path so `open-workspace` and `new-project` resolve the same directory regardless of how the user typed it.\n\n### 5. Confirm\n\nPrint the registered path. Remind the user they can now say \"open my image workspace\" or \"create a new image project\".\n",{"name":5,"description":7,"allowed-tools":24},"Bash(mkdir *), Bash(test *), Bash(echo *), Bash(realpath *), Bash(date *), Bash(git init:*), Read, Write","main","f846d9a97082ff30d613b55a085cef425d822473","plugins\u002Fimage-ops\u002Fskills\u002Fworkspace-setup","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 workspace-setup",{"tool":39,"command":40},"bunx","bunx skills add shotcowboystyle\u002Fag-skills --skill workspace-setup",{"tool":42,"command":43},"pnpm","pnpm dlx skills add shotcowboystyle\u002Fag-skills --skill workspace-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fimage-ops\u002Fskills\u002Fworkspace-setup\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",[],[]]