agentleFS
mathaixmathaix/OpenClawMachines/.agents/skills/ocm-review/SKILL.md

ocm-review

Skill59 starsChanged 6 months agoApache-2.0View on GitHub

Review OpenClaw Machines changes by tracing behavior beyond the diff, checking ownership boundaries, and requiring focused proof for bug fixes.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for PR review, review-comment resolution, post-fix review, or any request asking whether a change is correct, safe, or the …

    line 8
  2. Distinctive:

    Read the changed files plus enough surrounding code to identify:

    line 20
  3. Distinctive:

    Every VM path must preserve the gateway/proxy token and signing-key contract.

    line 42
  4. Distinctive:

    Use this compact structure:

    line 55
  5. Distinctive:

    If there are no findings, say that clearly and still include proof and remaining risk.

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

OCM Review

Use this skill for PR review, review-comment resolution, post-fix review, or any request asking whether a change is correct, safe, or the best fix.

Review Posture

Review behavior, not prose. A convincing PR description is not proof. Read the real code path, adjacent tests, docs, and deployment assumptions before giving a verdict.

Required Pass

  1. State what the change does and why the surface matters.
  2. Read the changed files plus enough surrounding code to identify:
    • runtime entry point
    • owner module
    • one caller
    • one callee
    • sibling surfaces that should share the invariant
    • adjacent tests
    • relevant config/docs
  3. Compare with current origin/main behavior when regression or compatibility matters.
  4. For dependency-backed behavior, read official docs/source/types instead of relying on memory.
  5. Decide whether the patch is the best owner-boundary fix or only a plausible mitigation.
  6. Require focused proof for bug fixes: reproduction/log/failing test when practical, root cause in code, fix touching the implicated path, and a regression test or explicit reason no test was added.

OCM-Specific Checks

  • Local/operator paths must not depend on hosted-only Cloudflare, GCP, Firebase, or private-domain defaults.
  • Every VM path must preserve the gateway/proxy token and signing-key contract.
  • Worker origins must not point back at hostnames served by the same Worker route.
  • User-facing machine access must go through the configured data-plane protection model; do not expose KVM worker hosts directly.
  • Host enrollment must keep workers authenticated as infrastructure, not human users.
  • Runtime/rootfs changes need guest-init and agent-client compatibility checks.
  • Public-core changes must not add billing, commercial plan enforcement, or private hosted overlay assumptions.

Output Shape

Use this compact structure:

  • Findings: ordered by severity with file/line references.
  • Best-fix verdict: best / acceptable mitigation / wrong layer / too narrow / too broad.
  • Alternatives considered: one to three concrete alternatives and why they were rejected.
  • Code read: main files/contracts inspected.
  • Proof: tests, logs, or commands checked.
  • Remaining uncertainty: what was not proven.

If there are no findings, say that clearly and still include proof and remaining risk.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.