External KI Integration
Skill for accessing external AI services (ChatGPT, Claude, Hugging Face, etc.) via browser automation (Chrome Relay) and APIs to assist with tasks.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/konscious0beast/external-ki-integration-backupExternal KI Integration
Use external AI services via browser automation (ChatGPT, Claude, web‑based LLMs) and APIs (Hugging Face Inference, OpenAI‑compatible endpoints) to augment your capabilities.
When to use this skill
- You need to consult an external AI model (ChatGPT, Claude, Gemini, etc.) for reasoning, analysis, or generation tasks.
- The user has granted access to their chat interfaces (e.g., via Chrome Relay attached tab).
- You want to use Hugging Face Inference API (if token provided) for model inference.
- You need to interact with a free AI demo or Space via browser automation.
- The task benefits from a second opinion or specialized model (coding, creative writing, summarization).
Requirements
- Browser automation – the
browsertool withprofile="chrome"(user must have attached a tab to OpenClaw Browser Relay). - External AI accounts – user must be logged into the target service (ChatGPT, Claude, etc.) in the attached Chrome tab.
- Hugging Face token (optional) – for Inference API access, stored in
~/.openclaw/openclaw.jsonor provided as environment variable. - Other API keys (optional) – e.g., OpenAI, Anthropic, if user provides them.
Setup
Chrome Relay Attachment
The user must click the OpenClaw Browser Relay toolbar icon on the desired tab (badge ON). Verify attachment:
openclaw browser status
Or via browser tool: browser(action=status, profile="chrome").
Hugging Face Token
If token already stored in config, it will be used automatically. Otherwise, ask user to provide it.
Environment Variables (optional)
For API‑based access, you may set:
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-ant-..."
export HF_TOKEN="hf_..."
Browser Automation for Web UIs
General Pattern
- Navigate to the service URL (e.g.,
https://chat.openai.com,https://claude.ai,https://gemini.google.com). - Wait for page load, snapshot with
refs="aria"to locate UI elements. - Find input area (role="textbox", role="textbox" with name "Message", etc.).
- Type your query using
actwithreforselector. - Click send/submit button (role="button", name="Send").
- Wait for response (poll for new text elements, detect loading indicator disappearance).
- Extract response from the output container (role="article", class "markdown", etc.).
- Return the extracted text.
Example: ChatGPT via Chrome Relay
// 1. Navigate
browser(action="open", profile="chrome", targetUrl="https://chat.openai.com");
// 2. Snapshot after load
const snap = browser(action="snapshot", profile="chrome", refs="aria", interactive=true);
// 3. Find textbox (adapt ref based on snapshot)
browser(action="act", profile="chrome", request={ kind: "type", ref: "textbox:Message", text: "Your query here" });
// 4. Click send button
browser(action="act", profile="chrome", request={ kind: "click", ref: "button:Send" });
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-konscious0beast-external-ki-integration-backup": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
cart-management
React cart state management: duplicate prevention, localStorage persistence, CartContext patterns. Use when building or fixing shopping carts, product lists, or cart-related UI.
error-recovery-automation
Standardize handling of common OpenClaw errors (gateway restart, browser service unavailable, cron failures) with automated recovery steps. Use when you need to automate detection and recovery from known failure modes, reducing manual intervention and increasing system resilience.
external-ai-integration
Leverage external AI models (ChatGPT, Claude, Hugging Face, etc.) as tools via browser automation (Chrome Relay) and optional Hugging Face API. Use when you need to augment the assistant's capabilities with external LLMs for reasoning, summarization, code generation, or other tasks without spawning isolated sub‑agents.