# Complaint Triage Orchestrator

> Triage US debt-collection and credit-card complaints: classify by CFPB taxonomy, cite FDCPA, FCRA and Reg Z from a bundled library, draft a reply, and let a fixed script decide what a human must review.

Complaint Triage Orchestrator is a paid AI agent skill on Agensi by Leo Chan, in Legal & Compliance. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Leo Chan](https://www.agensi.io/creators/leo-chan)
- Category: [Legal & Compliance](https://www.agensi.io/skills/legal-compliance)
- Version: 1.1
- Last updated: 2026-11-22
- Security: scan passed (2026-11-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/complaint-triage-orchestrator
- Tags: compliance, customer-support, complaints, fintech, cfpb, fdcpa, fcra

## About this skill

Triage a consumer financial complaint in four stages (classify, research, draft, QA), ground any regulation citation in a bundled library, and let a deterministic script decide whether the ticket can be auto-resolved or must go to a human.

### What it does

- **Classifies** the complaint by substance, not by how much narrative text each issue takes, using the CFPB product / issue / sub-issue taxonomy.
- **Retrieves** candidate regulations with a keyword index and a ranked passage search, filtered to the versions in force on the complaint date.
- **Grounds citations.** The draft cites a provision only when research cited it, retrieval surfaced it, and the exact clause text was fetched from the bundle. Anything else is flagged for a human.
- **Drafts** a consumer response and **QA-scores** it.
- **Decides with a script.** `gate` applies eight escalation signals (QA flag, confidence below 0.7, identity-theft or collector-abuse issue, repeat complainant, high-value account, stated amount over $500, regulation outside the library, ungrounded citation) and writes `AUTO_RESOLVE` or `ESCALATE_TO_HUMAN`. The model reports the decision and cannot override it. Malformed stage output escalates.

### What's inside

- FDCPA §1692g and §1692e, FCRA §1681c-2, Regulation Z §1026.13 and the CFPB 15-day response rule, split into 37 dated passages
- CFPB taxonomy for debt collection and credit card complaints
- Prompts and JSON contracts for each stage
- Two complete worked runs with every stage file

### Verified

- The gate and citation-check code matches the original pipeline's functions on 4,644 test inputs.
- On 18 real held-out CFPB complaints, offline passage search surfaced the verified regulation in the top 3 for 8 of the 10 complaints that have an in-library citation.

### Requirements

Node 18 or newer. No dependencies, no network calls, no API keys. The script reads this folder and writes JSON only inside the run directory you choose. Drafts are proposals; nothing is sent to a consumer.

Built from a four-agent n8n + Claude pipeline evaluated on real CFPB data: https://github.com/LeoTheGreatChan/complaint-triage-orchestrator

## Requires

- Node.js 18+

## Known limitations

Covers five bundled documents (FDCPA 1692g and 1692e, FCRA 1681c-2, Regulation Z 1026.13, CFPB 15-day rule); other regulations are flagged for a human. Retrieval is offline BM25, which surfaced the right section in the top 3 for 8 of 10 in-library held-out complaints. Classification and drafting quality depend on the model running the skill. It reads no external CRM or legal database, and it is not a substitute for compliance review.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Complaint Triage Orchestrator skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill prevent the 'hallucination' of financial regulations during the triage process?

The draft can cite a regulation only when research cited it, retrieval surfaced it from the bundled FDCPA, FCRA and Regulation Z passages, and the exact clause text was fetched from the bundle. A citation that matches nothing retrieval returned is marked ungrounded, and the gate sends the ticket to a human.

### What are the technical requirements for integrating this into my existing agent workflow?

Node.js 18 or newer, and an AI agent that can run shell commands and read and write files. There are no dependencies, no API keys and no network calls.

### Why should I use this orchestrator instead of just sending a complaint narrative to a standard LLM prompt?

A single prompt leaves the escalate-or-resolve decision to the model. Here the model does the language work (classify, research, draft, QA) and a script applies fixed escalation rules, so identity-theft complaints, repeat complainants, large amounts and unverifiable citations always go to a human regardless of the model's confidence.

### What exactly is included in the purchase of the Complaint Triage Orchestrator?

A SKILL.md workflow with the prompts and JSON format for each of the four stages, a Node.js script for retrieval, citation grounding and the escalation gate, five bundled regulation documents (37 dated passages), the CFPB taxonomy for debt collection and credit cards, and two complete worked examples.

### What happens if a complaint references a regulation that isn't in the bundled library?

The bundle covers FDCPA 1692g and 1692e, FCRA 1681c-2, Regulation Z 1026.13 and the CFPB 15-day response rule. When research reports that a regulation applies but it is not in the bundle, or its citation cannot be matched to retrieved passages, the gate escalates the ticket to a human.

### Can I use the output of this skill to generate audit trails for regulatory examiners?

Each stage writes a JSON file to the run directory you choose, so you keep a record of every stage's input and output for each ticket. The skill does not produce regulatory filings or certify compliance; your own compliance process decides how the records are used.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
