Swapper Deposit
swapperfinance/swapper-toolkit
Deposit and bridge funds into a wallet or protocol using Swapper Finance.
[STUB] Bond pricing, yield curves, duration and convexity analysis, and DeFi lending rate modeling
$ npx skills add agiprolabs/claude-trading-skills --skill fixed-income -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install agiprolabs/claude-trading-skills fixed-income --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/fixed-income .claude/skills/fixed-income && rm -rf skills-srcUse ~/.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/
Install the "fixed-income" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/fixed-income into .claude/skills/fixed-income/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fixed-income", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/fixed-incomeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add agiprolabs/claude-trading-skills --skill fixed-income -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install agiprolabs/claude-trading-skills fixed-income --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/fixed-income .agents/skills/fixed-income && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fixed-income" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/fixed-income into .agents/skills/fixed-income/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fixed-income", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agiprolabs/claude-trading-skills --skill fixed-income -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install agiprolabs/claude-trading-skills fixed-income --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/fixed-income .cursor/skills/fixed-income && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fixed-income" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/fixed-income into .cursor/skills/fixed-income/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fixed-income", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/agiprolabs/claude-trading-skills.git --path skills/fixed-income--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add agiprolabs/claude-trading-skills --skill fixed-income -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install agiprolabs/claude-trading-skills fixed-income --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/fixed-income .gemini/skills/fixed-income && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fixed-income" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/fixed-income into .gemini/skills/fixed-income/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fixed-income", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install agiprolabs/claude-trading-skills fixed-incomeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add agiprolabs/claude-trading-skills --skill fixed-income -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/fixed-income .github/skills/fixed-income && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fixed-income" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/fixed-income into .github/skills/fixed-income/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fixed-income", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agiprolabs/claude-trading-skills --skill fixed-income -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install agiprolabs/claude-trading-skills fixed-income --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/fixed-income .opencode/skills/fixed-income && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fixed-income" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/fixed-income into .opencode/skills/fixed-income/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fixed-income", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fixed-income[STUB] Bond pricing, yield curves, duration and convexity analysis, and DeFi lending rate modeling
Fixed Income is an agent skill from agiprolabs/claude-trading-skills. [STUB] Bond pricing, yield curves, duration and convexity analysis, and DeFi lending rate modeling
Its SKILL.md is about 1.6k 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/planned_features.md` and `scripts/bond_calculator.py`).
It sits in Business, Finance & HR, covering Banking and insurance and Crypto and DeFi analysis. The repository describes itself as: 68 trading, DeFi, and quantitative finance Agent Skills. Works with Claude Code, Cursor, Codex, Gemini CLI, and 30+ other tools. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 981e1d7. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
uvpythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Fixed Income loads about 1.6k tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 28 tokens; SKILL.md has 606 words of instructions outside code blocks.
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.
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.
The full file from agiprolabs/claude-trading-skills at commit 981e1d7, republished under its MIT licence (© agiprolabs). 606 words, ~1,650 tokens.
.claude/skills/fixed-income/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Status: STUB — This skill provides a basic bond calculator and an overview of planned capabilities. Full implementation is awaiting community contribution.
Fixed income analysis bridges traditional bond mathematics with DeFi lending rate modeling. Bond pricing fundamentals — present value of cash flows, yield curves, duration, and convexity — translate directly to analyzing DeFi lending protocols where depositors earn variable or fixed rates on crypto assets.
On Solana, lending protocols like Marginfi, Kamino, and Solend offer variable-rate lending/borrowing. Understanding term structure and rate dynamics helps optimize yield farming strategies and compare opportunities across protocols.
This skill is informational and analytical only. It does not provide financial advice or trading recommendations.
This stub includes a working bond calculator with price, yield-to-maturity, duration, and convexity computations. See scripts/bond_calculator.py for the implementation.
def bond_price(
face: float, coupon_rate: float, ytm: float, periods: int, freq: int = 2
) -> float:
"""Calculate bond price as present value of all cash flows.
Args:
face: Face (par) value of the bond.
coupon_rate: Annual coupon rate (decimal, e.g., 0.05 for 5%).
ytm: Yield to maturity (annual, decimal).
periods: Number of coupon periods remaining.
freq: Coupon frequency per year (2 = semi-annual).
Returns:
Bond price (dirty price).
"""
coupon = face * coupon_rate / freq
y = ytm / freq
pv_coupons = sum(coupon / (1 + y) ** t for t in range(1, periods + 1))
pv_face = face / (1 + y) ** periods
return pv_coupons + pv_faceRun the demo:
python scripts/bond_calculator.py --demoWhen fully implemented, this skill will cover:
| Concept | Description |
|---|---|
| Clean/Dirty Price | Price excluding/including accrued interest |
| Accrued Interest | Interest earned since last coupon date |
| Day Count Conventions | 30/360, ACT/360, ACT/365, ACT/ACT |
| Zero-Coupon Bonds | Discount bonds with no periodic coupons |
| Yield Measure | Use Case |
|---|---|
| Yield to Maturity (YTM) | Total return if held to maturity |
| Current Yield | Annual coupon / price |
| Yield to Call | Return if called at first call date |
| Spread to Benchmark | Credit risk premium over risk-free rate |
| Metric | Measures |
|---|---|
| Macaulay Duration | Weighted average time to cash flows |
| Modified Duration | Price sensitivity to yield changes |
| Effective Duration | Duration for bonds with embedded options |
| Convexity | Second-order price sensitivity |
| Dollar Duration (DV01) | Dollar change per 1bp yield move |
| Method | Description |
|---|---|
| Bootstrap | Extract spot rates from par bond prices |
| Nelson-Siegel | Parametric model with level, slope, curvature |
| Nelson-Siegel-Svensson | Extended model with additional curvature term |
| Cubic Spline | Non-parametric interpolation |
| Protocol | Chain | Type |
|---|---|---|
| Marginfi | Solana | Variable rate |
| Kamino | Solana | Variable rate |
| Solend | Solana | Variable rate |
| Aave | Ethereum/Multi | Variable + stable rate |
| Compound | Ethereum | Variable rate |
Planned DeFi features:
# For full implementation
uv pip install numpy scipy
# For visualization
uv pip install matplotlibThe included scripts/bond_calculator.py uses only the Python standard library and runs without any dependencies.
Compare DeFi lending rates across protocols using fixed income analytics. Annualize variable rates, compute effective yields accounting for compounding frequency, and identify the most capital-efficient opportunities.
Track lending rates over time to understand rate dynamics. Identify periods of rate compression (low utilization) vs rate expansion (high utilization) to time deposits optimally.
Borrow at lower rates on one protocol and lend at higher rates on another. Duration and convexity concepts help assess the risk of rate changes during the arbitrage holding period.
Use duration to estimate how lending positions change in value as rates move. Higher duration means greater sensitivity to rate changes.
Bond price (present value of cash flows):
P = Σ [C / (1+y)^t] + F / (1+y)^n
t=1..n
Where:
C = periodic coupon payment = Face * coupon_rate / frequency
y = periodic yield = YTM / frequency
F = face value
n = total number of periodsMacaulay Duration:
D_mac = (1/P) * Σ [t * C / (1+y)^t] + (n * F) / ((1+y)^n * P)Modified Duration:
D_mod = D_mac / (1 + y)Convexity:
Convexity = (1/P) * Σ [t*(t+1) * C / (1+y)^(t+2)] + [n*(n+1)*F] / [(1+y)^(n+2) * P]Price change approximation:
ΔP/P ≈ -D_mod * Δy + 0.5 * Convexity * (Δy)²| File | Description |
|---|---|
references/planned_features.md | Planned features, bond formulas, DeFi protocols, and implementation priorities |
scripts/bond_calculator.py | Bond price, YTM, duration, and convexity calculator |
This skill is a stub awaiting full implementation. To contribute:
See references/planned_features.md for the full feature list and implementation priorities.
This skill provides analytical tools and mathematical models for informational purposes only. It does not constitute financial advice. Fixed income and DeFi lending involve risk of loss.
© agiprolabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (scripts, references) in skills/fixed-income of agiprolabs/claude-trading-skills.
Open the folder on GitHubat commit 981e1d7
Fixed Income 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Fixed Income this skillagiprolabs/claude-trading-skills | 410 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Swapper Depositswapperfinance/swapper-toolkit | 852 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Okx Cex Earnokx/agent-skills | 187 | 2 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Oracle Flashloan Analysisquillai-network/quillshield_skills | 130 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Squadsinternet-court/internet-court-skill | 6.6k | 2 repos | ~5.9k | Automated safety check: Pass | Apache-2.0 | |
| Starknet Defiinternet-court/internet-court-skill | 6.6k | 1 repos | ~2.3k | Automated safety check: Notes | Apache-2.0 |
swapperfinance/swapper-toolkit
Deposit and bridge funds into a wallet or protocol using Swapper Finance.
okx/agent-skills
Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI.
quillai-network/quillshield_skills
Detects price oracle manipulation and flash loan attack vectors in DeFi smart contracts.
internet-court/internet-court-skill
Complete guide for Squads Protocol - Solana's leading smart account and multisig infrastructure.
internet-court/internet-court-skill
Execute DeFi operations on Starknet including token swaps via avnu aggregator, DCA recurring buys, STRK staking, and lending/borrowing.
Signal-Execution-Labs/forex-trading-ai-agent
Connect to DeFi protocols for staking, lending, yield farming, and liquidity provision.
agiprolabs/claude-trading-skills
Event-driven backtesting with bar-by-bar execution, complex order types, multiple analyzers, and custom indicators
agiprolabs/claude-trading-skills
Solana token market data via Birdeye — prices, OHLCV, trades, token metadata, security checks, and trader activity
agiprolabs/claude-trading-skills
Broad crypto market data from CoinGecko covering 13,000+ tokens.
agiprolabs/claude-trading-skills
Cointegration testing for pairs trading using Engle-Granger, Johansen, and rolling stability analysis
agiprolabs/claude-trading-skills
Wallet evaluation, monitoring, and copy-trade strategy design for Solana DEX trading
agiprolabs/claude-trading-skills
Cross-asset correlation analysis including rolling correlation, hierarchical clustering, tail dependence, and regime-dependent correlation
Categories
[STUB] Bond pricing, yield curves, duration and convexity analysis, and DeFi lending rate modeling. Fixed Income is an agent skill from agiprolabs/claude-trading-skills.
Fixed Income fits situations like: tasks that involve Banking and insurance; tasks that involve Crypto and DeFi analysis.
Run `npx skills add agiprolabs/claude-trading-skills --skill fixed-income -a claude-code`. Or copy the skill folder (skills/fixed-income in agiprolabs/claude-trading-skills) into .claude/skills/fixed-income in your project. Claude Code loads it when a task matches its description.
Run `npx skills add agiprolabs/claude-trading-skills --skill fixed-income -a codex`. Or copy the skill folder (skills/fixed-income in agiprolabs/claude-trading-skills) into .agents/skills/fixed-income in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agiprolabs/claude-trading-skills --skill fixed-income -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fixed-income, .gemini/skills/fixed-income, .github/skills/fixed-income and .opencode/skills/fixed-income in your project.
Going by SKILL.md and its folder, Fixed Income needs Python for the scripts in its folder and the command-line tools its instructions call (uv and python). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Fixed Income is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.6k 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.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Fixed Income: Swapper Deposit (swapperfinance/swapper-toolkit, 852 stars), Okx Cex Earn (okx/agent-skills, 187 stars), Oracle Flashloan Analysis (quillai-network/quillshield_skills, 130 stars) and Squads (internet-court/internet-court-skill, 6.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
agiprolabs (a GitHub user) maintains it in agiprolabs/claude-trading-skills, which has 410 GitHub stars. The repository holds 68 skills in this directory. The repository was last updated on September 3, 2026.
Source: agiprolabs/claude-trading-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.