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.
npx agentmods add skills/lexq-io/lexq-cli/lexq-sharednpx skills add lexq-io/lexq-cli --skill lexq-sharedgit clone --depth 1 https://github.com/lexq-io/lexq-cliWrote 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.
[](https://agentmods.dev/skills/lexq-io/lexq-cli/lexq-shared)<a href="https://agentmods.dev/skills/lexq-io/lexq-cli/lexq-shared"><img src="https://agentmods.dev/badge/skills/lexq-io/lexq-cli/lexq-shared.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.02041 |
| Opus 5 | $0.00000 | $0.01020 |
| Sonnet 5 | $0.00000 | $0.00408 |
| Haiku 4.5 | $0.00000 | $0.00204 |
Grade A, and why
lexq-shared 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LexQ CLI — Shared Context
Read this skill first. All other LexQ skills assume you have read this document.
What is LexQ?
LexQ is a policy execution engine. Customers define business rules (conditions → actions), deploy them to production, and execute them via API — all without touching application code. Core differentiators are pre-deploy simulation and A/B testing for rule versions.
Authentication
# Store your API key (persisted at ~/.lexq/config.json)
lexq auth login
# Enter your API Key: lexq_us_xxxxxxxxxxxxx
# Verify authentication
lexq auth whoami
The API key is passed as X-API-KEY header on every request. You can also override per-command:
lexq groups list --api-key lexq_us_override_key
Base URL: https://api.lexq.io/api/v1/partners (default). Override with --base-url.
Core Concepts
| Concept | Description | Analogy |
|---|---|---|
| Policy Group | A container for rule versions. Has a lifecycle status (ACTIVE / DISABLED / ARCHIVED). | Git repository |
| Policy Version | A snapshot of rules within a group. Follows DRAFT → ACTIVE → ARCHIVED lifecycle. | Git branch / commit |
| Policy Rule | A condition + actions pair within a version. Evaluated in priority order. | if-then statement |
| Fact Definition | Input schema — declares available variables and their types (STRING, NUMBER, BOOLEAN, LIST_STRING, LIST_NUMBER). | Function parameter |
| Deployment | Promotes an ACTIVE version to live traffic. Supports rollback and scheduled arming. | Production release |
| Dry Run | Tests a single input against a DRAFT or ACTIVE version without side effects. | Unit test |
| Simulation | Batch-tests a version against historical execution data. Compares with a baseline. | Integration test suite |
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.
- 3d ago First seen · 166 lines · 0 tokens per session scan A 16b866e67d70
lexq-shared is a skill published in the GitHub repository lexq-io/lexq-cli (0 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,041 tokens. 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.
Other skills, from other repositories
streamsql
当需要创建实时数据聚合/窗口统计、流式过滤转换、变化检测(CDC)、生命周期累计、元数据富化(流-表 JOIN)、CEP 模式识别(MATCHRECOGNIZE)等规则链时使用,或当使用 x/streamAggregator 和 x/streamTransform 组件时使用。包含 SQL 语法、窗口、分析函数、JOIN、CEP 和配置示例.
bean-tool-skill
Skill that binds a Spring-managed Java tool for DI verification tests.
tool-skill
Skill that binds a Java tool for LiteFlow ReAct agent tests.
demo
Demo skill for LiteFlow ReAct agent tests.
research
Research skill for LiteFlow ReAct agent tests.
paper-logic
Review a LaTeX paper for argument-level logic, cross-section consistency, and house style. Complements /paper-review (sentence-level style) with whole-paper reasoning checks.