搜索

PythonReactSEOPDF
OpenClaw

openrouter-free-responder

Zero-cost OpenRouter responder that auto-discovers the best currently free model, retries on failures, and returns clean answers fast. Use this when a user asks to query OpenRouter, wants lowest-cost/free model routing, or explicitly requests a free-model OpenRouter response.

hgosansn0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install hgosansn/mukt

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Use the bundled script to execute prompts against free OpenRouter models.

Workflow

  1. Ensure OPENROUTER_API_KEY is set.
  2. Run:
    python3 {baseDir}/scripts/openrouter_free_chat.py --prompt "<user prompt>"
    
  3. If the user provided system guidance, pass --system "...".
  4. Return the response text and mention which model was used.

Command Options

  • --prompt (required): User prompt text.
  • --system (optional): System instruction.
  • --max-attempts (optional, default 8): Number of top free models to try.
  • --temperature (optional, default 0.3): Sampling temperature.
  • --debug (optional): Print model ranking and fallback attempts to stderr.

Output Contract

The script prints one JSON object to stdout with:

  • selected_model: Model that produced the final response.
  • response: Final assistant text.
  • attempted_models: Ordered list of tried models.
  • free_model_candidates: Number of free models discovered.

If no model succeeds, the script exits non-zero with an error message.

来源信息

Source
github
Repository
openclaw/skills
Path
skills/hgosansn/mukt
Version
—
Commit
deb9b6663139bb6251b3d184e03f4712e64c2c00
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
Use the bundled script to execute prompts against free OpenRouter models.

## Workflow

1. Ensure `OPENROUTER_API_KEY` is set.
2. Run:
   ```bash
   python3 {baseDir}/scripts/openrouter_free_chat.py --prompt "<user prompt>"
   ```
3. If the user provided system guidance, pass `--system "..."`.
4. Return the `response` text and mention which model was used.

## Command Options

- `--prompt` (required): User prompt text.
- `--system` (optional): System instruction.
- `--max-attempts` (optional, default `8`): Number of top free models to try.
- `--temperature` (optional, default `0.3`): Sampling temperature.
- `--debug` (optional): Print model ranking and fallback attempts to stderr.

## Output Contract

The script prints one JSON object to stdout with:

- `selected_model`: Model that produced the final response.
- `response`: Final assistant text.
- `attempted_models`: Ordered list of tried models.
- `free_model_candidates`: Number of free models discovered.

If no model succeeds, the script exits non-zero with an error message.

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.