convertible-bond

convertible-bond is a skill for Claude Code, Codex from HKUDS/Vibe-Trading. It costs 50 tokens per session (2,747 once invoked), scanned A, original, MIT.

An analysis framework for Chinese A-share convertible bonds, which are bonds that can usually be exchanged for shares of the issuing company. It values the bond repayment component, the conversion option, and the bond's trading terms.

In plain words
What is it for?
Use it to estimate conversion value, bond value, and their premiums. It can help analyse special terms and screen or rotate among A-share convertible bonds using a low-price, low-premium approach.
Why use it?
It helps compare the bond's downside support with the value of converting into shares. It also organises decisions around adjustment, forced-redemption, resale, low-price, and bond-rotation clauses.

Skill for Claude CodeCodex

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

Good fit Use it to estimate conversion value, bond value, and their premiums. It can help analyse special terms and screen or rotate among A-share convertible bonds using a low-price, low-premium approach.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hkuds/vibe-trading/convertible-bond
About the project

Vibe-Trading is a personal trading agent that gives an AI system tools for market analysis, algorithmic trading, backtesting, and related workflows. It is for users who want an agent to research and evaluate trading strategies or manage simulated and other trading activities. The catalogue contains skills that expose these trading capabilities to compatible agents.

HKUDS/Vibe-Trading · 33,177 stars · on GitHub · vibetrading.wiki

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 HKUDS/Vibe-Trading --skill convertible-bond
Clone the repo
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading

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 convertible-bond

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hkuds/vibe-trading/convertible-bond"><img src="https://agentmods.dev/badge/skills/hkuds/vibe-trading/convertible-bond.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,747 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. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00050 $0.02747
Opus 5 $0.00025 $0.01373
Sonnet 5 $0.00010 $0.00549
Haiku 4.5 $0.00005 $0.00275

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

Security

Grade A, and why

convertible-bond 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agent/src/skills/convertible-bond/SKILL.md · 260 lines

How it starts

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

A股可转债分析

概述

A股可转债是具有"债底保护+股票期权"特征的混合品种。本skill覆盖可转债三维估值、条款博弈分析、双低策略和轮动选债框架。

可转债基础概念

核心要素

要素 说明 示例
面值 100元 -
票面利率 递增,通常0.3%-2.0% 第1年0.4%...第6年2.0%
转股价 转换成股票的价格 转股价15.00元
到期期限 通常6年 2024-2030
到期赎回价 面值+最后一年利息+补偿 110-115元
回售条款 股价持续低于转股价70%可回售 连续30个交易日中30天<70%
强赎条款 股价持续高于转股价130%可强赎 连续30个交易日中15天>130%
下修条款 可以下调转股价 连续30个交易日中15天<85%

关键指标

转股价值 = 面值 / 转股价 × 正股价格
         = 100 / 15.00 × 18.00 = 120.00元

转股溢价率 = (转债价格 - 转股价值) / 转股价值 × 100%
           = (125 - 120) / 120 × 100% = 4.17%

纯债价值 = Σ(票息 / (1+r)^t) + 到期赎回价 / (1+r)^n
         ≈ 85-95元(取决于剩余期限和利率)

纯债溢价率 = (转债价格 - 纯债价值) / 纯债价值 × 100%

三维估值体系

1. 纯债价值(债底)

def bond_floor(coupon_rates: list, years_remaining: float,
               redemption_price: float = 110, yield_rate: float = 0.03) -> float:
    """
    Args:
        coupon_rates: 剩余各年票面利率列表,如 [0.8, 1.0, 1.5, 2.0]
        years_remaining: 剩余年限
        redemption_price: 到期赎回价
        yield_rate: 折现率(同期信用债收益率,约2.5-4%)
    Returns:
        纯债价值
    """
    pv = sum(c * 100 / (1 + yield_rate)**i for i, c in enumerate(coupon_rates, 1))
    pv += redemption_price / (1 + yield_rate)**len(coupon_rates)
    return pv

