Skip to content
Back to skills

Escalation

ASecurity

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.

  • 325 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added May 26, 2026
businessrustgobashsecurity

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add 0xranx/golembot --skill escalation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Escalation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Escalation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0xranx-escalation/badge)](https://www.skillsdirectory.com/skills/0xranx-escalation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: escalation
description: "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."
---

# 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
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.