跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

/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 的全部技能

报告此技能的问题