freeride-opencode
Configure and optimize OpenCode Zen free models with smart fallbacks for subtasks, heartbeat, and cron jobs. Use when setting up cost-effective AI model routing with automatic failover between free models.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- freeride-opencode
- version
- 1.0.0
- description
- Configure and optimize OpenCode Zen free models with smart fallbacks for subtasks, heartbeat, and cron jobs. Use when setting up cost-effective AI model routing with automatic failover between free models.
02 资源文件 4
- 参考文档_meta.json289 B
- 参考文档examples/usage.md5.8 KB
- 参考文档references/models.md3.9 KB
- 参考文档references/templates.md3.4 KB
03 SKILL.md 正文
Freeride OpenCode
Configure OpenCode Zen free models with intelligent fallbacks to optimize costs while maintaining reliability.
Quick Start
Apply optimal free model configuration:
{
"agents": {
"defaults": {
"model": {
"primary": "opencode/minimax-m2.1-free",
"fallbacks": [
"opencode/kimi-k2.5-free",
"opencode/glm-4.7-free",
"opencode/gpt-5-nano"
]
},
"heartbeat": {
"model": "opencode/gpt-5-nano"
},
"subagents": {
"model": "opencode/kimi-k2.5-free"
}
}
}
}
Model Selection Guide
See models.md for detailed model comparisons, capabilities, and provider information.
| Task Type | Recommended Model | Rationale |
|---|---|---|
| Primary/General | MiniMax M2.1 Free | Best free model capability |
| Subtasks | Kimi K2.5 Free | Balanced cost/performance |
| Heartbeat | GPT 5 Nano | Fastest and cheapest |
| Cron Jobs | Depends on complexity |
Free Models Available
| Model | ID | Best For |
|---|---|---|
| MiniMax M2.1 Free | opencode/minimax-m2.1-free |
Complex reasoning, coding |
| Kimi K2.5 Free | opencode/kimi-k2.5-free |
General purpose, balance |
| GLM 4.7 Free | opencode/glm-4.7-free |
Multilingual, fallback |
| GPT 5 Nano | opencode/gpt-5-nano |
Simple tasks, high frequency |
Fallback Strategy
Configure fallbacks in priority order:
"fallbacks": [
"opencode/kimi-k2.5-free", // Second best capability
"opencode/glm-4.7-free", // Alternative provider
"opencode/gpt-5-nano" // Fallback of last resort
]
Fallback triggers:
- Rate limits exceeded
- Auth failures
- Timeouts
- Provider unavailability
Per-Task Configuration
Heartbeat (Every 30 min)
"heartbeat": {
"every": "30m",
"model": "opencode/gpt-5-nano"
}
Use the cheapest model for frequent, lightweight checks.
Subtasks/Subagents
"subagents": {
"model": "opencode/kimi-k2.5-free"
}
Good balance for secondary tasks that need reasonable capability.
Complete Example
{
"agents": {
"defaults": {
"model": {
"primary": "opencode/minimax-m2.1-free",
"fallbacks": [
"opencode/kimi-k2.5-free",
"opencode/glm-4.7-free",
"opencode/gpt-5-nano"
]
},
"models": {
"opencode/minimax-m2.1-free": { "alias": "MiniMax M2.1" },
"opencode/kimi-k2.5-free": { "alias": "Kimi K2.5" },
"opencode/glm-4.7-free": {},
"opencode/gpt-5-nano": {}
},
"heartbeat": {
"every": "30m",
"model": "opencode/gpt-5-nano"
},
"subagents": {
"model": "opencode/kimi-k2.5-free"
}
}
}
}
Applying Configuration
Use OpenClaw CLI:
openclaw config.patch --raw '{
"agents": {
"defaults": {
"model": {
"primary": "opencode/minimax-m2.1-free",
"fallbacks": ["opencode/kimi-k2.5-free", "opencode/glm-4.7-free", "opencode/gpt-5-nano"]
},
"heartbeat": { "model": "opencode/gpt-5-nano" },
"subagents": { "model": "opencode/kimi-k2.5-free" }
}
}
}'
Best Practices
- Always have fallbacks - Configure at least 2-3 fallback models
- Mix providers - Reduces single-provider risk
- Match model to task - Don't use MiniMax for simple checks
- Test fallback order - Put more capable models first
- Monitor usage - Track which models get used most
Troubleshooting
Rate limits still occurring?
- Add more fallback models
- Consider reducing heartbeat frequency
Responses too slow?
- Move GPT 5 Nano higher in fallback chain
- Use simpler model for subtasks
Model not available?
- Check model ID format:
opencode/model-id-free - Verify model is still free (check models.md)
References
models.md
Complete reference of all free models with capabilities, providers, performance comparisons, and error handling.
templates.md
Ready-to-use configuration templates for different use cases (minimal, complete, cost-optimized, performance-optimized).
examples/usage.md
Practical examples showing how to use this skill in real scenarios.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.