xiaohongshu
xiaohongshu
openclaw-medicine
Diagnose and fix OpenClaw gateway issues — broken configs, missing tokens, dead channels, auth failures, merge bugs, and multi-instance management. Use when openclaw is unresponsive, channels aren't starting, config is corrupted, or when managing remote openclaw instances (e.g. via SSH). Also cov...
Full skill instructions
Diagnose, fix, and maintain OpenClaw gateway instances — local or remote.
Run these in order to identify the problem:
openclaw status (or via SSH for remote instances)cat ~/.openclaw/openclaw.json — if missing, gateway has no configgateway(action=config.get) — check valid, issues, warningsjournalctl --user -u openclaw-gateway -n 30 --no-pager — look for:
[telegram] / [whatsapp] — channel startupNo API key found — missing auth profileConfig invalid / Unrecognized key — schema violationsECONNREFUSED — gateway not listening on expected portcat ~/.openclaw/agents/main/agent/auth-profiles.json — needs valid Anthropic tokenGateway was set up by an external system (Nix activation, wizard) that no longer runs.
openclaw.json based on a known-good configchannels, gateway (port, auth), agents, pluginsgateway(action=config.patch) for local instance, or write directly via SSH for remoteOpenClaw validates strictly. Common mistakes:
channels.telegram.token → wrong, use tokenFile pointing to a file containing the tokenopenclaw doctor --fix outputThe file ~/.openclaw/agents/main/agent/auth-profiles.json must exist with a valid provider token:
{
"version": 1,
"profiles": {
"anthropic:default": {
"type": "token",
"provider": "anthropic",
"token": "<api-key>"
}
},
"lastGood": { "anthropic": "anthropic:default" }
}
Never put the token inline in config. Write to a file and reference it:
echo -n '<bot-token>' > ~/.openclaw/telegram-bot-token
chmod 600 ~/.openclaw/telegram-bot-token
Config: "tokenFile": "/home/<user>/.openclaw/telegram-bot-token"
plugins.entries.telegram.enabled and channels.telegram.enabled are both truerm ~/.openclaw/telegram/update-offset-default.jsonGateway port in config vs systemd service env can diverge. Check:
gateway.portsystemctl --user show openclaw-gateway | grep Environment → OPENCLAW_GATEWAY_PORTFor managing another machine's OpenClaw (e.g. Romário on work PC):
# Check status
ssh user@host "export PATH=\$HOME/.npm-global/bin:\$PATH; openclaw status"
# Read logs
ssh user@host "journalctl --user -u openclaw-gateway -n 30 --no-pager"
# Write config
ssh user@host "cat > ~/.openclaw/openclaw.json << 'EOF'
{ ... }
EOF"
# Restart
ssh user@host "systemctl --user restart openclaw-gateway"
Always verify channels start after restart by checking logs for [telegram] starting provider.
OpenClaw config is a single JSON file at ~/.openclaw/openclaw.json. It's the source of truth.
Do not manage it via Nix activation scripts or merge strategies — this causes override bugs where runtime config clobbers Nix-defined values (or vice versa). Let openclaw manage its own config locally.
Nix should only manage: workspace symlinks (identity/rules/skills) and package installation. See the rebuild skill for Nix operations.
When two bots share Telegram groups:
groupAllowFrom must include the other bot's IDgroups.* and specific group entries need both IDs in allowFrom-1003768595045): requireMention: false for bot-to-bot chat8372008099, Romário ID: 8523821709If a Telegram bot token is lost:
/mybots → select the bot → "API Token"<bot-id>:<alphanumeric-string>~/.openclaw/telegram-bot-token, never in config JSONxiaohongshu
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