rayonli

Aftersales Agent — AI skill for Claude Code

AI community

AI-first aftersales agent for an electric motorcycle brand: answers riders and dealers, flags telemetry issues early, decides warranty with a rules engine and escalates safety cases to a human.

How to install Aftersales Agent

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

What Aftersales Agent does

AI-first aftersales agent for an electric motorcycle brand: answers riders and dealers, flags telemetry issues early, decides warranty with a rules engine and escalates safety cases to a human. Built with Claude.

Alternatives in AI

  • Claude Code Design Guide — From Early Internet Design Patterns to AI Agent Implementation — A Deep Dive into Claude Code for Developers 762 ★
  • Eplan RAG MCP — EPLAN Electric P8 2026 + AI: MCP servers, docs RAG, and a Claude Code skill for EPLAN scripting/API developmen 79 ★
  • Next Chat Skills — AI assistant application based on Next.js, supporting Dialog Management and external Skill (script/tool/rule) 57 ★

README

Arc Aftersales Agent

A working prototype of an AI-first aftersales desk for an electric motorcycle brand. The agent talks to riders and dealers, reads each bike's telemetry to act before the rider notices a problem, and settles warranty claims through a deterministic rules engine. Safety issues and doubtful cases go to a person with a summary they can act on.

I built it as part of my application to Stark Future's aftersales role. **Arc Moto, its bikes, customers and warranty policy are fictional**; the policy is modelled on EU and Spanish consumer law, which I applied for years as a Genius at Apple (I wrote the warranty decision playbook my store adopted).

**[▶ Try the live demo](https://claude.ai/artifact/MV6ZPGQy3VjU5eoqrp8hxH)**

The chat runs on the visitor's own Claude account, so sign in to claude.ai to talk to the agent; the first message asks you to allow it. Without an account you can still browse the test fleet and run the warranty rule tests in the page. Good scenarios to try: *Safety*, *Battery claim* and *Legal guarantee*.

Design decisions

Decision Why
The model never decides coverage. check_warranty runs fixed rules in `src/warranty.js` and returns the decision, reasons and policy clauses. Warranty decisions must be consistent, explainable and auditable. The LLM gathers facts and explains the outcome; code decides.
Safety overrides everything. Battery smoke, B30, brake failure and similar symptoms skip troubleshooting and go to a person at P1. Automating the easy 90% only works if the risky 10% always reaches a human fast.
Escalation is a first-class outcome, not a failure. needs_human covers legal-guarantee evidence, possible modifications, overdue services and goodwill. Missed services or modifications are reviewed case by case, never refused automatically by a bot.
Proactive telemetry. get_vehicle returns live alerts (e.g. a rising B12 cell imbalance) and the agen