postcheck-verifier
Proves actions worked in reality — not just exit code 0, not just logs — by validating actual observable outcomes in the system
Skill by ariffazil
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ariffazil-postcheck-verifier
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/postcheck-verifier
What's inside
- Skill name
postcheck-verifier- Description
- Proves actions worked in reality — not just exit code 0, not just logs — by validating actual observable outcomes in the system
- License
- AGPL-3.0
- Instructions
- 227 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# postcheck-verifier
**P0 — Reality-Proven Outcome Verification**
**Seal:** DITEMPA BUKAN DIBERI · 2026-03-27
---
## Purpose
Every agent reports success too easily. `exit code 0` means the command ran, not that the goal was achieved. The `postcheck-verifier` exists because:
> **"The map is not the territory. The exit code is not the outcome."**
The opencode catastrophe is a textbook example: every git command returned success, every merge reported completion, and the final state was catastrophic destruction. Success was assumed from the command's return code, not from the system's actual state.
**Why this is P0:** Closing this gap adds an estimated +20% to AGI readiness (the single largest jump in the P0 set). `postcheck-verifier` is what separates a tool-using automaton from an AGI agent.
---
## The Verification Hierarchy
Not all verification is equal. Use the right level:
| Level | What It Proves | Example |
|-------|---------------|---------|
| **L0 — Exit Code** | Command ran | `grep` found something |
| **L1 — Output Check** | Output matches expectation | `docker ps` shows running container |
| **L2 — State Probe** | System state changed as intended | HTTP endpoint responds correctly |
| **L3 — Functional Test** | The feature actually works | User can log in, API returns correct data |
| **L4 — Reality Proof** | The change achieved the goal in the real world | The system does what Arif asked |
**Minimum standard for arifOS:** L2 for routine ops. L3 for code changes. L4 for sovereign decisions.
---
## Verification Protocol
### After Every Action — Run This
```bash
postcheck-verifier() {
local action="$1"
local expected="$2"
local actual="$(eval "$action" 2>/dev/null)"
local exit_code=$?
# L0: Command ran
if [ $exit_code -ne 0 ]; then
echo "[L0 FAIL] Command exited with code $exit_code"
echo "[ACTUAL] $actual"
return 1
fi
echo "[L0 PASS] Command exited 0"
# L1: Output matches expectation
if [ -n "$expected" ] && ! echo "$actual" | grep -q "$expected"; then
echo "[L1 FAIL] Output did not contain expected: $expected"
echo "[ACTUAL] $actual"
return 1
fi
echo "[L1 PASS] Output matches expected"
# L2: State probe (when applicable)
case "$action" in
docker\ start*)
container_name=$(echo "$action" | awk '{print $3}')
state=$(docker inspect -f '{{.State.Running}}' "$container_name" 2>/dev/null)
[ "$state" = "true" ] && echo "[L2 PASS] Container $container_name is running" || {
echo "[L2 FAIL] Container $container_name not running"
return 1
}
;;
curl\ -sf\ http://localhost:*)
endpoint="${action#curl -sf }"
curl -sf "$endpoint" > /dev/null 2>&1 && echo "[L2 PASS] $endpoint responds" || {
echo "[L2 FAIL] $endpoint not reachable"
return 1
}
;;
git\ push*)
# Check remote actually has the commits
git fetch origin 2>/dev/null
local_sha=$(git rev-parse HEAD)
remote_sha=$(git rev-parse origin/main 2>/dev/null)
[ "$local_sha" = "$remote_sha" ] && echo "[L2 PASS] Commit on remote" || {
echo "[L2 FAIL] Commit not on remote. Local=$local_sha Remote=$remote_sha"
return 1
}
;;
esac
echo "[VERIFIED] Action verified to L2. For L3/L4, manual verification recommended."
return 0
}
```
### L3 — Functional Test Template
```bash
# For code changes — run actual functional proof
test_functional() {
local feature="$1"
case "$feature" in
mcp_health)
# Real probe: does the MCP actually process a request?
response=$(curl -sf -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-d '{"method":"tools/call","params":{"name":"health_probe"}}' 2>/dev/null)
echo "$response" | grep -q "healthy" && echo "[L3 PASS] MCP functional" || {
echo "[L3 FAIL] MCP responded but not healthy"
return 1
}
;;
docker_compose)
# Real probe: are all critical services reachable?
for service in arifosmcp traefik postgres; do
docker ps --filter "name=$service" --filter "status=running" | grep -q "$service" || {
echo "[L3 FAIL] $service not running"
return 1From ariffazil/arifOS, AGPL-3.0.
More from ariffazil/arifOS
- 0.669score
memory-archivist
ariffazil
Cross-reference and synthesise daily memory files into patterns, insights, and carry-forward items.
SkillAFreshness: A★ 54Claude Code +9 - 0.669score
arifos-deploy
ariffazil
arifOS sovereign deployment: static hub, docs, runtime, and machine files.
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
openclaw-ops
ariffazil
Complete OpenClaw operations skill: configure models/providers/channels/tools/agents/cron, manage sessions and sub-agents, control paired nodes…
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
arif-a2a-call
ariffazil
A2A v1.0.0 client + 888 JUDGMENT integration for OPENCLAW.
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
arif-init-wrapper
ariffazil
Universal session auto-anchor for ALL agent vendors on arifOS VPS — Codex, Claude, Gemini, Kimi, OpenCode, Aider, Copilot, and future agents
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
AAA Agentic Governance (AAA-Cockpit, canonical)
ariffazil
Governed intelligence skill for AAA as the abstraction, attestation, and abduction control plane across arifOS, APEX, A-FORGE, GEOX, WEALTH, WELL, and the…
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
architect-explainer
ariffazil
Translates code, system state, and technical decisions into plain-language decisions, risks, and next actions for Muhammad Arif bin Fazil (non-coder sovereign…
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
skill-composer
ariffazil
Chains multi-step workflows constitutionally — research → plan → judge → execute → verify → log → vault — without human step-by-step prompting
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
arifOS-Langfuse
ariffazil
Instrument arifOS constitutional AI kernel with Langfuse LLM tracing.
SkillAFreshness: A★ 54Claude Code +9 - 0.658score
agentic-governance
ariffazil
Hardened constitutional governance — F1-F13 floor enforcement with Quad-Witness consensus for all actions
SkillAFreshness: A★ 54Claude Code +9 - 0.658score
agent-foundation
ariffazil
Universal baseline skill for all agents on the arifOS VPS, regardless of vendor or model provider
SkillAFreshness: A★ 54Claude Code +9 - 0.658score
arifos-mcp-call
ariffazil
Invoke arifOS constitutional MCP tools (000-999 pipeline, F1-F13 enforced)
SkillAFreshness: A★ 54Claude Code +9
Signals
- Stars
- 54
- Forks
- 9
- Open issues
- 3
- Contributors
- 98
- Last commit (this folder)
- May 11, 2026 (5 months ago)
- Last release
- Oct 17, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/ariffazil/arifOS
- Website
- arifos.arif-fazil.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ariffazil
- 0.669score
arifos-deploy
ariffazil
arifOS sovereign deployment: static hub, docs, runtime, and machine files.
SkillAFreshness: A★ 54Claude Code +9 - 0.669score
memory-archivist
ariffazil
Cross-reference and synthesise daily memory files into patterns, insights, and carry-forward items.
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
arif-a2a-call
ariffazil
A2A v1.0.0 client + 888 JUDGMENT integration for OPENCLAW.
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
openclaw-ops
ariffazil
Complete OpenClaw operations skill: configure models/providers/channels/tools/agents/cron, manage sessions and sub-agents, control paired nodes…
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
skill-composer
ariffazil
Chains multi-step workflows constitutionally — research → plan → judge → execute → verify → log → vault — without human step-by-step prompting
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
AAA Agentic Governance (AAA-Cockpit, canonical)
ariffazil
Governed intelligence skill for AAA as the abstraction, attestation, and abduction control plane across arifOS, APEX, A-FORGE, GEOX, WEALTH, WELL, and the…
SkillAFreshness: A★ 54Claude Code +9
Cite this page
postcheck-verifier skill. Agent Mart. https://agentmart.dev/skills/ariffazil-postcheck-verifier (last updated 2026-10-24)