---
name: ccplugins-ev-query
description: "Query the weft event log with filters. Use only when user types /ev-query."
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "43076b42-3594-480c-b145-fbe94c3228a0"
  decimalai-version-id: "eea8b215-c898-40cf-b646-2ab523bce54a"
  decimalai-version: "1"
  decimalai-body-sha256: "84f0e8a373087a2ffb3366f10137fd3157ff475cdc39f3ac1e945188b2e89e98"
  decimalai-name: "ccplugins/ev-query"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "agent-tooling"
  decimalai-source: "https://app.decimal.ai/s/ccplugins-ev-query@1/SKILL.md"
---
# Query Weft Event Log

## Arguments
$ARGUMENTS

## Instructions

1. Parse filter flags from arguments.

2. Run:
   ```bash
   python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" query $ARGUMENTS
   ```

3. If no arguments, show a summary (event counts by type).

4. Present results in a readable format, not raw JSON.

## Filter Examples
- `/ev-query` — count by event type
- `/ev-query wf.step_changed` — all step transitions
- `/ev-query --last 20` — last 20 events
- `/ev-query --tool Bash --last 10` — last 10 Bash tool events
- `/ev-query --workflow adhoc-20260406` — events for specific workflow
