H1shamM

Globalcart Resolver Agent — Development skill for Claude Code

Development community

Autonomous support-ticket resolver agent for GlobalCart — guardrails (min-tool-calls, dead-end exception) enforced in the LangGraph itself, not just the prompt; schema-valid output via a synthetic dec.

How to install Globalcart Resolver Agent

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

What Globalcart Resolver Agent does

Autonomous support-ticket resolver agent for GlobalCart — guardrails (min-tool-calls, dead-end exception) enforced in the LangGraph itself, not just the prompt; schema-valid output via a synthetic decision tool. Python · LangGraph · Claude · 100% unit coverage on routing logic.

Alternatives in Development

  • Project-Level Skills — This directory contains skills for developing and maintaining the claude-mem project itself, not skills that a 39.3k ★
  • Resolver — Waza Skill Resolver 3.8k ★
  • Homunculus — A Claude Code plugin that watches how you work, learns your patterns, and evolves itself to help you better 315 ★

README

GlobalCart Operations Resolver Agent — Quest #4, Part A

A single autonomous agent that resolves GlobalCart customer support tickets (damaged items, late shipments, billing disputes) by investigating with real tools, applying the actual policy rules, and producing a structured decision — not a chatbot that guesses.

Why this needs to be an agent, not a fixed workflow

A ticket's real shape isn't knowable in advance — shipping issue, billing dispute, fraud risk, or a nonexistent order — so the investigation path can't be hardcoded. A fixed workflow (`order → profile → policy → decide`, always in that order) would waste calls on cases that resolve earlier, and can't skip steps it doesn't need (see scenario 6 below: the agent escalates after `check_return_policy` alone, correctly never calling `process_refund`). The model deciding which tools to call, in what order, and when it's done is what makes this an agent rather than a workflow, per Anthropic's [Building Effective Agents](https://www.anthropic.com/engineering/building-effective-agents).

Architecture

Built with **LangGraph** + **Claude** (`langchain-anthropic`), chosen over CrewAI or direct tool-use for one concrete reason: Stage 2 of this quest extends this into a multi-agent system, and LangGraph's node/edge graph model extends directly into multi-agent coordination without a rewrite. CrewAI is an awkward fit for a *single* agent (its whole value proposition is multi-agent crews), and building the tool-calling loop by hand would have skipped the actual framework-recognition skill this exercise is meant to build.

        ┌─────────┐
   ┌───▶│  agent  │◀──────────────────┐
   │    └────┬────┘                   │
   │         │ route()                │
   │    ┌────┴──────────────┬─────────┴──────────┐
   │    │                   │                     │
   │  real tool        submit_decision,       submit_decision,
   │  requested        <2 real calls done     >=2 done OR hit
   │    │