oparego

Tests authorization and policy bundles using Open Policy Agent's /v1/data and /v1/compile APIs and opa test semantics. Suitable for scenarios that need to explain which Rego rules allow or deny requests before policy changes go live.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "oparego" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e1d708c96de25ebefee3fe6b055b2bea433ea748d9c0d5bbea7d2138afd8651c. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/opa-rego-policy-bundle-tester before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Tests authorization and policy bundles using Open Policy Agent's /v1/data and /v1/compile APIs and opa test semantics. Suitable for scenarios that need to explain which Rego rules allow or deny requests before policy changes go live.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "OPA Rego 策略包测试器"
slug: "opa-rego-policy-bundle-tester"
version: "1.0.0"
displayName: "OPA Rego 策略包测试器"
summary: "使用 Open Policy Agent 的 `/v1/data` 和 `/v1/compile` API 以及 `opa test` 语义来测试授权和策略包。非常适合需要在策略变更上线前解释哪些 Rego 规则允许或拒绝请求的代理。"
license: "MIT"
description: "使用 Open Policy Agent 的 `/v1/data` 和 `/v1/compile` API 以及 `opa test` 语义来测试授权和策略包。非常适合需要在策略变更上线前解释哪些 Rego 规则允许或拒绝请求的代理。"
github_stars: 11534
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Security & Verification"
framework: "OpenClaw"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 11534

OPA Rego 策略包测试器

Tests authorization and policy bundles with the Open Policy Agent /v1/data and /v1/compile APIs plus opa test semantics. Great for agents that need to explain which Rego rules allow or deny a request before policy changes go live.

Installation

Requirements and caveats from upstream:

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供 OPA Rego 策略包测试能力,面向安全策略验证场景,具有明确的技术实用价值
  • 适用于需要在策略变更前验证 Rego 规则是否允许或拒绝请求的代理,受众明确
Trigger Precision85/100

Highlights

  • description 明确描述了使用 OPA 的 /v1/data 和 /v1/compile API 以及 opa test 语义来测试授权和策略包
  • 触发词精准,覆盖核心功能,边界清晰
Structure and Standards72/100

Areas to improve

  • 缺少明确的 Phase/步骤划分和端到端完整示例 Reported severity: Minor

    文档包含 Installation 和 Basic usage 部分,但缺少清晰的步骤划分和完整的端到端示例

    Recommendation: 建议补充详细的执行步骤划分(Phase)和完整的端到端使用示例,以提升用户理解和执行效率

Highlights

  • frontmatter 完整,包含必要的元数据信息
  • 提供了基本的使用指引和示例
Execution Reliability75/100

Areas to improve

  • 未详细说明参数配置和异常处理机制 Reported severity: Minor

    提及了 Docker 和 Rego Playground 等工具来源,但未详细说明参数配置、异常处理机制

    Recommendation: 建议补充详细的参数配置说明和常见异常处理机制,以提升执行可靠性

Highlights

  • 提及了 Docker 和 Rego Playground 等工具来源,工具来源相对明确
  • 提供了基本的使用指引
Evidence Verifiability (mean of the first four)78/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • hub.docker.com
  • play.op...
  • play.openpolicyagent.org
  • raw.githubusercontent.com
  • www.openpolicyagent.org

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.