跳到正文
TakoAPI
返回技能列表

coala

由 hubentu 提供

DevOps & Cloud
375下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

How to use the coala-client CLI for chat with LLMs, MCP servers, and skills.

描述

该技能的功能

coala-client is a CLI tool for chatting with OpenAI-compatible LLMs and connecting to MCP (Model Context Protocol) servers. It supports importing CWL toolsets as MCP servers and loading skills into chat context. Works with OpenAI, Gemini, and Ollama providers.

Combines LLM chat and MCP tool execution in a single CLI without needing separate clients for each provider or server.

何时使用

  • Chat with a local Ollama model via terminal
  • Import a CWL toolset and call its tools from the command line
  • Switch between OpenAI and Gemini mid-session
  • Load a skill into context with /skill to guide the LLM
  • Run a one-off query against MCP tools with coala ask

示例工作流

输入

User asks: how do I query gene TP53 data using an MCP toolset?

智能体
  1. 1

    Run coala mcp-import gene-variant <URL-to-cwl> to import the toolset

  2. 2

    Run coala mcp-list gene-variant to inspect available tools and their schemas

  3. 3

    Start coala chat to enter interactive mode

  4. 4

    Call the tool directly with coala mcp-call gene-variant.ncbi_datasets_gene --args '{"data": [{"gene": "TP53", "taxon": "human"}]}'

输出

JSON response from the MCP tool with gene data for TP53

前置要求

  • OPENAI_API_KEY environment variable (for OpenAI provider)
  • GEMINI_API_KEY environment variable (for Gemini provider)
  • coala-client binary installed via uv

安装

clawhub install hubentu/coala

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接