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

hq-cowork-search

Search HQ content from Cowork with full-text, semantic, or hybrid modes.

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

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

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

/hq-cowork-search — Search HQ from a sandboxed agent

Searches indexed HQ content via the host-side qmd binary, surfaced as an MCP tool so a sandboxed agent (Cowork) can use it even though qmd isn't installed inside its Linux VM.

Args: $ARGUMENTS — query plus optional flags.

ArgMeaning
<query> (positional, required)Natural-language search query.
-c <collection> / --collection <collection>Scope to one collection (e.g. hq-infra, hq-knowledge, indigo).
-n <N> / --limit <N>Number of results (default 10, max 50).
--format json|md|filesOutput format. Omit for the default human snippet.

Collections worth knowing about (varies per HQ install — run qmd ls on the host to enumerate):

  • hq-infra — skills, policies, hooks
  • hq-knowledge — core/knowledge/public/hq-core/
  • hq-workers
  • hq-projects
  • {company-slug} — per-company knowledge, one collection per company

When to use this instead of /search

  • You're in Cowork or another sandboxed plugin host — the regular /search skill (and the qmd charter rule that says "qmd first") relies on the qmd binary on PATH, which isn't true inside the sandbox.
  • You want JSON results for downstream programmatic use — pass --format json and parse the response.

On a host-side session, prefer the unprefixed /search or qmd query directly — fewer hops, same results.

What you do

Step 1 — Parse the query

Extract <query> (required) and optional flags. Without a query, ask what the user is looking for. If the query is vague ("find docs"), ask for a more specific phrase — qmd hybrid is good but not magic.

Step 2 — Call the tool

{
  "query": "<query>",
  "collection": "<collection>",   // omit to search all
  "limit": <N>,                   // omit to use default 10
  "format": "cli|json|md|files"   // omit to use default cli
}

Call mcp__hq__hq_search.

Step 3 — Surface results

For cli / md format, render the tool output as-is (already human-readable). For json / files, summarize: top 5 paths + scores, then offer to read the most relevant via the host MCP if the user wants the body.

If no results, suggest broadening — drop the collection filter, try a synonym, or fall back to qmd vsearch (pure semantic) via a follow-up call with a different query phrasing.

Why this skill exists

The HQ charter mandates "qmd first" for HQ search — but only a host-side session can actually shell out to the qmd binary. Inside Cowork's sandbox, neither qmd nor the index DB it reads (~/.qmd/) is reachable. The hq-pack-cowork MCP server runs qmd query (hybrid: expansion + RRF + rerank) on the host and returns the formatted result. 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 のスキルをすべて見る

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