/h2t-ops:researchfrom h2t-ops
Provider-routed web research via Exa-backed search/crawl and URL fetch providers. Search modes: instant / fast / generic / news / academic / competitor / people / deep-lite / deep / deep-reasoning. Also: async research (deep dig) and agent (premium data-source fusion for LeadGen/enrichment). Transparent telemetry + cost logging, fail-loud protocol. Use for web search, news tracking, academic papers, competitor intel, people research, and direct URL fetch. NOT for LinkedIn lead-gen (use /search-leads from BayramAnnakov plugin). Triggers: 'research', 'find out', 'look up', 'исследуй', 'h2t:research'.
Ships in h2t-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use h2t-ops research for provider-backed web research via Exa and the URL fetch ladder.
Run this before any other command of this skill:
h2t-ops version --expect 4.1.3 --json
Act on the result, in this order:
"ok": true — continue."ok": false — show the user error.hint as it is and stop this skill until
it is resolved. Do not run anything the hint names unless the user asks you to: on
reason: path it is a command for the user to decide on. error.details.reason names the
case: not_installed, version or path.command not found — read ~/.h2t/run/install.env
(grep -E '^(STATE|H2T_HOOK)=' ~/.h2t/run/install.env). With STATE=ready the install
is fine and PATH does not reach it: show the directory of the H2T_HOOK= path, ask the
user to restart the harness, and offer uv tool update-shell for them to run. Without
it there is no install: give the user uvx --isolated --python 3.12.11 --managed-python -c "https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/constraints.txt" --from "h2t-ops @ https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/h2t_ops-4.1.3-py3-none-any.whl" h2t-setup sync.uvx --isolated --python 3.12.11 --managed-python -c "https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/constraints.txt" --from "h2t-ops @ https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/h2t_ops-4.1.3-py3-none-any.whl" h2t-setup sync.Pick the narrowest capability that answers the request. Prefer retrieval + your own grounded synthesis over black-box synthesis for client deliverables.
| Request shape | Use | Notes |
|---|---|---|
| Single known fact, lowest latency | search --mode instant | Exa instant, sub-second |
| Quick lookup, "what's the latest", single fact | search --mode fast | shallow, ~1–4 s |
| General topic, mixed sources | search --mode generic | default web search |
| News tracking, recent events | search --mode news | category=news |
| Academic papers, citations | search --mode academic | category=research paper |
| Competitor / company intel | search --mode competitor | category=company |
| People research | search --mode people | category=people |
| Structured dig, budget-conscious | search --mode deep-lite + --schema | lighter synthesis, cheaper than deep |
| One-shot structured deep dig | search --mode deep + --schema | synchronous, ~4 s |
| Genuine multi-step reasoning in one call | search --mode deep-reasoning + --schema | Exa deep-reasoning, ~13 s, real multi-hop |
| Multi-hop deep dig, "разберись в теме X" | research --instructions "..." | async Exa Agent API, ~20–120 s, cited report |
| LeadGen / enrichment / invest from premium sources | agent --query "..." --schema ... | Exa Agent API, schema+citations; paid providers via --data-source (see Agent mode) |
| Pull raw text of a known URL | fetch / crawl | fetch ladder / Exa contents |
| Find pages like a known URL | similar | Exa /findSimilar |
| Direct grounded answer + citations | answer | short answer, cited |
| Rescue OCR after failed fetch | visual-ocr | needs fetch sidecar + screenshot |
Type ladder (fast → deep): instant → fast → auto (generic/news/…) → deep-lite → deep → deep-reasoning. Higher rungs cost more latency/budget for more synthesis. deep and
deep-reasoning run their own reasoning, so with --schema their highlights are collapsed
to save tokens.
When to prefer search --mode deep* vs research: the deep* modes are synchronous
one-shot structured extractions where you already know the output shape (--schema).
deep ≈ ~4 s; deep-reasoning ≈ ~13 s with real multi-step reasoning; deep-lite is the
budget option. For a genuine multi-hop investigation (plan → many searches → crawl → cited
synthesis) use the research capability (async, see below).
Freshness: --max-age-hours N caps content age; --max-age-hours 0 forces a live
crawl (Exa maxAgeHours). Use it when recency matters (breaking news, prices, live status).
h2t-ops research research --instructions "..." --model exa-research-fast --project "$RESEARCH_PROJECT" --json
h2t-ops research research --instructions "..." --no-wait --json # returns researchId
h2t-ops research research-get --id r_xxx --project "$RESEARCH_PROJECT" --json # redeem it later
/agent/runs); the legacy Research API (/research/v1)
was retired (HTTP 410). The --model tiers map onto Agent effort:
exa-research-fast→low (default) / exa-research→medium / exa-research-pro→high
(deeper, pricier).--wait (default) blocks and polls with backoff; --no-wait returns the run id
immediately — redeem it later with research-get --id <id> (status RUNNING
until done, then OK with the result + artifacts).num_searches / reasoning_units (agent compute units) and
total_cost_usd (top-level costDollars on the completed run). num_pages is not
reported by the Agent API.citations and synthesizing under
evidence-grounded-synthesis over shipping the black-box output.content verbatim for
client deliverables.LeadGen / enrichment / invest. The Exa Agent API fuses premium data partners + web
search into one schema-validated output with per-field citations (output.grounding).
Synchronous (runs ~4–13 s); POST /agent/runs → poll GET /agent/runs/{id}.
# Web-only (no paid providers) — cheap, use for a schema-shaped structured dig
h2t-ops research agent --query "Profile Anthropic: HQ, founded year" \
--schema schema.json --project "$RESEARCH_PROJECT" --json
# With premium providers (PAID — each --data-source adds per-provider cost)
h2t-ops research agent --query "Profile Anthropic: funding + monthly web traffic" \
--data-source fiber_ai --data-source similar_web --schema schema.json --json
Cost gate: paid providers run only when you pass --data-source. Omit it →
web-only (agentCompute + search only; a trivial query costs ~0 USD). Providers are
pass-through: an unknown name returns a clean 400 INVALID_DATA_SOURCE before any
charge.
Provider catalog (per-provider base cost, as of 2026-07 — verify at
https://exa.ai/pricing; the code catalog is exa.AGENT_PROVIDERS):
--data-source | Returns | ~Base cost, USD |
|---|---|---|
fiber_ai | B2B contact data (emails, titles) | 0.02 |
similar_web | website traffic estimates | 0.03 |
baselayer | US business verification | 0.022 |
financial_datasets | company financials | 0.01 |
particle_news | podcast transcripts / news | 0.015 |
Cost logging: Exa has no pre-execution cost endpoint. The envelope telemetry
reports total_cost_usd + cost_breakdown (agentCompute / search / emails /
phoneNumbers / dataSources) and usage from the response. When paid providers are
requested, estimated_floor_usd is a floor (sum of catalog base prices only —
excludes variable agentCompute + search); estimated_unknown_providers flags names not
in the catalog. Control scope/cost with maxItems in the output schema.
Retrieval-first: take output.structured + output.grounding citations and do the
final synthesis under evidence-grounded-synthesis, rather than shipping the black-box
answer for client deliverables. Positioning vs mcp__anysite / /search-leads:
schema-driven fusion of several premium sources in one call, not a replacement.
Research artifacts are evidence, not canonical accepted knowledge. POS may later ingest them, but local object JSON remains the canonical runtime source in this phase.
h2t-ops:research now maintains a local JSON-first artifact layer:
threads.index.jsondocuments.index.jsonsyntheses.index.jsonaliases.index.jsonAgent lookup order:
showIf index and object disagree, object wins.
Use the local navigation surface for deterministic lookups:
h2t-ops research index documents --project <project_id_or_context_id> --output-dir <dir> --json
h2t-ops research index threads --output-dir <dir> --json
h2t-ops research index syntheses --output-dir <dir> --json
h2t-ops research show document <document_id> --output-dir <dir> --json
h2t-ops research show thread <thread_id> --output-dir <dir> --json
h2t-ops research show run <run_id> --output-dir <dir> --json
h2t-ops research show synthesis <synthesis_id> --output-dir <dir> --json
h2t-ops research resolve --url <url> --output-dir <dir> --json
h2t-ops research resolve --alias <value> --alias-type <type> --output-dir <dir> --json
Core rule:
*.index.json) are caches to locate object ids quickly and must not be treated as source truth.Use maintenance commands to validate and refresh local research artifacts:
h2t-ops research doctor --output-dir <dir> --json
h2t-ops research rebuild-indexes --output-dir <dir> --json
h2t-ops research cleanup --dry-run --output-dir <dir> --json
Retention policy:
rebuild-indexes writes only indexes/*.index.json.cleanup --dry-run reports non-canonical cleanup candidates and does not delete files..partial.md files are human/operator surfaces, not canonical knowledge.Always resolve RESEARCH_PROJECT before any search or crawl command.
# From session-start output (preferred):
RESEARCH_PROJECT="<GATHER_RESULT.project.id>" # e.g. "my-project", "my-other-project"
# Fallback if no session context:
RESEARCH_PROJECT=$(git remote get-url origin 2>/dev/null | sed 's|.*/||;s|\.git$||')
--project default is forbidden. If project cannot be resolved — ask the user before running.
h2t-ops research preflight --json
h2t-ops research search --query "..." --mode generic --num-results 10 --project "$RESEARCH_PROJECT" --json
h2t-ops research crawl --url "https://..." --project "$RESEARCH_PROJECT" --json
h2t-ops research fetch --url "https://..." --provider auto --json
h2t-ops research visual-ocr --fetch-sidecar "...sources.json" --image-path "...png" --json
Use provider routing before dispatching provider-backed research when key availability is uncertain:
h2t-ops research providers --json
h2t-ops research providers --capability fetch --json
h2t-ops research route --capability search --json
h2t-ops research route --capability fetch --json
Rules:
visual-ocr is a rescue path after research fetch returns FAILED or specific
degraded reasons. It creates a review-required artifact from one fetch sidecar and
one existing page image.
Screenshot capture is an operator concern, not a research connector concern.
Preferred workflow: capture the page with a browser agent — h2t-creative:browser-qa
when h2t-creative is installed — then pass that
image into h2t-ops research visual-ocr.
Load only what the request needs:
references/research-artifact-contract.mdreferences/traceability-policy.mdreferences/telemetry-policy.mdreferences/templates/technical-decision.mdreferences/templates/api-audit.mdreferences/templates/market-research.mdreferences/templates/company.mdreferences/templates/academic.mdreferences/templates/news-monitoring.mdreferences/templates/person.mdMethod references (tool-agnostic, load when the judgment call is the hard part):
references/claim-verification-checklist.md — before a finding enters a report: what is
actually asserted, does the logic hold, bias sweep, hidden assumptions, red flags.references/evidence-quality-checklists.md — source tiers A–D, recurring anti-patterns and
stress-test questions per domain (health, macro, company, science).references/search-technique-toolkit.md — widening a shallow search, citation chaining,
coverage check, searching for disconfirming evidence.references/domain-query-frameworks.md — shaping queries per domain (PICO / STEEP / PROFIT /
CREAM) plus per-domain coverage checklists.h2t-ops research ... command.visual-ocr, first produce the fetch sidecar with h2t-ops research fetch,
then capture the page screenshot with a browser agent, if one is available.result.status; exit 0 can still mean DEGRADED.research_artifact_registration/v1 context while the session context is fresh.--project default — forbidden. Always pass real project id from session context.h2t-ops research; delegate it to a browser agent, and
say the capture is missing rather than substituting prose for it.REPORT-SPEC.md (opens in a new tab)examples.md (opens in a new tab)reference.md (opens in a new tab)references/claim-verification-checklist.md (opens in a new tab)references/domain-query-frameworks.md (opens in a new tab)references/evidence-quality-checklists.md (opens in a new tab)references/research-artifact-contract.md (opens in a new tab)references/search-technique-toolkit.md (opens in a new tab)references/telemetry-policy.md (opens in a new tab)references/templates/academic.md (opens in a new tab)references/templates/api-audit.md (opens in a new tab)references/templates/company.md (opens in a new tab)references/templates/market-research.md (opens in a new tab)references/templates/news-monitoring.md (opens in a new tab)references/templates/person.md (opens in a new tab)references/templates/technical-decision.md (opens in a new tab)references/traceability-policy.md (opens in a new tab)systemprompts/academic.md (opens in a new tab)systemprompts/competitor.md (opens in a new tab)systemprompts/deep.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/connectorsh2t-ops connector hub — load when the user mentions Calendar (events, schedule, FreeBusy, Google Meet), Gmail (email, inbox, draft, send, labels), Drive/Google Docs/Sheets/Slides (files, folders, documents, download, export, upload, any drive.google.com/docs.google.com/sheets.google.com/slides.google.com link), Notion (pages, databases, sync, workspace), Telegram (dialogs, messages, auth, mentions), MeetGeek (meetings, transcripts, summaries, recordings), Granola (notes, AI summaries, verbatim transcripts, folders), or Dropbox (folders, files, online-only placeholders, dropbox.com links). Also load for any provider-owned URL or provider I/O command lookup. Research and daily-brief are separate skills./daily-briefMorning briefing aggregating Google Calendar, Gmail, and Notion tasks into a daily plan. Triggers: 'daily brief', 'briefing', 'утренний брифинг', 'что сегодня', 'план на день', 'h2t:daily-brief'Other plugins' skills for the same job
/deploynpx claudepluginhub lichtpfad/h2t-skills --plugin h2t-ops