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

fsi-lseg-cmd-analyze-swap-curve

Skill16 starsChanged 9 months agoApache-2.0View on GitHub

Analyze the swap curve with government and inflation overlays to identify curve trade opportunities — usage: /analyze-swap-curve <currency e.g. EUR> [index e.g. ESTR]

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 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.

  • 4

    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 ir_swap in list mode with the currency and optional index.

    line 28
  3. Very specific:

    Call ir_swap in price mode for standard tenors: 2Y, 5Y, 7Y, 10Y, 20Y, 30Y.

    line 34
  4. Very specific:

    Call interest_rate_curve (list then calculate) for the same currency.

    line 40
  5. Very specific:

    Call inflation_curve (search then calculate) for the currency.

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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 Swap Curve

This command uses LSEG swap pricing, interest rate curves, and inflation curve tools. See CONNECTORS.md for available tools.

Build and analyze the interest rate swap curve, overlay government yields and inflation breakevens, and identify curve trade opportunities.

See the swap-curve-strategy skill for domain knowledge on curve analysis and trade construction.

Workflow

1. Gather Input

Ask the user for:

  • Currency (required) — e.g., EUR, USD, GBP, CHF, JPY
  • Reference rate index (optional) — e.g., ESTR, SOFR, SONIA, TONA
  • Valuation date (optional, defaults to today)

2. Discover Swap Templates

Call ir_swap in list mode with the currency and optional index.

Extract: available template references, index details, conventions.

3. Build the Swap Curve

Call ir_swap in price mode for standard tenors: 2Y, 5Y, 7Y, 10Y, 20Y, 30Y.

Extract: par swap rate and DV01 at each tenor.

4. Overlay the Government Curve

Call interest_rate_curve (list then calculate) for the same currency.

Compute swap spread = swap rate minus government yield at each tenor.

5. Decompose Real Rates

Call inflation_curve (search then calculate) for the currency.

Compute real swap rate = nominal swap rate minus inflation breakeven at each tenor.

6. Synthesize Curve Strategy Views

Compute curve metrics: 2s10s slope, 5s30s slope, 2s5s10s butterfly.

Identify opportunities: steepener, flattener, butterfly, or swap spread trades based on current levels vs historical norms.

Present: swap curve table with government overlay, curve metrics, real rate decomposition, and trade recommendations with DV01-neutral ratios.

Output Format

Lead with curve shape summary and key metrics (2s10s, butterfly). Follow with detailed tables and trade idea section.

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.