with one click
calculator
Calculator - 在此简要描述模块功能和触发场景。例如:用于 XXX 数据处理、YYY 分析等。使用当需要...时。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Calculator - 在此简要描述模块功能和触发场景。例如:用于 XXX 数据处理、YYY 分析等。使用当需要...时。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
模块创建工具 - 自动生成新的 gtoolkits 模块模板(main.py、配置文件、启动脚本、SKILL.md)。使用当需要快速创建新模块/技能包时。
GTool Registry 模块化功能调用系统。使用 gtools 命令调用已注册的工具模块,支持语义匹配、配置管理和管道执行。触发场景:用户需要调用 gtools 工具模块、管理模块(创建/删除/更新)、执行批量任务管道、或查询模块信息。
OpenClaw 记忆备份与恢复 - 备份/恢复/管理 OpenClaw 代理的核心记忆文件(MEMORY.md、每日笔记、身份配置)。使用当需要迁移数据、备份记忆或跨设备同步时。
图片查看与标记工具 - 支持浏览文件夹中的图片、键盘导航、标记/取消标记图片并保存路径。使用当需要快速筛选和标注图像数据时。
模块删除工具 - 安全移除 gtoolkits 模块和配置文件,支持列出可删除模块、强制删除、确认保护。使用当需要清理不需要的模块时。
测试模块 - 演示 gtoolkits 注册机制的示例模块,展示参数解析、配置加载、函数注册的标准用法。使用当学习如何开发新模块时。
| name | calculator |
| description | Calculator - 在此简要描述模块功能和触发场景。例如:用于 XXX 数据处理、YYY 分析等。使用当需要...时。 |
| homepage | |
| metadata | {"openclaw":{"emoji":"🔧","requires":{"bins":[]}}} |
✅ 使用场景:
❌ 不使用场景:
简要描述模块的核心功能...
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
--input-param | string | 否 | 输入参数说明 |
--debug | bool | 否 | 调试模式 |
描述模块的输出内容...
# 使用默认配置运行
gtools calculator
# 使用启动脚本
gtools calculator start
# 指定参数运行
gtools calculator --input-param value --debug
# 使用默认配置
gtools run --module-config configs/calculator/default.json
# 覆盖配置参数
gtools run --module-config configs/calculator/default.json --option debug=true
# 在管道配置中使用
gtools run --config configs/pipeline.json
{
"_positional_args": {
"files": ["file1.txt", "file2.txt"]
},
"input_param": "value",
"debug": true
}
functions/calculator/main.pyconfigs/calculator/default.jsonfunctions/calculator/start.sh