OpenParable
Skip to content
← Back to skills

Cross Validation

Agent Building
cross-validation

Cross Validation is an Agent Skill for agent building published in the chekusu/wanman repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

CEO checks consistency of agent outputs during post-completion review

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/chekusu/wanman/blob/HEAD/packages/core/skills/cross-validation/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cross-validation, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Output Consistency Validation

When to Execute

After wanman task list shows all tasks with status=done, perform output consistency validation before inspecting artifact data.

Validation Process

Step 1: Collect All Output Files

# List all agent output files
find /workspace/agents -name "*.md" -o -name "*.html" | grep -v CLAUDE.md | sort

Step 2: Extract Key Facts

Extract the following key information from each file:

Fact TypeExample
Brand name"COFFEE TO"
Tagline"Coffee to, begin."
Address2-XX-XX Kamimeguro, Meguro-ku, Tokyo
Business hours8:00 - 20:00
Opening date2026.4.1
Menu pricesDrip Coffee ¥500
Instagram handle@coffee.to.nakameguro
Color HEX values#2D1B0E, #F5E6D3

Step 3: Compare for Consistency

Cross-check file by file:

Brand guide (marketing) brand name  ←→  Website (dev) brand name
Brand guide tagline                 ←→  Poster (marketing) tagline
Brand guide colors                  ←→  Website CSS colors
Financial report pricing            ←→  Website menu prices
Poster opening date                 ←→  Social media content date
Poster address                      ←→  Website address

Step 4: Handle Inconsistencies

When inconsistencies are found, defer to the earliest completed authoritative document (usually the brand guide) and create a correction task:

# Example: website brand name does not match brand guide
wanman task create "Fix website brand name: unify the brand name on the website from 'KAWA' to 'COFFEE TO' as specified in the brand guide. Update all brand names, taglines, and Instagram handles in index.html. Reference: /workspace/agents/output/marketing/brand-design.md" --assign dev --priority 1

Authoritative Document Priority

When information conflicts, follow this order of precedence:

  1. Brand guide — Brand name, tagline, visual style
  2. Financial report — Prices, cost data
  3. Market research — Competitor data, market data
  4. Website/posters — Must align with the above (not a source of truth)

Common Inconsistency Patterns

PatternCauseFix
Website brand name differs from brand guideDev started website before brand design was completeCreate correction task for dev
Poster prices differ from financial pricingMarketing and finance worked independentlyDefer to finance, fix the poster
Social media dates differ from poster datesSame agent produced outputs at different timesUnify to the latest confirmed date

Preventive Measures

When creating tasks, use --after to declare dependencies:

# Brand design must be completed first
brand_id=$(wanman task create "Brand design" --assign marketing --priority 1 | grep -o '[a-f0-9-]\{36\}')

# Website development depends on brand design
wanman task create "Website development: based on the brand guide..." --assign dev --priority 5 --after $brand_id

# Poster design also depends on brand design
wanman task create "Opening poster: based on the brand guide..." --assign marketing --priority 4 --after $brand_id