lexq-execution

lexq-execution is a skill for Claude Code, Codex from lexq-io/lexq-cli. It costs 76 tokens per session (2,453 once invoked), scanned A, original, Apache-2.0.

A guide to observing LexQ after business rules are deployed. LexQ evaluates incoming facts against live rules and records results such as successes, no matches, and errors.

In plain words
What is it for?
Use it to list and filter execution history, inspect statistics and failure logs, and review deployments by trace, policy group, version, status, or date.
Why use it?
It helps you see what happened in production, investigate failed evaluations, and check deployment state instead of treating rule execution as a black box.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list and filter execution history, inspect statistics and failure logs, and review deployments by trace, policy group, version, status, or date.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lexq-io/lexq-cli/lexq-execution
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.

Any agent
npx skills add lexq-io/lexq-cli --skill lexq-execution
Clone the repo
git clone --depth 1 https://github.com/lexq-io/lexq-cli

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lexq-execution

README.md
[![agentmods](https://agentmods.dev/badge/skills/lexq-io/lexq-cli/lexq-execution/github.svg)](https://agentmods.dev/skills/lexq-io/lexq-cli/lexq-execution)
Your own site
<a href="https://agentmods.dev/skills/lexq-io/lexq-cli/lexq-execution"><img src="https://agentmods.dev/badge/skills/lexq-io/lexq-cli/lexq-execution/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lexq-execution

Your own site · 80×15
<a href="https://agentmods.dev/skills/lexq-io/lexq-cli/lexq-execution"><img src="https://agentmods.dev/badge/skills/lexq-io/lexq-cli/lexq-execution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,453 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00076 $0.02453
Opus 5.5 $0.00030 $0.00981
Sonnet 5.5 $0.00015 $0.00491
Haiku 4.5 $0.00008 $0.00245

Measured 19d ago against content hash 844b564d5ae5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lexq-execution 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 19d 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/lexq-execution/SKILL.md · 279 lines

How it starts

The opening of the file, as written. The whole thing — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LexQ CLI — Execution & Monitoring

Prerequisite: Read lexq-shared/SKILL.md first.

Overview

Once policies are deployed, the engine evaluates incoming facts against live rules. This skill covers observing production behavior: execution history, statistics, failure logs, and deployment state.

1. Execution History

List Executions

lexq history list --page 0 --size 20

Filter options:

Flag Description Example
--trace-id <id> Filter by trace ID --trace-id abc123
--group-id <id> Filter by policy group --group-id <gid>
--version-id <id> Filter by version --version-id <vid>
--status <status> Filter by status --status SUCCESS
--start-date <date> First day, inclusive --start-date 2025-01-01
--end-date <date> Last day, inclusive --end-date 2025-01-31

Dates are yyyy-MM-dd, whole days in the organization time zone (tenantTimezone in lexq auth whoami), not UTC.

Execution Statuses

Status Meaning
SUCCESS At least one rule matched and actions executed
NO_MATCH No rules matched — or the version was not evaluated at all (e.g. outside its effective dates)
ERROR Engine error during evaluation
TIMEOUT Execution exceeded time limit

A version outside its effective date range is filtered before evaluation, so no per-rule trace is produced for it. If a rule you expect never appears in decisionTraces, check the version's effectiveFrom / effectiveTo with lexq versions get.

Read the full file on GitHub · 279 lines

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. 19d ago Changed 844b564d5ae5
  2. 20d ago Changed · +5 lines · +76 tokens per session 5f560140c083
  3. 25d ago Changed · -1 lines 6364cebfcf0c
  4. 26d ago Changed · -12 lines 61389b107d1a
  5. 2mo ago Changed 087bbccf1e29
  6. 2mo ago Changed · +11 lines 31078a0de6c8
  7. 3mo ago First seen · 276 lines · 0 tokens per session scan A a2161078805c

Subscribe to this mod's changes

lexq-execution is a skill published in the GitHub repository lexq-io/lexq-cli (1 stars, last pushed today), licensed Apache-2.0. It adds 76 tokens to every session and 2,453 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

lexq-execution compared with skills from other repositories

lexq-execution next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lexq-executionlexq-io/lexq-cliSkill1todayApache-2.0A76Claude Code, Codex
printing-press-amendmvanhorn/cli-printing-pressSkill5.1ktodayMITA222Claude Code
groq-inferencesynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A77Claude Code, Codex
wikipediax-cmd/x-cmdSkill4.8k7d agoApache-2.0A49Claude Code, Codex
cvex-cmd/x-cmdSkill4.8k7d agoApache-2.0A49Claude Code, Codex
voidenVoidenHQ/voidenSkill1.9kyesterdayApache-2.0A28Claude Code, Codex
csharp-dotnetericrisco/rsc-harnessSkill6916d agoMITA89Claude Code, Codex