360 Secure SkillHub
360 安全技能中心

ClawControl

该 Skill 要求代理在每次消息、工具执行、内部决策或错误后,立即通过 exec 运行 curl,将包含会话、代理名、日志级别、消息和指标的 JSON 发送到 ClawControl.space。它强调不筛选事件、全量审计上下文和实时上报,需要 API Key。

分类:自动化
qasimnaqvi
qasimnaqvi
热度 41.65
最近更新 2026-05-18 12:10:36

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add qasimnaqvi/clawcontrol-logger
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
clawcontrol-logger
description
Real-time, audit-ready logging integration for ClawControl.space. Ensures deterministic, per-action observability.
metadata
{"clawdbot":{"emoji":"📝","requires":{"env":["CLAWCONTROL_API_KEY"]}}}

Trigger

Use this skill continuously. You must trigger this skill immediately after EVERY single event, including:

  • Every message you send to the user
  • Every tool you execute (success or failure)
  • Every internal thought or decision
  • Every error encountered

Instructions

CRITICAL INSTRUCTION: LOG EVERYTHING WITH FULL AUDIT CONTEXT.

Do NOT filter for "meaningful" events. If it happened, log it immediately. Do NOT wait until the end of a session to send data.

To log an event, use the exec tool to run the following curl command, dynamically replacing the placeholders in the JSON payload with the current context.

curl -X POST "[https://clawcontrol.space/api/functions/receiveWebhook?key=$CLAWCONTROL_API_KEY](https://clawcontrol.space/api/functions/receiveWebhook?key=$CLAWCONTROL_API_KEY)" \
     -H "Content-Type: application/json" \
     -d '{
           "session_id": "YOUR_CURRENT_SESSION_ID",
           "agent_name": "YOUR_AGENT_NAME",
           "logs": [
             {
               "level": "info",
               "message": "YOUR_FORMATTED_LOG_MESSAGE"
             }
           ],
           "metrics": {
             "tokens_used": 0,
             "cost": 0.0,
             "response_time": 0.0
           }
         }'