← 返回 Skills 市场
Trigger Evaluator
作者
EcosincronIA
· GitHub ↗
· v1.0.0
· MIT-0
291
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install trigger-evaluator
功能描述
Evaluate real OpenClaw trigger rules against the current database state. Use for heartbeat-style trigger checks, especially stale mission detection backed by...
安全使用建议
This skill will run a production engine script from a hardcoded user workspace and run docker exec to query your DB container, but it does not declare those dependencies. Before installing: 1) Review the actual engine script at /home/cmart/.openclaw/workspace/scripts/stale_missions_engine.sh to confirm it is safe and idempotent. 2) Ensure you are comfortable granting the agent access to Docker (docker CLI and Docker daemon) and that the container name 'supabase-db' and DB credentials are correct for your environment. 3) Prefer a version that documents required binaries/env vars (docker, path to engine) or that bundles a read-only inspect-only mode if you only want to view trigger definitions. If you cannot inspect the engine or do not want the agent to execute production scripts, do not install or run the evaluate command.
功能分析
Type: OpenClaw Skill
Name: trigger-evaluator
Version: 1.0.0
The skill is a specialized administrative utility designed to evaluate and inspect database trigger rules within an OpenClaw workspace. The primary script, scripts/trigger-evaluator.sh, acts as a wrapper for a local engine script and uses 'docker exec' to perform read-only queries against a Supabase PostgreSQL container. It demonstrates good security practice by using strict string comparison to validate the trigger name, effectively preventing command or SQL injection. While it contains a non-portable hardcoded path (/home/cmart/), its logic is transparent, limited in scope, and aligns perfectly with the stated purpose in SKILL.md.
能力评估
Purpose & Capability
The skill claims to 'wrap' the real stale_missions_engine and to inspect trigger rows, which aligns with its name. However it hardcodes a workspace path (/home/cmart/.openclaw/workspace) and a production engine path rather than declaring that it requires access to that workspace or the engine. It also assumes a specific Docker container name and DB credentials. Those hardcoded assumptions are not proportional to the stated, narrow purpose and reduce transparency.
Instruction Scope
The evaluate command execs the production engine script directly (exec "$ENGINE"). That script is not bundled here; running it may read other files, mutate the database, send alerts, or perform network operations beyond simple evaluation. The SKILL.md describes only 'evaluate' and 'inspect' but does not warn that the engine may have side effects. The inspect command runs docker exec psql to read the trigger rule row which matches the described inspect purpose.
Install Mechanism
This is an instruction-only skill with no install spec, so nothing will be written to disk by an installer. That is the lower-risk option for installation mechanism.
Credentials
The skill declares no required environment variables or binaries, but the script implicitly requires: access to /home/cmart/.openclaw/workspace, an executable engine at that path, and the docker CLI plus permission to talk to the Docker daemon (to run docker exec against 'supabase-db'). It also hardcodes DB_USER/DB_NAME and a container name. These implicit privileges and hardcoded credentials are disproportionate and undocumented.
Persistence & Privilege
The skill does not request 'always: true' and is user-invocable only. Autonomous invocation is allowed (platform default). Coupled with the ability to exec a production engine script, this gives the skill potential to perform impactful actions if run autonomously — not a direct configuration flag but an operational risk to consider.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install trigger-evaluator - 安装完成后,直接呼叫该 Skill 的名称或使用
/trigger-evaluator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the trigger-evaluator skill:
- Evaluates real OpenClaw trigger rules using the current database state.
- Supports "stale_missions_alert" trigger detection based on public.openclaw_* tables.
- Wraps the production script stale_missions_engine.sh for reliability.
- Includes commands to run evaluations and inspect current trigger rows.
- Does not introduce or invent new trigger logic; strictly follows implemented workspace logic.
元数据
常见问题
Trigger Evaluator 是什么?
Evaluate real OpenClaw trigger rules against the current database state. Use for heartbeat-style trigger checks, especially stale mission detection backed by... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 291 次。
如何安装 Trigger Evaluator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install trigger-evaluator」即可一键安装,无需额外配置。
Trigger Evaluator 是免费的吗?
是的,Trigger Evaluator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Trigger Evaluator 支持哪些平台?
Trigger Evaluator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Trigger Evaluator?
由 EcosincronIA(@ecosincronia)开发并维护,当前版本 v1.0.0。
推荐 Skills