Agent skill

A Share Convertible Bond

by aifinlab in aifinlab/FinClaw

A股可转债分析/转债策略/可转债估值与筛选。当用户提到"可转债"或"转债"就触发。关键词:"可转债"、"转债"、"convertible bond"、"转股"、"转股价值"、"双低策略"、"强赎"、"XX转债怎么样"、"可转债打新"、"转债溢价率"、"转债分析"、"可转债筛选"、"转债到期收益率"、"YTM"、"下修"、"转债回售"。MUST USE when user mentions…

Apache-2.0Auto-check passed

Install A Share Convertible Bond

skills CLI
$ npx skills add aifinlab/FinClaw --skill a-share-convertible-bond -a claude-code

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

GitHub CLI
$ gh skill install aifinlab/FinClaw a-share-convertible-bond --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/a-share-convertible-bond .claude/skills/a-share-convertible-bond && 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
a-share-convertible-bond
GitHub stars
255
Token cost
~586 tokens
SKILL.md length
106 words
Files
2 (incl. references)
Skills in repo
74
Repo updated
First seen
Licence
Apache-2.0

At a glance

A股可转债分析/转债策略/可转债估值与筛选。当用户提到"可转债"或"转债"就触发。关键词:"可转债"、"转债"、"convertible bond"、"转股"、"转股价值"、"双低策略"、"强赎"、"XX转债怎么样"、"可转债打新"、"转债溢价率"、"转债分析"、"可转债筛选"、"转债到期收益率"、"YTM"、"下修"、"转债回售"。MUST USE when user mentions…

  • Works in 5 steps: 确定分析模式 → 数据获取 → 估值分析 → …
  • User mentions 可转债
  • SKILL.md covers 数据源, Workflow and 关键规则
  • Calls python

What it does

