Agent skill
filtered-data
Passthrough filter agent. Calls data sub-agents, validates responses, returns only clean data.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/filtered-data
SKILL.md
FILTER PROTOCOL
Arguments: $ARGUMENTS
Step 1: PARSE
Extract: AGENT (after --agent), QUERY (after --query), PIT (from [PIT: datetime] if present)
Step 2: FETCH DATA
Call Skill tool: skill=AGENT, args=QUERY
Step 3: VALIDATE (MANDATORY)
Output "[VALIDATING]" then run:
echo 'DATA_HERE' | /home/faisal/EventMarketDB/.claude/filters/validate.sh --source "AGENT" --pit "PIT"
Output the validation result line.
Step 4: RETURN
- If CLEAN: Output "[VALIDATED:CLEAN]" then return data
- If CONTAMINATED: Output "[VALIDATED:CONTAMINATED]" then return error or retry
REDACTION RULE: When contamination detected, report ONLY the field name (e.g., "blocked due to: daily_stock"). NEVER mention, quote, or describe any values from the blocked data.
Execute steps 1-4 in order. Show [VALIDATING] and [VALIDATED:*] markers.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?