纯债价值含义

  • 纯债价值越高 → 债底保护越强 → 下跌空间有限
  • 通常纯债价值在 85-100 之间
  • 转债价格跌到纯债价值附近 = "债性转债",安全但弹性小

2. 转股价值(股性)

转股价值 = 100 / 转股价 × 正股当前价

影响因子:
- 正股价格(正相关)
- 转股价(负相关)
- 下修转股价 → 转股价值上升

3. 期权价值

期权价值 = 转债价格 - max(纯债价值, 转股价值)

期权价值高 → 市场看好正股上涨潜力 或 看好下修概率
期权价值低/负 → 便宜(可能有机会)

三维判断矩阵

转股价值 纯债价值 转债类型 策略
>120 不重要 偏股型 跟随正股,关注强赎风险
100-120 不重要 平衡型 进可攻退可守,最佳区间
<100 >90 偏债型 持有吃利息,等下修/正股反弹
<80 <85 困境型 高风险,可能有信用风险

条款博弈分析

下修博弈

触发条件:连续30个交易日中15天正股收盘价低于当期转股价的85%。

下修概率评估:
1. 触发条件已满足/接近满足 → 高概率
2. 大股东持有大量转债未转股 → 高概率(有动力下修)
3. 公司即将面临回售 → 高概率(下修避免回售)
4. 公司现金充裕、无还债压力 → 低概率(无动力下修)
5. 转股会大幅稀释股权 → 低概率(控制权顾虑)

下修后影响:
- 转股价值 = 100 / 新转股价 × 正股价,通常瞬间上升
- 转债价格通常上涨 5-15%
- 但正股可能因稀释预期下跌

Read the full file on GitHub · 260 lines

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. 11d ago First seen · 260 lines · 50 tokens per session scan A 7c21db592505

Subscribe to this mod's changes

convertible-bond is a skill published in the GitHub repository HKUDS/Vibe-Trading (33,177 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 2,747 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.

Related

Other skills, from other repositories

hyperliquid

Use when backtesting, deploying, checking funding readiness, or debugging a Hyperliquid strategy through Superior Trade Unified API — writing Freqtrade configs and strategy code, running sweeps, checking managed-wallet balances, trading HIP-3 perps, or diagnosing a deployment that will not start or trade.

Superior-Trade/superior-skills · 64 tokens

polymarket

Use when the user wants to trade, research, or backtest Polymarket prediction markets through Superior Trade — finding markets by slug or event URL, placing a single immediate market order, writing NautilusTrader strategies, running filled-data backtests, funding pUSD, or deploying and monitoring a live Polymarket…

Superior-Trade/superior-skills · 68 tokens

aerodrome

Use when creating, validating, backtesting, deploying, sizing, or troubleshooting Aerodrome/Base spot trading strategies through the Superior Trade API, especially Freqtrade configs using exchange.name "aerodrome", AERO/USDC or CHECK/USDC pairs, AMM market swaps, wallet/gas balance checks, no-orderbook pricing, or…

Superior-Trade/superior-skills · 83 tokens

backtesting

Use when running, interpreting, or designing backtests on Superior Trade — anything about backtest windows, trade-count thresholds, exit-reason mix, parameter sweeps, walk-forward validation, zero-trade diagnosis, compute-cost estimation, or "is this backtest result trustworthy?". Pair with the relevant strategy…

Superior-Trade/superior-skills · 73 tokens

basis-arb

Use when the user asks for spot-perp basis trade, basis arbitrage, cash-and-carry, perp discount, or any setup that reads the spot–perp basis as a positioning signal. Long-perp leg only — pure two-leg basis arb requires a paired spot short (or long) which Freqtrade can't run cleanly. The strategy below captures the…

Superior-Trade/superior-skills · 87 tokens

fees-optimizations

Use when the user asks about fees, fee optimization, slippage, maker vs taker, post-only or ALO orders, fee tiers, builder code fees, effective spread, order pricing, lowering trading costs, or why a live Hyperliquid Freqtrade strategy underperforms its backtest. Also use proactively for high-turnover designs (5m or…

Superior-Trade/superior-skills · 94 tokens