xiaohongshu
xiaohongshu
escalate
Use when stuck in circles and want to hand off to another agent (Codex CLI) with full context
Full skill instructions
Generate a handoff prompt for another agent when you're stuck and need fresh perspective.
/escalate → Choose detail level → Choose handoff mode → Analyze session → Generate prompt → pbcopy
Use AskUserQuestion to ask:
How much context for the handoff?
1. Concise (~200-400 words) - Problem, key blockers, clear ask
2. Detailed (~500-800 words) - Above plus files, errors, code snippets
Use AskUserQuestion to ask:
What should the next agent do?
1. Continue - Pick up where I left off and solve this
2. Fresh perspective - Ignore my approaches, try something new
3. Validate first - Confirm my understanding, then propose alternatives
4. Other - [let user specify custom instruction]
Review the conversation to extract:
| Section | What to Capture |
|---|---|
| Problem | The core objective - what you're trying to accomplish |
| Approaches Tried | Each attempt and why it didn't work |
| Current Hypothesis | What you think might be the root cause |
| Relevant Files | Key file paths that are central to the issue |
| Error Messages | Specific errors encountered (exact text) |
| Constraints | Things that must be preserved or avoided |
For concise mode: Focus on Problem, Approaches Tried, and one key blocker.
For detailed mode: Include all sections with code snippets and full error messages.
# Problem
[Clear statement of what you're trying to accomplish]
# Approaches Tried
- **Approach 1:** [what you tried]
- Result: [what happened]
- Why it failed: [analysis]
- **Approach 2:** [what you tried]
- Result: [what happened]
- Why it failed: [analysis]
[Continue for each significant approach]
# Current Hypothesis
[What you think might be the root cause or blocker]
# Relevant Context
**Files:**
- `path/to/file.ts` - [why it's relevant]
- `path/to/other.ts` - [why it's relevant]
**Errors:**
[Exact error messages]
**Constraints:**
- [Things that must be preserved]
- [Approaches to avoid and why]
# Your Task
[Based on handoff mode:]
- Continue: "Pick up where I left off. The context above shows what's been tried. Find a path forward and solve this."
- Fresh perspective: "Ignore the approaches above - they haven't worked. Look at this problem fresh and propose a different strategy."
- Validate first: "First, confirm whether my understanding of the problem is correct. Then propose an alternative approach."
- Other: [User's custom instruction]
echo "[generated prompt]" | pbcopy
Use a heredoc for multi-line content:
pbcopy << 'EOF'
[generated prompt content]
EOF
Tell the user:
Handoff prompt copied to clipboard. Paste into Codex CLI to continue.
| Mistake | Fix |
|---|---|
| Vague problem statement | Be specific about the goal and success criteria |
| Listing approaches without failure analysis | Always explain WHY each approach didn't work |
| Missing context | Include enough that the next agent doesn't need to ask clarifying questions |
| Too much detail in concise mode | Ruthlessly cut to ~300 words for concise |
| Forgetting constraints | Warn about approaches that look promising but have been ruled out |
# Problem
Trying to get Jest tests to run in a WordPress plugin. Tests pass locally but fail in CI with "Cannot find module '@wordpress/scripts'" errors.
# Approaches Tried
- **Verified node_modules:** Confirmed package is installed, same versions local and CI
- **Cleared CI cache:** Rebuilt from scratch, same error
- **Checked path resolution:** Added moduleNameMapper in jest.config.js, no change
# Current Hypothesis
CI environment might have different NODE_PATH or module resolution behavior. The @wordpress/scripts package uses a nested dependency structure.
# Your Task
Pick up where I left off. The context above shows what's been tried. Find a path forward and solve this.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience