← 返回 Skills 市场
ecosincronia

Read Policy

作者 EcosincronIA · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
335
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install read-policy
功能描述
Read OpenClaw policies from PostgreSQL through the local Supabase Docker stack. Use for inspecting policy keys such as auto_approve, priority_routing, or ava...
安全使用建议
This skill is small and focused, but before installing: (1) confirm you run it only on a trusted machine with the Supabase stack and that a container named supabase-db exists; (2) ensure the Docker CLI is available and you are comfortable that running docker exec gives access to the container (and therefore the DB contents); (3) review the included script (scripts/read-policy.sh) — it only runs psql inside the container and escapes single quotes for the supplied key; (4) avoid running this skill on multi-tenant or untrusted hosts, and don't grant it to agents where you wouldn't permit local DB inspection.
功能分析
Type: OpenClaw Skill Name: read-policy Version: 1.0.2 The skill provides a utility to read OpenClaw policy configurations from a local PostgreSQL database running in a Docker container (supabase-db). The bash script `scripts/read-policy.sh` implements basic SQL injection mitigation by escaping single quotes in user-provided policy keys and performs only read-only operations (SELECT) as described in SKILL.md.
能力评估
Purpose & Capability
The skill's name and description match its behavior: it reads OpenClaw policies from the local Supabase Postgres instance. Minor mismatch: the SKILL.md and script expect Docker (container named supabase-db) to be available, but the skill metadata does not declare Docker as a required binary.
Instruction Scope
SKILL.md directs the agent to run the included script to list or get keys from public.openclaw_policies via docker exec into the supabase-db container. The script confines actions to running psql inside that container and formats output for inspection; it does not attempt to read arbitrary host files or contact external endpoints.
Install Mechanism
This is an instruction-only skill with no install spec and a small included script; nothing is downloaded or written to disk by an installer.
Credentials
The skill requests no environment variables or credentials. It relies on docker exec to run psql as the postgres user inside the local container, which is a reasonable requirement for inspecting a local Supabase DB.
Persistence & Privilege
always is false and the skill does not request persistent/always-on presence or modify other skills; autonomous invocation is allowed (platform default) and is not, by itself, risky here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install read-policy
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /read-policy 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Bump after fixing publish compatibility
v1.0.1
- Updated metadata in _meta.json file. - No functional changes to commands, documentation, or behavior.
v1.0.0
Initial release of the read-policy skill. - Enables reading OpenClaw policy values directly from the PostgreSQL database via the local Supabase Docker stack. - Supports commands to read specific policy keys or list all available keys. - Reads data from the public.openclaw_policies table in the local supabase-db container. - Designed for inspection purposes only.
元数据
Slug read-policy
版本 1.0.2
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 3
常见问题

Read Policy 是什么?

Read OpenClaw policies from PostgreSQL through the local Supabase Docker stack. Use for inspecting policy keys such as auto_approve, priority_routing, or ava... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 335 次。

如何安装 Read Policy?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install read-policy」即可一键安装,无需额外配置。

Read Policy 是免费的吗?

是的,Read Policy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Read Policy 支持哪些平台?

Read Policy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Read Policy?

由 EcosincronIA(@ecosincronia)开发并维护,当前版本 v1.0.2。

💬 留言讨论