← Back to Skills Marketplace
michealxie001

OpenClaw Multi-LLM Adapter

by michealxie001 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
109
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install oc-multi-llm
Description
Universal adapter for multiple LLM providers. Unified interface for OpenAI, Anthropic, Google Gemini, Ollama, and 100+ providers via LiteLLM. Automatic fallb...
Usage Guidance
Key takeaways and actions before installing: - Expectation mismatch: The documentation promises many providers (LiteLLM, Google Gemini, etc.), but the included code only implements OpenAI, Anthropic, and Ollama. If you need the broader provider support, do not assume it's present — inspect the provider implementations before use. - Secret handling: The tool expects API keys (OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, OLLAMA_HOST). The package metadata did not declare these required env vars — ensure you know which secrets you'll provide and avoid placing them in shared config files without encryption. - Exec/read/write permissions: The SKILL.md requests agent tools read/write/exec. Exec lets the agent run shell commands; only enable this if you trust the skill and run it in a sandbox. Prefer running the CLI manually rather than giving the agent autonomous exec rights. - Dependency installation: requirements.txt will pull packages from PyPI (openai, anthropic, requests). Install dependencies in an isolated virtualenv/container and review package versions. - Audit and test: Review lib/client.py and scripts/main.py locally to confirm no hidden network endpoints or unexpected behavior. If you want higher assurance, run the skill in an isolated environment (container or VM), limit network access, and avoid giving broad host-level permissions. - If you plan to use this skill in production or with sensitive data, ask the provider/maintainer for a complete implementation list, explicit metadata declaring required env vars, and justification for the agent exec permission. If those answers are not satisfactory, treat it as untrusted and run locally in a restricted sandbox.
Capability Analysis
Type: OpenClaw Skill Name: oc-multi-llm Version: 1.0.0 The skill bundle provides a legitimate universal adapter for multiple LLM providers (OpenAI, Anthropic, Ollama) with support for fallback and model comparison. The code in lib/client.py and scripts/main.py follows standard practices for API integration, including environment variable handling for secrets and structured message processing, with no evidence of malicious intent, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
The README/SKILL.md claims support for many providers (OpenAI, Anthropic, Google Gemini, Ollama, '100+ providers' via LiteLLM). The code (lib/client.py and scripts/main.py) only implements explicit provider classes and wiring for openai, anthropic, and ollama. Declared features (LiteLLM, many provider adapters) are not implemented in the provided files — that's an inconsistency between stated purpose and delivered capability.
Instruction Scope
SKILL.md runtime header lists tools: [read, write, exec]. The instructions show reading a config file (config.yaml) and running CLI commands (python3 scripts/main.py), which explains read/exec usage, but granting exec (arbitrary command execution) to an agent is a broad permission. The SKILL.md and code reference reading arbitrary JSON/YAML config files (tools.json, config.yaml) which could contain API keys or endpoints; those file reads are normal for a CLI but combined with exec permission expands risk if the agent is allowed to run arbitrary shell commands.
Install Mechanism
There is no install spec (instruction-only install), which minimizes automatic remote code download. A requirements.txt is included (openai, anthropic, requests); installing those packages would pull third-party code from PyPI. No direct downloads or obscure URLs are present. This is relatively low risk but installing dependencies means pulling external packages that should be reviewed/installed in a controlled environment.
Credentials
Registry metadata lists no required env vars or primary credential, but SKILL.md and the code expect environment variables such as OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, OLLAMA_HOST, and also allow api_key placeholders in config.yaml. The metadata omission is a mismatch: the skill will look for and use API keys but doesn't declare them up front. Requesting or using multiple provider API keys is reasonable for this tool, but the skill should explicitly declare them. Also the agent-level tools (read/write/exec) could be used to exfiltrate those secrets if combined with network-capable code elsewhere.
Persistence & Privilege
always:false (not force-included) and disable-model-invocation:false (normal) — nothing requests permanent elevated presence. The skill does not modify other skills or system-wide settings in the provided code. However, the SKILL.md's declared exec permission combined with agent autonomy increases blast radius if the agent is permitted to run arbitrary commands; this is a contextual risk rather than a metadata privilege misconfiguration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install oc-multi-llm
  3. After installation, invoke the skill by name or use /oc-multi-llm
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Universal adapter for multiple LLM providers. OpenAI, Anthropic, Gemini, Ollama with fallback support.
Metadata
Slug oc-multi-llm
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is OpenClaw Multi-LLM Adapter?

Universal adapter for multiple LLM providers. Unified interface for OpenAI, Anthropic, Google Gemini, Ollama, and 100+ providers via LiteLLM. Automatic fallb... It is an AI Agent Skill for Claude Code / OpenClaw, with 109 downloads so far.

How do I install OpenClaw Multi-LLM Adapter?

Run "/install oc-multi-llm" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is OpenClaw Multi-LLM Adapter free?

Yes, OpenClaw Multi-LLM Adapter is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does OpenClaw Multi-LLM Adapter support?

OpenClaw Multi-LLM Adapter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Multi-LLM Adapter?

It is built and maintained by michealxie001 (@michealxie001); the current version is v1.0.0.

💬 Comments