360 Secure SkillHub
360 安全技能中心

FACEPALM

读取 OpenClaw 的 gateway.log 与最近 5 分钟会话记录,交叉比对控制台错误与聊天上下文,再借助 OpenRouter 上的 Codex 5.3 生成诊断与修复建议。既可手动运行脚本,也可在检测到排错循环时被 Agent Swarm 自动调用。依赖 openclaw CLI 与 OpenRouter API Key。

分类:开发
austindixson
austindixson
热度 1.26
最近更新 2026-05-20 03:39:01

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add austindixson/facepalm
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
FACEPALM
displayName
FACEPALM
description
Crosscheck OpenClaw console logs with chat history (last 5 mins) and use Codex 5.3 to troubleshoot issues. Standalone troubleshooting tool that can be invoked manually or integrated with other skills.
version
1.0.0

FACEPALM

Description

Crosscheck OpenClaw console logs with chat history (last 5 mins) and use Codex 5.3 to troubleshoot issues. Standalone troubleshooting tool that can be invoked manually or integrated with other skills.

FACEPALM

Crosscheck console logs with chat history to troubleshoot issues intelligently.

FACEPALM analyzes OpenClaw console logs (gateway.log) and chat history from the last 5 minutes, then uses Codex 5.3 to diagnose and troubleshoot issues. It's automatically invoked by Agent Swarm when troubleshooting loops are detected.

Usage

  • Automatic: Invoked by Agent Swarm when a troubleshooting loop is detected (repeated errors, failed attempts)
  • Manual: Run directly when you need intelligent troubleshooting analysis
python3 workspace/skills/FACEPALM/scripts/facepalm.py [--minutes N] [--json]

Features

  • Reads gateway.log from the last 5 minutes
  • Extracts chat history from active session transcripts
  • Crosschecks console errors with chat context
  • Uses Codex 5.3 (openrouter/openai/gpt-5.3-codex) for intelligent troubleshooting
  • Returns actionable diagnosis and fixes

Requirements

  • OpenClaw with gateway.log and session transcripts
  • OpenRouter API key configured (for Codex 5.3 access)
  • openclaw CLI on PATH (for invoking Codex via openclaw agent)

Links