Token导航 LogoToken导航TokenDH.com
开发external-serviceclawhub未标认证来源可访问clear审计通过

top-coding-models顶级编码模型

Agent Skill

top-coding-models 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,794

周安装

120

GitHub Stars

公开资料未说明

下载量

979
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:top-coding-models(顶级编码模型)
来源仓库:https://github.com/waiyannyeinnaing/top-coding-models
安装命令:
openclaw skills install top-coding-models
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install top-coding-models

简介

提供主流 AI 编码模型基准排名与定价信息。

  • 适用于开发团队选型与成本预算评估参考。top-coding-models 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 支持 OpenRouter、OpenAI 等多种平台模型对比。
  • 数据来自公开 API,请以官方最新信息为准。
  • 安装后建议查阅文档了解实时性保障机制。

SKILL.md

name
top-coding-models
description
Use when user wants benchmark rankings, pricing, token limits, or IDE compatibility info for top 20 agentic coding models. Supports OpenRouter, OpenAI, Anthropic, Google, DeepSeek, xAI, Meta, and other major LLM providers.

Get live rankings, pricing, and compatibility data for the top 20 agentic coding models — cross-referenced from BenchLM benchmark API and OpenRouter models API.

FieldValue
Identifiertop-coding-models
Version1.0.0
AuthorWai Yan
Categorytooling
Installs0
Rating0 / 5 (0 ratings)
LicenseMIT

Skill Overview

This skill fetches live data on the top 20 coding models from two authoritative sources:

  1. BenchLM AI Coding Leaderboard — benchmark scores (SWE-bench Pro + LiveCodeBench 50/50 weighted)
  2. OpenRouter Models API — live pricing, context windows, max output tokens

It outputs a structured markdown table with model rankings, costs, capabilities, and IDE compatibility info for agentic coding tools like Claude Code, Cursor, Windsurf, Cline, OpenCode, and more.

Use this skill when

  • User asks for "best coding models" or "top AI for coding"
  • User wants benchmark scores vs pricing comparison
  • User needs model compatibility info for a specific IDE (Claude Code, Cursor, Windsurf, etc.)
  • User wants to compare costs between OpenAI, Anthropic, Google, DeepSeek models
  • User asks for "free coding models" or "best budget model"
  • User wantsSWE-bench or LiveCodeBench rankings
  • User needs OpenRouter model IDs for API integration
  • User wants tool-calling support info for agentic frameworks

Do not use this skill when

  • User wants general LLMs for chat (not coding-specific)
  • User is asking about fine-tuned models not on BenchLM
  • User wants image generation or multimodal models
  • User is asking about local/self-hosted models (use ollama-skill instead)

Core capabilities

  • Live Benchmark Data: Fetches real-time rankings from BenchLM coding leaderboard
  • Cross-Referenced Pricing: Pulls live token pricing from OpenRouter API
  • IDE Compatibility Matrix: Lists which IDEs support each model via OpenRouter
  • Tool Calling Support: Indicates which models support function calling
  • Cost-Performance Analysis: Calculates best value (score per dollar)
  • Free Model Identification: Lists available free-tier models

Supported integration targets

  • Claude Code: Via ANTHROPIC_BASE_URL=https://openrouter.ai/api/v1
  • OpenCode: Provider: openrouter in config
  • Cursor: Settings → Models → OpenAI-compatible
  • Windsurf: Custom provider with OR base URL
  • Cline / Roo Code: OpenAI Compatible provider
  • Aider: --openai-api-base flag
  • Continue.dev: Custom LLM provider

Core Facts

SourceAPI EndpointUpdate Frequency
BenchLMhttps://benchlm.ai/api/data/leaderboard?category=codingDaily
OpenRouterhttps://openrouter.ai/api/v1/modelsReal-time
BenchmarkWeightDescription
SWE-bench Pro50%Real-world GitHub issue resolution
LiveCodeBench50%Contamination-free competitive programming
  • Top Provider by BenchLM: Claude Mythos Preview (79.5% coding score)
  • Best Value: Grok 4.1 (70.9% score at $0.70/1M tokens)
  • Free Models: GLM-5 Reasoning, Qwen3.5 397B Reasoning (via OpenRouter)

Quick Start

1. Run the Skill

The skill is located at:

~/.config/opencode/skills/top-coding-models/scripts/fetch_models.py

2. Basic Usage

python3 ~/.config/opencode/skills/top-coding-models/scripts/fetch_models.py

3. Get JSON Output (for automation)

python3 ~/.config/opencode/skills/top-coding-models/scripts/fetch_models.py --json

4. Customize Top N

python3 ~/.config/opencode/skills/top-coding-models/scripts/fetch_models.py --top=10

Implementation Guide

Decision Policy

Choose Claude models when:

  • Maximum coding quality is priority
  • Willing to pay premium for best benchmarks
  • Need excellent tool calling for agentic workflows
  • Context length > 200K tokens needed

Choose OpenAI GPT-5.x models when:

  • Need reasoning + coding hybrid capabilities
  • Want Codex-specific optimizations
  • Balance quality and cost

