# Send External Ki Integration Backup to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "external-ki-integration-backup",
    "name": "External Ki Integration Backup",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/konscious0beast/external-ki-integration-backup",
    "canonicalUrl": "https://clawhub.ai/konscious0beast/external-ki-integration-backup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/external-ki-integration-backup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=external-ki-integration-backup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/external-ki-integration-backup"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/external-ki-integration-backup",
    "downloadUrl": "https://openagent3.xyz/downloads/external-ki-integration-backup",
    "agentUrl": "https://openagent3.xyz/skills/external-ki-integration-backup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/external-ki-integration-backup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/external-ki-integration-backup/agent.md"
  }
}
```
## Documentation

### External 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 browser tool with profile="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.json or provided as environment variable.
Other API keys (optional) – e.g., OpenAI, Anthropic, if user provides them.

### 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_..."

### 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 act with ref or selector.
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" });

// 5. Wait for response (poll until new text appears)
// 6. Extract response

### Adaptation Notes

UI changes frequently: Use refs="aria" for stable references (aria‑role, aria‑name). Fall back to selector with CSS classes if needed.
Rate limiting: Be gentle; wait 2–5 seconds between interactions.
Session persistence: The attached tab retains login state; you can continue conversation in same chat.

### Hugging Face Inference API

See the dedicated Hugging Face skill for detailed usage.

### OpenAI‑compatible endpoints

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"}]
  }'

### Anthropic Claude

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"}]
  }'

### Browser Automation (free)

No direct cost, but uses user's existing subscription (if any).
Respect rate limits; do not spam requests.
Do not expose user credentials; rely on attached logged‑in session.

### API Usage (paid)

Hugging Face Inference: Track estimated costs via system/logs/hf-costs.log. Stay within monthly budget (e.g., 33€). Notify user at 50% threshold.
OpenAI/Anthropic: If user provides API key, assume they accept associated costs. Still estimate token usage and log if possible.
General rule: Prefer browser automation for free services; use paid APIs only when explicitly authorized and task justifies cost.

### Safety

No sensitive data: Avoid sending personal, financial, or confidential information to external services unless user explicitly approves.
Compliance: Follow external service terms of service.
Fallback: If external service fails, continue with internal reasoning; do not block task completion.

### Integration with OpenClaw Skills

This skill complements:

Hugging Face skill – for dedicated Hugging Face API/Spaces.
Browser automation patterns – for generic web interaction.
Multi‑model orchestration – for delegating sub‑tasks to external models.

Add this skill to skills/index.md:

| External KI Integration | skills/external‑ki‑integration/SKILL.md |

### Example Workflow

Task: Need to generate a complex code snippet.
Check: User has ChatGPT tab attached via Chrome Relay.
Open ChatGPT, snapshot, locate input.
Type: "Write a Python function that validates email addresses with regex and DNS MX check."
Click Send.
Wait for response, extract code.
Return code to user, optionally refine via follow‑up.
Log the interaction in memory (pattern learned).

### Troubleshooting

Tab not attached: Ask user to click Browser Relay icon on the target tab.
UI changes: Update refs/selectors based on snapshot.
Rate limits: Wait longer between requests.
API errors: Check token permissions, budget, network.

### References

OpenClaw Browser Relay docs
Hugging Face skill
Browser automation playbook
Using free AI models online pattern
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: konscious0beast
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/external-ki-integration-backup)
- [Send to Agent page](https://openagent3.xyz/skills/external-ki-integration-backup/agent)
- [JSON manifest](https://openagent3.xyz/skills/external-ki-integration-backup/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/external-ki-integration-backup/agent.md)
- [Download page](https://openagent3.xyz/downloads/external-ki-integration-backup)