behavior-validator
Skill1.1k starsChanged 2 months agoMITView on GitHub
Source-blind user behavior validation against a prewritten contract for apps, CLIs, APIs, and generated artifacts.
Trending
More talk lately.about the whole repository
Who's talking about openclaw/agent-skills
- openclaw/openclaw“chore: sync autoreview secret redaction hardening”GitHub · Jul 16, 2026 · 3 reactions
- openclaw/openclaw“chore(autoreview): use the shared canonical skill”GitHub · Oct 2, 2026 · 1 reactions
- openclaw/openclaw-windows-node“chore(autoreview): use the shared canonical skill”GitHub · Oct 2, 2026 · 1 reactions
- openclaw/openclaw-atif“chore(autoreview): use the shared canonical skill”GitHub · Oct 2, 2026 · 1 reactions
- openclaw/gitcrawl“chore(autoreview): use the shared canonical skill”GitHub · Oct 2, 2026 · 1 reactions
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on GitHub (15 times).
On GitHub · 15
- Jul 16, 2026chore: sync autoreview secret redaction hardening — openclaw/openclaw3 reactions · 2 comments
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/openclaw1 reaction · 2 comments
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/openclaw-windows-node1 reaction · 2 comments
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/openclaw-atif1 reaction · 1 comment
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/gitcrawl1 reaction · 1 comment
10 more on GitHub
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/libterminal1 reaction · 1 comment
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/krillswitch1 reaction · 1 comment
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/discrawl1 reaction · 2 comments
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/crawlkit1 reaction · 2 comments
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/clawscan1 reaction · 2 comments
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/carapace1 reaction · 2 comments
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/clawhub1 reaction · 4 comments
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/crabbox1 reaction · 2 comments
- Oct 2, 2026chore(autoreview): use the shared canonical skill — openclaw/clawrouter1 reaction · 2 comments
- Sep 23, 2026chore(autoreview): sync canonical review policy and runtime fixes — openclaw/openclaw1 reaction · 3 comments
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/autoreview/AGENTS.mdAGENTS.md
- agent-transcriptSkill
- autoreviewSkill
- beamSkill
- crabboxSkill
- handoffSkill
- readme-standardSkill
- session-viewerSkill
- team-handoffSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read the behavior contract first.
- Very specific: line 15
Treat implementation-looking evidence as contamination.
- Distinctive: line 17
Do not mark a workflow as passing until each relevant contract clause is pass, fail, blocked, or out of scope.
- Distinctive: line 21
Prefer a source-blind workspace:
- Distinctive: line 37
Run anti-cheat probes: vary fixture data, refresh/retry, test empty and invalid inputs, verify persistence, inspect generated output, and …
- Distinctive: line 40
If the orchestrator fixes a finding, rerun only the affected contract clauses plus any nearby regression probes.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Behavior Validator
Validate observable behavior without inspecting source. Use this as the black-box companion to code-aware review: autoreview judges the change bundle, while behavior-validator judges the running product, CLI, API, or generated artifact against a behavior contract.
Contract
- Read the behavior contract first. If none exists, write a short one from the user request before testing. See
references/contract-template.md. - Stay source-blind. Do not inspect source files, diffs, tests, git history, implementation notes, build internals, or review bundles.
- Interact only through user-visible or operator-visible surfaces: browser, CLI, API, generated files, public logs, screenshots, accessibility trees, or documented runtime output.
- Treat implementation-looking evidence as contamination. If source access is required to continue, stop and report
blocked_source_required. - Report findings against contract clauses and observable steps, not code locations.
- Do not mark a workflow as passing until each relevant contract clause is pass, fail, blocked, or out of scope.
Isolation
Prefer a source-blind workspace:
validator_dir="$(mktemp -d "${TMPDIR:-/tmp}/behavior-validator-run.XXXXXX")"
chmod 700 "$validator_dir"
cp behavior-contract.md "$validator_dir/"
cd "$validator_dir"Launch or connect to the target from the contract. Keep only the contract, allowed fixtures, and redacted captured evidence in the private validator workspace. Supply credentials through approved secret tooling or exact environment variables; never copy credential values into the workspace, report, screenshots, or logs. Do not use fixed shared paths for contracts or captured evidence. If the app must be started from the source checkout, start it from a separate terminal and do not read source while validating.
Workflow
- Parse the contract into user tasks, expected behavior, anti-cheat probes, setup, and evidence requirements.
- Prepare runtime access: target URL, CLI command, API endpoint, fixture data, credentials, or generated artifact path.
- Exercise each user task as a real user or operator would.
- Run anti-cheat probes: vary fixture data, refresh/retry, test empty and invalid inputs, verify persistence, inspect generated output, and confirm buttons/commands perform real work rather than only displaying success text.
- Capture evidence as compact redacted notes, screenshots, terminal excerpts, response summaries, file summaries, or accessibility observations. Omit credentials, tokens, cookies, private user data, and unrelated log content.
- Emit a structured report. Use
references/report-schema.mdwhen a machine-readable report is useful. - If the orchestrator fixes a finding, rerun only the affected contract clauses plus any nearby regression probes.
Finding Rules
- Fail when observable behavior violates the contract, a task cannot be completed, expected state is fake/static, or evidence is insufficient for a claimed pass.
- Block when required runtime access, credentials, fixtures, network, or tools are missing.
- Mark out of scope only when the contract explicitly excludes the behavior or the task depends on a user-owned product decision.
- Reject purely aesthetic, code-quality, or implementation-style concerns; those belong to code-aware review.
Final Report
Include:
- target exercised
- contract file or inline contract used
- pass/fail/blocked/out-of-scope summary
- accepted behavioral findings with reproduction steps and evidence
- anti-cheat probes run
- remaining blockers, if any
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.

