Agent skill

Valuation Comparison

by aifinlab in aifinlab/FinClaw

估值对比助手。专注于公司/行业估值对比分析,输出 PE/PB/PS 等估值指标对比、历史分位分析、同业对比、估值建议. An agent skill from aifinlab/FinClaw.

Apache-2.0Auto-check passedBusiness, Finance & HR

Install Valuation Comparison

skills CLI
$ npx skills add aifinlab/FinClaw --skill valuation-comparison -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aifinlab/FinClaw valuation-comparison --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/valuation-comparison .claude/skills/valuation-comparison && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
valuation-comparison
GitHub stars
254
Token cost
~620 tokens
SKILL.md length
100 words
Files
3 (incl. scripts, references)
Skills in repo
74
Repo updated
First seen
Licence
Apache-2.0

At a glance

估值对比助手。专注于公司/行业估值对比分析,输出 PE/PB/PS 等估值指标对比、历史分位分析、同业对比、估值建议. An agent skill from aifinlab/FinClaw.

  • Works in 5 steps: 估值指标选择 → 历史分位分析 → 同业对比 → …
  • Business, Finance & HR work in your project
  • SKILL.md covers 估值对比核心要素, 估值对比分析框架, 输出模板 and 估值判断标准, plus 2 more sections
  • Runs Python scripts from its folder; calls python

What it does

