stage-6-settlement

stage-6-settlement is an agent for coding agents from TelivityAI/otaip. It costs 0 tokens per session (1,704 once invoked), scanned A, original, Apache-2.0.

A set of airline-settlement tools for handling refunds, billing disputes, customer communication, complaints, and loyalty mileage. Settlement is the accounting and reporting process used after travel transactions.

In plain words
What is it for?
Use it to process refunds, handle conjunction tickets, prevent or manage airline debit and credit memos, communicate with customers, and manage related feedback or mileage.
Why use it?
It organizes refund calculations and airline settlement records, including penalties, commissions, taxes, and reporting details. It supports full, partial, and tax-only refunds.

Agent

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.

agentmods
npx agentmods add agents/telivityai/otaip/stage-6-settlement
Clone the repo
git clone --depth 1 https://github.com/TelivityAI/otaip

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 stage-6-settlement

README.md
[![agentmods](https://agentmods.dev/badge/agents/telivityai/otaip/stage-6-settlement.svg)](https://agentmods.dev/agents/telivityai/otaip/stage-6-settlement)
Your own site
<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>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,704 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01704
Opus 5 $0.00000 $0.00852
Sonnet 5 $0.00000 $0.00341
Haiku 4.5 $0.00000 $0.00170

Measured 5d ago against content hash 59b72bc0f008, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

docs/agents/stage-6-settlement.md · 158 lines

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_locator
  • base_fare, base_fare_currency, taxes, commission?
  • refund_type -- 'FULL' | 'PARTIAL' | 'TAX_ONLY'
  • coupons_to_refund? -- specific coupons (for partial)
  • partial_valuation? -- required for PARTIAL: PUBLISHED_FARE or CARRIER_SPECIFIC unused base/taxes (issue #150; never coupon-ratio / MPA-P)
  • total_coupons, waiver_code?, waiver_effect? (required with code), fare_basis, is_refundable
  • waiver_penalty_reduction?, waiver_refund_form? -- companions per typology in docs/knowledge-base/waiver-typology.md
  • settlement_system -- 'BSP' | 'ARC'

Output (RefundProcessingOutput):

  • refund -- penalty applied, base fare refund, tax refund, tax breakdown, commission recalled, net refund, BSP/ARC reporting fields, audit trail
  • net_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.

Read the full file on GitHub · 158 lines

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. 5d ago First seen · 158 lines · 0 tokens per session scan A 59b72bc0f008

Subscribe to this mod's changes

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.

Related

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…

magnusfroste/flowwink · 37 tokens

tcg-specialist

Trading card game grading (PSA/BGS/CGC), deck building, collection management for Pokemon/MTG/FaB/Kayou.

pjt222/agent-almanac · 34 tokens

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.

magnusfroste/flowwink · 30 tokens

agent_invite

The onboarding text handed to an external agent that will operate a FlowWink instance over MCP — connection, protocols, resources and cadence.

magnusfroste/flowwink · 27 tokens

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…

johnqtcg/awesome-skills · 94 tokens

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…

johnqtcg/awesome-skills · 105 tokens