Skip to content
cccskills
FreePublished on GitHub

hq-cowork-search

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90 stars(GitHub 90 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

accept

Free

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

adr

Free

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

See all skills by indigoai-us

Report a problem with this skill