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.
In this repository3 other files it gives its agents.
- ocm-debuggingSkill
- ocm-self-hostedSkill
- ocm-testingSkill
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
- Distinctive: line 8
Use this skill for PR review, review-comment resolution, post-fix review, or any request asking whether a change is correct, safe, or the …
- Distinctive: line 20
Read the changed files plus enough surrounding code to identify:
- Distinctive: line 42
Every VM path must preserve the gateway/proxy token and signing-key contract.
- Distinctive: line 55
Use this compact structure:
- Distinctive: line 66
If there are no findings, say that clearly and still include proof and remaining risk.
≈ “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.
Files
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
- State what the change does and why the surface matters.
- 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
- Compare with current
origin/mainbehavior when regression or compatibility matters. - For dependency-backed behavior, read official docs/source/types instead of relying on memory.
- Decide whether the patch is the best owner-boundary fix or only a plausible mitigation.
- 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.
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
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.