A Share Convertible Bond is an agent skill from aifinlab/FinClaw. A股可转债分析/转债策略/可转债估值与筛选。当用户提到"可转债"或"转债"就触发。关键词:"可转债"、"转债"、"convertible bond"、"转股"、"转股价值"、"双低策略"、"强赎"、"XX转债怎么样"、"可转债打新"、"转债溢价率"、"转债分析"、"可转债筛选"、"转债到期收益率"、"YTM"、"下修"、"转债回售"。MUST USE when user mentions 可转债 or 转债 in any context — this is the ONLY skill for convertible bond analysis. 基于 efinance 可转债数据和 cn-stock-data 正股数据,分析转债估值(溢价率/到期收益率)、正股联动、强赎风险、转债策略。支持研报风格(formal)和快速解读风格(brief)。

Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/convertible-bond-guide.md`).

The licence is Apache-2.0.

When your agent uses it

  • User mentions 可转债
  • 转债 in any context — this is the ONLY skill for convertible bond analysis

Example prompts

  • “就触发。关键词:”
  • “convertible bond”
  • “XX转债怎么样”
  • “/a-share-convertible-bond”

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

    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

A Share Convertible Bond loads about 586 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 101 tokens; SKILL.md has 106 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

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

Download SKILL.mdSave it as .claude/skills/a-share-convertible-bond/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
a-share-convertible-bond
description
A股可转债分析/转债策略/可转债估值与筛选。当用户提到"可转债"或"转债"就触发。关键词:"可转债"、"转债"、"convertible bond"、"转股"、"转股价值"、"双低策略"、"强赎"、"XX转债怎么样"、"可转债打新"、"转债溢价率"、"转债分析"、"可转债筛选"、"转债到期收益率"、"YTM"、"下修"、"转债回售"。MUST USE when user mentions 可转债 or 转债 in any context — this is the ONLY skill for convertible bond analysis. 基于 efinance 可转债数据和 cn-stock-data 正股数据,分析转债估值(溢价率/到期收益率)、正股联动、强赎风险、转债策略。支持研报风格(formal)和快速解读风格(brief)。

A股可转债分析助手

数据源

bash
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"

# 可转债实时行情(通过 akshare,cn-stock-data 不支持此命令)
# 方式1: akshare 集思录可转债数据(推荐,含溢价率/YTM/双低值等完整指标)
python -c "import akshare as ak; df=ak.bond_cb_jsl(); print(df.to_json(orient='records', force_ascii=False))"

# 方式2: efinance 可转债行情(备选,数据源可能不稳定)
python -c "import efinance as ef; df=ef.bond.get_realtime_quotes(); print(df.to_json(orient='records', force_ascii=False))"

# 正股行情(通过 cn-stock-data)
python "$SCRIPTS/cn_stock_data.py" quote --code [正股代码]

# 正股K线
python "$SCRIPTS/cn_stock_data.py" kline --code [正股代码] --freq daily --start [日期]

# 正股财务
python "$SCRIPTS/cn_stock_data.py" finance --code [正股代码]

补充:通过 web 搜索获取转股价调整公告、强赎公告等最新信息。

Workflow

Step 1: 确定分析模式

根据用户意图选择模式:

  • 个债分析:指定转债代码/名称 → 深度分析单只转债
  • 策略筛选:双低 / 低溢价 / 高YTM / 即将强赎 → 全市场筛选
  • 市场全景:转债市场整体估值水平、分布统计
Step 2: 数据获取
  1. 调用 convertible_bond 获取全市场转债行情(价格/溢价率/转股价值/到期收益率等)
  2. 对目标转债,调用 quote / kline / finance 获取正股数据
  3. 如需最新转股价或强赎公告,通过 web 搜索补充
Step 3: 估值分析

核心指标计算(详见 references/convertible-bond-guide.md):

  • 转股价值 = 100 / 转股价 × 正股价
  • 转股溢价率 = (转债价格 - 转股价值) / 转股价值 × 100%
  • 纯债价值:按同评级企业债收益率折现剩余现金流
  • 到期收益率 YTM:按到期赎回价计算的内部收益率
  • 双低值 = 转债价格 + 转股溢价率 × 100(<130 为低估区间)
Step 4: 风险分析
  • 强赎风险:正股连续30日中15日高于转股价130%(各转债具体条款可能不同)
  • 下修可能性:正股接近或低于转股价,发行人有动力下修
  • 到期兑付风险:正股基本面恶化,转债信用风险上升
  • 流动性风险:日均成交量过低,买卖价差大
Step 5: 输出

根据风格要求输出:

维度formal(研报风格)brief(快速解读)
输出完整转债研究报告快速要点总结
估值分析全面(纯债+期权+Greeks)核心指标(溢价率+YTM+双低值)
正股分析详细基本面分析仅关键财务指标
策略建议情景分析+多空因素直接结论

默认风格:brief。用户要求"详细分析"/"研报"时切换为 formal。

关键规则

  1. 可转债有"债底保护"但非零风险——需考虑信用风险(尤其 AA- 及以下评级)
  2. 转股价可能下修——必须通过 web 搜索确认最新转股价,不能仅依赖历史数据
  3. 强赎条款是最重要的风险点之一——临近强赎的转债价格通常锁定在130元附近
  4. 可转债 T+0 交易,与正股 T+1 不同;无涨跌幅限制但有临时停牌机制
  5. 策略筛选时,务必标注数据时间,提醒用户转债行情变化快
  6. 计算指标时展示公式和中间步骤,确保可验证

© 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 1 other file (references) in skills/a-share-convertible-bond of aifinlab/FinClaw.

  • SKILL.md
  • references/convertible-bond-guide.md

Open the folder on GitHubat commit 9e62862

Compare with similar skills

A Share Convertible Bond 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.

A Share Convertible Bond compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
A Share Convertible Bond this skillaifinlab/FinClaw255—~586Automated safety check: PassApache-2.0
A-Share Convertible Bond AnalysisHKUDS/Vibe-Trading35k—~1.1kAutomated safety check: PassMIT
Convertremotion-dev/remotion63k—~247Automated safety check: PassCustom licence
ShareClickHouse/ClickHouse50k—~558Automated safety check: NotesApache-2.0
Developing Share PagesTriliumNext/Trilium38k—~3.7kAutomated safety check: PassAGPL-3.0
SharingBuilderIO/agent-native7.1k—~3.4kAutomated safety check: PassNone

Similar skills

  • Analyzes Chinese A-share convertible bonds with a three-part valuation, clause game analysis, the double-low strategy and a rotation framework for choosing bonds; instructions are in Chinese.

    35k GitHub stars~1.1k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Convert

    remotion-dev/remotion

    Official

    Start the local @remotion/convert app and open it in the Codex browser.

    63k GitHub stars~247 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Share

    ClickHouse/ClickHouse

    Share a Claude Code session to pastila.nl and return a viewer link.

    50k GitHub stars~558 tokensUpdated today
    DatabasesAuto-check: notes
  • Developing Share Pages

    TriliumNext/Trilium

    A skill your agent uses when working on Trilium's share functionality — shared pages under /share/, the static HTML (share-theme) export, the share theme package (packages/share-theme: EJS…

    38k GitHub stars~3.7k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Sharing

    BuilderIO/agent-native

    Framework-level sharing and privacy for user-authored resources (dashboards, documents, forms, decks, etc.).

    7.1k GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Deslop Shared Libs

    garrytan/gstack

    Find worthwhile shared-code extractions in recent work. An agent skill from garrytan/gstack.

    136k GitHub stars~3.3k tokensUpdated today
    Writing & ContentAuto-check: notes

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…

    255 GitHub stars~952 tokensUpdated 5 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 (处罚/诉讼/被执行/失信等).

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

    255 GitHub stars~605 tokensUpdated 5 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 (摘要/关键更新/风险观察/用途核验/行动项).

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

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

    255 GitHub stars~549 tokensUpdated 5 mo ago
    Auto-check passed

Questions about A Share Convertible Bond

What does A Share Convertible Bond do?

A股可转债分析/转债策略/可转债估值与筛选。当用户提到"可转债"或"转债"就触发。关键词:"可转债"、"转债"、"convertible bond"、"转股"、"转股价值"、"双低策略"、"强赎"、"XX转债怎么样"、"可转债打新"、"转债溢价率"、"转债分析"、"可转债筛选"、"转债到期收益率"、"YTM"、"下修"、"转债回售"。MUST USE when user mentions…. A Share Convertible Bond is an agent skill from aifinlab/FinClaw. A股可转债分析/转债策略/可转债估值与筛选。当用户提到"可转债"或"转债"就触发。关键词:"可转债"、"转债"、"convertible bond"、"转股"、"转股价值"、"双低策略"、"强赎"、"XX转债怎么样"、"可转债打新"、"转债溢价率"、"转债分析"、"可转债筛选"、"转债到期收益率"、"YTM"、"下修"、"转债回售"。MUST USE when user mentions 可转债 or 转债 in any context — this is the ONLY skill for convertible bond analysis.

When should I use A Share Convertible Bond?

A Share Convertible Bond fits situations like: user mentions 可转债; 转债 in any context — this is the ONLY skill for convertible bond analysis.

How do I install A Share Convertible Bond in Claude Code?

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

How do I install A Share Convertible Bond in Codex?

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

Can I use A Share Convertible Bond 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 a-share-convertible-bond -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/a-share-convertible-bond, .gemini/skills/a-share-convertible-bond, .github/skills/a-share-convertible-bond and .opencode/skills/a-share-convertible-bond in your project.

What does A Share Convertible Bond need to run?

Going by SKILL.md and its folder, A Share Convertible Bond needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does A Share Convertible Bond 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 A Share Convertible Bond 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. Review the folder before installing.

What licence does A Share Convertible Bond use?

A Share Convertible Bond 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 A Share Convertible Bond use?

About 586 tokens (SKILL.md is roughly 2.3k 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 1.8k tokens, read only when the agent opens those files.

What are the alternatives to A Share Convertible Bond?

Skills that share tags, products or a category with A Share Convertible Bond: A-Share Convertible Bond Analysis (HKUDS/Vibe-Trading, 35k stars), Convert (remotion-dev/remotion, 63k stars), Share (ClickHouse/ClickHouse, 50k stars) and Developing Share Pages (TriliumNext/Trilium, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains A Share Convertible Bond?

aifinlab (a GitHub user) maintains it in aifinlab/FinClaw, which has 255 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.