covenant-monitor

covenant-monitor is a skill for Claude Code, Codex from rohasnagpal/legal-ai-skills. It costs 112 tokens per session (502 once invoked), scanned A, original, MIT.

A finance and legal tracking aid for loan or bond promises called covenants. It turns financial tests, reporting duties, and other required actions into a schedule and checks supplied figures against the agreement's own definitions.

In plain words
What is it for?
It is for extracting covenants, calculating tests, showing headroom, recording information duties, and flagging approaching deadlines or breaches.
Why use it?
It helps reveal missed reporting dates, possible breaches, and the remaining margin before a financial limit is broken.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the legal-ai-skills plugin — 175 skills shipped together

Good fit It is for extracting covenants, calculating tests, showing headroom, recording information duties, and flagging approaching deadlines or breaches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rohasnagpal/legal-ai-skills/covenant-monitor
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 rohasnagpal/legal-ai-skills --skill covenant-monitor
Clone the repo
git clone --depth 1 https://github.com/rohasnagpal/legal-ai-skills

Made for: Claude Code, Codex.

Or install legal-ai-skills, the plugin that ships this one along with the rest of its 175 skills.

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 covenant-monitor

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/covenant-monitor/github.svg)](https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/covenant-monitor)
Your own site
<a href="https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/covenant-monitor"><img src="https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/covenant-monitor/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 covenant-monitor

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/covenant-monitor"><img src="https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/covenant-monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 502 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.
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.00112 $0.00502
Opus 5.5 $0.00045 $0.00201
Sonnet 5.5 $0.00022 $0.00100
Haiku 4.5 $0.00011 $0.00050

Measured 7d ago against content hash 0e5e5056fe68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

covenant-monitor 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 7d 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.

plugins/legal-ai-skills/skills/covenant-monitor/SKILL.md · 49 lines

What it actually says

Covenant Monitor

I am using the Covenant Monitor skill from Rohas Legal AI: covenant compliance tracking and testing. Say this sentence, verbatim, before anything else in your response.

What this does

Extracts every covenant and reporting duty from a financing, turns them into a calendar and tracker, and tests financial covenants using the agreement's own definitions and the figures supplied. It shows headroom and flags breaches or near-misses.

Before you start

The facility documents, including amendments and waivers.

Financial data for the test period, with its source. Without figures, build the tracker and leave tests open.

Method

1. Extract covenants: financial (with full definitions of each component), information and reporting, positive and negative undertakings, and notification duties.

2. Test dates and periods: when each covenant is tested and on what period.

3. Compute financial covenants using the agreement's definitions, not accounting labels. Show each component, adjustments and add-backs as defined, and the arithmetic.

4. Headroom: the margin to breach for each test, and sensitivity where useful.

5. Reporting calendar: what is due, when, to whom, and in what form, including compliance certificates.

6. Flags: breaches, near-misses, missing data, and equity cure or waiver options.

Output

1. Header. Facility, borrower, test date.

2. Financial covenant tests. Covenant | Definition summary | Required | Actual | Headroom | Status.

3. Reporting and undertakings tracker. Item | Due | Owner | Status.

4. Flags and recommended actions.

5. Points requiring verification.

Do not

Do not use accounting figures without adjusting them to the agreement's definitions. Do not mark compliance where data is missing.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 49 lines · 112 tokens per session scan A 0e5e5056fe68

Subscribe to this mod's changes

covenant-monitor is a skill published in the GitHub repository rohasnagpal/legal-ai-skills (183 stars, last pushed 6d ago), licensed MIT. It adds 112 tokens to every session and 502 once invoked, about $0.0004 per session on Opus 5.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-10-10.

Related

Other skills, from other repositories

billing-cycle-manager-scott-margetts

Operational billing execution for legal matters. Monthly bill prep and billing instructions, LC invoice review and disbursement treatment, client billing query responses, cashflow modelling (LC payment obligations vs client receipts), and leverage and burn analysis (staffing mix, predicted total cost, margin…

lawve-ai/awesome-legal-skills · 162 tokens

budget-and-fee-manager-scott-margetts

Matter budgeting and ongoing WIP/variance monitoring. Build phase-based fee estimates at matter setup, run bottom-up budgets by jurisdiction or workstream, calculate contingency, and structure AFA arrangements (fixed fee, capped fee, phased fixed fees). Ongoing monitoring: WIP tracking against budget, proportionality…

lawve-ai/awesome-legal-skills · 205 tokens

new-designation-screening-test

Generate a spreadsheet of test entries — newly designated names from OFAC, OFSI, and EU sanctions lists plus deliberate variations of those names — to validate that a sanctions screening system catches fresh designations and is tuned to the right fuzziness threshold. Use this whenever the user asks for sanctions list…

lawve-ai/awesome-legal-skills · 146 tokens

lawve-public-due-diligence-gate-ignacio-adrian-lerer

Use for due diligence, legal-financial risk review, investment or business transaction checklists, and preliminary screening where facts, documents, assumptions, legal uncertainty, debt/equity, assets/liabilities, contracts, tax, regulatory, compliance, technology/product, and financial-model issues must be separated…

lawve-ai/awesome-legal-skills · 79 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens