skills/algobot-cli/SKILL.md
Use for anything AI/agent/conversational built on Algolia: algobot CLI, Agent Studio, RAG systems, conversational product discovery, genAI content generation from search results (carousels, descriptions, headers), chatbots or recommendation agents using Algolia as retrieval, config-as-code workflows, multi-environment deploy (dev/staging/prod), memory and personalization, MCP tool integrations, conversation history / GDPR retention, or adding a chat widget alongside InstantSearch. Trigger on: "algobot", "Agent Studio", "RAG with Algolia", "conversational experience", "AI agent" + Algolia, "genAI carousel", "chat widget", or building AI features on top of Algolia search. Do NOT use for raw index ops (records, synonyms, settings) — use algolia-cli. Do NOT use for pure frontend search UI (InstantSearch, autocomplete) with no AI/agent layer.
npx skillsauth add algolia/skills algobot-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Algolia Agent Studio is Algolia's platform for building AI agents — RAG systems, conversational experiences, genAI content generation — with Algolia search and recommendations as the retrieval backbone. algobot (npm install -g algobot-ai) is its CLI for creating, testing, and deploying agents.
| Need | Use | |------|-----| | Build/manage AI agents on Algolia (RAG, chatbot, genAI UI) | algobot-cli (this skill) | | Algolia search index ops (records, settings, synonyms) | algolia-cli | | Search queries, analytics, recommendations | algolia-mcp |
npm install -g algobot-ai
algobot init # Interactive wizard (creates first agent + profile)
Or add a profile manually (CI-safe, non-interactive):
algobot profiles add --name prod --env prod
The TUI won't render in non-TTY environments (CI, scripts, agent subprocesses). Use these instead:
algobot ask "What is your return policy?" # One-shot
algobot interactive --text "hello ||| list my orders ||| /context" # Multi-turn
algobot agents list --jq '.[] | .name' # JSON filtering
--jq is built-in — no need to install jq separately.
algobot agents list
algobot agents get <agent-id>
algobot agents create --name "Support Bot" --model gpt-4o
algobot agents update <agent-id> --name "New Name"
algobot agents publish <agent-id>
algobot agents unpublish <agent-id>
algobot agents delete <agent-id>
algobot agents copy <id> --from-env dev --to-env prod
algobot ask "Find wireless headphones under $100"
algobot --profile staging ask "hello" # Target specific environment
algobot --verbose ask "debug this" # Show full HTTP traces
algobot profiles list
algobot profiles add --name dev --env dev
algobot profiles setdefault prod
algobot --profile prod agents list
algobot --env dev agents list
Version-control agent definitions with mustache templates — ideal for repeatable deployments across events, teams, or environments.
# 1. Scaffold from an existing agent
algobot agents scaffold <agent-id> # → agent-config.json + PROMPT.md
# 2. Preview (API-level kill switch — mutations blocked by construction)
algobot --dry-run agents create --config agent-config.json --var event="Spring 2026"
# 3. Deploy
algobot agents create --config agent-config.json --var event_name="Spring 2026"
# 4. Update + publish in one step
algobot agents update <id> --config agent-config.json --var event_name="Summer 2026" --publish
{{key}} in JSON fields: JSON-safe escaping. In .md instructions: raw substitution.
Beyond basic chat, Agent Studio agents support:
algobot tools list/add/removealgolia_memorize, algolia_ponder, and algolia_memory_search tools. Configure retrieval mode (preload vs preflight) in agent config.algobot conversations for export/delete[1][2] on responses, date injection, response caching — enable in agent configUse algobot agents scaffold to inspect/edit these settings, algobot --dry-run to preview before applying.
algobot agents watch patch.json # Auto-apply patches on file change
| Flag | Effect |
|------|--------|
| --env dev\|staging\|prod\|local | Target environment |
| --profile <name> | Use named profile |
| --dry-run | Preview without mutating (API-enforced) |
| --verbose | Full HTTP logs |
| --jq '<expr>' | Filter JSON output |
| --confirm | Skip exec tool confirmations |
algobot with no args launches the TUI — hangs in scripts. Always use ask or --text in non-interactive contexts.--output json missing on most commands in v2.0. Use --jq or JSON-structured stdout.algobot init is interactive. Don't use in CI — use profiles add with flags instead.~/.algobot-cookie (AES-256-GCM). Inspect with algobot auth show.--config auto-discovers agent-config.json in cwd. Explicit: --config path/to/config.json.algobot agents get <id> to retrieve it, or check the Agent Studio dashboard.tools
Build production-quality search experiences (autocomplete, search results pages, faceted search) using InstantSearch. Use when user asks to add search, autocomplete, search-as-you-type, faceted filtering, or a search results page to a React, Vue, or vanilla JS application, or mentions Algolia, InstantSearch, or react-instantsearch. Do NOT use for backend index operations (records, synonyms, settings, API keys), use algolia-cli instead. Do NOT use for analytics, recommendations, or MCP server queries, use algolia-mcp instead. Do NOT use for AI/agent/conversational search, use algobot-cli instead.
tools
Search Algolia indices via the Algolia MCP server, retrieve analytics (top searches, no-result rates, click positions, user counts), and get product recommendations (bought-together, related, trending). Triggers on search, indexing, analytics, Algolia, recommendations, MCP.
tools
Use this skill whenever a user wants to execute operations against Algolia indices or accounts — deleting records, copying/migrating indices, backing up data, importing/exporting records, managing API keys, editing synonyms, configuring rules, changing settings like facets, clearing indices, or automating Algolia in CI/CD pipelines. The key signal is that the user wants to *act on* their Algolia data or configuration (server-side / backend / admin operations), regardless of whether they mention "CLI" or "command line." If someone names a specific Algolia index and wants to change, move, query, or manage it, use this skill. Do NOT use for frontend search UI work (InstantSearch, React components, autocomplete widgets), Algolia dashboard GUI questions, or evaluating Algolia vs. other providers.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.