comps-analysis

comps-analysis is a skill for Claude Code from cyijun/china-financial-services. It costs 68 tokens per session (355 once invoked), scanned A, original, Apache-2.0.

A method for comparing Chinese-listed companies in the same industry or theme using financial measures calculated for the same date and under the same definitions.

In plain words
What is it for?
It helps choose and document comparable companies, build valuation tables, explain unusual values, report distributions and coverage, and rank research candidates without issuing trading advice.
Why use it?
Company comparisons can be misleading when the samples, reporting periods, currencies, or valuation formulas differ, or when missing values are treated as zero.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the china-market-researcher plugin — 17 skills, 1 agent shipped together

Good fit It helps choose and document comparable companies, build valuation tables, explain unusual values, report distributions and coverage, and rank research candidates without issuing trading advice.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyijun/china-financial-services/comps-analysis
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 cyijun/china-financial-services --skill comps-analysis
Clone the repo
git clone --depth 1 https://github.com/cyijun/china-financial-services

Made for: Claude Code.

Or install china-market-researcher, the plugin that ships this one along with the rest of its 17 skills, 1 agent.

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 comps-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyijun/china-financial-services/comps-analysis/github.svg)](https://agentmods.dev/skills/cyijun/china-financial-services/comps-analysis)
Your own site
<a href="https://agentmods.dev/skills/cyijun/china-financial-services/comps-analysis"><img src="https://agentmods.dev/badge/skills/cyijun/china-financial-services/comps-analysis/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 comps-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyijun/china-financial-services/comps-analysis"><img src="https://agentmods.dev/badge/skills/cyijun/china-financial-services/comps-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 355 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.00068 $0.00355
Opus 5 $0.00034 $0.00178
Sonnet 5 $0.00014 $0.00071
Haiku 4.5 $0.00007 $0.00036

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

Security

Grade A, and why

comps-analysis 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 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.

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.

plugins/china-market-researcher/skills/comps-analysis/SKILL.md · 17 lines

What it actually says

行业可比公司分析

  1. 冻结as_of、股票池、财务版本、预测期间、币种和复权口径。
  2. 按真实业务暴露、价值链位置、客户、地区、规模、成长、利润率、资本结构和周期阶段选择同行,并记录纳入/排除理由。
  3. china-market-data取得同日市值、估值和财务数据;当前行业成员不能回填历史。
  4. 统一EV桥、净债务、少数股东、租赁、稀释股本、TTM/NTM和法定/扣非口径。
  5. 亏损、负净资产或近零分母保持N/M;不使用0填充错误或缺失。
  6. 报告原始分布、中位数、四分位、覆盖率和不可比项;异常先解释,不自动删除。
  7. 对选样、期间和会计调整做敏感性;需要完整估值时调用a-share-valuation-triangulation

输出原始数据来源、样本矩阵、口径调整、倍数/经营指标分布、异常解释、敏感性和缺口。只生成研究比较,不给交易或仓位动作。

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 · 17 lines · 68 tokens per session scan A d168efc49c42

Subscribe to this mod's changes

comps-analysis is a skill published in the GitHub repository cyijun/china-financial-services (19 stars, last pushed 16d ago), licensed Apache-2.0. It adds 68 tokens to every session and 355 once invoked, about $0.0003 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-30.