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 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/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.
<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="Reviewed on agentmods" width="80" 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.1 | $0.00053 | $0.02354 |
| Opus 5.5 | $0.00021 | $0.00942 |
| Sonnet 5.5 | $0.00011 | $0.00471 |
| Haiku 4.5 | $0.00005 | $0.00235 |
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 20d 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 — 183 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
Create the key with the Manage scope in the Console (Management → API Keys). An Execute only key is for calling the execution API from your application and does not work with this CLI.
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. DRAFT → ACTIVE → EXPIRED; ARCHIVED if deleted after it was published. | 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.
- 20d ago Changed · +5 lines · +53 tokens per session 556adfaf5906
- 21d ago Changed 1a141c435c76
- 25d ago Changed b615f56c3227
- 26d ago Changed · +3 lines fa1feb984725
- 1mo ago Changed · +3 lines 01fbe0cd22cb
- 2mo ago Changed · +5 lines 2b55e11a98ad
- 2mo ago Changed · +1 lines 62db67efdee6
- 3mo 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 (1 stars, last pushed today), licensed Apache-2.0. It adds 53 tokens to every session and 2,354 once invoked, about $0.0002 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.
lexq-shared compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lexq-sharedlexq-io/lexq-cli | Skill | 1 | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| printing-press-amendmvanhorn/cli-printing-press | Skill | 5.1k | today | MIT | A | 222 | Claude Code |
| groq-inferencesynthetic-sciences/openscience | Skill | 4.5k | 2d ago | Apache-2.0 | A | 77 | Claude Code, Codex |
| wikipediax-cmd/x-cmd | Skill | 4.8k | 7d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| cvex-cmd/x-cmd | Skill | 4.8k | 7d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| voidenVoidenHQ/voiden | Skill | 1.9k | yesterday | Apache-2.0 | A | 28 | Claude Code, Codex |
| csharp-dotnetericrisco/rsc-harness | Skill | 691 | 6d ago | MIT | A | 89 | Claude Code, Codex |