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.
npx agentmods add agents/telivityai/otaip/stage-6-settlementgit clone --depth 1 https://github.com/TelivityAI/otaipWrote 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.
[](https://agentmods.dev/agents/telivityai/otaip/stage-6-settlement)<a href="https://agentmods.dev/agents/telivityai/otaip/stage-6-settlement"><img src="https://agentmods.dev/badge/agents/telivityai/otaip/stage-6-settlement.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01704 |
| Opus 5 | $0.00000 | $0.00852 |
| Sonnet 5 | $0.00000 | $0.00341 |
| Haiku 4.5 | $0.00000 | $0.00170 |
Grade A, and why
stage-6-settlement 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stage 6 -- Settlement Agents
Package: @otaip/agents-settlement
Refund processing, ADM prevention, ADM/ACM dispute management, customer communication, feedback/complaint handling, and loyalty mileage.
Agent 6.1 -- Refund Processing
ID: 6.1
Class: RefundProcessing
Status: Implemented
ATPCO Category 33 refund processing: penalty application, commission recall, BSP/ARC reporting fields, conjunction ticket handling. Supports full, partial, and tax-only refunds.
Input (RefundProcessingInput):
ticket_number,conjunction_tickets?issuing_carrier,passenger_name,record_locatorbase_fare,base_fare_currency,taxes,commission?refund_type--'FULL' | 'PARTIAL' | 'TAX_ONLY'coupons_to_refund?-- specific coupons (for partial)partial_valuation?-- required forPARTIAL:PUBLISHED_FAREorCARRIER_SPECIFICunused base/taxes (issue #150; never coupon-ratio / MPA-P)total_coupons,waiver_code?,waiver_effect?(required with code),fare_basis,is_refundablewaiver_penalty_reduction?,waiver_refund_form?-- companions per typology indocs/knowledge-base/waiver-typology.mdsettlement_system--'BSP' | 'ARC'
Output (RefundProcessingOutput):
refund-- penalty applied, base fare refund, tax refund, tax breakdown, commission recalled, net refund, BSP/ARC reporting fields, audit trailnet_refund_amount,commission_recalled
Agent 6.2 -- ADM Prevention
ID: 6.2
Class: ADMPrevention
Status: Implemented
Pre-ticketing audit with 10 checks: duplicate booking, fare/class mismatch, passive/unable/risky status (core HX/UC/UN/NO/TK + per-host maps — HN/PK/GK/YK are not universalized), churning (history-required), married segment integrity, TTL expiry (timezone / deadline-day), commission rate (caller-supplied only), endorsement box, tour code format, net remit validation.
Domain KB: docs/knowledge-base/adm-prevention.md — IATA Reso 850m covers ADM memo windows/dispute (Agent 6.3); passive/UC/churn come from carrier booking policy + host statuses. Travelport: those statuses do not need a ticketing field. No carrier-secret commission tables.
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.
- 5d ago First seen · 158 lines · 0 tokens per session scan A 59b72bc0f008
stage-6-settlement is an agent published in the GitHub repository TelivityAI/otaip (41 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,704 tokens. 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-08-30.
Other agents, from other repositories
finance-claw-playbook
This playbook lets an external claw act as FlowWink's finance department — running invoicing, expense booking, bank reconciliation, and period close (record-to-report) — without…
tcg-specialist
Trading card game grading (PSA/BGS/CGC), deck building, collection management for Pokemon/MTG/FaB/Kayou.
marketing-claw-playbook
This playbook lets an external claw act as FlowWink's marketing department — running paid growth, content, audience research, and reporting end-to-end.
agent_invite
The onboarding text handed to an external agent that will operate a FlowWink instance over MCP — connection, protocols, resources and cadence.
stock-balance-sheet-reviewer
Specialist for US-stock balance-sheet health review — leverage (Net Debt/EBITDA), liquidity (current ratio, cash runway), goodwill concentration and impairment history, working capital trends (DSO, inventory days), off-balance-sheet items (commitments, contingencies), and pension underfunding. Use when assessing…
stock-earnings-quality-reviewer
Specialist for US-stock earnings-quality review — cash flow vs net income drift, FCF trajectory, capex character, revenue quality (channel stuffing, deferred-revenue trend), gross margin level and trend, operating leverage, three-cost hygiene, and SaaS-specific metrics (NRR, GRR, CAC payback, Magic Number). Use when…