Skip to content
Back to skills

Hq Cowork Cli

ASecurity

Run long-tail HQ CLI commands through guarded host-side Cowork tools.

  • 98 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 19, 2026
toolsgoshell

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add indigoai-us/hq-core --skill hq-cowork-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hq Cowork Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hq Cowork Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/indigoai-us-hq-cowork-cli/badge)](https://www.skillsdirectory.com/skills/indigoai-us-hq-cowork-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hq-cowork-cli
description: Run long-tail HQ CLI commands through guarded host-side Cowork tools.
allowed-tools: mcp__hq__hq_cli, mcp__hq__hq_run, mcp__hq__hq_whoami
---

# /hq-cowork-cli — Long-tail HQ from Cowork

Use this when Cowork needs an HQ capability that does not have a dedicated
`hq-cowork-*` skill yet.

Prefer dedicated tools first:

- Search: `/hq-cowork-search`
- Sync: `/hq-cowork-sync`
- Files/share: `/hq-cowork-files`, `/hq-cowork-share`
- Secrets: `/hq-cowork-secrets`
- Meetings/sources/signals: `/hq-cowork-meetings`

## `mcp__hq__hq_cli`

Runs `hq <args...>` on the host. Pass argv, not a shell string.

```json
{
  "args": ["daemon", "sync", "status", "--local"],
  "cwd": ".",
  "timeoutMs": 60000
}
```

`daemon sync status --local` reports the local sync journal summary. The tool
refuses the older top-level `sync` spelling of it. Without `--local`,
`["daemon", "sync", "status"]` reports daemon ownership and heartbeat instead.

The tool blocks:

- `hq login`, `hq logout`, `hq onboard`
- browser/session auth flows other than `hq whoami` and `hq auth refresh`
- secret-value output (`hq secrets env`, `hq secrets get --reveal`)
- raw `hq secrets set|exec` and `hq run` through the escape hatch

Use `mcp__hq__hq_run` for `hq run`.

## `mcp__hq__hq_run`

Runs schema-driven commands with HQ secrets injected via `.env.schema`.
Secret values stay in the child process env; only command output returns.

```json
{
  "cwd": "repos/private/example-app",
  "company": "indigo",
  "schema": ".env.schema",
  "cmd": ["npm", "test"],
  "timeoutMs": 120000
}
```

For validation only:

```json
{
  "cwd": "repos/private/example-app",
  "check": true
}
```

## Rules

- Never ask the user to paste secrets inline.
- Never use the escape hatch for secret-value retrieval.
- Keep `cwd` inside the HQ root. The MCP server enforces this.
- For destructive or cloud-provisioning commands, explain the concrete effect before calling the tool.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.