qcc-anchor

qcc-anchor is a skill for Claude Code, Codex from zhanglunet/qcc. It costs 141 tokens per session (727 once invoked), scanned A, original, Apache-2.0.

A first step for identifying the exact Chinese company a user means by searching its name, short name, brand, or stock name and finding its 18-character Unified Social Credit Code.

In plain words
What is it for?
Resolving a company to one official identity before making Qichacha lookups; if there are several matches, it presents the choices for the user to select.
Why use it?
Chinese companies can have similar names, so later company-data searches may return the wrong business unless the correct one is confirmed first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Resolving a company to one official identity before making Qichacha lookups; if there are several matches, it presents the choices for the user to select.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhanglunet/qcc/qcc-anchor
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 zhanglunet/qcc --skill qcc-anchor
Clone the repo
git clone --depth 1 https://github.com/zhanglunet/qcc

Made for: Claude Code, Codex.

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 qcc-anchor

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhanglunet/qcc/qcc-anchor/github.svg)](https://agentmods.dev/skills/zhanglunet/qcc/qcc-anchor)
Your own site
<a href="https://agentmods.dev/skills/zhanglunet/qcc/qcc-anchor"><img src="https://agentmods.dev/badge/skills/zhanglunet/qcc/qcc-anchor/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 qcc-anchor

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhanglunet/qcc/qcc-anchor"><img src="https://agentmods.dev/badge/skills/zhanglunet/qcc/qcc-anchor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 727 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00141 $0.00727
Opus 5 $0.00071 $0.00364
Sonnet 5 $0.00028 $0.00145
Haiku 4.5 $0.00014 $0.00073

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

Security

Grade A, and why

qcc-anchor scanned grade A with 0 findings 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/qcc-anchor/SKILL.md · 61 lines

What it actually says

qcc-anchor — 企查查实体锚定

何时用

  • 任何 QCC 调用前,只要用户给的不是 18 位 USCC,都先跑本 skill
  • 用户输入是企业简称 / 品牌名 / 股票简称 / 容易重名的全称(如"小米科技""阿里巴巴")
  • 之前调用某个工具返回"无匹配" — 用本 skill 反向锁定再重试

不用的场景

  • 用户已经给出 18 位 USCC(如 91110108551385082Q)→ 跳过,直接调下游
  • 用户只是问元信息(QCC 本身怎么用) → 不用 skill

调用流程

  1. qcc-company:get_company_by_query,searchKey = 用户输入原文
  2. 看返回的 匹配结果 字段:
    • 唯一精确匹配 → 取 企业信息.统一社会信用代码,继续下游
    • 多候选必须把候选清单完整展示给用户,等用户明确选定后才继续。禁止自动选第一个
    • 未匹配 → 提示用户检查拼写,或换关键词(品牌名 / 简称)重试
  3. (可选)拿到 USCC 后,如果需要二次核验"名称-USCC 是否匹配",调 qcc-company:verify_company_accuracy

用到的 tool

tool server 输入 用途
get_company_by_query company searchKey 模糊匹配 → 唯一/候选/未匹配
verify_company_accuracy company searchKey + companyName 二要素核验(可选)

调用示例

# 锚定阶段
qcc-py call company get_company_by_query -a '{"searchKey":"小米科技"}'
# → 返回唯一匹配 USCC: 91110108551385082Q

# 后续调用全部用 USCC
qcc-py call company get_company_registration_info -a '{"searchKey":"91110108551385082Q"}'

输出契约

{
  "anchor_status": "unique | multi_candidate | no_match",
  "uscc": "91110108551385082Q",
  "canonical_name": "小米科技有限责任公司",
  "candidates": [ /* multi_candidate 时填,最多 5 条 */ ]
}
Files

What ships with it

1 file 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. 12d ago First seen · 61 lines · 141 tokens per session scan A 927aed346b1b

Subscribe to this mod's changes

qcc-anchor is a skill published in the GitHub repository zhanglunet/qcc (2 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 141 tokens to every session and 727 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. 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

html-artifacts

Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for saveplan, outputiframe, or slackattachhtml.

langchain-ai/open-swe · 51 tokens

hive.slack-notifications-setup

Set up a Slack notification channel (Sentinel) for a colony by driving the browser — reuse or create the "Hive Sentinel" Slack app from a JSON manifest, install it, capture the bot + app tokens, create/select the channel via the Slack API, and turn Sentinel on so the colony can ping the user on Slack and accept…

aden-hive/hive · 136 tokens

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens

hive.chart-creation-foundations

Required reading whenever any chart tool is available. Teaches the one-tool embedding contract (call chartrender → live chart appears in chat AND a downloadable PNG lands in the queen session dir), the ECharts (data viz) vs Mermaid (structural diagrams) decision, the BI/financial-grade aesthetic baseline (no…

aden-hive/hive · 133 tokens

browser-edge-cases

SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.

aden-hive/hive · 40 tokens

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens