Liquidity Lcr logo

Liquidity Lcr

Organization
panaversity
liquidity-lcr

Activate for: LCR, liquidity coverage ratio, HQLA, high quality liquid assets, net cash outflow, run-off rate, Level 1 assets, Level 2A, Level 2B, 30-day stress scenario, liquidity buffer, liquidity coverage, cash outflow, inflow cap. NOT for: structural funding / NSFR calculations (use liquidity-nsfr), capital adequacy ratios (use basel-capital), interest rate risk in the banking book (IRRBB).

Overview

Publisherpanaversity
Repositoryagentfactory-business-plugins
Skill nameliquidity-lcr
Stars
37
Forks
19
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by panaversity on GitHub. Read the source before you install it.

Installation

Install the Liquidity Lcr AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/panaversity/agentfactory-business-plugins/tree/main/banking/skills/liquidity-lcr
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/panaversity/agentfactory-business-plugins.git /tmp/agentfactory-business-plugins
mkdir -p .claude/skills
cp -r /tmp/agentfactory-business-plugins/banking/skills/liquidity-lcr .claude/skills/liquidity-lcr
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Liquidity Lcr in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Liquidity Lcr on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Liquidity Lcr is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

LCR FORMULA

LCR = HQLA Stock / Total Net Cash Outflows (30-day stress) >= 100%

Minimum regulatory: 100% Management buffer best practice: 110-130% (gives operating room above minimum)

HQLA CATEGORISATION AND HAIRCUTS

Level 1 Assets — No Haircut

  • Coins and banknotes
  • Central bank reserves (eligible for withdrawal in stress)
  • Central government / central bank bonds in domestic currency
  • Central government / central bank bonds in foreign currency (up to 15% cap per currency)
  • Qualifying 0% risk weight sovereign bonds in Basel SA Level 1 assets: NO haircut, NO cap as proportion of HQLA.

Level 2A Assets — 15% Haircut

  • Sovereign / central bank / MDB bonds rated AA- or above (not qualifying for Level 1)
  • Non-0% RW sovereign bonds from countries with low risk
  • Qualifying corporate bonds rated AA- or above
  • Qualifying covered bonds rated AA or above Level 2A assets after haircut: capped at 40% of total HQLA after haircuts.

Level 2B Assets — 25-50% Haircuts (national discretion to include)

  • Qualifying RMBS (residential mortgage-backed securities): 25% haircut
  • Qualifying corporate bonds rated A+ to BBB-: 50% haircut
  • Qualifying equities in main stock index: 50% haircut Level 2B assets after haircut: capped at 15% of total HQLA after haircuts. Combined Level 2A + 2B cap: 40% of total HQLA after haircuts.

HQLA CALCULATION EXAMPLE — WITH LEVEL 2 CAP CHECK

Level 1: 800M x 100% = 800M Level 2A: 100M x 85% = 85M Level 2B: 60M x 75% = 45M (after 25% RMBS haircut) Subtotal before cap: 930M Level 2 cap check: Level 2 = 130M. 40% of 930M = 372M. Cap not binding. HQLA Stock = 930M

Example Where Level 2 Cap IS Binding

Level 1: 200M x 100% = 200M Level 2A: 200M x 85% = 170M Level 2B: 100M x 50% = 50M (after 50% equity haircut) Subtotal before cap: 420M Level 2 cap check: Level 2 = 220M. 40% of 420M = 168M. CAP IS BINDING. Adjusted Level 2 = 168M. Excess 52M excluded. HQLA Stock = 200M + 168M = 368M (not 420M)

The Level 2 cap commonly binds for banks with limited sovereign bond portfolios that rely heavily on corporate bonds or RMBS for their liquidity buffer.

CASH OUTFLOWS — KEY RUN-OFF RATES

Retail Deposits

CategoryRun-off Rate
Stable retail deposits (insured, established relationship)3%
Less stable retail deposits (uninsured, online, new customers)10%
Very high rate / promotional deposits20%

Wholesale Deposits

CategoryRun-off Rate
Non-financial corporate (operational)25%
Non-financial corporate (non-operational)40%
Financial institution (non-operational)100%
Central bank / sovereign (operational)25%
Secured funding (government collateral)0%
Secured funding (non-HQLA collateral)25%
Unsecured wholesale < 30 days (financial)100%

Off-Balance-Sheet

Facility TypeDrawdown Rate
Credit facilities to retail customers5%
Credit facilities to non-financial corporates10%
Credit facilities to financial institutions40%
Liquidity facilities to SPVs / conduits100%
Committed undrawn facilities (unconditional cancellable)0%

CASH INFLOWS — KEY RATES AND 75% CAP

Maturing secured lending collateralised by HQLA: 0% (assumed rolled) Maturing secured lending collateralised by non-HQLA: 100% Retail customer loan repayments: 50% Non-financial corporate loan repayments: 100% Financial institution loan repayments: 100%

CRITICAL: Total inflows are CAPPED at 75% of total outflows. Net Cash Outflows = Total Outflows - MIN(Total Inflows, 75% x Total Outflows)

OPERATIONAL DEPOSITS

Operational deposits (funds held for clearing, custody, cash management): May receive lower run-off treatment (25%) if the bank is the core relationship provider and the customer has no practical alternative for these services. Operational determination requires documented evidence of operational relationship.

INTRADAY LIQUIDITY

LCR measures 30-day liquidity. Banks also need intraday liquidity for payment system settlement. BCBS monitoring tools (April 2013) address intraday liquidity separately — check jurisdiction overlay for monitoring requirements.

OUTPUT FORMAT — LCR REPORT

LCR CALCULATION REPORT
As at:              [YYYY-MM-DD]
Entity:             [Bank / Group name]
Currency:           [Reporting currency]

HIGH QUALITY LIQUID ASSETS (HQLA):
  Level 1 assets:                   [Amount] x 100% = [After haircut]
  Level 2A assets:                  [Amount] x 85%  = [After haircut]
  Level 2B assets:                  [Amount] x [%]  = [After haircut]
  Subtotal before cap:              [Amount]
  Level 2 cap (40%):                [Binding? Y/N — adjusted amount]
  TOTAL HQLA:                       [Amount]

CASH OUTFLOWS (30-day stress):
  Retail deposits:                  [Amount] x [rate] = [Outflow]
  Wholesale non-operational:        [Amount] x [rate] = [Outflow]
  Wholesale operational:            [Amount] x [rate] = [Outflow]
  Secured funding:                  [Amount] x [rate] = [Outflow]
  Off-balance-sheet:                [Amount] x [rate] = [Outflow]
  TOTAL OUTFLOWS:                   [Amount]

CASH INFLOWS:
  Maturing secured (non-HQLA):      [Amount] x 100% = [Inflow]
  Loan repayments:                  [Amount] x [rate] = [Inflow]
  TOTAL INFLOWS (before cap):       [Amount]
  75% CAP:                          [75% x Total Outflows]
  INFLOWS RECOGNISED:               MIN([Inflows], [Cap])

NET CASH OUTFLOWS:                  [Outflows - Inflows Recognised]
LCR:                                [HQLA / Net Cash Outflows] = [Ratio]%
Regulatory Minimum:                 100%
Management Target:                  [Target]%

NEVER DO THESE

  • NEVER include Level 2B assets without checking if jurisdiction permits them (national discretion)
  • NEVER forget the combined 40% Level 2 cap
  • NEVER forget the 75% inflow cap (can't assume all counterparties pay)
  • NEVER include encumbered assets in HQLA (must be unencumbered)
  • NEVER double-count assets that are both HQLA and maturing loan collateral
  • NEVER classify deposits as "operational" without documented evidence of the operational relationship — regulators audit operational deposit determinations closely

ALL OUTPUTS REQUIRE REVIEW BY A QUALIFIED PROFESSIONAL BEFORE USE IN REGULATORY FILINGS OR BUSINESS DECISIONS.

Frequently asked questions

What does the Liquidity Lcr AI skill do?

Activate for: LCR, liquidity coverage ratio, HQLA, high quality liquid assets, net cash outflow, run-off rate, Level 1 assets, Level 2A, Level 2B, 30-day stress scenario, liquidity buffer, liquidity coverage, cash outflow, inflow cap. NOT for: structural funding / NSFR calculations (use liquidity-nsfr), capital adequacy ratios (use basel-capital), interest rate risk in the banking book (IRRBB).

Why use Liquidity Lcr on TypingMind?

Because you install it once and use it with any model. Liquidity Lcr is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Liquidity Lcr in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/panaversity/agentfactory-business-plugins/tree/main/banking/skills/liquidity-lcr. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Liquidity Lcr?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Liquidity Lcr?

As many as you like. As long as a model supports skills, you can use Liquidity Lcr with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Liquidity Lcr AI skill free?

Yes. It is published on GitHub by panaversity under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