本文へ移動
cccskills
無料GitHub で公開

hq-cowork-share

Share HQ vault paths from Cowork through links or direct grants.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-coreスター 90(GitHub 90 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.8 KB

SKILL.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.

ArgMeaning
<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|writePermission level (only meaningful with --with).
--expires 15m|1h|24hToken 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:

{
  "path": "<path>",
  "with": "<principal>",          // omit if not set
  "permission": "read|write",     // omit if not set
  "expires": "15m|1h|24h"         // omit to use default 15m
}

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

accept

無料

Accept HQ membership invites from a magic link or raw token.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

adr

無料

Capture qualifying architecture decisions as ADRs in the right HQ or repo location.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

architect

無料

Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

Generate dark ASCII banner graphics for HQ and social launch assets.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

indigoai-us のスキルをすべて見る

このスキルの問題を報告する