Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

external-ai-integration

bởi konscious0beast

Web & Frontend Development
382Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Leverage external AI models (ChatGPT, Claude, Hugging Face, etc.) as tools via browser automation (Chrome Relay)

Mô tả

Kỹ năng này làm gì

Provides patterns for calling external AI models as tools within the assistant's own session. Supports browser-based LLMs (ChatGPT, Claude, Gemini) via Chrome Relay automation and Hugging Face models via direct Inference API calls. Control and context stay in the main session rather than being handed off to a sub-agent.

Calling external models as inline tools preserves the full session context and control flow, avoiding the isolation and coordination overhead of spawning sub-agents.

Khi nào nên dùng

  • Getting a second opinion on a code review from Claude or ChatGPT
  • Translating text using a Hugging Face language model
  • Generating blog title ideas by automating a ChatGPT browser session
  • Running sentiment analysis or summarization via Hugging Face Inference API
  • Identifying blind spots in a strategy analysis by querying an external LLM

Quy trình ví dụ

ĐẦU VÀO

User asks: Translate this paragraph from English to German

AGENT
  1. 1

    Formats prompt using the T5 input convention: 'Translate English to German: <text>'

  2. 2

    Retrieves HF_TOKEN from environment

  3. 3

    Sends POST request to Hugging Face Inference API with model Helsinki-NLP/opus-mt-en-de

  4. 4

    Parses generated_text field from the JSON response

ĐẦU RA

German translation of the provided paragraph returned to the user

Yêu cầu

  • Hugging Face API token (HF_TOKEN environment variable)
  • Chrome Relay browser extension installed
  • Active logged-in sessions on target LLM websites such as chatgpt.com or claude.ai

Cài đặt

clawhub install konscious0beast/external-ai-integration

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết