← Back to Skills Marketplace
Read Policy
by
EcosincronIA
· GitHub ↗
· v1.0.2
· MIT-0
335
Downloads
0
Stars
2
Active Installs
3
Versions
Install in OpenClaw
/install read-policy
Description
Read OpenClaw policies from PostgreSQL through the local Supabase Docker stack. Use for inspecting policy keys such as auto_approve, priority_routing, or ava...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install read-policy - After installation, invoke the skill by name or use
/read-policy - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 335 downloads so far.
How do I install Read Policy?
Run "/install read-policy" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Read Policy free?
Yes, Read Policy is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Read Policy support?
Read Policy is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Read Policy?
It is built and maintained by EcosincronIA (@ecosincronia); the current version is v1.0.2.
More Skills