[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71DXGKB2HVND7861YZ7T3WZ":3,"skill-same:01M71DXGKB2HVND7861YZ7T3WZ":74},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M71DXGKB2HVND7861YZ7T3WZ","free-disk-space",null,"Reclaim disk from stale linked worktrees, build dirs, and allowlisted dev caches. Dry-run unless --apply; never deletes full clones, .env, or unpushed work.","indigoai-us\u002Fhq-core","indigoai-us","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F122242446?v=4","01M71DTQ5NGD10GT1Z7E6XKWC5","HQ","01M71DTQ6BKSYYBNC9RAKT3YDK",95,"MIT","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffree-disk-space\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"free disk","space","free","disk","free disk space","dry","env","full","apply","Bash","dry-run","dev","stale","scripts","worktrees","run","core","build","never","work","2026-11-10 10:12:30",false,"---\nname: free-disk-space\ndescription: Reclaim disk from stale linked worktrees, build dirs, and allowlisted dev caches. Dry-run unless --apply; never deletes full clones, .env, or unpushed work.\nallowed-tools: Bash(bash core\u002Fscripts\u002Ffree-disk-space.sh:*), AskUserQuestion\n---\n\n# \u002Ffree-disk-space\n\nReclaim disk space on the user's machine. All work goes through\n`core\u002Fscripts\u002Ffree-disk-space.sh`. Run long modes with `run_in_background: true`;\n`du` over worktrees can take minutes.\n\n**User's input:** $ARGUMENTS\n\n## Steps\n\n1. **Scan.** Run `bash core\u002Fscripts\u002Ffree-disk-space.sh scan`. Report free space and\n   the largest areas in a plain table: what it is, size, whether it is safe to clear.\n   If worktrees are large, also run `worktrees-status` to show which projects they\n   belong to.\n\n2. **Offer options** with AskUserQuestion, one question per call. Nothing is deleted\n   before the user picks.\n   - `caches` — deletes only a named allowlist of developer caches (Homebrew, pip,\n     Yarn, npm, pnpm, node-gyp, go-build, cargo, turbo, typescript, electron), the\n     npm cache, and safe `~\u002F.cache` entries (`gh`, `prisma`, `node`, `agent-browser`).\n     It does not touch other app caches. It keeps the qmd search index and Codex\n     runtimes.\n   - `prune-backed-up [hours]` — removes linked git worktrees that are clean, pushed\n     (including every branch checked out there), stash-free, free of ignored files\n     outside rebuildable build directories, free of a nested git repository under\n     those directories, free of skip-worktree or assume-unchanged index flags,\n     untouched for N hours (default 6; any file, commit, or checkout), and not owned\n     by a session. A worktree is session-owned when a live process has its cwd\n     inside it (`reason=live-session`) or a Claude Code \u002F Codex transcript from\n     the last 7 days recorded a cwd inside it (`reason=recent-session`).\n     Full clones are never removed. Removal uses `git worktree remove`, not `rm -rf`.\n   - `slim-idle [days]` — in worktrees idle N days (default 7), deletes git-ignored\n     dependency and build folders that contain no tracked files and no nested git\n     repository. It skips a checkout with skip-worktree or assume-unchanged flags,\n     with a nested git repository, or owned by a session. Code and commits stay.\n\n3. **Dry run first.** Run the chosen mode without `--apply`\n   (`bash core\u002Fscripts\u002Ffree-disk-space.sh \u003Cmode>`). It prints `would-remove` and\n   `kept ... reason=...` lines and deletes nothing. Show that list to the user.\n\n4. **Ask before apply.** Use AskUserQuestion to confirm the dry-run list. Only\n   after an explicit yes, re-run the same mode with `--apply`\n   (`bash core\u002Fscripts\u002Ffree-disk-space.sh --apply \u003Cmode>`).\n\n5. **Remaining worktrees** with uncommitted work, unpushed commits, a stash,\n   hidden local edits (skip-worktree or assume-unchanged), a nested git repository,\n   or ignored files such\n   as `.env` are never deleted by this skill. If the user wants\n   them gone, list them and confirm each one, or offer to push them first.\n   Deleting unpushed work is irreversible: state that plainly and get an explicit\n   yes before removing anything outside the modes above.\n\n## Rules\n\n- Never delete `~\u002F.cache\u002Fqmd` (search index) or `~\u002F.cache\u002Fcodex-runtimes`.\n- Do not empty the Trash or touch `~\u002FDownloads`, Documents, or app data without an\n  explicit request naming them.\n- Age-based worktree deletion uses the last commit date. Report how many worktrees\n  and how many GB a cutoff would catch before deleting by age.\n","# \u002Ffree-disk-space\n\nReclaim disk space on the user's machine. All work goes through\n`core\u002Fscripts\u002Ffree-disk-space.sh`. Run long modes with `run_in_background: true`;\n`du` over worktrees can take minutes.\n\n**User's input:** $ARGUMENTS\n\n## Steps\n\n1. **Scan.** Run `bash core\u002Fscripts\u002Ffree-disk-space.sh scan`. Report free space and\n   the largest areas in a plain table: what it is, size, whether it is safe to clear.\n   If worktrees are large, also run `worktrees-status` to show which projects they\n   belong to.\n\n2. **Offer options** with AskUserQuestion, one question per call. Nothing is deleted\n   before the user picks.\n   - `caches` — deletes only a named allowlist of developer caches (Homebrew, pip,\n     Yarn, npm, pnpm, node-gyp, go-build, cargo, turbo, typescript, electron), the\n     npm cache, and safe `~\u002F.cache` entries (`gh`, `prisma`, `node`, `agent-browser`).\n     It does not touch other app caches. It keeps the qmd search index and Codex\n     runtimes.\n   - `prune-backed-up [hours]` — removes linked git worktrees that are clean, pushed\n     (including every branch checked out there), stash-free, free of ignored files\n     outside rebuildable build directories, free of a nested git repository under\n     those directories, free of skip-worktree or assume-unchanged index flags,\n     untouched for N hours (default 6; any file, commit, or checkout), and not owned\n     by a session. A worktree is session-owned when a live process has its cwd\n     inside it (`reason=live-session`) or a Claude Code \u002F Codex transcript from\n     the last 7 days recorded a cwd inside it (`reason=recent-session`).\n     Full clones are never removed. Removal uses `git worktree remove`, not `rm -rf`.\n   - `slim-idle [days]` — in worktrees idle N days (default 7), deletes git-ignored\n     dependency and build folders that contain no tracked files and no nested git\n     repository. It skips a checkout with skip-worktree or assume-unchanged flags,\n     with a nested git repository, or owned by a session. Code and commits stay.\n\n3. **Dry run first.** Run the chosen mode without `--apply`\n   (`bash core\u002Fscripts\u002Ffree-disk-space.sh \u003Cmode>`). It prints `would-remove` and\n   `kept ... reason=...` lines and deletes nothing. Show that list to the user.\n\n4. **Ask before apply.** Use AskUserQuestion to confirm the dry-run list. Only\n   after an explicit yes, re-run the same mode with `--apply`\n   (`bash core\u002Fscripts\u002Ffree-disk-space.sh --apply \u003Cmode>`).\n\n5. **Remaining worktrees** with uncommitted work, unpushed commits, a stash,\n   hidden local edits (skip-worktree or assume-unchanged), a nested git repository,\n   or ignored files such\n   as `.env` are never deleted by this skill. If the user wants\n   them gone, list them and confirm each one, or offer to push them first.\n   Deleting unpushed work is irreversible: state that plainly and get an explicit\n   yes before removing anything outside the modes above.\n\n## Rules\n\n- Never delete `~\u002F.cache\u002Fqmd` (search index) or `~\u002F.cache\u002Fcodex-runtimes`.\n- Do not empty the Trash or touch `~\u002FDownloads`, Documents, or app data without an\n  explicit request naming them.\n- Age-based worktree deletion uses the last commit date. Report how many worktrees\n  and how many GB a cutoff would catch before deleting by age.\n",{"name":5,"description":7,"allowed-tools":44},"Bash(bash core\u002Fscripts\u002Ffree-disk-space.sh:*), AskUserQuestion","main","205cf61728a27ef15e9153aa38df5856fc8d82f5",".claude\u002Fskills\u002Ffree-disk-space",18,"https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core","https:\u002F\u002Fgithub.com\u002Findigoai-us","https:\u002F\u002Fhqforwork.com\u002F","The AI Context Layer for Teams","2026-11-12 06:53:38",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add indigoai-us\u002Fhq-core --skill free-disk-space",{"tool":60,"command":61},"bunx","bunx skills add indigoai-us\u002Fhq-core --skill free-disk-space",{"tool":63,"command":64},"pnpm","pnpm dlx skills add indigoai-us\u002Fhq-core --skill free-disk-space","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffree-disk-space\u002FSKILL.md",true,[68],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"agents\u002Fopenai.yaml","REFERENCE","参考文档",117,"https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffree-disk-space\u002Fagents\u002Fopenai.yaml",[75,83,90,97,104,111],{"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":82},"01M73NTNKZ3T2KJNDP2ZF23645","job","Deprecated alias for \u002Fschedule — Outpost recurring agent jobs. Prefer \u002Fschedule.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fjob\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":82},"01M73NTE0H9DQTT6DNHDKRWTXW","import-claude","Deprecated alias for \u002Fimport-context — bootstrap HQ from your prior AI footprint (Claude Code, Codex, Grok, claude.ai history plus on-disk artifacts).","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimport-claude\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":82},"01M73NT67433KKX96CCJWDQQ0X","hq-whoami","Show current HQ Cognito identity and session expiry.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-whoami\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":82},"01M73NT17SVXZV2QPT14C2RPJP","hq-share","Share HQ vault paths through single-use links or direct ACL grants.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-share\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":82},"01M73NSXYFMD7EHGT8TFDZA3C8","hq-secrets","Use HQ CLI secrets safely through env injection or one-off exec.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-secrets\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":82},"01M73NSWCXJK29Q8CNG8AS3ZZQ","hq-logout","Sign out of HQ Cognito and clear local tokens.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-logout\u002FSKILL.md",[],[]]