agentleFS
d-wweid-wwei/openclaw-financial-services/skills/fsi-lseg-cmd-analyze-bond-basis/SKILL.md

fsi-lseg-cmd-analyze-bond-basis

Skill16 starsChanged 9 months agoApache-2.0View on GitHub

Analyze the bond futures basis with CTD identification, implied repo rate, and basis trade assessment — usage: /analyze-bond-basis <bond future RIC e.g. FGBLc1>

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask the user for:

    line 21
  2. Very specific:

    Call bond_future_price with the future RIC.

    line 27
  3. Very specific:

    Call bond_price for the CTD identifier from Step 2.

    line 33
  4. Very specific:

    Call interest_rate_curve (list then calculate) for the future's currency.

    line 41
  5. Very specific:

    Call tscc_historical_pricing_summaries for both the future and CTD bond with tenor: "3M", interval: "P1D".

    line 47
  6. Very specific:

    Call credit_curve for the relevant sovereign (e.g., "DE" for Bund, "US" for Treasury).

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Analyze Bond Futures Basis

This command uses LSEG bond future pricing, bond pricing, yield curves, and historical data tools. See CONNECTORS.md for available tools.

Analyze the bond futures basis by pricing the future, identifying the cheapest-to-deliver bond, computing gross and net basis, and assessing basis trade opportunities.

See the bond-futures-basis skill for domain knowledge on basis mechanics and trading strategies.

Workflow

1. Gather Input

Ask the user for:

  • Bond future RIC (required) — e.g., FGBLc1 (Euro Bund), TYc1 (US 10Y Note), FFIc1 (UK Gilt)
  • Market data date (optional, defaults to today)

2. Price the Bond Future

Call bond_future_price with the future RIC.

Extract: fair price, CTD bond identifier, delivery basket with conversion factors, contract DV01, delivery dates.

3. Price the CTD Bond

Call bond_price for the CTD identifier from Step 2.

Extract: clean/dirty price, yield, duration, DV01, accrued interest, coupon.

Compute: gross basis, invoice price, carry, net basis.

4. Compute Implied Repo Rate

Call interest_rate_curve (list then calculate) for the future's currency. Use short-end rate as repo proxy.

Compute implied repo rate and compare to market repo.

5. Track Historical Basis

Call tscc_historical_pricing_summaries for both the future and CTD bond with tenor: "3M", interval: "P1D".

Assess: basis trend, volatility, and historical range.

6. Sovereign Credit Context

Call credit_curve for the relevant sovereign (e.g., "DE" for Bund, "US" for Treasury).

7. Synthesize the Report

Present: future summary table, CTD bond analytics, basis calculation table (gross/net basis, implied repo vs market repo), historical context, and trade recommendation (long basis / short basis / neutral).

Output Format

Lead with the basis trade assessment (long/short/neutral) and implied repo comparison. Follow with detailed analytics tables.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.