搜索

PythonReactSEOPDF
OpenClaw

Openclaw Self Analyzer

OpenClaw Self Analyzer 自分析工具

fofo3650 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install fofo365/openclaw-self-analyzer

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

OpenClaw Self Analyzer - 自分析工具

深度分析OpenClaw架构,自动生成钩子和扩展。

功能

  • 架构分析
  • 钩子点检测
  • 自动生成钩子
  • 代码扫描
  • 报告生成

使用

完整分析
cd /root/.openclaw/workspace/skills/openclaw-self-analyzer
python3 core/architecture_analyzer.py
生成钩子
from generators.hook_generator import HookGenerator

generator = HookGenerator()
hook = generator.generate_hook_package(
    hook_name='my_hook',
    hook_type='pre',
    stage='context_gather',
    logic='// your logic'
)
生成报告
from reporters.report_generator import ReportGenerator

generator = ReportGenerator()
files = generator.save_reports(Path('./reports'))

架构映射

OpenClaw处理流水线:

  1. input_receive - 接收用户输入
  2. context_gather - 收集历史上下文
  3. memory_retrieve - 检索记忆
  4. prompt_assemble - 组装prompt
  5. token_check - token检查
  6. context_compress - 上下文压缩
  7. llm_submit - 提交给LLM
  8. response_process - 处理响应
  9. memory_store - 存储新记忆

每个阶段支持三种钩子:

  • pre - 前置处理
  • post - 后置处理
  • replace - 完全替换

Copyright © 2025-2026 Edison Wang (fofo365/edisonw@163.com) Authors. All Rights Reserved.

来源信息

Source
github
Repository
openclaw/skills
Path
skills/fofo365/openclaw-self-analyzer
Version
—
Commit
afddbd43da1e28d32bfaf313de7d42c4156fc6c5
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# OpenClaw Self Analyzer - 自分析工具

深度分析OpenClaw架构,自动生成钩子和扩展。

## 功能

- 架构分析
- 钩子点检测
- 自动生成钩子
- 代码扫描
- 报告生成

## 使用

### 完整分析
```bash
cd /root/.openclaw/workspace/skills/openclaw-self-analyzer
python3 core/architecture_analyzer.py
```

### 生成钩子
```python
from generators.hook_generator import HookGenerator

generator = HookGenerator()
hook = generator.generate_hook_package(
    hook_name='my_hook',
    hook_type='pre',
    stage='context_gather',
    logic='// your logic'
)
```

### 生成报告
```python
from reporters.report_generator import ReportGenerator

generator = ReportGenerator()
files = generator.save_reports(Path('./reports'))
```

## 架构映射

OpenClaw处理流水线:

1. **input_receive** - 接收用户输入
2. **context_gather** - 收集历史上下文
3. **memory_retrieve** - 检索记忆
4. **prompt_assemble** - 组装prompt
5. **token_check** - token检查
6. **context_compress** - 上下文压缩
7. **llm_submit** - 提交给LLM
8. **response_process** - 处理响应
9. **memory_store** - 存储新记忆

每个阶段支持三种钩子:
- **pre** - 前置处理
- **post** - 后置处理
- **replace** - 完全替换

Copyright © 2025-2026 Edison Wang (fofo365/edisonw@163.com) Authors. All Rights Reserved.

相关技能

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.