indigoai-us/hq-core/hq-cowork-share
Claude Code and agent skill by indigoai-us/hq-core
- community
Checking that the SKILL.md file is still in the repository.
Share HQ vault paths from Cowork through links or direct grants.
Install
npx vskill@latest install indigoai-us/hq-core/hq-cowork-shareSKILL.md
/hq-cowork-share — Share an HQ vault path from a sandboxed agent
Mints share-session URLs and grants ACLs on HQ vault paths from inside Cowork (or any sandboxed Claude Code plugin host). Equivalent to the unprefixed /hq-share skill, but routed through the host-side MCP server because the sandboxed agent cannot run the hq CLI directly.
Args: $ARGUMENTS — required path + optional flags.
| Arg | Meaning | |||
|---|---|---|---|---|
<path> (positional) | Vault path or prefix to share (e.g. companies/foo/knowledge/x.md). Required. | |||
--with <principal> | Email, group id, or @all. Omit to mint a share-session URL instead. | |||
| `--permission read\ | write` | Permission level (only meaningful with --with). | ||
| `--expires 15m\ | 1h\ | 24h` | Token expiry for share-session URL (default 15m, max 24h). |
When to use this instead of /hq-share
- You're in Cowork or another sandboxed plugin host — the regular
/hq-share skill shells out to hq files share on the host, which isn't reachable from the sandbox.
- You want the MCP tool-call surface — observable in the host's tool log.
On a normal host-side Claude Code session, prefer the unprefixed /hq-share.
What you do
Step 1 — Parse args
Extract the positional <path> and any optional flags. Without a path, ask the user which vault prefix to share.
Step 2 — Call the tool
Call mcp__hq__hq_share with:
Step 3 — Surface output
The minting turn is the ONE surface where the unredacted share-session URL is permitted in chat. Print it as a clickable markdown link so the user can copy it.
Hard rule (carried over from `core/policies/hq-share-session-urls-are-capabilities.md`): After this turn, NEVER paste the URL back into later turns, summaries, journals, handoffs, commits, PRs, Slack/email, or any persisted context. Refer to it as https://hq.{co}.com/share-session/<TOKEN_REDACTED> from then on. The token IS a capability — anyone who holds it can use the share.
If --with was used (direct grant, not URL), there's no token to print — just confirm the grant landed and surface any error from the tool.
Why this skill exists
hq files share runs on the host with the user's Cognito session and the local sync index — neither of which is visible from inside Cowork's Linux VM. The host-side MCP server in hq-pack-cowork runs the real hq files share, then returns its output back to the sandboxed agent. This skill is the in-session adapter.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcore/packages/hq-pack-cowork/skills/hq-cowork-share/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/indigoai-us/hq-core/hq-cowork-share)