Choose Google Gemini models when:

  • Need largest context windows (1M+ tokens)
  • Want multimodal capabilities
  • Budget-conscious but need strong coding

Choose xAI Grok models when:

  • Best value is priority (lowest cost per benchmark point)
  • Need fast inference
  • Can accept slightly lower coding scores

Choose open-weight models (Qwen, GLM, DeepSeek) when:

  • Need free or very cheap inference
  • Self-hosting or using OpenRouter free tier
  • Willing to accept slightly lower benchmarks

Implementation Workflow

  1. Fetch BenchLM rankings: GET https://benchlm.ai/api/data/leaderboard?category=coding
  2. Fetch OpenRouter models: GET https://openrouter.ai/api/v1/models
  3. Normalize names: Match BenchLM model names to OpenRouter IDs
  4. Cross-reference pricing: Map BenchLM pricing to OpenRouter live prices
  5. Calculate insights: Best value, free models, budget picks
  6. Generate markdown: Format as structured table with IDE compatibility

Capability Details

Live Data Fetching

The script fetches from two APIs every run to ensure fresh data.

import urllib.request

BENCHMARKS_URL = "https://benchlm.ai/api/data/leaderboard?category=coding"
OPENROUTER_URL = "https://openrouter.ai/api/v1/models"

def fetch_json(url):
    req = urllib.request.Request(url, headers={"User-Agent": "OpenCode-TopCodingModels/1.0"})
    with urllib.request.urlopen(req) as resp:
        return json.loads(resp.read())

Rules:

  • Always fetch fresh data (no caching) to get latest rankings
  • Handle API errors gracefully with user-friendly messages
  • Timeout after 20 seconds to prevent hanging

Model Name Matching

The script uses a fuzzy matching algorithm to link BenchLM model names to OpenRouter IDs.

OR_ID_HINTS = {
    "claude opus 4.6": "anthropic/claude-opus-4.6",
    "gpt-5.3 codex": "openai/gpt-5.3-codex",
    "gemini 2.5 pro": "google/gemini-2.5-pro",
    # ... 50+ mappings
}

Rules:

  • Use known hints first for exact matches
  • Fall back to normalized substring matching
  • Prefer longer matches over shorter ones

Pricing Calculation

Prices are normalized to "per 1 million tokens" for easy comparison.

inp_1m = float(pricing.get('prompt', 0)) * 1_000_000
out_1m = float(pricing.get('completion', 0)) * 1_000_000

Rules:

  • Output prices in USD per 1M tokens
  • Mark free models as "Free"
  • Mark unknown prices as "N/A"

Integration Patterns

Pattern A: OpenRouter Unified API

Best for: Most agentic IDEs (Claude Code, Cursor, Windsurf)

Base URL: https://openrouter.ai/api/v1
Auth: Bearer <OPENROUTER_API_KEY>
Model ID: <from table above>

Pattern B: Direct Provider API

Best for: When you have direct API keys (Anthropic, OpenAI, Google)

Use provider's native SDK with model-specific endpoints

Pattern C: Local Proxy

Best for: Enterprise setups with custom routing

Route through proxy that selects provider based on model ID

Best Practices

For selecting coding models, default to:

  • Premium quality: Claude Opus 4.6 or Claude Sonnet 4.6 (Anthropic)
  • Best value: Grok 4.1 (xAI) at $0.20/$0.50 per 1M tokens
  • Free tier: Use :free suffix on OpenRouter (qwen3-coder:free, minimax-m2.5:free)
  • Long context: Gemini 2.5 Pro/Flash (1M context)
  • Agentic tools: Any model with Tools ✓ in the table

Recommended abstractions:

  • fetch_benchlm_rankings() — Get benchmark scores
  • fetch_openrouter_pricing() — Get live prices
  • cross_reference_models() — Match and enrich data
  • format_markdown_table() — Generate output

Examples Reference

ExampleDescription
Default runpython3 fetch_models.py — Top 20 with full table
JSON outputpython3 fetch_models.py --json — Machine-readable
Top 10python3 fetch_models.py --top=10 — Focused list

Output Contract

When applying this skill, produce:

  • Markdown table with 20 rows (or --top=N)
  • Columns: Rank, Model, Provider, Type, Coding Score, Agentic Score, Input Price, Output Price, Context, Max Output, OpenRouter ID, Tools Support, Structured Outputs
  • Key insights section with best value, free models, budget picks
  • IDE compatibility matrix with setup instructions
  • Python code snippet for OpenRouter API usage

Anti-Patterns

Do not:

  • Cache benchmark data (rankings change frequently)
  • Trust BenchLM pricing alone (use OpenRouter for live prices)
  • Ignore tool-calling support for agentic use cases
  • Recommend models without checking OpenRouter availability
  • Mix up input vs output pricing (they differ significantly)

Definition of Done

The task is done when:

  • Script successfully fetches from both APIs
  • Table shows all 20 models with complete data
  • At least 15 models have matched OpenRouter IDs
  • Key insights section identifies best value and free models
  • IDE compatibility matrix covers 5+ tools
  • Python snippet is runnable with minimal changes

MIT License

Copyright (c) 2026 Wai Yan

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

84.07%
按下载量换算823

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills