Vai al contenuto
TakoAPI
Torna alle skill

mukt

di hgosansn

Browser & Automation
—Non ancora valutato
La tua valutazione

Sintesi

Zero-cost OpenRouter responder that auto-discovers the best currently free model, retries on failures, and returns.

Descrizione

Cosa fa questa skill

Sends prompts to OpenRouter using whichever models are currently free, with automatic fallback across multiple candidates. Retries on failures and returns structured JSON including the model used and response text.

Auto-discovery of free models means you don't need to manually track which OpenRouter models have a free tier or update your code when availability changes.

Quando usarla

  • Running LLM queries at zero cost during prototyping
  • Testing a prompt across multiple free models automatically
  • Integrating AI responses into scripts without a paid API plan
  • Getting a quick answer without choosing a specific model manually
  • Logging which free models are available and responding on a given day

Esempio di workflow

INPUT

User asks: Summarize the history of the Unix operating system

AGENT
  1. 1

    Set OPENROUTER_API_KEY in the environment

  2. 2

    Run openrouter_free_chat.py with --prompt containing the user's question

  3. 3

    Script fetches current free model list and ranks candidates

  4. 4

    Script attempts models in order, retrying on failures

  5. 5

    Parse stdout JSON for selected_model and response fields

OUTPUT

A text summary of Unix history, with a note that it was generated by e.g. meta-llama/llama-3-8b-instruct:free

Requisiti

  • OPENROUTER_API_KEY environment variable
  • OpenRouter account (openrouter.ai)

Installazione

clawhub install hgosansn/mukt

Esegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.

Link