external-ki-integration-backupSkill for accessing external AI services (ChatGPT, Claude, Hugging Face, etc.) via browser automation (Chrome Relay) and APIs to assist with tasks.
Install via ClawdBot CLI:
clawdbot install konscious0beast/external-ki-integration-backupUse external AI services via browser automation (ChatGPT, Claude, web‑based LLMs) and APIs (Hugging Face Inference, OpenAI‑compatible endpoints) to augment your capabilities.
browser tool with profile="chrome" (user must have attached a tab to OpenClaw Browser Relay).~/.openclaw/openclaw.json or provided as environment variable.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").
If token already stored in config, it will be used automatically. Otherwise, ask user to provide it.
For API‑based access, you may set:
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-ant-..."
export HF_TOKEN="hf_..."
https://chat.openai.com, https://claude.ai, https://gemini.google.com).refs="aria" to locate UI elements.act with ref or selector.// 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" });
// 5. Wait for response (poll until new text appears)
// 6. Extract response
refs="aria" for stable references (aria‑role, aria‑name). Fall back to selector with CSS classes if needed.See the dedicated Hugging Face skill for detailed usage.
If user provides an API key, you can call models via curl or exec:
curl -s -X POST https://api.openai.com/v1/chat/completions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4",
"messages": [{"role": "user", "content": "Hello"}]
}'
curl -s -X POST https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-3-opus-20240229",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello"}]
}'
system/logs/hf-costs.log. Stay within monthly budget (e.g., 33€). Notify user at 50% threshold.This skill complements:
Add this skill to skills/index.md:
| External KI Integration | skills/external‑ki‑integration/SKILL.md |
Generated Mar 1, 2026
Agencies use this skill to generate marketing copy, blog posts, and social media content by automating ChatGPT or Claude via browser automation. It allows rapid drafting and editing without manual input, leveraging the user's existing subscriptions for cost efficiency.
Developers automate code generation and debugging by querying external AI models like ChatGPT or Hugging Face APIs. This skill helps produce code snippets, explain errors, or optimize algorithms, integrating with browser-based tools for real-time assistance.
Researchers use this skill to summarize papers, generate hypotheses, or analyze data by accessing models via browser automation or APIs. It provides a second opinion on complex topics, enhancing productivity without manual model interaction.
Businesses automate responses to customer inquiries by using external AI models to draft replies via browser automation. It integrates with chat interfaces to provide quick, consistent support while maintaining human oversight.
Writers and artists use this skill to brainstorm ideas, draft narratives, or generate dialogue by automating interactions with AI models like Claude or Gemini. It streamlines the creative process through browser-based tools for iterative refinement.
Offer a basic service using free browser automation with user-provided accounts, then charge for premium features like API access, advanced analytics, or multi-model orchestration. Revenue comes from subscription tiers or usage-based fees.
Provide tailored solutions for businesses to integrate this skill into their workflows, such as automating specific AI model interactions or optimizing cost management. Revenue is generated through project-based contracts and ongoing support services.
Create a platform where users can access various external AI models via this skill, with monetization through commissions on API usage or featured integrations. Revenue streams include transaction fees and premium listings for model providers.
đź’¬ Integration Tip
Ensure the Chrome Relay is properly attached and test with simple queries first to avoid UI changes; use environment variables for API keys to streamline access.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection