Freetoken Bots logo

Freetoken Bots

Community
limin112
freetoken-bots

Discover, verify, and maintain zero-priced OpenRouter models for Pi child-agent workflows used by Muse, Grokbot, or Dot. Activates when the user mentions OpenRouter, Pi, free tokens, or free models (免费 token / 免费模型). Use for Pi installation, free-model discovery, quota-safe Pi fallback, model recommendations, and daily health checks.

Overview

Publisherlimin112
Repositorymin-skill
Skill namefreetoken-bots
Stars
507
Forks
71
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by limin112 on GitHub. Read the source before you install it.

Installation

Install the Freetoken Bots AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/limin112/min-skill/tree/main/skills/FreeToken-Bots
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/limin112/min-skill.git /tmp/min-skill
mkdir -p .claude/skills
cp -r /tmp/min-skill/skills/FreeToken-Bots .claude/skills/freetoken-bots
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Freetoken Bots in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Freetoken Bots on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Freetoken Bots is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

FreeToken-Bots

Pi is the execution layer; Muse, Grokbot and Dot may invoke it only if they can run shell commands or access a separately deployed Pi service. Do not claim to replace those products' native models.

Activation

Use this skill whenever the user mentions OpenRouter, Pi, free tokens (免费 token), or free models (免费模型) — in any language — or asks about zero-cost model options, Pi model configuration, or quota-safe fallbacks for child agents. On first activation in a session, run Step 0 below, then run scan if the cached report is older than 24h.

Step 0 — Install Pi first (required)

Nothing in this skill works without Pi. If command -v pi fails, install it before doing anything else:

bash
# Official installer (recommended)
curl -fsSL https://pi.dev/install.sh | sh
# then restart the shell (or re-source PATH) and verify:
pi --version

Alternative (requires Node.js ≥ 22.19):

bash
npm install -g @earendil-works/pi-coding-agent
pi --version

Notes:

  • Pi keeps its config in ~/.pi/agent/ (settings.json, models.json); that directory survives VM replacement, but the pi binary itself may not — re-run this step whenever pi is missing from PATH.
  • After install, run pi --list-models once to confirm a healthy install before proceeding.

Principles

  • Free means OpenRouter catalog pricing.prompt == 0 and pricing.completion == 0, with any explicit request/cache prices also zero. Free eligibility is dynamic, not a permanent promise.
  • Only classify verified total-parameter counts ≥100B as flagship. The /models API may omit parameter counts; in that case preserve the model in needs_parameter_verification, not the approved pool. Do not guess 100B from a model's name.
  • Require tools in supported_parameters for child-agent candidates; independently probe tool-calling before production use. An ordinary completion probe is not proof of tool support.
  • Never route to a paid model automatically. A 402, quota-exhausted response, or rate limit is not a reason to remove the user's existing Pi provider configuration.
  • Fail-closed model resolution (v0.1.1): probe --model never trusts a hand-typed ID. It is resolved against the latest free scan: an exact verified-free ID is used as-is; a missing :free suffix is auto-corrected with a loud warning (dropping it silently routes to the PAID variant — this exact mistake cost a live call once); any other ID is refused outright. A stale (>24h) scan is refreshed before resolving.
  • Do not put API keys in Git or print key values. Prompt for OPENROUTER_API_KEY if live probing is requested and unset.
  • Pi settings should not be rewritten without preserving user providers/defaults and validating the installed Pi's schema.
  • All unattended pi -p calls must use </dev/null.

Usage

From this skill directory:

bash
python3 scripts/radar.py scan
python3 scripts/radar.py status
OPENROUTER_API_KEY=... python3 scripts/radar.py probe --model 'exact/openrouter-id:free'
python3 scripts/radar.py sync --dry-run

scan writes a private report to ~/.pi/agent/freetoken-bots.json. sync currently emits a proposal only, deliberately not modifying models.json (Pi schema and model identifiers must be verified on the installed Pi before write integration). This is a safe MVP, not an automatic router.

Pi integration workflow

  1. Step 0 above must be complete: pi on PATH and pi --version working. If not, install first.
  2. Check ~/.pi/agent/settings.json, ~/.pi/agent/models.json, and pi --list-models without disclosing keys.
  3. Scan. Resolve model parameter counts from trustworthy model/provider documentation. Only move independently verified ≥100B entries into approved pool.
  4. Probe a plain chat completion and a separate real tools call; distinguish 429 temporary rate limit from hard daily-quota exhaustion.
  5. Check OpenRouter model ID, provider compatibility and context/max-token fields. Generate a candidate diff; do not overwrite Ling custom provider or enabledModels.
  6. Require explicit approval of diff before applying. Back up original files, write atomically, run python3 -m json.tool, pi --list-models and pi -p 'say pong' --no-extensions </dev/null. On failure revert.
  7. For Muse/Grokbot/Dot use a controlled shell child-agent invocation. Confirm host supports executing a local Pi command, shared workspace access and result capture first. Never expose Pi's shell/API to the public internet without authentication.
  8. Ask user which model to use before major tasks; use automatic fallback only after user opts in. Never replay side-effectful actions after uncertain completion.

Scheduling (required, not optional)

This skill does not scan by itself. A daily scan is required — without it the free-model list goes stale (free eligibility on OpenRouter is dynamic: models get delisted or repriced without notice).

  • Run python3 /absolute/path/to/scripts/radar.py scan every day at 08:00 local time on the machine running Pi. Use cron, launchd, or a systemd timer — pick one and keep it. Example cron: 0 8 * * * /usr/bin/python3 /path/to/scripts/radar.py scan
  • On install, tell the user explicitly: "这个 skill 需要每天早上 8 点跑一次扫描定时任务,不配的话免费名单会过期,它自己不会动。" Do not present the skill as working without the timer.
  • Each run: compare against the previous report; surface newly listed free models, delisted models, repriced (no-longer-free) models, and any change to the eligible pool.
  • A ChatGPT reminder/watch does not edit that machine. Confirm repeated transient errors before marking a model unusable. Keep separate eligible, needs_parameter_verification, and inactive states.

Model selection

Prefer verified free ≥100B tool-capable models when available, but report a smaller tool-capable free model separately when that is operationally better. If no candidate passes, report empty pool rather than silently falling back to paid tokens.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Freetoken Bots AI skill do?

Discover, verify, and maintain zero-priced OpenRouter models for Pi child-agent workflows used by Muse, Grokbot, or Dot. Activates when the user mentions OpenRouter, Pi, free tokens, or free models (免费 token / 免费模型). Use for Pi installation, free-model discovery, quota-safe Pi fallback, model recommendations, and daily health checks.

Why use Freetoken Bots on TypingMind?

Because you install it once and use it with any model. Freetoken Bots is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Freetoken Bots in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/limin112/min-skill/tree/main/skills/FreeToken-Bots. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Freetoken Bots?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Freetoken Bots?

As many as you like. As long as a model supports skills, you can use Freetoken Bots with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Freetoken Bots AI skill free?

It is published on GitHub by limin112. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