cthloveross/skill-creation/04e53b3dfcc7e698e5f89e8c79ac09d6d45ef3772c7cc12e55e58f595bdb4e23
Claude Code and agent skill by cthloveross/skill-creation
- community
Checking that the SKILL.md file is still in the repository.
Handle a customer with credit-card purchase declines despite available credit who requests a human agent. Use this Skill to track repeated transfer requests, invoke the required discoverable transfer path for requests one through three, and select a compliant standard-transfer reason on request four.
Install
npx vskill@latest install cthloveross/skill-creation/04e53b3dfcc7e698e5f89e8c79ac09d6d45ef3772c7cc12e55e58f595bdb4e23SKILL.md
The same SKILL.md was published earlier as cthloveross/skill-creation/04e53b3dfcc7e698e5f89e8c79ac09d6d45ef3772c7cc12e55e58f595bdb4e23.
Credit-card decline: repeated human-transfer protocol
Applicability
Use this procedure only when all of the following are true:
- The customer reports credit-card purchase declines;
- They report available credit / not reaching their credit limit; and
- They ask to speak with, be transferred to, or otherwise reach a human agent.
Count each distinct customer request for a human during the current interaction. Do not count the agent offering help, an identity-verification question, or a request merely to contact support as a transfer request unless the customer explicitly asks for the transfer.
Continue to acknowledge and, where appropriate, troubleshoot the decline. Possible non-account-specific checks include card details, a retry, activation, expiration, a different terminal/merchant, fraud alerts, international restrictions, and temporary technical issues. Do not claim an account-specific cause without account evidence.
Required transfer sequence
Maintain transfer_request_count_before in conversation state. For every qualifying request, run scripts/plan_transfer.py with the current facts before taking transfer action.
Requests 1–3
For counts 1, 2, and 3, do not call transfer_to_human_agents.
Instead, execute the returned steps in order:
- Call
unlock_discoverable_agent_toolwithagent_tool_nameset toinitial_transfer_to_human_agent_0218(unless it is already unlocked in this interaction). - Call
call_discoverable_agent_toolwith:
agent_tool_name:initial_transfer_to_human_agent_0218arguments:{}(as the required JSON string for the host tool).
The specialized tool is no-argument. Its call is the required transfer handling path for each of the first three requests. Record the incremented count even if additional assistance continues.
Request 4 and later
Use transfer_to_human_agents rather than the discoverable initial-transfer tool. Supply the returned reason and a factual summary of the decline, available-credit report, relevant troubleshooting/verification status, and the repeated request. Do not put sensitive data in the summary unnecessarily.
The standard transfer reason must be selected from the highest applicable tier:
- Use an explicit Tier 1 or Tier 2 factual condition when it is present (for example,
fraud_or_security_concernfor an actual fraud/security concern, ortechnical_system_errorfor an actual system error). - Otherwise use
customer_frustrated_demands_humanwhen the customer is frustrated and demands a human. - Otherwise use
customer_requests_human_no_specific_reasonfor a calm/preference-only transfer request. - Use
otheronly when no listed reason applies, and explain why in the summary.
Never label an ordinary decline as fraud or a technical error merely because those are possible explanations.
Script interface
scripts/plan_transfer.py reads one JSON object from stdin and emits one JSON object to stdout. It is a planning/validation helper; the executor must perform the listed banking-tool actions.
Required input fields:
Optional fields:
discoverable_tool_already_unlocked(boolean, defaultfalse)frustrated_demands_human(boolean, defaultfalse)highest_applicable_reason(one valid standard-transfer reason code when an explicit Tier 1/2 condition is established)issue_summary(string; a factual, privacy-minimized summary)
Output includes applicable, request_number, next_count, action, actions, and, for standard transfers, reason and summary. If it is not applicable or the current turn is not a transfer request, take no transfer action. Invalid counts, unsupported reason codes, or an attempt to assert a standard-only reason without request four produce an error output; resolve the input/state problem before acting.
Example execution by the Skill runtime:
Validate that a qualifying first-through-third request produces discoverable_initial_transfer, with no transfer_to_human_agents action. Validate that request four produces standard_transfer and a permitted reason code. After a successful action, persist next_count in the interaction state.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cthloveross/skill-creation/04e53b3dfcc7e698e5f89e8c79ac09d6d45ef3772c7cc12e55e58f595bdb4e23)