Valuation Comparison is an agent skill from aifinlab/FinClaw. 估值对比助手。专注于公司/行业估值对比分析,输出 PE/PB/PS 等估值指标对比、历史分位分析、同业对比、估值建议。 触发场景: - 用户需要做估值对比分析 - 用户说"估值对比"、"估值分析"、"同业对比" - 需要 PE/PB/PS 等指标对比 - 需要历史分位、同业对比、估值建议 关键词:"估值"、"对比"、"PE"、"PB"、"PS"、"同业"、"历史分位"、"valuation" 配套脚本:scripts/valuationcalculator.py - 估值计算、分位计算、同业对比

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/templates.md` and `scripts/valuation_calculator.py`).

It sits in Business, Finance & HR. The licence is Apache-2.0.

When your agent uses it

  • Business, Finance & HR work in your project

Example prompts

  • “- 需要 PE/PB/PS 等指标对比 - 需要历史分位、同业对比、估值建议 关键词:”
  • “valuation”
  • “/valuation-comparison”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 估值指标选择
  2. 历史分位分析
  3. 同业对比
  4. 国际对标
  5. 估值建议

What it can do on your machine

Read from SKILL.md and the folder at commit 9e62862. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Valuation Comparison loads about 620 tokens when it runs, and up to ~892 if it reads all its reference files. Until then it costs about 72 tokens; SKILL.md has 100 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~620
With references · SKILL.md plus every file in references/, read only if the agent opens them
~892

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aifinlab/FinClaw at commit 9e62862, republished under its Apache-2.0 licence (© aifinlab). 100 words, ~620 tokens.

Download SKILL.mdSave it as .claude/skills/valuation-comparison/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
valuation-comparison
description
估值对比助手。专注于公司/行业估值对比分析,输出 PE/PB/PS 等估值指标对比、历史分位分析、同业对比、估值建议。 **触发场景**: - 用户需要做估值对比分析 - 用户说"估值对比"、"估值分析"、"同业对比" - 需要 PE/PB/PS 等指标对比 - 需要历史分位、同业对比、估值建议 **关键词**:"估值"、"对比"、"PE"、"PB"、"PS"、"同业"、"历史分位"、"valuation" **配套脚本**:`scripts/valuation_calculator.py` - 估值计算、分位计算、同业对比

估值对比助手

你是一名经验丰富的估值分析师,擅长进行公司/行业估值对比分析,帮助投资者判断估值水平和投资价值。


估值对比核心要素

要素内容要求
估值指标PE/PB/PS/EV/EBITDA 等多指标对比
历史分位当前估值历史位置5 年/10 年分位
同业对比与可比公司对比选择合理可比公司
国际对标与海外同类公司对比如适用
估值建议高估/低估/合理有明确结论

估值对比分析框架

1. 估值指标选择
  • PE:适用于盈利稳定的公司
  • PB:适用于重资产、周期性公司
  • PS:适用于高增长、未盈利公司
  • EV/EBITDA:适用于资本密集型公司
  • PEG:适用于成长股
2. 历史分位分析
  • 时间窗口:5 年/10 年/上市以来
  • 分位计算:当前值在历史中的百分位
  • 判断标准:
    • 低估:<20% 分位
    • 合理:20%-80% 分位
    • 高估:>80% 分位
3. 同业对比
  • 可比公司选择:业务相似、规模相近
  • 对比指标:PE、PB、PS、毛利率、ROE
  • 溢价/折价分析:为什么有溢价/折价
4. 国际对标
  • 对标公司:海外同类公司
  • 估值差异:考虑增长、风险、流动性
  • 合理性分析:差异是否合理
5. 估值建议
  • 综合判断:高估/低估/合理
  • 目标价:基于估值推导
  • 投资建议:买入/持有/卖出

输出模板

标准模板
# 【[公司名] 估值对比分析】

## 当前估值
| 指标 | 当前值 | 历史分位 (5 年) | 判断 |
|------|--------|-----------------|------|
| PE-TTM | | | |
| PB | | | |
| PS-TTM | | | |
| 股息率 | | | |

## 历史分位分析
- PE:当前 XX 倍,5 年 XX% 分位,[低估/合理/高估]
- PB:当前 XX 倍,5 年 XX% 分位,[低估/合理/高估]
- PS:当前 XX 倍,5 年 XX% 分位,[低估/合理/高估]

## 同业对比
| 公司 | PE | PB | PS | 毛利率 | ROE |
|------|-----|-----|-----|--------|-----|
| 目标公司 | | | | | |
| 可比公司 A | | | | | |
| 可比公司 B | | | | | |
| 行业平均 | | | | | |

## 国际对标(如适用)
| 公司 | 市场 | PE | PB | 增速 |
|------|------|-----|-----|------|
| 目标公司 | A 股 | | | |
| 海外公司 A | 美股 | | | |
| 海外公司 B | 港股 | | | |

## 估值建议
- 综合判断:[低估/合理/高估]
- 合理估值:[XX 倍 PE / XX 元目标价]
- 上行空间:[XX%]
- 投资建议:[买入/增持/中性/减持]

## 风险提示
- [风险 1]
- [风险 2]
快速模板
【[公司名] 估值速览】

当前估值:PE XX 倍(5 年 XX% 分位),PB XX 倍(5 年 XX% 分位)

同业对比:较行业平均 [溢价/折价]XX%

判断:[低估/合理/高估],上行空间 XX%

估值判断标准

分位判断建议
<20%低估买入
20%-40%偏低增持
40%-60%合理持有
60%-80%偏高减持
>80%高估卖出

分析质量检查

输出前自查:

  • 估值指标完整(PE/PB/PS 等)
  • 历史分位准确(注明时间窗口)
  • 可比公司选择合理
  • 同业对比表格清晰
  • 国际对标(如适用)
  • 估值建议明确
  • 风险提示到位
  • 数据来源标注

使用示例

示例 1: 基本使用
python
# 调用 skill
result = run_skill({
    "param1": "value1",
    "param2": "value2"
})
示例 2: 命令行使用
bash
python scripts/run_skill.py --input data.json

© aifinlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts, references) in skills/valuation-comparison of aifinlab/FinClaw.

  • SKILL.md
  • references/templates.md
  • scripts/valuation_calculator.py

Open the folder on GitHubat commit 9e62862

Compare with similar skills

Valuation Comparison next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Valuation Comparison compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Valuation Comparison this skillaifinlab/FinClaw254—~620Automated safety check: PassApache-2.0
Technical Analysttradermonty/claude-trading-skills3k4 repos~4.6kAutomated safety check: PassMIT
Theme Detectortradermonty/claude-trading-skills3k2 repos~4.9kAutomated safety check: PassMIT
Creating Financial ModelsChen-zexi/open-ptc-agent7293 repos~1.3kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Itr Walakaranb192/itr-wala871—~3.6kAutomated safety check: PassMIT

Similar skills

  • Technical Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.

    3k GitHub starsUsed in 4 repos~4.6k tokens
    Business, Finance & HRAuto-check passed
  • Theme Detector

    tradermonty/claude-trading-skills

    Detect and analyze trending market themes across sectors. An agent skill from tradermonty/claude-trading-skills.

    3k GitHub starsUsed in 2 repos~4.9k tokens
    Business, Finance & HRAuto-check passed
  • Creating Financial Models

    Chen-zexi/open-ptc-agent

    This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

    729 GitHub starsUsed in 3 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Itr Wala

    karanb192/itr-wala

    File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.

    871 GitHub stars~3.6k tokensUpdated 5 days ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    321 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed

More from aifinlab/FinClaw

All 74 skills in this repo
  • Bank Corporate Credit Dd

    aifinlab/FinClaw

    A skill your agent uses when the user asks for help with corporate credit due diligence, enterprise credit investigation, pre-loan review, borrower analysis, document collection, management…

    254 GitHub stars~952 tokensUpdated 4 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate-risk monitoring assistant for enterprise litigation/penalty/enforcement scanning (处罚/诉讼/被执行/失信等).

    254 GitHub stars~751 tokensUpdated 4 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate client operating-volatility monitoring assistant (经营监测/指标波动/预警解释).

    254 GitHub stars~605 tokensUpdated 4 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank post-loan visit follow-up assistant to turn visit notes/materials into a structured memo (摘要/关键更新/风险观察/用途核验/行动项).

    254 GitHub stars~544 tokensUpdated 4 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate credit issue-list assistant (问题清单/补件清单/催办台账).

    254 GitHub stars~487 tokensUpdated 4 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate credit approval-opinion drafting assistant (审批意见/条款建议/有条件同意).

    254 GitHub stars~549 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Valuation Comparison

What does Valuation Comparison do?

估值对比助手。专注于公司/行业估值对比分析,输出 PE/PB/PS 等估值指标对比、历史分位分析、同业对比、估值建议. An agent skill from aifinlab/FinClaw. Valuation Comparison is an agent skill from aifinlab/FinClaw.

When should I use Valuation Comparison?

Valuation Comparison fits situations like: business, Finance & HR work in your project.

How do I install Valuation Comparison in Claude Code?

Run `npx skills add aifinlab/FinClaw --skill valuation-comparison -a claude-code`. Or copy the skill folder (skills/valuation-comparison in aifinlab/FinClaw) into .claude/skills/valuation-comparison in your project. Claude Code loads it when a task matches its description.

How do I install Valuation Comparison in Codex?

Run `npx skills add aifinlab/FinClaw --skill valuation-comparison -a codex`. Or copy the skill folder (skills/valuation-comparison in aifinlab/FinClaw) into .agents/skills/valuation-comparison in your project. Codex loads it when a task matches its description.

Can I use Valuation Comparison in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aifinlab/FinClaw --skill valuation-comparison -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/valuation-comparison, .gemini/skills/valuation-comparison, .github/skills/valuation-comparison and .opencode/skills/valuation-comparison in your project.

What does Valuation Comparison need to run?

Going by SKILL.md and its folder, Valuation Comparison needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Valuation Comparison access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Valuation Comparison safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Valuation Comparison use?

Valuation Comparison is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Valuation Comparison use?

About 620 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 272 tokens, read only when the agent opens those files.

What are the alternatives to Valuation Comparison?

Skills that share tags, products or a category with Valuation Comparison: Technical Analyst (tradermonty/claude-trading-skills, 3k stars), Theme Detector (tradermonty/claude-trading-skills, 3k stars), Creating Financial Models (Chen-zexi/open-ptc-agent, 729 stars) and Stock API (zhangxiangliang/stock-api, 2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Valuation Comparison?

aifinlab (a GitHub user) maintains it in aifinlab/FinClaw, which has 254 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on May 13, 2026.

Source: aifinlab/FinClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.