Logo di Freetoken Bots

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.

Panoramica

Pubblicato dalimin112
Repositorymin-skill
Nome della skillfreetoken-bots
Stelle
507
Fork
71
File inclusi
4
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 4

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da limin112 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Freetoken Bots in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/limin112/min-skill/tree/main/skills/FreeToken-Bots
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Freetoken Bots in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Freetoken Bots non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Freetoken Bots non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Freetoken Bots su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Freetoken Bots è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Freetoken Bots in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/limin112/min-skill/tree/main/skills/FreeToken-Bots. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Freetoken Bots?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Freetoken Bots?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Freetoken Bots: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Freetoken Bots è gratuita?

È pubblicata su GitHub da limin112. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