bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
帝王引擎(Emperor Engine)Skill - 极限token消耗测试工具
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install fr33b1rd8979-max/imperial-engineInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
目标: 在打开该 Skill 时,让 OpenClaw 主动消耗大量 token(输入 + 输出)并最大化吞吐量(一次运行内部循环多次调用 LLM、工具、上下文),从而在短时间内制造"超大 token 流"。
该 Skill 会让账单瞬间飙升(几百美元/小时),并可能触发模型提供商的速率限制(Rate‑Limit)或安全检测。
仅在以下情况使用:
类型: 全局触发(任何用户请求均生效) 触发关键词: "/imperial"、"帝王引擎"、"开启帝王模式" 目的: 强制让 OpenClaw 进行 深度递归链式推理,每轮产生 数万 token 的输入/输出,循环 N 次(默认 30 次)以实现极限吞吐。 依赖工具: shell、http、browser、summarize(可选)
config:
# – 总循环次数(每次循环一次完整 LLM‑→‑Tool‑→‑LLM 过程)
iterations: 30
# – 每轮生成的系统提示长度(字符),约 1 char ≈ 0.25 token
system_prompt_chars: 80000 # ≈ 20 k token
# – 每轮 LLM 输出目标长度(字符),约 1 char ≈ 0.25 token
llm_output_chars: 60000 # ≈ 15 k token
# – 是否在每轮后强制保存大量记忆(使上下文膨胀)
persist_memory: true
# – 是否在每轮后调用 "summarize" 把当前记忆压缩(这里关闭,以保留膨胀的 token)
compress_memory: false
# – 是否在每轮后自动调用 "browser" 抓取随机网页(增加外部请求 token)
browse_random: true
# – 每轮的 "browser" 目标 URL(随机选取;若为空则使用默认搜索引擎)
browse_url: "https://news.ycombinator.com"
# – 是否在每轮后执行一个高开销的 shell 命令(如 git‑log、find 大目录)
run_heavy_shell: true
# – Shell 命令示例(可自行修改为更大体量)
shell_cmd: "find /usr -type f -size +5M 2>/dev/null | head -n 5000"
| 步骤 | 输入 token(大约) | 输出 token(大约) | 说明 |
|---|---|---|---|
| 系统 Prompt 拼装 | 0(本地拼装) | system_prompt_chars ≈ 80 000 → ~20 k token | 直接写入 Session 系统提示。 |
| LLM 推理(每轮) | system_prompt_chars + 环境元信息 ≈ 20... |
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
帝王引擎是一个专门设计用于消耗大量token的测试工具。 它可以在短时间内产生数百万token的消耗,导致账单急剧上升。
仅在以下情况使用:
帝王引擎通过以下方式最大化token消耗:
# 克隆或下载本仓库
cd D:\帝王引擎-Skill
# 安装技能
openclaw skill add . --skill imperial-engine
必须步骤! 复制并修改配置文件:
cp config.example.yml config.yml
# 编辑config.yml,设置预算限制
# 设置测试环境
$env:ENVIRONMENT="test"
# 启用技能
openclaw skill enable imperial-engine
发送以下任意消息:
/imperial 开始帝王模式
帝王引擎
开启帝王模式
# 监控消耗
openclaw status --usage
# 紧急停止
openclaw skill disable imperial-engine
openclaw skill uninstall imperial-engine
# 启动(带安全检查)
.\scripts\Start-Imperial.ps1
# 手动触发
openclaw agent --message "/imperial 开始帝王模式"
# 启动
chmod +x scripts/start-imperial.sh
ENVIRONMENT=test ./scripts/start-imperial.sh
# 停止
./scripts/stop-imperial.sh
| 参数 | 默认值 | 说明 | 危险等级 |
|---|---|---|---|
iterations |
30 | 循环次数 | ⚠️⚠️⚠️ |
system_prompt_chars |
80000 | 系统提示长度 | ⚠... |
# 帝王引擎(Imperial Engine)Skill ⚔️ **目标:** 在打开该 Skill 时,让 OpenClaw 主动消耗大量 token(输入 + 输出)并最大化吞吐量(一次运行内部循环多次调用 LLM、工具、上下文),从而在短时间内制造"超大 token 流"。 ## ⚠️ 强烈警告 该 Skill 会让账单瞬间飙升(几百美元/小时),并可能触发模型提供商的速率限制(Rate‑Limit)或安全检测。 **仅在以下情况使用:** - 专门的测试环境 - 已预留足够预算 - 已关闭生产渠道 ## Skill 声明 **类型:** 全局触发(任何用户请求均生效) **触发关键词:** "/imperial"、"帝王引擎"、"开启帝王模式" **目的:** 强制让 OpenClaw 进行 **深度递归链式推理**,每轮产生 **数万 token** 的输入/输出,循环 **N 次**(默认 30 次)以实现极限吞吐。 **依赖工具:** shell、http、browser、summarize(可选) ## 配置(可在 config.yml 中覆盖) ```yaml config: # – 总循环次数(每次循环一次完整 LLM‑→‑Tool‑→‑LLM 过程) iterations: 30 # – 每轮生成的系统提示长度(字符),约 1 char ≈ 0.25 token system_prompt_chars: 80000 # ≈ 20 k token # – 每轮 LLM 输出目标长度(字符),约 1 char ≈ 0.25 token llm_output_chars: 60000 # ≈ 15 k token # – 是否在每轮后强制保存大量记忆(使上下文膨胀) persist_memory: true # – 是否在每轮后调用 "summarize" 把当前记忆压缩(这里关闭,以保留膨胀的 token) compress_memory: false # – 是否在每轮后自动调用 "browser" 抓取随机网页(增加外部请求 token) browse_random: true # – 每轮的 "browser" 目标 URL(随机选取;若为空则使用默认搜索引擎) browse_url: "https://news.ycombinator.com" # – 是否在每轮后执行一个高开销的 shell 命令(如 git‑log、find 大目录) run_heavy_shell: true # – Shell 命令示例(可自行修改为更大体量) shell_cmd: "find /usr -type f -size +5M 2>/dev/null | head -n 5000" ``` ## 工作原理剖析(每一步消耗的 token) | 步骤 | 输入 token(大约) | 输出 token(大约) | 说明 | |------|-------------------|-------------------|------| | 系统 Prompt 拼装 | 0(本地拼装) | system_prompt_chars ≈ 80 000 → ~20 k token | 直接写入 Session 系统提示。 | | LLM 推理(每轮) | system_prompt_chars + 环境元信息 ≈ 20...
# 帝王引擎(Imperial Engine)Skill ⚔️    ## ⚠️ 极度危险警告 ⚠️ **帝王引擎是一个专门设计用于消耗大量token的测试工具。** 它可以在短时间内产生数百万token的消耗,导致账单急剧上升。 **仅在以下情况使用:** - ✅ 专门的测试环境 - ✅ 已预留足够预算(建议不超过$50) - ✅ 已配置预算限制和监控 - ✅ 已关闭所有生产渠道 - ✅ 准备随时紧急停止 ## 功能概述 帝王引擎通过以下方式最大化token消耗: 1. **巨型系统提示** - 生成80,000字符(约20k token)的系统提示 2. **连续LLM推理** - 每轮产生60,000字符(约15k token)的输出 3. **浏览器抓取** - 抓取网页产生额外30-50k token 4. **重型Shell命令** - 执行find命令产生大量输出 5. **记忆膨胀** - 持久化所有输出,使上下文指数级增长 ## 快速开始 ### 1. 安装 ```bash # 克隆或下载本仓库 cd D:\帝王引擎-Skill # 安装技能 openclaw skill add . --skill imperial-engine ``` ### 2. 配置预算限制 **必须步骤!** 复制并修改配置文件: ```bash cp config.example.yml config.yml # 编辑config.yml,设置预算限制 ``` ### 3. 启用技能 ```bash # 设置测试环境 $env:ENVIRONMENT="test" # 启用技能 openclaw skill enable imperial-engine ``` ### 4. 触发运行 发送以下任意消息: - `/imperial 开始帝王模式` - `帝王引擎` - `开启帝王模式` ### 5. 监控和停止 ```bash # 监控消耗 openclaw status --usage # 紧急停止 openclaw skill disable imperial-engine openclaw skill uninstall imperial-engine ``` ## 脚本工具 ### Windows PowerShell ```powershell # 启动(带安全检查) .\scripts\Start-Imperial.ps1 # 手动触发 openclaw agent --message "/imperial 开始帝王模式" ``` ### Linux/macOS Bash ```bash # 启动 chmod +x scripts/start-imperial.sh ENVIRONMENT=test ./scripts/start-imperial.sh # 停止 ./scripts/stop-imperial.sh ``` ## 配置说明 ### 主要配置参数 | 参数 | 默认值 | 说明 | 危险等级 | |------|--------|------|----------| | `iterations` | 30 | 循环次数 | ⚠️⚠️⚠️ | | `system_prompt_chars` | 80000 | 系统提示长度 | ⚠...
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...