chat-with-agent
Skill by elastic
Sends a message to an Agent Builder agent in Kibana and shows the reasoning, tool calls, tool results and final answer. Built for people who want to test or talk to a Kibana agent.
Install chat-with-agent
Built from the published package, never by AI.
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.claude/skills && cp -r /tmp/kibana/x-pack/platform/plugins/shared/agent_builder/.claude/skills/chat-with-agent ~/.claude/skills/chat-with-agentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kibana/x-pack/platform/plugins/shared/agent_builder/.claude/skills/chat-with-agent ~/.gemini/antigravity-cli/skills/chat-with-agentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The chat-with-agent skill sends a message to an Agent Builder agent through the async chat API. It then prints the full response, including the agent's reasoning steps, tool calls, tool results and final answer. Each run starts a new conversation. If no message is given, it uses a default prompt that asks the agent to summarize the data available through its tools.
The skill finds the agent by ID or by case-insensitive name and tries to auto-detect a local Kibana on port 5601. For agents that use OAuth connectors, it can authenticate as a browser user with a session cookie. It is meant for people who want to test or talk to a Kibana agent and see which tools it used.
Written from the project's SKILL.md and checked against it.
What it can do
- Resolve agentFinds an agent by ID or by case-insensitive name from the list of available agents.
- Send messageSends a chosen prompt to the agent through the async chat API.
- Show reasoningDisplays the agent's reasoning steps in the output.
- Show tool callsDisplays the tools the agent invoked along with their parameters.
- Show tool resultsDisplays results returned by tools, which may be truncated.
- Session authAuthenticates as a browser user so per-user state such as OAuth tokens is visible.
What you need
- Elasticsearch and Kibana running locally
- An existing Agent Builder agent
Try asking
- Chat with my Kibana agent and ask what data it can access
- Test the Agent Builder agent named support-bot with a sample question
- Talk to my Kibana agent and show me which tools it calls
Good to know
- The agent must already exist. Use create-agent first if needed.
- Data source tools must be activated before the agent can use them.
- Each invocation creates a new conversation.
- A run may take 30 to 60 seconds, so a longer timeout is advised.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: x-pack/platform/plugins/shared/agent_builder/.claude/skills/chat-with-agent/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadGlobGrep
Alternatives to chat-with-agent
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
chat-with-agent: common questions
What does chat-with-agent show after sending a message?
It shows the agent's reasoning, tool calls, tool results and final response. Tool results may be truncated.
Does the skill keep earlier chats with the agent?
No. The source says each invocation always starts a new conversation.
How does it handle agents that use OAuth connectors?
It can set KIBANA_USE_SESSION=true to log in through the basic auth provider with a session cookie, which shares the browser's auth realm.
How do I install chat-with-agent?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is chat-with-agent free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is chat-with-agent safe to use?
It scores 78 of 100. Grades: maintenance A, licence F, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.
What are alternatives to chat-with-agent?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
