core/packages/hq-pack-cowork/skills/hq-cowork/SKILL.md
Discovery + dispatch entry point for native HQ inside Cowork (or any sandboxed Claude Code plugin host). Enumerates every HQ capability available through hq-pack-cowork's host-side MCP server (identity, sync, qmd/search, secrets, vault files, team & membership, packages & modules, meeting intelligence, feedback, schema-backed runs, guarded long-tail CLI) and routes to the right `mcp__hq__*` tool while preserving default HQ behavior through a different transport. Use when the agent needs HQ but `hq`/`qmd` aren't reachable from its bash sandbox and isn't sure which tool to call.
npx skillsauth add indigoai-us/hq-core hq-coworkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Cowork's bash runs in an isolated Linux VM that cannot see ~/.hq (Cognito
auth) or reach the host's hq / qmd binaries. hq-pack-cowork ships a
host-side stdio MCP server that runs those binaries with full auth and
exposes them as mcp__hq__* tool calls. This skill is the map: it tells you
which tool covers which HQ capability and how to call it.
Args: $ARGUMENTS — optional. A capability keyword (e.g. sync,
secrets, meetings) jumps straight to that section's guidance. No arg =
print the full capability map below and ask what the user wants.
| Need | Tool | Notes |
|---|---|---|
| Confirm identity / session | mcp__hq__hq_whoami | email + session expiry. First call to sanity-check wiring. |
| Bidirectional sync | mcp__hq__hq_sync | company to scope, personal: true for personal vault, else all. |
| Pull team content | mcp__hq__hq_team_sync | one-way down-sync; team to scope, dryRun to preview. |
| Search HQ content | mcp__hq__hq_search | qmd hybrid. See /hq-cowork-search. |
| qmd read/list/ask/index | mcp__hq__hq_qmd | Same qmd-first workflow as default HQ sessions: collections/status/list/get/multi_get/search/ask/update. |
| Run cmd with a secret | mcp__hq__hq_secrets_exec | values injected as env, NEVER returned. See /hq-cowork-secrets. |
| List secret names | mcp__hq__hq_secrets_list | names/metadata only — no values. |
| Share a vault path | mcp__hq__hq_share | mint URL or grant ACL. See /hq-cowork-share. |
| Read vault objects | mcp__hq__hq_files | browse / cat / acl / search / shared-with-me / get. See /hq-cowork-files. |
| Memberships | mcp__hq__hq_members | list / invite / revoke. |
| Permission groups | mcp__hq__hq_groups | list / members / create / delete / add / remove. |
| DM a teammate | mcp__hq__hq_dm | menubar notification. See /hq-cowork-dm. |
| HQ packages | mcp__hq__hq_packages | list / install / remove / update. |
| Knowledge modules | mcp__hq__hq_modules | list / add / sync / update. |
| Meetings | mcp__hq__hq_meetings | list / get / search / transcript / notes. See /hq-cowork-meetings. |
| Sources | mcp__hq__hq_sources | meeting/email/slack/linear/notion attached to an entity. |
| Signals | mcp__hq__hq_signals | action_item / commitment / decision / key_point / risk / summary. |
| File a bug / feature | mcp__hq__hq_feedback | action: bug\|feature, title, body. |
| Run with .env.schema secrets | mcp__hq__hq_run | validates cwd, injects env, returns child output only. |
| Long-tail HQ CLI | mcp__hq__hq_cli | guarded escape hatch for commands not yet wrapped. See /hq-cowork-cli. |
hq_secrets_exec injects
them into a child process env; hq_secrets_list shows names only. There is
no value-revealing tool. Never try to echo a secret to capture its value.company explicitly when crossing
contexts. Never let the server fall back to another company's scope. If the
scoped creds fail, stop and ask — don't retry against a different company.hq_share returns the
minted URL once. Print it that turn, then redact as
https://hq.{co}.com/share-session/<TOKEN_REDACTED> everywhere after.hq_cli blocks login/logout/onboard,
secret-value output, raw hq secrets set|exec, and hq run (use
hq_run instead).Use the hq-cowork-* family (and direct mcp__hq__* calls) only inside
Cowork or another sandboxed plugin host. On a normal host-side Claude Code
session prefer the unprefixed /hq-sync, /hq-share, /search,
/hq-secrets, /dm, etc. — fewer hops, same result.
$ARGUMENTS names a capability, skip to that tool and call it with the
user's parameters. If ambiguous or empty, show the capability map and ask.hq-cowork-* skill when one exists (search, share,
secrets, files, dm, meetings) — it carries the per-capability nuance.mcp__hq__hq_whoami if a tool errors with
an auth/ENOENT message — that confirms whether the host server is logged in
and has hq/qmd on PATH.tools
Run a full HQ sync (all cloud-backed companies, bidirectional) from a sandboxed Claude Code plugin host (Cowork) by calling the host-side `hq_sync` MCP tool. Same engine as AppBar HQ Sync and the `/hq-sync` skill, but routed through the hq-pack-cowork MCP server so it works even when the `hq` binary and `~/.hq` auth are not reachable from the agent's bash sandbox.
tools
Share an HQ vault path from a sandboxed Claude Code plugin host (Cowork) by calling the host-side `hq_share` MCP tool. Without `--with`, mints an encrypted single-use share-session URL (default 15-min expiry). With `--with`, grants direct ACL access to a person, group, or `@all`. Same capability as `/hq-share`, routed through hq-pack-cowork's MCP server so it works from a sandboxed agent.
tools
--- name: hq-cowork-secrets description: Use HQ secrets from a sandboxed Claude Code plugin host (Cowork). The host-side MCP server never returns a secret value itself: `mcp__hq__hq_secrets_exec` runs a command on the host with named secrets injected as env vars (only the command's output returns), and refuses to launch a shell or value-printing binary; `mcp__hq__hq_secrets_list` lists secret NAMES/metadata only. These tools run host commands with the user's privileges, so treat them as host-tru
tools
--- name: hq-cowork-search description: Hybrid full-text + semantic search across HQ content (policies, skills, knowledge, workers, projects, per-company collections) from a sandboxed Claude Code plugin host (Cowork). Calls the host-side `hq_search` MCP tool, which wraps `qmd query` (hybrid: expansion + RRF + rerank — the recommended search mode). Use when the agent needs to find HQ content but `qmd` isn't reachable from its bash sandbox. allowed-tools: mcp__hq__hq_search --- # /hq-cowork-searc