[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71DY898EP6841FNCKHMDNDW":3,"skill-same:01M71DY898EP6841FNCKHMDNDW":70},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M71DY898EP6841FNCKHMDNDW","hq-cost",null,"Show HQ usage, projected bill and allowance left; preview fixes to cut it.","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\u002Fhq-cost\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"cost","hq cost","usage","show","fixes","allowance","Bash","preview","test","du","cut","read","jq","edit","grep","it","2026-11-10 10:12:30",false,"---\nname: hq-cost\ndescription: Show HQ usage, projected bill and allowance left; preview fixes to cut it.\nallowed-tools: Bash(hq:*), Bash(jq:*), Bash(du:*), Bash(test:*), Read, Grep, Edit\n---\n\n# \u002Fhq-cost — stay under the monthly allowance\n\nShows what HQ cloud use costs this month, names the biggest drivers in plain\nwords, and walks the user through one fix at a time. Every fix is previewed\nfirst and runs only after the user says yes. HQ core, the CLI, DMs and deploys\nkeep working whatever the user picks.\n\n**Args:** `$ARGUMENTS` — optional `--company \u003Cslug>` or `--personal`. Pass\nthem through as the scope flag in the commands below (`\u003Cscope>`).\n\n## Rates come from the live card, never from this file\n\nThis skill quotes no prices. Every rate, the monthly allowance, the trial and\nwhat is free come from the HQ pricing endpoint (`GET \u002Fv1\u002Fpricing`), read\nthrough the CLI:\n\n```bash\nhq billing usage --card --json\n```\n\n- `card.meters[]`: `id`, `label`, `unit`, `unitUsd`, and `waivedInTrial` (the\n  vault meter is waived during the trial).\n- `card.includedUsd`: usage included free each month. `card.trial`: days and\n  usage cap. `card.free`: what is never billed (deploys, DMs, background AI).\n- The usage report in Step 1 carries the same rates per meter\n  (`bill.meters[].unitUsd`) and the allowance (`bill.allowanceUsd`). Use those\n  numbers. When `rateSource` is `bundled`, the endpoint was not reachable and\n  the CLI used its shipped copy: say the rates may be out of date.\n- Name the source when quoting a rate (\"from the HQ price card, version\n  `card.version`\"). For how billing works, point to\n  `core\u002Fknowledge\u002Fpublic\u002Fhq-core\u002Fpricing-and-billing.md`.\n\n## Rules\n\n- **Read first, change later.** Steps 1 and 2 only read. Never run an `apply`\n  command, `hq storage prune` without `--dry-run`, `hq secrets delete`,\n  `hq daemon sync pause`, git gc, or any reclaim while showing usage.\n- **Preview, then yes, then apply.** For each fix: run its `preview` commands,\n  show what would change in plain words (what goes, what stays, the saving),\n  ask one yes\u002Fno question, and run `apply` only on a clear yes. A \"no\" or no\n  answer means nothing changes.\n- **Pass on what HQ returns.** If a command quotes a price, refuses something\n  or returns an upgrade link, tell the person exactly that, in plain words,\n  with the link.\n- **Billing state: say it once, give the one action.** When the report or an\n  HQ message shows a billing state (usage past a threshold, a paused company,\n  a missing card, a failed payment), say it once in plain words and give the\n  one action: the Billing page in the HQ desktop app, or the exact command HQ\n  named. Never add a card, open a checkout for the person, or change a spend\n  limit yourself. The fixes below lower usage; they are not a way around a\n  limit.\n- **Nothing is deleted without a preview** of exactly what will be deleted.\n  Deletes are one fix at a time; secrets are one name at a time.\n- **Who sees what.** Every person, members included, can see their own\n  personal usage (`--personal`), so they can turn off personal cloud services\n  such as personal vault sync. Company usage is for the company's owners and\n  admins only. The server enforces this, not this skill: the company report\n  reads `GET \u002Fv1\u002Fbilling\u002Fusage`, which returns 403 for members. Treat a 403 (or\n  a \"not an owner or admin\" error from the CLI) the same as a non-owner role. Use only the companies `hq billing usage` finds in the user's\n  own memberships, and never pass a company the user is not a member of. When\n  a company report comes back with `scope.role` other than `owner` or `admin`,\n  do not show its numbers or drivers: say that company usage is visible to\n  its owners and admins, offer the user's personal usage instead, and suggest\n  they ask an owner to run `\u002Fhq-cost` for the company.\n- Use existing HQ commands for every change. Do not write new delete logic,\n  call AWS directly, or edit files under `companies\u002F` other than `.hqignore`\n  at the HQ root.\n- Ask decisions one question at a time.\n\n## Step 1 — Read usage\n\n```bash\nhq billing usage --json \u003Cscope>\n```\n\n- \"more than one company\": ask which one (list the slugs it printed, plus\n  \"personal\"), then re-run with `--company \u003Cslug>` or `--personal`. If the\n  company report shows the user is not an owner or admin there, follow the\n  \"Who sees what\" rule and switch to `--personal`.\n- Not signed in: tell the user to run `\u002Fhq-login` and stop.\n- The cloud storage listing can take a minute or two on a large company. If\n  the user wants it faster, re-run with `--no-storage-scan` (no old-versions\n  split).\n\nThe JSON is a `UsageReport`:\n\n- `scope`: `kind` (`company` or `person`), `companySlug`, `role`.\n- `bill`: `meters[]` (per meter: `key`, `displayName`, `unit`, `unitUsd`,\n  `value`, `state`, `monthToDateUsd`, `projectedUsd`), `monthToDateUsd`,\n  `allowanceUsd`, `allowanceLeftUsd`, `projectedUsd`, `projectedBillUsd`,\n  `incomplete`, `daysElapsed`, `daysInMonth`.\n- `storage` (when scanned): current vs old-version bytes, `canDelete`.\n- `drivers[]`: `meter`, `summary`, `projectedUsd`, and `fixes[]` (`id`,\n  `title`, `detail`, `preview[]`, `apply[]`, `savesUsdPerMonth`,\n  `blockedReason`).\n- `rateSource`, `trialActive`, `freeItems`, `noSyncGuideUrl`, `period`.\n\n## Step 2 — Show it\n\nA short table: meter, amount, rate, projected cost, all from `bill.meters[]`.\nA meter whose `state` is `not-available` shows \"not counted here yet\", never\nzero. Then:\n\n- Used so far (`bill.monthToDateUsd`) and allowance left\n  (`bill.allowanceLeftUsd` of `bill.allowanceUsd`).\n- Projected month total (`bill.projectedUsd`) and projected bill after the\n  allowance (`bill.projectedBillUsd`). When `bill.incomplete` is true, say \"at\n  least\" and explain that some meters arrive with the daily usage rollup.\n- When `trialActive` is true, say which meters the trial waives\n  (`waivedInTrial` on the card).\n- Each driver's `summary`, biggest first, with the fixes it offers and the\n  saving from `savesUsdPerMonth` when present. Savings always come from the\n  server's `fixes[].savesUsdPerMonth`; never compute one from rates.\n- For someone using HQ on their own (`scope.kind` is `person`): their personal account gets its\n  own allowance each month, and usage above it is billed to them.\n- What is free (`freeItems`), and that no card is needed to sign in, deploy or\n  use DMs.\n\nIf the projected bill is zero and nothing is incomplete, say so and stop\nunless the user asks for more.\n\n## Step 3 — Pick a fix\n\nAsk which fix to look at (one question; include \"none\"). Skip fixes with a\n`blockedReason` and show the reason instead.\n\n### prune-old-versions — delete old file versions\n\n1. Run the preview (`hq storage prune --cloud-before \u003Cdate> --company \u003Cslug> --dry-run --json`).\n2. Show how many versions and how many GB would go, the date cutoff, that\n   current files are not touched, that this cannot be undone, and the saving\n   from the fix's `savesUsdPerMonth` in the report. Do not compute savings\n   yourself; when `savesUsdPerMonth` is missing, say the saving is not known.\n3. Ask: \"Delete these old versions?\" On yes, run the `apply` command.\n\n### remove-unused-secrets — remove secrets nothing uses\n\n1. Run the preview (`hq secrets [--company \u003Cslug> | --personal] list`).\n2. HQ does not record when a secret was last read. To suggest candidates, search\n   for each name in the user's repos and HQ (`Grep` for the name in\n   `.env.schema`, `.env.example`, `hq run`\u002F`hq secrets exec` scripts, skills and\n   worker files). A name with no reference and an old \"last modified\" date is a\n   candidate. Never read secret values.\n3. Show the candidate names and the secret meter's rate (`unitUsd`) as the\n   price of one secret. For the fix's total saving use its `savesUsdPerMonth`\n   from the report; do not multiply it out yourself. Let the user pick names.\n4. Confirm the final list. Delete one name at a time with the `apply` command\n   (`... delete \u003CNAME> --force`), reporting each result.\n\n### exclude-folders — stop syncing folders\n\n1. Run the preview (`hq sync mode --show`, `hq storage status --company \u003Cslug> --json`)\n   and measure the biggest local folders under the company with `du -sh`.\n2. Propose `.hqignore` lines (one folder per line, for example `exports\u002F`) and\n   show the exact lines that would be added to `\u003CHQ root>\u002F.hqignore`.\n3. On yes, append them (never rewrite or remove existing lines). Explain that\n   sync stops uploading those folders, files already in the cloud stay until\n   removed, and nothing local is deleted. For a member who only needs some\n   folders, `hq sync mode shared` narrows what is downloaded; preview it with\n   `hq sync narrow` (dry run by default) and apply only on yes.\n\n### turn-sync-off — turn cloud sync off for one vault or all of them\n\nSync is switched per vault on this computer: the personal vault, each company\nvault, or all cloud sync at once. The switches live in the HQ app under\n**Settings > Sync**, one click from the usage meter (\"Turn sync off or on for\neach vault\") and from the account menu (**Sync**). This skill cannot flip\nthem; the user does.\n\n1. Preview: run `hq sync mode --show` and `hq daemon sync status --json`, and\n   list the vaults this computer syncs (personal plus each company). Point at\n   the vault the drivers name, for example the company with the most syncs.\n2. Explain, per vault the user picks: turning it off stops this computer's\n   syncs for that vault, so they stop counting from now on. It does not end\n   that vault's charges: the vault fee and its cloud storage continue, and\n   teammates who still sync it keep adding sync usage. Never describe it as\n   \"no more sync charges\" or \"no sync fees\". Its files stay on this computer,\n   and teammates (or, for the personal vault, the user's other computers) stop\n   getting this computer's changes. Other vaults keep syncing. It changes only\n   this computer, never teammates. Files already in the cloud stay and still\n   count as storage until removed. Sign-in, HQ core, the CLI, DMs and deploys keep working.\n3. Ask which to turn off: one vault, several, or **Turn off all cloud sync**.\n   Then have the user flip the switch in Settings > Sync. The app shows \"Sync\n   is off for \u003Cvault>\" and how to turn it back on.\n4. The CLI honours the same switches: `hq sync push|pull|now` for a vault\n   that is off is refused (exit code 3, nothing uploaded or downloaded), and\n   `hq sync now --all` skips the off vaults. Confirm with one read:\n   `hq sync status`. The per-vault Sync section ships in the HQ desktop app\n   0.11.15 and later; if this computer's app has no Sync section, ask the\n   user to update the app first.\n5. No desktop app (CLI-only install where the daemon owns sync): on yes, run\n   `hq daemon sync pause` (resume later with `hq daemon sync resume`). To keep\n   the daemon from starting sync at all, the user can also run\n   `hq daemon disable sync`.\n6. Turning sync off only stops syncing. This skill never copies vault files\n   to a new place, never creates a repo for them, and never pushes them\n   anywhere: company data stays in the vault. If the user wants to share the\n   files another way, tell them to make that move themselves and name the\n   risk: files copied out of the vault lose its access rules, so anyone who\n   can read the new place (a git repo, its GitHub owner, every clone) can\n   read them, and the company may not allow that. Point to the no-sync guide\n   (`noSyncGuideUrl` from the report) and stop there.\n7. Confirm the rest of HQ still works:\n   - CLI: `hq --version` and `hq whoami`.\n   - DM: `hq dm inbox` (read). Offer to send the user a test DM to themselves\n     through `\u002Fdm`; send only on yes.\n   - Deploy: deploys go through `\u002Fdeploy` (there is no `hq deploy` command).\n     Offer to deploy a one-page test artifact; deploy only on yes, and report\n     the URL.\n   Report each check as passed or failed in one line.\n\n## Step 4 — Re-read and show the new bill\n\nAfter any applied change, run `hq billing usage --json --fresh \u003Cscope>` and\nshow the new projected bill next to the old one. Storage reflects a prune\nright away; secret counts can take a few minutes. If nothing moved, say why\n(for example, only this computer's syncs stop counting, and only from now\non).\n\nThen offer the next driver, or stop.\n\n## Notes\n\n- `hq billing usage` (hq-cli 5.345.144 or later) reads rates from\n  `GET \u002Fv1\u002Fpricing`, storage and secrets from `GET \u002Fv1\u002Fbilling\u002Fusage-limits`,\n  and the live cloud version listing. Call-count meters (syncs, gateway calls,\n  HQ MCP calls, agent runs) come from the daily usage rollup\n  (`GET \u002Fv1\u002Fbilling\u002Fusage`) once the CLI reads it; until then they show \"not\n  counted here yet\" and the bill says \"at least\". This skill reads only what\n  the CLI reports, so it needs no change when the CLI switches source.\n- Own-cloud options (your own storage bucket, full self-host) are not offered.\n","# \u002Fhq-cost — stay under the monthly allowance\n\nShows what HQ cloud use costs this month, names the biggest drivers in plain\nwords, and walks the user through one fix at a time. Every fix is previewed\nfirst and runs only after the user says yes. HQ core, the CLI, DMs and deploys\nkeep working whatever the user picks.\n\n**Args:** `$ARGUMENTS` — optional `--company \u003Cslug>` or `--personal`. Pass\nthem through as the scope flag in the commands below (`\u003Cscope>`).\n\n## Rates come from the live card, never from this file\n\nThis skill quotes no prices. Every rate, the monthly allowance, the trial and\nwhat is free come from the HQ pricing endpoint (`GET \u002Fv1\u002Fpricing`), read\nthrough the CLI:\n\n```bash\nhq billing usage --card --json\n```\n\n- `card.meters[]`: `id`, `label`, `unit`, `unitUsd`, and `waivedInTrial` (the\n  vault meter is waived during the trial).\n- `card.includedUsd`: usage included free each month. `card.trial`: days and\n  usage cap. `card.free`: what is never billed (deploys, DMs, background AI).\n- The usage report in Step 1 carries the same rates per meter\n  (`bill.meters[].unitUsd`) and the allowance (`bill.allowanceUsd`). Use those\n  numbers. When `rateSource` is `bundled`, the endpoint was not reachable and\n  the CLI used its shipped copy: say the rates may be out of date.\n- Name the source when quoting a rate (\"from the HQ price card, version\n  `card.version`\"). For how billing works, point to\n  `core\u002Fknowledge\u002Fpublic\u002Fhq-core\u002Fpricing-and-billing.md`.\n\n## Rules\n\n- **Read first, change later.** Steps 1 and 2 only read. Never run an `apply`\n  command, `hq storage prune` without `--dry-run`, `hq secrets delete`,\n  `hq daemon sync pause`, git gc, or any reclaim while showing usage.\n- **Preview, then yes, then apply.** For each fix: run its `preview` commands,\n  show what would change in plain words (what goes, what stays, the saving),\n  ask one yes\u002Fno question, and run `apply` only on a clear yes. A \"no\" or no\n  answer means nothing changes.\n- **Pass on what HQ returns.** If a command quotes a price, refuses something\n  or returns an upgrade link, tell the person exactly that, in plain words,\n  with the link.\n- **Billing state: say it once, give the one action.** When the report or an\n  HQ message shows a billing state (usage past a threshold, a paused company,\n  a missing card, a failed payment), say it once in plain words and give the\n  one action: the Billing page in the HQ desktop app, or the exact command HQ\n  named. Never add a card, open a checkout for the person, or change a spend\n  limit yourself. The fixes below lower usage; they are not a way around a\n  limit.\n- **Nothing is deleted without a preview** of exactly what will be deleted.\n  Deletes are one fix at a time; secrets are one name at a time.\n- **Who sees what.** Every person, members included, can see their own\n  personal usage (`--personal`), so they can turn off personal cloud services\n  such as personal vault sync. Company usage is for the company's owners and\n  admins only. The server enforces this, not this skill: the company report\n  reads `GET \u002Fv1\u002Fbilling\u002Fusage`, which returns 403 for members. Treat a 403 (or\n  a \"not an owner or admin\" error from the CLI) the same as a non-owner role. Use only the companies `hq billing usage` finds in the user's\n  own memberships, and never pass a company the user is not a member of. When\n  a company report comes back with `scope.role` other than `owner` or `admin`,\n  do not show its numbers or drivers: say that company usage is visible to\n  its owners and admins, offer the user's personal usage instead, and suggest\n  they ask an owner to run `\u002Fhq-cost` for the company.\n- Use existing HQ commands for every change. Do not write new delete logic,\n  call AWS directly, or edit files under `companies\u002F` other than `.hqignore`\n  at the HQ root.\n- Ask decisions one question at a time.\n\n## Step 1 — Read usage\n\n```bash\nhq billing usage --json \u003Cscope>\n```\n\n- \"more than one company\": ask which one (list the slugs it printed, plus\n  \"personal\"), then re-run with `--company \u003Cslug>` or `--personal`. If the\n  company report shows the user is not an owner or admin there, follow the\n  \"Who sees what\" rule and switch to `--personal`.\n- Not signed in: tell the user to run `\u002Fhq-login` and stop.\n- The cloud storage listing can take a minute or two on a large company. If\n  the user wants it faster, re-run with `--no-storage-scan` (no old-versions\n  split).\n\nThe JSON is a `UsageReport`:\n\n- `scope`: `kind` (`company` or `person`), `companySlug`, `role`.\n- `bill`: `meters[]` (per meter: `key`, `displayName`, `unit`, `unitUsd`,\n  `value`, `state`, `monthToDateUsd`, `projectedUsd`), `monthToDateUsd`,\n  `allowanceUsd`, `allowanceLeftUsd`, `projectedUsd`, `projectedBillUsd`,\n  `incomplete`, `daysElapsed`, `daysInMonth`.\n- `storage` (when scanned): current vs old-version bytes, `canDelete`.\n- `drivers[]`: `meter`, `summary`, `projectedUsd`, and `fixes[]` (`id`,\n  `title`, `detail`, `preview[]`, `apply[]`, `savesUsdPerMonth`,\n  `blockedReason`).\n- `rateSource`, `trialActive`, `freeItems`, `noSyncGuideUrl`, `period`.\n\n## Step 2 — Show it\n\nA short table: meter, amount, rate, projected cost, all from `bill.meters[]`.\nA meter whose `state` is `not-available` shows \"not counted here yet\", never\nzero. Then:\n\n- Used so far (`bill.monthToDateUsd`) and allowance left\n  (`bill.allowanceLeftUsd` of `bill.allowanceUsd`).\n- Projected month total (`bill.projectedUsd`) and projected bill after the\n  allowance (`bill.projectedBillUsd`). When `bill.incomplete` is true, say \"at\n  least\" and explain that some meters arrive with the daily usage rollup.\n- When `trialActive` is true, say which meters the trial waives\n  (`waivedInTrial` on the card).\n- Each driver's `summary`, biggest first, with the fixes it offers and the\n  saving from `savesUsdPerMonth` when present. Savings always come from the\n  server's `fixes[].savesUsdPerMonth`; never compute one from rates.\n- For someone using HQ on their own (`scope.kind` is `person`): their personal account gets its\n  own allowance each month, and usage above it is billed to them.\n- What is free (`freeItems`), and that no card is needed to sign in, deploy or\n  use DMs.\n\nIf the projected bill is zero and nothing is incomplete, say so and stop\nunless the user asks for more.\n\n## Step 3 — Pick a fix\n\nAsk which fix to look at (one question; include \"none\"). Skip fixes with a\n`blockedReason` and show the reason instead.\n\n### prune-old-versions — delete old file versions\n\n1. Run the preview (`hq storage prune --cloud-before \u003Cdate> --company \u003Cslug> --dry-run --json`).\n2. Show how many versions and how many GB would go, the date cutoff, that\n   current files are not touched, that this cannot be undone, and the saving\n   from the fix's `savesUsdPerMonth` in the report. Do not compute savings\n   yourself; when `savesUsdPerMonth` is missing, say the saving is not known.\n3. Ask: \"Delete these old versions?\" On yes, run the `apply` command.\n\n### remove-unused-secrets — remove secrets nothing uses\n\n1. Run the preview (`hq secrets [--company \u003Cslug> | --personal] list`).\n2. HQ does not record when a secret was last read. To suggest candidates, search\n   for each name in the user's repos and HQ (`Grep` for the name in\n   `.env.schema`, `.env.example`, `hq run`\u002F`hq secrets exec` scripts, skills and\n   worker files). A name with no reference and an old \"last modified\" date is a\n   candidate. Never read secret values.\n3. Show the candidate names and the secret meter's rate (`unitUsd`) as the\n   price of one secret. For the fix's total saving use its `savesUsdPerMonth`\n   from the report; do not multiply it out yourself. Let the user pick names.\n4. Confirm the final list. Delete one name at a time with the `apply` command\n   (`... delete \u003CNAME> --force`), reporting each result.\n\n### exclude-folders — stop syncing folders\n\n1. Run the preview (`hq sync mode --show`, `hq storage status --company \u003Cslug> --json`)\n   and measure the biggest local folders under the company with `du -sh`.\n2. Propose `.hqignore` lines (one folder per line, for example `exports\u002F`) and\n   show the exact lines that would be added to `\u003CHQ root>\u002F.hqignore`.\n3. On yes, append them (never rewrite or remove existing lines). Explain that\n   sync stops uploading those folders, files already in the cloud stay until\n   removed, and nothing local is deleted. For a member who only needs some\n   folders, `hq sync mode shared` narrows what is downloaded; preview it with\n   `hq sync narrow` (dry run by default) and apply only on yes.\n\n### turn-sync-off — turn cloud sync off for one vault or all of them\n\nSync is switched per vault on this computer: the personal vault, each company\nvault, or all cloud sync at once. The switches live in the HQ app under\n**Settings > Sync**, one click from the usage meter (\"Turn sync off or on for\neach vault\") and from the account menu (**Sync**). This skill cannot flip\nthem; the user does.\n\n1. Preview: run `hq sync mode --show` and `hq daemon sync status --json`, and\n   list the vaults this computer syncs (personal plus each company). Point at\n   the vault the drivers name, for example the company with the most syncs.\n2. Explain, per vault the user picks: turning it off stops this computer's\n   syncs for that vault, so they stop counting from now on. It does not end\n   that vault's charges: the vault fee and its cloud storage continue, and\n   teammates who still sync it keep adding sync usage. Never describe it as\n   \"no more sync charges\" or \"no sync fees\". Its files stay on this computer,\n   and teammates (or, for the personal vault, the user's other computers) stop\n   getting this computer's changes. Other vaults keep syncing. It changes only\n   this computer, never teammates. Files already in the cloud stay and still\n   count as storage until removed. Sign-in, HQ core, the CLI, DMs and deploys keep working.\n3. Ask which to turn off: one vault, several, or **Turn off all cloud sync**.\n   Then have the user flip the switch in Settings > Sync. The app shows \"Sync\n   is off for \u003Cvault>\" and how to turn it back on.\n4. The CLI honours the same switches: `hq sync push|pull|now` for a vault\n   that is off is refused (exit code 3, nothing uploaded or downloaded), and\n   `hq sync now --all` skips the off vaults. Confirm with one read:\n   `hq sync status`. The per-vault Sync section ships in the HQ desktop app\n   0.11.15 and later; if this computer's app has no Sync section, ask the\n   user to update the app first.\n5. No desktop app (CLI-only install where the daemon owns sync): on yes, run\n   `hq daemon sync pause` (resume later with `hq daemon sync resume`). To keep\n   the daemon from starting sync at all, the user can also run\n   `hq daemon disable sync`.\n6. Turning sync off only stops syncing. This skill never copies vault files\n   to a new place, never creates a repo for them, and never pushes them\n   anywhere: company data stays in the vault. If the user wants to share the\n   files another way, tell them to make that move themselves and name the\n   risk: files copied out of the vault lose its access rules, so anyone who\n   can read the new place (a git repo, its GitHub owner, every clone) can\n   read them, and the company may not allow that. Point to the no-sync guide\n   (`noSyncGuideUrl` from the report) and stop there.\n7. Confirm the rest of HQ still works:\n   - CLI: `hq --version` and `hq whoami`.\n   - DM: `hq dm inbox` (read). Offer to send the user a test DM to themselves\n     through `\u002Fdm`; send only on yes.\n   - Deploy: deploys go through `\u002Fdeploy` (there is no `hq deploy` command).\n     Offer to deploy a one-page test artifact; deploy only on yes, and report\n     the URL.\n   Report each check as passed or failed in one line.\n\n## Step 4 — Re-read and show the new bill\n\nAfter any applied change, run `hq billing usage --json --fresh \u003Cscope>` and\nshow the new projected bill next to the old one. Storage reflects a prune\nright away; secret counts can take a few minutes. If nothing moved, say why\n(for example, only this computer's syncs stop counting, and only from now\non).\n\nThen offer the next driver, or stop.\n\n## Notes\n\n- `hq billing usage` (hq-cli 5.345.144 or later) reads rates from\n  `GET \u002Fv1\u002Fpricing`, storage and secrets from `GET \u002Fv1\u002Fbilling\u002Fusage-limits`,\n  and the live cloud version listing. Call-count meters (syncs, gateway calls,\n  HQ MCP calls, agent runs) come from the daily usage rollup\n  (`GET \u002Fv1\u002Fbilling\u002Fusage`) once the CLI reads it; until then they show \"not\n  counted here yet\" and the bill says \"at least\". This skill reads only what\n  the CLI reports, so it needs no change when the CLI switches source.\n- Own-cloud options (your own storage bucket, full self-host) are not offered.\n",{"name":5,"description":7,"allowed-tools":40},"Bash(hq:*), Bash(jq:*), Bash(du:*), Bash(test:*), Read, Grep, Edit","main","7ce1412b413df51bc6bac69750c79468ab09c40c",".claude\u002Fskills\u002Fhq-cost",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":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add indigoai-us\u002Fhq-core --skill hq-cost",{"tool":56,"command":57},"bunx","bunx skills add indigoai-us\u002Fhq-core --skill hq-cost",{"tool":59,"command":60},"pnpm","pnpm dlx skills add indigoai-us\u002Fhq-core --skill hq-cost","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-cost\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"agents\u002Fopenai.yaml","REFERENCE","参考文档",141,"https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-cost\u002Fagents\u002Fopenai.yaml",[71,79,86,93,100,107],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":78},"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":78},"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":78},"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":78},"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":78},"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":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":78},"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",[],[]]