hydra
БесплатноЗапускает вложенные скриптыНе проверенLive source integrations, through their spec and use cases. Modes are view, assess <tool>, test <integration> and add. Use only when invoked as hydra.
от lightdash★ 6 265 звёзд на GitHubОб этом скилле
hydra
Every live integration carries a kind, a spec (auth and useCases) and query.limits, which hold its rate limits. The types are in packages/backend/src/services/QuerySourceService/live/spec/types.ts, and each integration's use cases are in integrations/<name>/spec.ts. Each use case says whether it is possible today. Cases that span tools are in spec/crossToolUseCases.ts.
Every mode ends with an HTML page in ~/.hydra/. Give the user its path. hydra.sh is in this folder; run it from anywhere in the checkout:
hydra.sh specs [integration]prints the specs as JSON. Without an argument it prints all of them plus the cross-tool cases.hydra.sh viewwrites~/.hydra/view.html.hydra.sh render <page.json>writes~/.hydra/<mode>-<name>.htmlfrom a page you wrote.
A page is { mode, title, summary?, integrations: [...] }. Each integration has the same shape as specs prints: name, label, kind, auth, rateLimits, useCases. Write the JSON to the scratchpad, not into the repo.
view
Run hydra.sh view. That's all.
assess
Decide whether a tool we don't have yet is worth an integration, and how hard it would be.
Write the use cases first, following Use cases, before you read the API.
Read the vendor's API docs: what it answers by itself, how you get in, how it pages, and its rate limits. Read two or three existing specs for the bar. Then mark each use case
possiblefor the integration you'd build.Sketch the explores it would offer: for each,
name,label, a one-linedescription, and thedimensionsandmetricsthe API returns natively ({ name, description? }). Group fields the way the API groups its reports or objects; leave out anything we would have to compute.Write a page with one integration,
mode: "assess". The spec fields are as you'd write them,nameis the would-be connector id,exploresis the sketch from step 3, andverdictweighs value against effort:value:high,mediumorlow, with a reason of a few words. Judge it by how many use cases are possible and how often customers ask for the tool.effort:easy,mediumorhard, with a reason of a few words, on the same scale as integration tickets: auth and review, how many explores, and limits that need caching.points: two to four short sentences, one point each.
The page derives the call from the two: build now (high value, easy or medium effort; or medium value, easy effort), plan it (high and hard, or medium and medium), later (medium and hard, or low and easy), skip (low value, medium or hard effort).
Run
hydra.sh render <page.json>.
test
Check that the integration still answers what its use cases say. How far to go is up to you. A few cases on a connected instance are usually enough, but go deeper when something looks off.
- Run
hydra.sh specs <integration>. Pick a handful of cases, mixing possible and not possible, and lean towards whatever recent changes touched. - Ask them the way a customer would, on a local instance or a Rainbow Machine env with the integration connected. To try the shared engine without vendor credentials (queries, the cache, the explores a Refresh adds), connect
hydrainstead:packages/backend/src/services/QuerySourceService/live/integrations/hydra/AGENTS.md. When a number matters, check it against the vendor directly. - Judge each case against
possible:passwhen it matches.regressionwhen a possible case fails.flipwhen an impossible case now works; flip it inspec.ts.blockedwhen you couldn't try it, with the reason.
- Add
results: { <case id>: { outcome, note? } }to the integration fromspecs, setmode: "test", and render it. A note says what happened, in a line.
Fix nothing in this mode, except to flip possible. Report regressions to the user.
add
Add a new integration. Follow add.md.
Use cases
The same rules apply in assess and add.
- Write them before reading the API, from the vendor's own report templates and the dashboards people typically build in the tool. Otherwise the list drifts towards what works.
- Write about 20 to 30 questions and 3 to 5 dashboards of 3 to 5 charts each. Each dashboard's
purposesays who opens it and why. possibleis true only when the API returns the numbers natively, allowing simple math across native results such as the ratio of two counts. Anything the integration would have to compute from raw rows is false.- Ids are stable and unique across all integrations, and are never renumbered, because test results are kept against them. New integrations use
<name>-q-Nfor questions and<name>-d-N-c-Mfor charts.
Rules
- Live integrations return only what the vendor's API computes natively.
- Say "live source" and "integration", never "connection".
- Specs and use cases hold vendor facts only. They name no customers and link no tickets.
Установить hydra в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadEditWriteGlobGrepBashВложенные файлы
FAQ
Что делает скилл hydra?
Live source integrations, through their spec and use cases. Modes are view, assess <tool>, test <integration> and add. Use only when invoked as hydra.
Как установить скилл hydra?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hydra запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic