claude-verifier

claude-verifier is a skill for Claude Code from echoleesong/claude-skills-plugin. It costs 34 tokens per session (3,364 once invoked), scanned A, original, MIT.

A testing guide for checking whether an API is using an official Claude model rather than a modified, wrapped, or downgraded version.

In plain words
What is it for?
Use it to test tokenisation, the token-counting endpoint, knowledge limits, web search, MCP tools, prompt handling, temperature, signatures, and model-specific parameters.
Why use it?
It helps identify misleading model labels or incomplete API behaviour by comparing tokens, parameters, tools, and responses.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the claude-skills-plugin plugin — 21 skills, 37 agents shipped together

Good fit Use it to test tokenisation, the token-counting endpoint, knowledge limits, web search, MCP tools, prompt handling, temperature, signatures, and model-specific parameters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/echoleesong/claude-skills-plugin/claude-verifier
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add echoleesong/claude-skills-plugin --skill claude-verifier
Clone the repo
git clone --depth 1 https://github.com/echoleesong/claude-skills-plugin

Made for: Claude Code.

Or install claude-skills-plugin, the plugin that ships this one along with the rest of its 21 skills, 37 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claude-verifier

README.md
[![agentmods](https://agentmods.dev/badge/skills/echoleesong/claude-skills-plugin/claude-verifier/github.svg)](https://agentmods.dev/skills/echoleesong/claude-skills-plugin/claude-verifier)
Your own site
<a href="https://agentmods.dev/skills/echoleesong/claude-skills-plugin/claude-verifier"><img src="https://agentmods.dev/badge/skills/echoleesong/claude-skills-plugin/claude-verifier/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for claude-verifier

Your own site · 80×15
<a href="https://agentmods.dev/skills/echoleesong/claude-skills-plugin/claude-verifier"><img src="https://agentmods.dev/badge/skills/echoleesong/claude-skills-plugin/claude-verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.03364
Opus 5 $0.00017 $0.01682
Sonnet 5 $0.00007 $0.00673
Haiku 4.5 $0.00003 $0.00336

Measured 10d ago against content hash 064bee6c4196, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

claude-verifier scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl --location --request POST 'https://your-api-endpoint/v1/messages' \
skills/claude-verifier/SKILL.md · 430 lines

How it starts

The opening of the file, as written. The whole thing — 430 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude 模型真伪验证指南

概述

本技能提供一套完整的验证方法,用于检测 Claude 模型是否为官方原版("纯血"),识别可能的掺假、套壳、模型降级(如用 4.5 冒充 4.6)等问题。

验证方法总览

序号 检测方法 检测目标 复杂度
1 分词器测试 验证是否为 Claude 原生分词器 ⭐⭐
2 count_tokens 接口 验证 API 完整性
3 知识库截止时间 判断具体模型版本
4 联网搜索测试 验证 CC 原生功能
5 MCP 工具调用 验证工具链支持 ⭐⭐⭐
6 提示词注入测试 验证系统提示词处理 ⭐⭐
7 温度参数测试 验证参数真实性
8 Signature 验证 验证工具调用签名 ⭐⭐⭐
9 新参数验证 检测 Opus 4.6 特有参数 ⭐⭐

1. 分词器测试 (Tokenizer Test)

原理

Claude 的分词器没有开源,通过返回的 tokens 数量可以判断是否是 Claude 模型。

测试命令

curl --location --request POST 'https://your-api-endpoint/v1/messages' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer sk-your-key' \
--data-raw '{
  "model": "claude-sonnet-4-20250514",
  "stream": false,
  "messages": [
    {
      "role": "user",
      "content": "重复下面这段话:🌙夜幕降临,风雨交加,我披衣临窗,融入这浓稠的夜色中。🌌天边几颗寒星闪烁,仿佛在诉说着什么。🍂远处的梧桐树,在风中摇曳,它的黛青色轮廓在夜色中若隐若现。"
    }
  ],
  "temperature": 0
}'

验证标准

  • 真正的 Claude API 返回的 completion_tokens 应该是固定值(如 110)
  • 对比官方 key 的返回结果
  • 可使用在线 Claude tokens 验证器交叉验证

2. count_tokens 接口测试

原理

真正的 Claude API 支持 /v1/messages/count_tokens 接口,此接口对 Claude Code 的使用效果有很大影响。

测试命令

curl --location --request POST 'https://your-api-endpoint/v1/messages/count_tokens' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer sk-your-key' \
--data-raw '{
  "model": "claude-sonnet-4-20250514",
  "messages": [
    {
      "role": "user",
      "content": "Hello, how are you today?"
    },
    {
      "role": "assistant",
      "content": "Im doing well, thank you for asking! How can I help you today?"
    },
    {
      "role": "user",
      "content": "Can you explain what artificial intelligence is?"
    }
  ]
}'

验证标准

  • 接口返回 200 表示支持
  • 返回正确的 token 计数

3. 知识库截止时间判断法

原理

不同版本的 Claude 模型有不同的知识库截止时间,通过询问可以判断实际使用的模型版本。

Read the full file on GitHub · 430 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 430 lines · 34 tokens per session scan A 064bee6c4196

Subscribe to this mod's changes

claude-verifier is a skill published in the GitHub repository echoleesong/claude-skills-plugin (4 stars, last pushed 3mo ago), licensed MIT. It adds 34 tokens to every session and 3,364 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens