bai-agent
БесплатноБез исполняемых скриптовНе проверенAnswer a Backend.AI question, or do a Backend.AI task, from this checkout with the `bai-agent` CLI — the manual, the GraphQL schema, the i18n stores and the…
от lablup★ 137 звёзд на GitHubОб этом скилле
bai-agent
bai-agent answers Backend.AI questions from a WebUI checkout — the one you
are in, or the data copy bai-agent init synced — and points the user at the
WebUI page for what it found. The workflow contract is the generated
BAI-AGENT block: in a checkout it is in CLAUDE.md, and an installed copy
of this skill carries it as references/agent-block.md. Read it there, it is
not repeated here. This file is the parts the CLI cannot tell you: when to log
in, when to answer versus link, and which neighbour owns what.
Preflight
Run bai-agent doctor --brief once, from wherever you already are — never
cd first. It is the one-step preflight: checkout-vs-synced-data and
session/auth in one line each. Fall back to bai-agent doctor --json only
when you need a specific field out of it. Run bai-agent whoami only when
the auth check is warn.
The workflow contract is already loaded: in a checkout it is the BAI-AGENT
block in CLAUDE.md; installed, it is references/agent-block.md. Read
whichever applies — don't cat it unless the block is absent — and don't grep
for a CLAUDE.md outside a checkout; there isn't one.
When whoami says auth_required (exit 3):
- Get the endpoint and the account from the
webui-connection-infoskill (fwplugin; it reads the team's dev server catalog). Without that skill, the endpoint is the oneinitrecorded (doctorprints it). Never ask the user for a password, and never put one in a command. - Browser on this machine:
bai-agent login --endpoint <url>, then confirm on the/cli-loginpage it opens. That page is the WebUI's; in a checkout it is the dev server, elsewhere the endpoint's own origin — pass--webui <origin>when the UI lives somewhere else. - Browser anywhere else, or a tunnelled/HTTPS tab:
bai-agent login --paste --endpoint <url>and paste the session id the page reveals. bai-agent logoutwhen you are done with a borrowed session.
search, docs show, schema show and explain need no session at all.
A "what does X mean" question never requires logging in — go straight to it.
Answer, or link
| The user wants | Do this |
|---|---|
| to understand a status value ("what does status X mean") | Try explain <Type>.<field>=<VALUE> first — e.g. explain ComputeSessionNode.status=PENDING, explain UserNode.status=before-verification. Fall back to explain <Type>.<field> (no value) or docs show for a term or field in general. |
Установить bai-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл bai-agent?
Answer a Backend.AI question, or do a Backend.AI task, from this checkout with the `bai-agent` CLI — the manual, the GraphQL schema, the i18n stores and the live manager. Trigger on: what a Backend.AI concept, field or status value means ("what does session status PENDING mean", "what is a resource group", "what does this field mean"), "find it in the manual", "search the docs", "query the manager", "run a GraphQL query", "how many sessions are running", "show me my sessions / folders / agents / users", "give me the WebUI link for this session", "where do I see that folder in the WebUI", "open the WebUI and show me", "fill in the session launcher for me", "drive the WebUI in a browser", "WebMCP", or "bai-agent". Use `backend-ai-guide` instead for platform architecture with no live data, and `docs-lead` for writing the manual rather than reading it.
Как установить скилл bai-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bai-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic