core/packages/hq-pack-cowork/skills/hq-cowork-cli/SKILL.md
Use long-tail HQ CLI functionality from Cowork via the host-side guarded `mcp__hq__hq_cli` tool and schema-driven `mcp__hq__hq_run` tool. Covers HQ commands not yet modeled as dedicated MCP tools while blocking browser/session flows and secret-value output.
npx skillsauth add indigoai-us/hq-core hq-cowork-cliInstall 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.
Use this when Cowork needs an HQ capability that does not have a dedicated
hq-cowork-* skill yet.
Prefer dedicated tools first:
/hq-cowork-search/hq-cowork-sync/hq-cowork-files, /hq-cowork-share/hq-cowork-secrets/hq-cowork-meetingsmcp__hq__hq_cliRuns hq <args...> on the host. Pass argv, not a shell string.
{
"args": ["sync", "status"],
"cwd": ".",
"timeoutMs": 60000
}
The tool blocks:
hq login, hq logout, hq onboardhq auth status and hq auth refreshhq secrets env, hq secrets get --reveal)hq secrets set|exec and hq run through the escape hatchUse mcp__hq__hq_run for hq run.
mcp__hq__hq_runRuns schema-driven commands with HQ secrets injected via .env.schema.
Secret values stay in the child process env; only command output returns.
{
"cwd": "repos/private/example-app",
"company": "indigo",
"schema": ".env.schema",
"cmd": ["npm", "test"],
"timeoutMs": 120000
}
For validation only:
{
"cwd": "repos/private/example-app",
"check": true
}
cwd inside the HQ root. The MCP server enforces this.tools
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.
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