ev-query

A command for searching the Weft event log, a record of workflow activity, using filters.

In plain words
What is it for?
Use it to count event types, view recent events, inspect step changes, or filter events for one workflow. Type /ev-query to run it.
Why use it?
It helps you inspect workflow history without opening raw log files or writing a separate query.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dioptx/weft/ev-query
Any agent
npx skills add dioptx/weft --skill ev-query
Clone the repo
git clone --depth 1 https://github.com/dioptx/weft

Made for: Claude Code, Codex.

Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 208 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00021 $0.00208
Opus 5 $0.00010 $0.00104
Sonnet 5 $0.00004 $0.00042
Haiku 4.5 $0.00002 $0.00021

Measured 2d ago against content hash 8f3dda80a67a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ev-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ev-query/SKILL.md · 31 lines

What it actually says

Query Weft Event Log

Arguments

$ARGUMENTS

Instructions

  1. Parse filter flags from arguments.

  2. Run:

    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 --workflow adhoc-20260406 — events for specific workflow
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 31 lines · 21 tokens per session scan A 8f3dda80a67a

Subscribe to this mod's changes

ev-query is a skill published in the GitHub repository dioptx/weft (22 stars, last pushed 17d ago), licensed MIT. It adds 21 tokens to every session and 208 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

superpowers-graph

Runs the Superpowers software-development methodology as a guarded state machine — brainstorm, spec, plan, isolated workspace, the per-task implement/review/fix loop, the whole-branch review, and the integration menu — with typed node contracts, total exit guards, bounded retry loops, and a ledger recording every step…

RonMizrahi/superpowers-graph · 134 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

development

开发语言能力索引。Python、Go、Rust、TypeScript、Java、C++、Shell。当用户提到编程、开发、代码、语言时路由到此。.

fengshao1227/ccg-workflow · 41 tokens

model-compatibility

Model family compatibility matrix covering loaders, resolutions, samplers, CFG, VAE, ControlNet, and LoRA compatibility for SD 1.5, SDXL, Flux, SD3, and video models.

artokun/comfyui-mcp · 47 tokens

n8n:nathan

Deploy a temporary n8n test instance (or generate a local docker run command) via the internal "Nathan" bot, from the repo instead of Slack. Use after opening a PR to offer the user a live test instance, or whenever someone asks to spin up / deploy a test instance for a branch.

n8n-io/n8n · 68 tokens

civitai

Discover Civitai models with the BUILT-IN downloadmodel action:"searchcivitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on Civitai, download it into ComfyUI, and use its trigger words. Optionally pair the official Civitai MCP for community features (images browsing, posting, collections).

artokun/comfyui-mcp · 76 tokens