agentleFS
iblaiiblai/vibe/skills/agents/iblai-api-agent-chat/SKILL.md

iblai-api-agent-chat

Skill15 starsChanged 2 months agoMITView on GitHub

Set up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id. Use to enable runtime conversations with an agent. The actual chatting then happens through the MCP server's tools.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Add to the project's .mcp.json (or the client's MCP config).

    line 46
  2. Distinctive:

    After adding it, the assistant gains the server's chat tools — use those to send messages and receive the agent's streamed replies.

    line 64

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

iblai-api-agent-chat

Enable live chat with a deployed agent. Unlike the other iblai-* skills (which call the REST API directly), runtime chat — streamed responses, tool use, RAG — is served by the hosted iblai-api-agent-chat MCP server. This skill does the one-time wiring so your assistant can talk to an agent; the conversation itself then runs through that server's MCP tools.

When to use

  • You want to converse with an agent (not configure it). For configuring agents use the other /iblai-api-agent-* skills; to find an agent's unique_id use /iblai-api-search.

What you need

  • IBLAI_API_KEY — your Platform API Token (from .env; run /iblai-api-login if it is not set).
  • An agent's unique_id — the agent to chat with. Get one from /iblai-api-search (each result's unique_id), then confirm the choice with the user.

Setup

The server authenticates with two headers: Authorization: Api-Token <key> and X-Mentor-Unique-Id: <unique_id> (one agent per connection).

Claude Code

claude mcp add iblai-api-agent-chat \
  --transport http https://asgi.data.iblai.app/mcp/agent-chat/ \
  --header "Authorization: Api-Token $IBLAI_API_KEY" \
  --header "X-Mentor-Unique-Id: $MENTOR"

.mcp.json / Claude Desktop / Cursor

Add to the project's .mcp.json (or the client's MCP config). Substitute the real token and unique_id — do not commit secrets:

{
  "mcpServers": {
    "iblai-agent-chat": {
      "transport": "streamable-http",
      "url": "https://asgi.data.iblai.app/mcp/agent-chat/",
      "headers": {
        "Authorization": "Api-Token YOUR_API_TOKEN",
        "X-Mentor-Unique-Id": "YOUR_MENTOR_UNIQUE_ID"
      }
    }
  }
}

After adding it, the assistant gains the server's chat tools — use those to send messages and receive the agent's streamed replies.

Notes

  • One agent per connection — X-Mentor-Unique-Id is fixed per server entry. To chat with several agents, add multiple named entries (e.g. iblai-api-agent-chat-tutor, iblai-api-agent-chat-advisor), each with its own unique_id.
  • The token lives in client config / .env — never commit it; .env and local MCP config should stay gitignored.
  • This is the only runtime surface among the iblai-api-* skills; everything else (configure, search, recommend, profile, analytics, admin) is a direct-REST skill.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.