[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71E36F9JRX8DYG7W7NKG3MP":3,"skill-same:01M71E36F9JRX8DYG7W7NKG3MP":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},"01M71E36F9JRX8DYG7W7NKG3MP","team-access",null,"Set, change, or repair members' default read\u002Fwrite access to company vault folders, and find rules that lock members out.","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\u002Fteam-access\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"access","team","team access","jq","write","read","find","vault","change","test","lock","printf","Bash","Rules","mkdir","company","default","awk","repair","SET","2026-11-10 10:12:30",false,"---\nname: team-access\ndescription: \"Set, change, or repair members' default read\u002Fwrite access to company vault folders, and find rules that lock members out.\"\nallowed-tools: Bash(hq:*), Bash(jq:*), Bash(awk:*), Bash(test:*), Bash(mkdir:*), Bash(printf:*), Read, Write, AskUserQuestion\n---\n\n# \u002Fteam-access — Member access baseline for a company vault\n\n**Args:** `$ARGUMENTS` — optional company slug, or `--all-owned` to walk every\ncloud company where you are an owner. Defaults to the active company.\n\n## What this controls\n\nPlain members of a company hold no file access until someone grants it. Owners and\nadmins bypass the access list; members do not, and inviting someone writes no grants.\nSo a member who creates a note under `knowledge\u002F` cannot push it, and cannot pull what\nteammates wrote, until a grant covers that path.\n\nThis skill lets an owner decide, folder by folder, what the whole team gets by default,\nand lets them keep the grant narrower than the whole folder when a folder mixes shared\nand sensitive material. It also repairs folders where an older or more specific rule\nhides the team grant.\n\n## The one rule the owner must understand\n\n**Every shared-folder glob covers everything inside it, now and in the future.** Use\n`knowledge\u002F*` when the team should read and write the whole tree. A trailing slash,\nsuch as `knowledge\u002F`, is a private create-only folder: `write` permits one new direct\nchild and the first upload locks that child to its creator; it does not share existing\nchildren. There is no \"shared folder but not its subfolders\" glob. To keep sensitive\nmaterial out of a team-wide grant, grant a narrower shared glob (`knowledge\u002Fshared\u002F*`)\nor keep it under a sibling path that is not granted.\n\nSay this to the owner in plain words before the first decision. Do not let them grant a\nroot folder believing they can carve pieces out later by name.\n\n## Which rule wins\n\nFor any file, the vault applies exactly one rule: the most specific one that matches.\nOnly that rule's entries count; a broader rule never adds to it. From most to least\nspecific, for a file under `knowledge\u002F`:\n\n1. A subfolder rule — `knowledge\u002Ffinance\u002F*` or a bare `knowledge\u002Ffinance` — wins for\n   files inside that subfolder.\n2. A **legacy bare rule** `knowledge` (no slash, no `*`). It covers the whole folder\n   and **outranks `knowledge\u002F*`**. Older HQ versions wrote these. The `hq files acl`\n   output for `knowledge\u002F*` does not show it; only `hq files acl knowledge` does.\n3. The shared-folder rule `knowledge\u002F*`.\n4. The bucket-wide rule `*`.\n\nConsequences this skill handles:\n\n- A rule with no entries still wins. An empty `knowledge\u002F*` row (an \"auto-lock\",\n  created when an owner first uploaded there) or an empty bare `knowledge` row locks\n  every member out of the folder, even when `*` grants the team.\n- A new `knowledge\u002F*` row takes over from `*` for that folder. Any person, email,\n  group, or app on `*` loses access to `knowledge\u002F` unless the grant is copied.\n- An emptied legacy row is kept, not deleted, so it keeps locking members out.\n  Never remove entries from a bare row.\n\n## Folders this skill never grants\n\n`ontology\u002F`, `signals\u002F`, and `sources\u002F` are never part of the member baseline.\nAccess to them is per audience: the ontology worker grants each\n`@{audienceKey}\u002F*` shared glob to exactly the people who were privy to its source\n(`core\u002Fknowledge\u002Fpublic\u002Fhq-core\u002Fontology-local-spec.md`). If an owner asks to\ngive the team those folders, explain that and stop.\n\n## Principals\n\n- `@all` — every active member of the company. The default for a baseline.\n- `grp_\u003Cname>` — a group created with `hq groups create`. Use when only one function\n  should see a folder.\n- A person's email, or a `prs_`\u002F`agt_` uid — for one-off shares. Not what this skill\n  is for; point them at `\u002Fhq-share`. The skill only writes these when copying a grant\n  that a new rule would otherwise hide (step 3b).\n\nPermission is `read` or `write`. `write` includes read. A member needs `write` on a path\nto push files they create there.\n\n## Flow\n\nAsk one question at a time with `AskUserQuestion`. Never batch the per-folder decisions.\nIn Codex, or any host without `AskUserQuestion`, ask the same single question in chat\nas a short numbered list of options, recommended first, and wait for the reply before\nthe next one.\n\n### 1. Resolve the company and confirm the caller can act\n\n```bash\nslug=\"${ARGUMENTS:-$(jq -r '.company \u002F\u002F empty' .hq\u002Fconfig.json 2>\u002Fdev\u002Fnull)}\"\ntest -n \"$slug\" || { echo \"No company slug given and no active company.\" >&2; exit 2; }\ntest -d \"companies\u002F$slug\" || { echo \"companies\u002F$slug does not exist locally.\" >&2; exit 2; }\n```\n\nIf `$ARGUMENTS` is `--all-owned`, follow \"Several companies in one run\" below instead.\n\nThe company must be cloud-backed (`cloud: true` in `companies\u002F{slug}\u002Fcompany.yaml`). If\nit is not, stop and tell the owner to run `\u002Fdesignate-team {slug}` first; there is no\nvault to grant on yet.\n\nOnly an owner or admin can write grants. If the first grant returns a 403, say so and\nstop; do not retry.\n\n### 2. Read the current state\n\nFor each synced root — `knowledge`, `projects`, `policies`, `skills` — read all three\nrule shapes that can govern it, plus what is inside:\n\n```bash\nhq files acl \"$root\"   --company \"$slug\" --json   # legacy bare row; outranks $root\u002F*\nhq files acl \"$root\u002F\"  --company \"$slug\" --json   # private-folder row\nhq files acl \"$root\u002F*\" --company \"$slug\" --json   # shared row, the inherited '*' entries, and child rows with grants\nhq files browse \"companies\u002F$slug\u002F$root\u002F\" --company \"$slug\"\n```\n\nIn each JSON result, `.exists` says whether that exact row exists and `.direct` holds\nits entries. `.inherited` on the `$root\u002F*` read carries the `*` entries (tagged\n`sourcePrefix: \"*\"`). `.children` lists entries of rows below the root, tagged by\n`sourcePrefix`; rows below the root with no entries do not appear there (see step 4b).\n\nFind the **winning row** for files in the folder:\n\n- bare `$root` exists → the bare row wins;\n- otherwise `$root\u002F*` exists → `$root\u002F*` wins;\n- otherwise `*` wins if it exists; otherwise nothing covers the folder.\n\nThen classify the folder, first match wins:\n\n| Finding | Meaning |\n|---|---|\n| `$root\u002F` exists and `$root\u002F*` does not | Private-folder row. A `$root\u002F*` grant will fail with `ACL_PATTERN_CONFLICT` (DEV-3405). Step 4 stops for this folder. |\n| Bare `$root` exists | Legacy row governs the folder. Say who its entries give access to; \"nobody\" if empty. |\n| Winning row has a `company-wide` `write` entry | Team already has the folder. |\n| Winning row has a `company-wide` `read` entry only | Team can read but not push. |\n| Winning row is `$root\u002F*` with no entries | Auto-lock: only the creator and owners\u002Fadmins can use the folder. |\n| Winning row is `$root\u002F*` with only people, emails, groups | Team as a whole has no access. |\n| Winning row is `*` | No folder rule yet. The `*` entries decide. |\n| Nothing covers the folder | No rule at all. Members have no access. |\n\nSummarize per root in one line each, plain words:\n\n> `knowledge\u002F` — locked by an old folder rule that gives nobody access. Inside: `shared\u002F`, `finance\u002F`, `onboarding\u002F`.\n> `projects\u002F` — no team-wide access yet (locked when it was first used).\n\nIf `*` has a `company-wide` entry, flag it as the first thing to fix: that grant covers\nthe entire vault, including anything added later anywhere.\n\nJudge members' access only from the entries on the winning row. Never use\n`effectivePermission` for this: it reports the caller's own access, and an owner or\nadmin always has full access, so it says nothing about members.\n\n### 3. Decide per root\n\nFor a folder classified as a private-folder conflict, do not offer the options below.\nTell the owner the folder is set up as a private create-only folder, which blocks a\nteam-wide grant. If that row has no entries, or the owner wants the team to share the\nfolder, give them the support message from step 4 (\"Private-folder conflict\") and\nrecord the folder under `blocked` in step 6. For every other root, in order, one\nquestion:\n\n> Who should be able to work in `{root}\u002F` by default?\n\nOptions (recommended first, adjusted to what step 2 found):\n\n1. **Everyone, the whole folder** — one `@all write` grant on `{root}\u002F*`, plus the same\n   grant on the bare `{root}` row when one exists, so the rule that actually wins\n   carries it. Right for folders that are meant to be shared by construction\n   (`skills\u002F`, `policies\u002F`, usually `projects\u002F`).\n2. **Everyone, but only these subfolders** — follow-up multi-select over the folders\n   found in step 2. One `@all write` grant per chosen subfolder using `{subfolder}\u002F*`. Right for `knowledge\u002F`\n   when it holds both team material and private material.\n3. **Only a group** — follow-up: which `grp_*` (list from `hq groups list --company\n   {slug}`), then whole folder or subfolders as above.\n4. **Nobody by default** — leave it to per-person shares. Say plainly that members will\n   not be able to sync anything they create here until someone shares it.\n\nIf the owner picks subfolders and a subfolder they need does not exist yet, create it\nlocally with a `.gitkeep`, push it, then grant it. A grant on a path that has no objects\nis valid and covers files added later.\n\nAsk read vs write only if the owner raises it; default to `write`, since the point of a\nbaseline is letting members contribute. Read-only baselines are a deliberate choice, not\nthe default.\n\n### 3b. Grants a new row would hide\n\nBefore writing to any path whose row does not exist yet (`.exists == false`), find\nthe row that governs it today and list that row's entries that are not\n`company-wide`. Those are the grants the new row would cut off.\n\nThe governing row is the most specific **existing** row above the path, decided by\n`.exists`, never by whether it has entries: an empty row still governs and already\nblocks everything above it. For a direct subfolder of a root, check in this order and\nstop at the first that exists: bare `{root}`, then `{root}\u002F*`, then `*` (step 2 already\nread all three). For a new `{root}\u002F*` row the order is bare `{root}` (if it exists the\nnew row changes nothing for members; go on), then `*`. For a deeper path, check each\nparent folder's bare and `\u002F*` rows first, innermost first.\n\n```bash\nhq files acl \"$governing\" --company \"$slug\" --json \\\n  | jq 'if .exists then .prefix as $from\n        | [.direct[] | select(.granteeType != \"company-wide\")\n           | {granteeType, granteeId, permission, from: $from}]\n        else [] end'\n```\n\nDo not read these entries from `.inherited` of the new path: it lists only rows that\ncarry entries, skips empty rows, and never lists a bare row, so it can name grants\nfrom `*` that an empty `{root}\u002F*` row is blocking today. Copying those would open the\nnew folder to people who are shut out now.\n\nIf the list is empty, go on. If not, ask one question, naming each grantee and its\npermission:\n\n> Adding a team rule on `{path}` would cut off these existing grants, which reach it\n> today through `{from}`: {list}. What should happen to them?\n\n1. **Keep them** (recommended) — copy each onto `{path}` with the same permission.\n2. **Let them lapse** — only the team grant applies there from now on.\n3. **Skip this folder** — change nothing here.\n\n`hq files share` accepts emails, `grp_` ids, and `prs_`\u002F`agt_` uids. It cannot write an\n`app` grant. If the list has an `app` entry, say that the app would lose access to\n`{path}`, recommend option 3, and name it under \"Not applied\" in step 7 if the owner\nskips.\n\n### 4. Apply, grant-before-revoke\n\nOrder matters when narrowing. If step 2 found a whole-root `@all` grant and the owner is\nmoving to subfolders:\n\n1. Write every new narrower grant first.\n2. Read each one back (step 5) and confirm it landed.\n3. Only then remove the broad grant:\n   `hq files unshare \"$root\u002F*\" --with @all --company \"$slug\"`.\n\nNever revoke first. A member mid-sync between the revoke and the new grant loses access\nto files they are editing.\n\n**Narrowing is blocked when a bare `$root` row carries the team grant.** The bare row\nwins over `$root\u002F*` and this skill never unshares from it, so removing the `$root\u002F*`\ngrant would not take access away from the folders the owner left out. In that case\ngrant the chosen subfolders if the owner still wants them, but do not remove any\nbroad grant and do not record the narrowing as done. Tell the owner plainly that the\nold folder rule still gives everyone the whole folder and that Indigo support has to\nremove it, list it under \"Not applied\" in step 7, and record it under `blocked` in\nstep 6.\n\nGrant form, one call per path:\n\n```bash\nhq files share \"$path\" --with \"$principal\" --permission write --company \"$slug\"\n```\n\nFor a whole-folder choice — \"Everyone, the whole folder\" (`@all`) or \"Only a group\"\nfor the whole folder (`grp_*`) — write `\"$root\u002F*\"` first. If a bare `$root` row exists,\nthen write the same principal on the bare row too, so the rule that wins carries it:\n\n```bash\nhq files share \"$root\u002F*\" --with \"$principal\" --permission write --company \"$slug\"\nhq files share \"$root\"   --with \"$principal\" --permission write --company \"$slug\"   # only when the bare row exists\n```\n\nFor the everyone choice, `$principal` is `@all`:\n\n```bash\nhq files share \"$root\u002F*\" --with @all --permission write --company \"$slug\"\nhq files share \"$root\"   --with @all --permission write --company \"$slug\"   # only when the bare row exists\n```\n\nThe same applies to every folder you grant as `{folder}\u002F*`, including a chosen\nsubfolder such as `knowledge\u002Fshared\u002F*`: first read its bare row\n(`hq files acl \"knowledge\u002Fshared\" --company \"$slug\" --json`). A bare row on the folder\nitself outranks its `\u002F*` row, so when it exists, write the same principal on it too\nand verify it in step 5.\n\nNever create a bare row that does not already exist, and never run `hq files unshare`\non a bare row. Removing its last entry leaves it empty, and an empty legacy row stays\nin place and locks members out.\n\nCopied grants from step 3b use the grantee's own id and permission on the new path,\nafter the team grant on the same path.\n\n**Private-folder conflict (DEV-3405).** If step 2 found a `$root\u002F` row, or a share\nfails with `ACL_PATTERN_CONFLICT` (the CLI prints \"Conflicting ACL pattern already\nexists\" and \"cannot both exist\"), stop for that folder. Do not remove the `$root\u002F` row,\ndo not grant `$root\u002F` instead, do not retry, and do not try another pattern: the\ncommand line cannot clear this row. Go on with the other folders and tell the owner in\nplain words:\n\n> Your team can't be given `{root}\u002F` yet. It has an empty private-folder setting that\n> blocks a team-wide grant, and HQ can't remove it from your side. Please contact\n> Indigo support (reply to the email Indigo sent you about team access, or use your\n> usual Indigo support contact) and mention DEV-3405 and the folder `{root}\u002F` in\n> `{Name}`.\n\nNever write a `*` grant from this skill, even if asked. If the owner wants the whole\nvault shared, tell them that is what `hq files share --full` does, name the risk, and\nleave it to them to run.\n\n### 4b. Locked subfolders under a granted root\n\nA whole-root grant does not reach a subfolder that has its own row: that row wins for\neverything inside the subfolder. After granting a root, check below it.\n\nRows with entries show up in `.children` of the root read:\n\n```bash\nhq files acl \"$root\u002F*\" --company \"$slug\" --json \\\n  | jq '.children | group_by(.sourcePrefix)\n        | map({path: .[0].sourcePrefix,\n               team: ([.[] | select(.granteeType == \"company-wide\") | .permission] | first),\n               grants: length})'\n```\n\nThese were shared on purpose. Do not change them. Report how many exist and which\nones leave out the team (`team: null`), so the owner knows members can't open them.\n\nRows with no entries do not show up anywhere in the CLI output. For each direct\nsubfolder listed by `hq files browse` in step 2, probe the shared and bare rules:\n\n```bash\nhq files acl \"$root\u002F$sub\u002F*\" --company \"$slug\" --json | jq '{prefix, exists, entries: (.direct | length)}'\nhq files acl \"$root\u002F$sub\"   --company \"$slug\" --json | jq '{prefix, exists, entries: (.direct | length)}'\n```\n\nThat is two reads per subfolder; a folder with hundreds of subfolders takes several\nminutes, so tell the owner before starting. `exists: true` with `entries: 0` is a\nlocked subfolder. For each one, ask one question:\n\n> `{root}\u002F{sub}\u002F` has its own rule that gives nobody access, so the team grant on\n> `{root}\u002F` doesn't reach it. Give everyone write access to it too?\n\n1. **Yes** — `hq files share \"\u003Cthat prefix>\" --with @all --permission write --company \"$slug\"`,\n   then read it back with `--company \"$slug\"` as in step 5.\n2. **Leave it locked.**\n\nA `$root\u002F$sub\u002F` private-folder row is a deliberate creator-only folder; leave it.\n\n**Limitation:** no `hq files` command lists rows that have no entries. The probe above\ncovers direct subfolders only. An empty row two or more levels down, or on a folder\nthat holds no files yet, cannot be found from the CLI. Say so in the report. If a\nmember still can't sync a deeper folder, check that folder with\n`hq files acl \"\u003Cfolder>\u002F*\"` and `hq files acl \"\u003Cfolder>\"`.\n\n### 5. Verify by readback, not by exit code\n\nFor every path touched, read the ACL back and confirm the grantee and permission are\npresent in `.direct` of that exact row:\n\n```bash\nhq files acl \"$path\" --company \"$slug\" --json \\\n  | jq -e --arg p \"$principal\" --arg perm \"$permission\" \\\n      '.exists and any(.direct[]?; (.granteeId==$p or ($p==\"@all\" and .granteeType==\"company-wide\")) and .permission==$perm)'\n```\n\nThen check the row that actually wins for members. For every `{folder}\u002F*` grant —\na whole root or a chosen subfolder — re-read the folder's bare row (`$root` for a\nroot) with the same check and the same principal the owner chose\n(`@all` or the `grp_*` id): if the bare row exists, it is the winner and must carry\nthat entry. If it does not exist, `{folder}\u002F*` is the winner. A `{folder}\u002F*` readback\nalone does not prove members can use a folder that has a bare row. Never add `@all` just to\nmake a readback pass.\n\nNever use `effectivePermission` as proof. It reflects the caller's own owner or admin\nrole, not what members hold.\n\nThe `prefix` field in the output is the exact pattern sent: `knowledge\u002F` remains a\nprivate create-only row, while `knowledge\u002F*` is the shared recursive row. They are\ndifferent ACL rows and cannot coexist.\n\nA grant that returned success but is absent on readback is a failure. Report it as one,\nwith the exact command to re-run. Do not report the baseline as set until every path\nreads back.\n\n### 6. Record the decision\n\nWrite `companies\u002F{slug}\u002Fsettings\u002Fteam-access.yaml` so the next run can show what was\nintended and diff it against what the vault actually holds:\n\n```yaml\nversion: 1\nupdated: \u003CISO date>\nbaseline:\n  knowledge:\n    - path: knowledge\u002Fshared\u002F*\n      with: \"@all\"\n      permission: write\n  projects:\n    - path: projects\u002F*\n      with: \"@all\"\n      permission: write\n    - path: projects        # legacy bare row, granted so the winning rule matches\n      with: \"@all\"\n      permission: write\n  policies:\n    - path: policies\u002F*\n      with: \"@all\"\n      permission: write\n  skills:\n    - path: skills\u002F*\n      with: \"@all\"\n      permission: write\nexcluded:\n  - knowledge\u002Ffinance\u002F   # private-folder marker; not a shared recursive grant\nblocked:\n  - path: skills\u002F\n    reason: DEV-3405 private-folder row; owner told to contact Indigo support\n```\n\n`settings\u002F` does not sync to the vault; this file is the owner's record on their own\nmachine. The grants themselves live in the vault and are what members actually get.\n\n### 7. Report\n\nPlain words, one line per root, then the exclusions:\n\n```\nTeam access for {Name}\n  knowledge\u002F  everyone can write in shared\u002F* and onboarding\u002F*  (finance\u002F stays private)\n  projects\u002F   everyone can write the whole folder via projects\u002F* and the old projects rule\n  policies\u002F   everyone can write the whole folder via policies\u002F*\n  skills\u002F     not changed: needs Indigo support (DEV-3405)\n  Subfolders: 32 shared on purpose left as they are (3 leave out the team); 1 locked one opened.\nAll 6 grants verified by readback.\n```\n\nIf anything did not verify, list it under \"Not applied\" with the re-run command. List\nDEV-3405 folders, skipped `app` grants, and the deeper-subfolder limitation there too.\n\n## Several companies in one run\n\nWhen the owner asks to fix access \"everywhere\", \"for all my companies\", or passes\n`--all-owned`, loop over every cloud company where the caller is an owner:\n\n```bash\nme=\"$(hq whoami --json | jq -r '.email')\"\nhq sync mode --show                                     # companies you belong to (first column)\nhq members list --company \"$c\" | awk -v me=\"$me\" '$(1)==me {print $(2)}'   # your role in company $c\n```\n\nKeep a company only if `companies\u002F$c\u002Fcompany.yaml` has `cloud: true` and your role is\n`owner`. Show the list, then take one company at a time: ask one question — \"Check\nteam access for `{Name}` now?\" with **Yes** \u002F **Skip** \u002F **Stop here** — and, on Yes,\nrun steps 2–7 for that company alone before the next one. Never mix companies in one\nquestion, one grant, or one summary line; each company's settings and records stay in\nits own `companies\u002F{slug}\u002F`. End with one line per company: fixed, already fine,\nskipped, or needs Indigo support.\n\n## Rules\n\n- One question per decision. Never batch the per-root questions into one prompt. Chat\n  fallback in hosts without `AskUserQuestion`.\n- Explain the \"covers everything inside\" rule before the first decision, every run.\n- Read the bare `{root}` row as well as `{root}\u002F` and `{root}\u002F*`. A bare row outranks\n  `{root}\u002F*`.\n- Grant new access before revoking old access. Never the other way round.\n- Never unshare from a bare `{root}` row. Never create one.\n- Before writing a new row, list the grants it would hide and ask what to do with them.\n- On `ACL_PATTERN_CONFLICT`, stop for that folder and send the owner to Indigo support\n  (DEV-3405). No workarounds.\n- Never write a `*` grant. Never widen a subfolder choice to its parent silently.\n- Verify every grant by readback on the winning row's `.direct` entries. Success exit\n  codes and `effectivePermission` are not proof.\n- Owner and admin only. Members cannot run this; say so and stop on 403.\n- Secrets are a separate system with owner-only grants. This skill does not touch them;\n  point at `\u002Fhq-secrets` if the owner asks.\n\n## Re-running\n\nRunning `\u002Fteam-access` again on a company that already has a baseline shows the\ncurrent grants next to the recorded intent and asks only about the differences. This\nis the safe way to narrow a company that was set up with whole-root grants: pick\nsubfolders, and the skill grants them first and removes the root grant last. It is\nalso the way to heal a company whose members can't sync: the step 2 classification\nnames the rule that locks them out.\n\n## See also\n\n- `\u002Fdesignate-team` — cloud-backs a company and writes the default baseline\n  (`@all write` on the four synced roots). Run `\u002Fteam-access` afterward to narrow it.\n- `\u002Fhq-share` — one-off shares to a person or a link.\n- `\u002Fhq-files` — inspect any grant directly.\n","# \u002Fteam-access — Member access baseline for a company vault\n\n**Args:** `$ARGUMENTS` — optional company slug, or `--all-owned` to walk every\ncloud company where you are an owner. Defaults to the active company.\n\n## What this controls\n\nPlain members of a company hold no file access until someone grants it. Owners and\nadmins bypass the access list; members do not, and inviting someone writes no grants.\nSo a member who creates a note under `knowledge\u002F` cannot push it, and cannot pull what\nteammates wrote, until a grant covers that path.\n\nThis skill lets an owner decide, folder by folder, what the whole team gets by default,\nand lets them keep the grant narrower than the whole folder when a folder mixes shared\nand sensitive material. It also repairs folders where an older or more specific rule\nhides the team grant.\n\n## The one rule the owner must understand\n\n**Every shared-folder glob covers everything inside it, now and in the future.** Use\n`knowledge\u002F*` when the team should read and write the whole tree. A trailing slash,\nsuch as `knowledge\u002F`, is a private create-only folder: `write` permits one new direct\nchild and the first upload locks that child to its creator; it does not share existing\nchildren. There is no \"shared folder but not its subfolders\" glob. To keep sensitive\nmaterial out of a team-wide grant, grant a narrower shared glob (`knowledge\u002Fshared\u002F*`)\nor keep it under a sibling path that is not granted.\n\nSay this to the owner in plain words before the first decision. Do not let them grant a\nroot folder believing they can carve pieces out later by name.\n\n## Which rule wins\n\nFor any file, the vault applies exactly one rule: the most specific one that matches.\nOnly that rule's entries count; a broader rule never adds to it. From most to least\nspecific, for a file under `knowledge\u002F`:\n\n1. A subfolder rule — `knowledge\u002Ffinance\u002F*` or a bare `knowledge\u002Ffinance` — wins for\n   files inside that subfolder.\n2. A **legacy bare rule** `knowledge` (no slash, no `*`). It covers the whole folder\n   and **outranks `knowledge\u002F*`**. Older HQ versions wrote these. The `hq files acl`\n   output for `knowledge\u002F*` does not show it; only `hq files acl knowledge` does.\n3. The shared-folder rule `knowledge\u002F*`.\n4. The bucket-wide rule `*`.\n\nConsequences this skill handles:\n\n- A rule with no entries still wins. An empty `knowledge\u002F*` row (an \"auto-lock\",\n  created when an owner first uploaded there) or an empty bare `knowledge` row locks\n  every member out of the folder, even when `*` grants the team.\n- A new `knowledge\u002F*` row takes over from `*` for that folder. Any person, email,\n  group, or app on `*` loses access to `knowledge\u002F` unless the grant is copied.\n- An emptied legacy row is kept, not deleted, so it keeps locking members out.\n  Never remove entries from a bare row.\n\n## Folders this skill never grants\n\n`ontology\u002F`, `signals\u002F`, and `sources\u002F` are never part of the member baseline.\nAccess to them is per audience: the ontology worker grants each\n`@{audienceKey}\u002F*` shared glob to exactly the people who were privy to its source\n(`core\u002Fknowledge\u002Fpublic\u002Fhq-core\u002Fontology-local-spec.md`). If an owner asks to\ngive the team those folders, explain that and stop.\n\n## Principals\n\n- `@all` — every active member of the company. The default for a baseline.\n- `grp_\u003Cname>` — a group created with `hq groups create`. Use when only one function\n  should see a folder.\n- A person's email, or a `prs_`\u002F`agt_` uid — for one-off shares. Not what this skill\n  is for; point them at `\u002Fhq-share`. The skill only writes these when copying a grant\n  that a new rule would otherwise hide (step 3b).\n\nPermission is `read` or `write`. `write` includes read. A member needs `write` on a path\nto push files they create there.\n\n## Flow\n\nAsk one question at a time with `AskUserQuestion`. Never batch the per-folder decisions.\nIn Codex, or any host without `AskUserQuestion`, ask the same single question in chat\nas a short numbered list of options, recommended first, and wait for the reply before\nthe next one.\n\n### 1. Resolve the company and confirm the caller can act\n\n```bash\nslug=\"${ARGUMENTS:-$(jq -r '.company \u002F\u002F empty' .hq\u002Fconfig.json 2>\u002Fdev\u002Fnull)}\"\ntest -n \"$slug\" || { echo \"No company slug given and no active company.\" >&2; exit 2; }\ntest -d \"companies\u002F$slug\" || { echo \"companies\u002F$slug does not exist locally.\" >&2; exit 2; }\n```\n\nIf `$ARGUMENTS` is `--all-owned`, follow \"Several companies in one run\" below instead.\n\nThe company must be cloud-backed (`cloud: true` in `companies\u002F{slug}\u002Fcompany.yaml`). If\nit is not, stop and tell the owner to run `\u002Fdesignate-team {slug}` first; there is no\nvault to grant on yet.\n\nOnly an owner or admin can write grants. If the first grant returns a 403, say so and\nstop; do not retry.\n\n### 2. Read the current state\n\nFor each synced root — `knowledge`, `projects`, `policies`, `skills` — read all three\nrule shapes that can govern it, plus what is inside:\n\n```bash\nhq files acl \"$root\"   --company \"$slug\" --json   # legacy bare row; outranks $root\u002F*\nhq files acl \"$root\u002F\"  --company \"$slug\" --json   # private-folder row\nhq files acl \"$root\u002F*\" --company \"$slug\" --json   # shared row, the inherited '*' entries, and child rows with grants\nhq files browse \"companies\u002F$slug\u002F$root\u002F\" --company \"$slug\"\n```\n\nIn each JSON result, `.exists` says whether that exact row exists and `.direct` holds\nits entries. `.inherited` on the `$root\u002F*` read carries the `*` entries (tagged\n`sourcePrefix: \"*\"`). `.children` lists entries of rows below the root, tagged by\n`sourcePrefix`; rows below the root with no entries do not appear there (see step 4b).\n\nFind the **winning row** for files in the folder:\n\n- bare `$root` exists → the bare row wins;\n- otherwise `$root\u002F*` exists → `$root\u002F*` wins;\n- otherwise `*` wins if it exists; otherwise nothing covers the folder.\n\nThen classify the folder, first match wins:\n\n| Finding | Meaning |\n|---|---|\n| `$root\u002F` exists and `$root\u002F*` does not | Private-folder row. A `$root\u002F*` grant will fail with `ACL_PATTERN_CONFLICT` (DEV-3405). Step 4 stops for this folder. |\n| Bare `$root` exists | Legacy row governs the folder. Say who its entries give access to; \"nobody\" if empty. |\n| Winning row has a `company-wide` `write` entry | Team already has the folder. |\n| Winning row has a `company-wide` `read` entry only | Team can read but not push. |\n| Winning row is `$root\u002F*` with no entries | Auto-lock: only the creator and owners\u002Fadmins can use the folder. |\n| Winning row is `$root\u002F*` with only people, emails, groups | Team as a whole has no access. |\n| Winning row is `*` | No folder rule yet. The `*` entries decide. |\n| Nothing covers the folder | No rule at all. Members have no access. |\n\nSummarize per root in one line each, plain words:\n\n> `knowledge\u002F` — locked by an old folder rule that gives nobody access. Inside: `shared\u002F`, `finance\u002F`, `onboarding\u002F`.\n> `projects\u002F` — no team-wide access yet (locked when it was first used).\n\nIf `*` has a `company-wide` entry, flag it as the first thing to fix: that grant covers\nthe entire vault, including anything added later anywhere.\n\nJudge members' access only from the entries on the winning row. Never use\n`effectivePermission` for this: it reports the caller's own access, and an owner or\nadmin always has full access, so it says nothing about members.\n\n### 3. Decide per root\n\nFor a folder classified as a private-folder conflict, do not offer the options below.\nTell the owner the folder is set up as a private create-only folder, which blocks a\nteam-wide grant. If that row has no entries, or the owner wants the team to share the\nfolder, give them the support message from step 4 (\"Private-folder conflict\") and\nrecord the folder under `blocked` in step 6. For every other root, in order, one\nquestion:\n\n> Who should be able to work in `{root}\u002F` by default?\n\nOptions (recommended first, adjusted to what step 2 found):\n\n1. **Everyone, the whole folder** — one `@all write` grant on `{root}\u002F*`, plus the same\n   grant on the bare `{root}` row when one exists, so the rule that actually wins\n   carries it. Right for folders that are meant to be shared by construction\n   (`skills\u002F`, `policies\u002F`, usually `projects\u002F`).\n2. **Everyone, but only these subfolders** — follow-up multi-select over the folders\n   found in step 2. One `@all write` grant per chosen subfolder using `{subfolder}\u002F*`. Right for `knowledge\u002F`\n   when it holds both team material and private material.\n3. **Only a group** — follow-up: which `grp_*` (list from `hq groups list --company\n   {slug}`), then whole folder or subfolders as above.\n4. **Nobody by default** — leave it to per-person shares. Say plainly that members will\n   not be able to sync anything they create here until someone shares it.\n\nIf the owner picks subfolders and a subfolder they need does not exist yet, create it\nlocally with a `.gitkeep`, push it, then grant it. A grant on a path that has no objects\nis valid and covers files added later.\n\nAsk read vs write only if the owner raises it; default to `write`, since the point of a\nbaseline is letting members contribute. Read-only baselines are a deliberate choice, not\nthe default.\n\n### 3b. Grants a new row would hide\n\nBefore writing to any path whose row does not exist yet (`.exists == false`), find\nthe row that governs it today and list that row's entries that are not\n`company-wide`. Those are the grants the new row would cut off.\n\nThe governing row is the most specific **existing** row above the path, decided by\n`.exists`, never by whether it has entries: an empty row still governs and already\nblocks everything above it. For a direct subfolder of a root, check in this order and\nstop at the first that exists: bare `{root}`, then `{root}\u002F*`, then `*` (step 2 already\nread all three). For a new `{root}\u002F*` row the order is bare `{root}` (if it exists the\nnew row changes nothing for members; go on), then `*`. For a deeper path, check each\nparent folder's bare and `\u002F*` rows first, innermost first.\n\n```bash\nhq files acl \"$governing\" --company \"$slug\" --json \\\n  | jq 'if .exists then .prefix as $from\n        | [.direct[] | select(.granteeType != \"company-wide\")\n           | {granteeType, granteeId, permission, from: $from}]\n        else [] end'\n```\n\nDo not read these entries from `.inherited` of the new path: it lists only rows that\ncarry entries, skips empty rows, and never lists a bare row, so it can name grants\nfrom `*` that an empty `{root}\u002F*` row is blocking today. Copying those would open the\nnew folder to people who are shut out now.\n\nIf the list is empty, go on. If not, ask one question, naming each grantee and its\npermission:\n\n> Adding a team rule on `{path}` would cut off these existing grants, which reach it\n> today through `{from}`: {list}. What should happen to them?\n\n1. **Keep them** (recommended) — copy each onto `{path}` with the same permission.\n2. **Let them lapse** — only the team grant applies there from now on.\n3. **Skip this folder** — change nothing here.\n\n`hq files share` accepts emails, `grp_` ids, and `prs_`\u002F`agt_` uids. It cannot write an\n`app` grant. If the list has an `app` entry, say that the app would lose access to\n`{path}`, recommend option 3, and name it under \"Not applied\" in step 7 if the owner\nskips.\n\n### 4. Apply, grant-before-revoke\n\nOrder matters when narrowing. If step 2 found a whole-root `@all` grant and the owner is\nmoving to subfolders:\n\n1. Write every new narrower grant first.\n2. Read each one back (step 5) and confirm it landed.\n3. Only then remove the broad grant:\n   `hq files unshare \"$root\u002F*\" --with @all --company \"$slug\"`.\n\nNever revoke first. A member mid-sync between the revoke and the new grant loses access\nto files they are editing.\n\n**Narrowing is blocked when a bare `$root` row carries the team grant.** The bare row\nwins over `$root\u002F*` and this skill never unshares from it, so removing the `$root\u002F*`\ngrant would not take access away from the folders the owner left out. In that case\ngrant the chosen subfolders if the owner still wants them, but do not remove any\nbroad grant and do not record the narrowing as done. Tell the owner plainly that the\nold folder rule still gives everyone the whole folder and that Indigo support has to\nremove it, list it under \"Not applied\" in step 7, and record it under `blocked` in\nstep 6.\n\nGrant form, one call per path:\n\n```bash\nhq files share \"$path\" --with \"$principal\" --permission write --company \"$slug\"\n```\n\nFor a whole-folder choice — \"Everyone, the whole folder\" (`@all`) or \"Only a group\"\nfor the whole folder (`grp_*`) — write `\"$root\u002F*\"` first. If a bare `$root` row exists,\nthen write the same principal on the bare row too, so the rule that wins carries it:\n\n```bash\nhq files share \"$root\u002F*\" --with \"$principal\" --permission write --company \"$slug\"\nhq files share \"$root\"   --with \"$principal\" --permission write --company \"$slug\"   # only when the bare row exists\n```\n\nFor the everyone choice, `$principal` is `@all`:\n\n```bash\nhq files share \"$root\u002F*\" --with @all --permission write --company \"$slug\"\nhq files share \"$root\"   --with @all --permission write --company \"$slug\"   # only when the bare row exists\n```\n\nThe same applies to every folder you grant as `{folder}\u002F*`, including a chosen\nsubfolder such as `knowledge\u002Fshared\u002F*`: first read its bare row\n(`hq files acl \"knowledge\u002Fshared\" --company \"$slug\" --json`). A bare row on the folder\nitself outranks its `\u002F*` row, so when it exists, write the same principal on it too\nand verify it in step 5.\n\nNever create a bare row that does not already exist, and never run `hq files unshare`\non a bare row. Removing its last entry leaves it empty, and an empty legacy row stays\nin place and locks members out.\n\nCopied grants from step 3b use the grantee's own id and permission on the new path,\nafter the team grant on the same path.\n\n**Private-folder conflict (DEV-3405).** If step 2 found a `$root\u002F` row, or a share\nfails with `ACL_PATTERN_CONFLICT` (the CLI prints \"Conflicting ACL pattern already\nexists\" and \"cannot both exist\"), stop for that folder. Do not remove the `$root\u002F` row,\ndo not grant `$root\u002F` instead, do not retry, and do not try another pattern: the\ncommand line cannot clear this row. Go on with the other folders and tell the owner in\nplain words:\n\n> Your team can't be given `{root}\u002F` yet. It has an empty private-folder setting that\n> blocks a team-wide grant, and HQ can't remove it from your side. Please contact\n> Indigo support (reply to the email Indigo sent you about team access, or use your\n> usual Indigo support contact) and mention DEV-3405 and the folder `{root}\u002F` in\n> `{Name}`.\n\nNever write a `*` grant from this skill, even if asked. If the owner wants the whole\nvault shared, tell them that is what `hq files share --full` does, name the risk, and\nleave it to them to run.\n\n### 4b. Locked subfolders under a granted root\n\nA whole-root grant does not reach a subfolder that has its own row: that row wins for\neverything inside the subfolder. After granting a root, check below it.\n\nRows with entries show up in `.children` of the root read:\n\n```bash\nhq files acl \"$root\u002F*\" --company \"$slug\" --json \\\n  | jq '.children | group_by(.sourcePrefix)\n        | map({path: .[0].sourcePrefix,\n               team: ([.[] | select(.granteeType == \"company-wide\") | .permission] | first),\n               grants: length})'\n```\n\nThese were shared on purpose. Do not change them. Report how many exist and which\nones leave out the team (`team: null`), so the owner knows members can't open them.\n\nRows with no entries do not show up anywhere in the CLI output. For each direct\nsubfolder listed by `hq files browse` in step 2, probe the shared and bare rules:\n\n```bash\nhq files acl \"$root\u002F$sub\u002F*\" --company \"$slug\" --json | jq '{prefix, exists, entries: (.direct | length)}'\nhq files acl \"$root\u002F$sub\"   --company \"$slug\" --json | jq '{prefix, exists, entries: (.direct | length)}'\n```\n\nThat is two reads per subfolder; a folder with hundreds of subfolders takes several\nminutes, so tell the owner before starting. `exists: true` with `entries: 0` is a\nlocked subfolder. For each one, ask one question:\n\n> `{root}\u002F{sub}\u002F` has its own rule that gives nobody access, so the team grant on\n> `{root}\u002F` doesn't reach it. Give everyone write access to it too?\n\n1. **Yes** — `hq files share \"\u003Cthat prefix>\" --with @all --permission write --company \"$slug\"`,\n   then read it back with `--company \"$slug\"` as in step 5.\n2. **Leave it locked.**\n\nA `$root\u002F$sub\u002F` private-folder row is a deliberate creator-only folder; leave it.\n\n**Limitation:** no `hq files` command lists rows that have no entries. The probe above\ncovers direct subfolders only. An empty row two or more levels down, or on a folder\nthat holds no files yet, cannot be found from the CLI. Say so in the report. If a\nmember still can't sync a deeper folder, check that folder with\n`hq files acl \"\u003Cfolder>\u002F*\"` and `hq files acl \"\u003Cfolder>\"`.\n\n### 5. Verify by readback, not by exit code\n\nFor every path touched, read the ACL back and confirm the grantee and permission are\npresent in `.direct` of that exact row:\n\n```bash\nhq files acl \"$path\" --company \"$slug\" --json \\\n  | jq -e --arg p \"$principal\" --arg perm \"$permission\" \\\n      '.exists and any(.direct[]?; (.granteeId==$p or ($p==\"@all\" and .granteeType==\"company-wide\")) and .permission==$perm)'\n```\n\nThen check the row that actually wins for members. For every `{folder}\u002F*` grant —\na whole root or a chosen subfolder — re-read the folder's bare row (`$root` for a\nroot) with the same check and the same principal the owner chose\n(`@all` or the `grp_*` id): if the bare row exists, it is the winner and must carry\nthat entry. If it does not exist, `{folder}\u002F*` is the winner. A `{folder}\u002F*` readback\nalone does not prove members can use a folder that has a bare row. Never add `@all` just to\nmake a readback pass.\n\nNever use `effectivePermission` as proof. It reflects the caller's own owner or admin\nrole, not what members hold.\n\nThe `prefix` field in the output is the exact pattern sent: `knowledge\u002F` remains a\nprivate create-only row, while `knowledge\u002F*` is the shared recursive row. They are\ndifferent ACL rows and cannot coexist.\n\nA grant that returned success but is absent on readback is a failure. Report it as one,\nwith the exact command to re-run. Do not report the baseline as set until every path\nreads back.\n\n### 6. Record the decision\n\nWrite `companies\u002F{slug}\u002Fsettings\u002Fteam-access.yaml` so the next run can show what was\nintended and diff it against what the vault actually holds:\n\n```yaml\nversion: 1\nupdated: \u003CISO date>\nbaseline:\n  knowledge:\n    - path: knowledge\u002Fshared\u002F*\n      with: \"@all\"\n      permission: write\n  projects:\n    - path: projects\u002F*\n      with: \"@all\"\n      permission: write\n    - path: projects        # legacy bare row, granted so the winning rule matches\n      with: \"@all\"\n      permission: write\n  policies:\n    - path: policies\u002F*\n      with: \"@all\"\n      permission: write\n  skills:\n    - path: skills\u002F*\n      with: \"@all\"\n      permission: write\nexcluded:\n  - knowledge\u002Ffinance\u002F   # private-folder marker; not a shared recursive grant\nblocked:\n  - path: skills\u002F\n    reason: DEV-3405 private-folder row; owner told to contact Indigo support\n```\n\n`settings\u002F` does not sync to the vault; this file is the owner's record on their own\nmachine. The grants themselves live in the vault and are what members actually get.\n\n### 7. Report\n\nPlain words, one line per root, then the exclusions:\n\n```\nTeam access for {Name}\n  knowledge\u002F  everyone can write in shared\u002F* and onboarding\u002F*  (finance\u002F stays private)\n  projects\u002F   everyone can write the whole folder via projects\u002F* and the old projects rule\n  policies\u002F   everyone can write the whole folder via policies\u002F*\n  skills\u002F     not changed: needs Indigo support (DEV-3405)\n  Subfolders: 32 shared on purpose left as they are (3 leave out the team); 1 locked one opened.\nAll 6 grants verified by readback.\n```\n\nIf anything did not verify, list it under \"Not applied\" with the re-run command. List\nDEV-3405 folders, skipped `app` grants, and the deeper-subfolder limitation there too.\n\n## Several companies in one run\n\nWhen the owner asks to fix access \"everywhere\", \"for all my companies\", or passes\n`--all-owned`, loop over every cloud company where the caller is an owner:\n\n```bash\nme=\"$(hq whoami --json | jq -r '.email')\"\nhq sync mode --show                                     # companies you belong to (first column)\nhq members list --company \"$c\" | awk -v me=\"$me\" '$(1)==me {print $(2)}'   # your role in company $c\n```\n\nKeep a company only if `companies\u002F$c\u002Fcompany.yaml` has `cloud: true` and your role is\n`owner`. Show the list, then take one company at a time: ask one question — \"Check\nteam access for `{Name}` now?\" with **Yes** \u002F **Skip** \u002F **Stop here** — and, on Yes,\nrun steps 2–7 for that company alone before the next one. Never mix companies in one\nquestion, one grant, or one summary line; each company's settings and records stay in\nits own `companies\u002F{slug}\u002F`. End with one line per company: fixed, already fine,\nskipped, or needs Indigo support.\n\n## Rules\n\n- One question per decision. Never batch the per-root questions into one prompt. Chat\n  fallback in hosts without `AskUserQuestion`.\n- Explain the \"covers everything inside\" rule before the first decision, every run.\n- Read the bare `{root}` row as well as `{root}\u002F` and `{root}\u002F*`. A bare row outranks\n  `{root}\u002F*`.\n- Grant new access before revoking old access. Never the other way round.\n- Never unshare from a bare `{root}` row. Never create one.\n- Before writing a new row, list the grants it would hide and ask what to do with them.\n- On `ACL_PATTERN_CONFLICT`, stop for that folder and send the owner to Indigo support\n  (DEV-3405). No workarounds.\n- Never write a `*` grant. Never widen a subfolder choice to its parent silently.\n- Verify every grant by readback on the winning row's `.direct` entries. Success exit\n  codes and `effectivePermission` are not proof.\n- Owner and admin only. Members cannot run this; say so and stop on 403.\n- Secrets are a separate system with owner-only grants. This skill does not touch them;\n  point at `\u002Fhq-secrets` if the owner asks.\n\n## Re-running\n\nRunning `\u002Fteam-access` again on a company that already has a baseline shows the\ncurrent grants next to the recorded intent and asks only about the differences. This\nis the safe way to narrow a company that was set up with whole-root grants: pick\nsubfolders, and the skill grants them first and removes the root grant last. It is\nalso the way to heal a company whose members can't sync: the step 2 classification\nnames the rule that locks them out.\n\n## See also\n\n- `\u002Fdesignate-team` — cloud-backs a company and writes the default baseline\n  (`@all write` on the four synced roots). Run `\u002Fteam-access` afterward to narrow it.\n- `\u002Fhq-share` — one-off shares to a person or a link.\n- `\u002Fhq-files` — inspect any grant directly.\n",{"name":5,"description":7,"allowed-tools":44},"Bash(hq:*), Bash(jq:*), Bash(awk:*), Bash(test:*), Bash(mkdir:*), Bash(printf:*), Read, Write, AskUserQuestion","main","205cf61728a27ef15e9153aa38df5856fc8d82f5",".claude\u002Fskills\u002Fteam-access",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 team-access",{"tool":60,"command":61},"bunx","bunx skills add indigoai-us\u002Fhq-core --skill team-access",{"tool":63,"command":64},"pnpm","pnpm dlx skills add indigoai-us\u002Fhq-core --skill team-access","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fteam-access\u002FSKILL.md",true,[68],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"agents\u002Fopenai.yaml","REFERENCE","参考文档",137,"https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fteam-access\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",[],[]]