Agent skill

escalation

Escalate unresolvable or sensitive requests to a human agent by recording an escalation entry. Use when the user asks to speak to a human, the bot cannot answer confidently, the request involves financial, legal, or security concerns, a safety issue is detected, or the user is frustrated after repeated failures.

Stars 247
Forks 29

Install this agent skill to your Project

npx add-skill https://github.com/0xranx/golembot/tree/main/skills/escalation

SKILL.md

Human Escalation Protocol

When you encounter a situation you cannot handle, escalate to a human agent by recording the escalation.

When to Escalate

  • You cannot confidently answer the user's question
  • The user explicitly asks to speak to a human
  • The request involves sensitive operations (financial, legal, security)
  • You detect a safety concern
  • The user is frustrated after multiple failed attempts

How to Escalate

  1. Inform the user that their request is being escalated
  2. Write an escalation record to .golem/escalations.jsonl (one JSON object per line):
bash
echo '{"ts":"2026-03-15T10:00:00Z","sessionKey":"feishu:chat123:user456","reason":"User requested human support for billing issue","context":"User asked about refund policy, I could not find the answer","status":"open"}' >> .golem/escalations.jsonl

Escalation Record Schema

Field Type Description
ts string ISO 8601 timestamp
sessionKey string The current session key
reason string Why this is being escalated
context string Brief summary of what was discussed
status string Always "open" when creating

Response Template

When escalating, respond to the user like:

I've flagged this for human review. A team member will follow up on your request about [topic]. In the meantime, is there anything else I can help with?

Verifying Escalation

After writing the record, confirm the file exists and the entry was appended:

bash
tail -1 .golem/escalations.jsonl

Expand your agent's capabilities with these related and highly-rated skills.

0xranx/golembot

code-review

Reviews code changes, pull requests, and diffs for correctness, security, performance, and style. Use when the user submits a PR for review, asks to review a diff or code snippet, or requests a quality check on recent changes.

247 29
Explore
0xranx/golembot

meeting

Meeting notes assistant — organizes transcripts into structured minutes, extracts action items, and tracks attendee decisions. Use when the user asks to summarize a meeting, take meeting notes, write up minutes, create a meeting recap, list attendees, or extract action items from a call.

247 29
Explore
0xranx/golembot

ops

Content operations assistant — drafts blog posts, social media copy, and marketing materials, compiles data briefings, and tracks competitor activity. Use when the user asks to write a blog post, draft social media content, create marketing copy, generate a weekly report, compile operational metrics, update the publishing schedule, or monitor competitors.

247 29
Explore
0xranx/golembot

research

Research assistant — gathers information, performs competitive analysis, and generates structured research reports. Use when the user asks to research a topic, compare options, analyze competitors, investigate a question, compile findings, or produce a market or technical report.

247 29
Explore
0xranx/golembot

faq-support

Answers common customer questions from a knowledge base and escalates to a human agent when unable to help. Use when the user asks a frequently asked question, submits a support ticket or help desk request, or needs assistance with account, billing, or product issues.

247 29
Explore
0xranx/golembot

data-analysis

Loads CSV, Excel, and JSON data files, performs statistical analysis, and generates charts and reports. Use when the user asks to analyze a dataset, compute statistics, create visualizations, find trends, or produce a data report.

247 29
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results