.claude/skills/action-validator/SKILL.md
Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts
npx skillsauth add baekenough/oh-my-customcode action-validatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Advisory pre-action validation layer that checks agent tool calls against declared capabilities, file access scope (R002), and task contracts before execution. Inspired by AutoHarness (Google DeepMind) — enforcing action-space legality at agent boundaries.
This skill does NOT block actions (R021 advisory-first model). It emits warnings when agents attempt operations outside their declared scope.
| Check | What | Against |
|-------|------|---------|
| Tool scope | Tool being called | Agent's tools frontmatter list |
| File scope | File path in Write/Edit | R002 file access rules |
| Domain scope | Target file extension | Agent's domain frontmatter |
| Task contract | Operation type | Task description constraints |
--- [Action Validator] Scope warning ---
Agent: {agent-name}
Tool: {tool-name}
Target: {file-path}
Issue: {description}
Declared scope: {agent's declared tools/domain}
💡 Suggestion: {recommended action}
---
| System | How | |--------|-----| | PreToolUse hooks | Optional hook to check tool calls (advisory only) | | pipeline-guards | Complements pipeline stage gates | | adversarial-review | Provides action-space-legality criterion | | R002 (Permissions) | Validates against declared file access rules | | R010 (Orchestrator) | Orchestrator validates subagent scope claims |
For high-repetition agents (e.g., mgr-gitnerd commit workflows), capture validated decision paths as reusable policies:
policy_cache:
agent: mgr-gitnerd
action: git-commit
validated_steps:
- tool: Bash
pattern: "git add *"
verdict: allow
- tool: Bash
pattern: "git commit *"
verdict: allow
- tool: Bash
pattern: "git push *"
verdict: warn_confirm
Policy caching reduces redundant LLM calls for well-understood workflows. Policies are advisory — the orchestrator may override.
This skill is an advisory layer, not a hard enforcement mechanism:
development
Generate and maintain a persistent codebase wiki — LLM-built interlinked markdown knowledge base (Karpathy LLM Wiki pattern)
development
Use the project wiki as RAG knowledge source — search wiki pages to answer codebase questions before exploring raw files
tools
Analyze task trajectories to propose reusable SKILL.md candidates from successful patterns
data-ai
hada.io RSS feed monitoring for AI agent/harness articles with automated /scout analysis