- Home
- Skills
- Legal & Compliance
- Complaint Triage Orchestrator
Works with the AI Agents you already use
Complaint Triage Orchestrator
by Leo Chan
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.
$5
Complaint Triage Orchestrator
Example session with this skill installed
Triage this complaint with the complaint-triage-orchestrator skill. Product: Debt collection. Filed issue: "Attempts to collect debt not owed" / "Debt is not yours". Received 2024-09-03. Narrative: "Reviewed credit report and found accounts believed fraudulent, opened without consent." Account: 1 year tenure, Standard tier, checking account only, $0 balance, no prior complaints.
- Read your context and instructions
- Compiled the complaint triage orchestrator
Summary
Ticket 9999975 was classified, researched, drafted, QA-checked and
escalated to a human. QA was confident (0.90), but the gate escalates any ticket that cites the FCRA identity-theft block procedure, whatever the model's confidence.
Stage results
| Stage | Output |
|---|---|
| 1. Classify | Attempts to collect debt not owed, severity High, confidence 0.81 |
| Retrieve | Keyword index: 15 U.S.C. §1681c-2. Passage search top 3: 12 CFR §1026.13(d), 15 U.S.C. §1692e(10), 15 U.S.C. §1681c-2(b) |
| 2. Research | Cites 15 U.S.C. §1681c-2 (FCRA identity-theft block procedure), inside the bundled library |
| Ground | grounded: true, exact clause text fetched from the bundle |
| 3. Draft | Acknowledges the accounts, explains the identity-theft report and blocking process, cites §1681c-2 verbatim, promises a written outcome only |
| 4. QA | Confidence 0.90, requires_human: false |
Gate decision
{
"complaint_id": "9999975",
"decision": "ESCALATE_TO_HUMAN",
"tripped": ["isHighRiskIssue"],
"reasons": ["Issue is in a high-risk category (identity theft/fraud, or collector threats/abuse) or cites the identity-theft block procedure."]
}
Draft response (proposal, not sent)
Thank you for contacting us about the accounts you found on your credit report. We understand how concerning it is to see accounts you did not open. If these accounts resulted from identity theft, you may submit an identity theft report together with proof of your identity, and the consumer reporting agency must block the information as described in 15 U.S.C. §1681c-2. We have opened a review of the accounts you identified and will confirm the outcome in writing.
Next steps
Route ticket 9999975 to the compliance queue with the draft attached. Every stage file is saved in the run directory for audit. A routine late-fee question with no risk signals runs through the same stages and resolves as AUTO_RESOLVE.
Connects securely to your tools. The creator never sees your data.
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.
gateapplies 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 writesAUTO_RESOLVEorESCALATE_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
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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 14 days ago
- Software
Node.js 18+
Permissions
What's inside
Frequently Asked Questions
New in Legal & Compliance
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Legal & Compliance.