saadatdev

Support Inbox Agent — AI skill for Claude Code

AI community

AI support inbox agent built on the Claude Agent SDK: auto-answers how-to emails with cited help articles, routes billing/refunds/angry customers to humans.

How to install Support Inbox Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open saadatdev/support-inbox-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Support Inbox Agent does

AI support inbox agent built on the Claude Agent SDK: auto-answers how-to emails with cited help articles, routes billing/refunds/angry customers to humans. Claude judges, code decides, guardrails catch the rest. 0 unsafe sends in eval.

Alternatives in AI

  • Main — Open-source SaaS framework (React + Firebase + Stripe) with built-in Claude Code AI skills 550 ★
  • Semble Rs — Fast, AI-agent-native code search in Rust — hybrid BM25 + semantic, Tree-sitter AST chunking, dependency & imp 210 ★
  • Token Cost Tracker — Estimate, log, and report token usage using runtime-supplied billing rates; never rely on embedded model price 138 ★

README

Fieldwise AI Support Inbox Agent

![Python](https://img.shields.io/badge/python-3.10%2B-3776AB?logo=python&logoColor=white) ![Claude Agent SDK](https://img.shields.io/badge/Claude-Agent%20SDK-D97757) ![Airtable](https://img.shields.io/badge/Airtable-tickets-18BFFF?logo=airtable&logoColor=white) ![Gmail](https://img.shields.io/badge/Gmail-IMAP%20%2F%20SMTP-EA4335?logo=gmail&logoColor=white) ![Slack](https://img.shields.io/badge/Slack-alerts-4A154B?logo=slack&logoColor=white) ![Unsafe sends](https://img.shields.io/badge/unsafe%20sends-0%20%2F%20114-2ea44f) ![License](https://img.shields.io/badge/license-MIT-blue)

An AI agent that triages a real Gmail support inbox: it auto-answers routine how-to questions with cited help articles, and routes anything risky (billing, refunds, angry customers, legal requests, prompt injections) to a human with a ready-made draft.

**Highlights**

  • 🧠 Claude judges, code decides. The model classifies the email and drafts a reply; a deterministic policy.py picks the action. The model never decides to send.
  • 🛡️ Guardrails as a PreToolUse hook. Bad drafts (invented URLs, promises, made-up prices, leaked internal notes) are rejected with a reason, and Claude fixes them before anything happens.
  • 🔒 Prompt-injection aware. Email content is treated as untrusted data; injection attempts are flagged and sent to a human.
  • 📊 Measured, not vibes. 38-email eval set, repeated runs, 0 unsafe sends across the latest 114 judgments, about $0.03 per email.
  • 🔌 Real integrations. Gmail (IMAP/SMTP), Airtable ticketing, Slack alerts, plus a dry-run mode that touches nothing.

Customers email the Fieldwise support inbox. Within a minute, common how-to questions get an accurate reply that cites the help articles. Anything sensitive (billing, refunds, angry customers, legal requests, anything the agent isn't sure about) goes to a human: a draft waits in Gmail and an alert lands in Slack `#support`. Every email becomes a tick