lexq-groups

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

A management system for policy groups: containers that hold versions of rules and control when those rules run. It also defines what happens when multiple groups apply at once.

In plain words
What is it for?
Use it to list, inspect, and create policy groups, manage their status, and configure activation, priority, execution limits, and A/B testing.
Why use it?
It provides a way to organize, activate, pause, archive, and deploy rule sets while controlling conflicts between them.

Skill for Claude CodeCodex

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

Good fit Use it to list, inspect, and create policy groups, manage their status, and configure activation, priority, execution limits, and A/B testing.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/lexq-io/lexq-cli/lexq-groups/github.svg)](https://agentmods.dev/skills/lexq-io/lexq-cli/lexq-groups)
Your own site
<a href="https://agentmods.dev/skills/lexq-io/lexq-cli/lexq-groups"><img src="https://agentmods.dev/badge/skills/lexq-io/lexq-cli/lexq-groups/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-groups

Your own site · 80×15
<a href="https://agentmods.dev/skills/lexq-io/lexq-cli/lexq-groups"><img src="https://agentmods.dev/badge/skills/lexq-io/lexq-cli/lexq-groups.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,814 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.00059 $0.02814
Opus 5.5 $0.00024 $0.01126
Sonnet 5.5 $0.00012 $0.00563
Haiku 4.5 $0.00006 $0.00281

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

Security

Grade A, and why

lexq-groups 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 7d 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-groups/SKILL.md · 286 lines

How it starts

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

LexQ CLI — Policy Groups

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

Overview

A Policy Group is the top-level container. It holds versions (each containing rules), manages deployment state, and controls conflict resolution when multiple groups interact.

Status Lifecycle

From To Reversible
ACTIVE DISABLED yes — set status back to ACTIVE
DISABLED ACTIVE —
ACTIVE ARCHIVED no
DISABLED ARCHIVED no
  • ACTIVE — executions are processed.
  • DISABLED — production execution stops. Execution calls return P-009 (403), and a composite call that includes the group is rejected in full. The live version and any A/B test are kept, and dry run, Impact Simulation, and Decision Replay keep working, so you can verify a fix before setting ACTIVE again.
  • ARCHIVED — removed from execution. Reached only through lexq groups delete, not by setting status directly.

Disable, Roll Back, or Undeploy?

Situation Use Callers get
The previously deployed version is correct lexq deploy rollback Decisions from the previous version
This version has to leave production lexq deploy undeploy P-019 (400). Composite calls skip the group. A running A/B test ends
Stop now without knowing the cause, then resume with the same version status: DISABLED P-009 (403). Composite calls that include the group are rejected

Read the full file on GitHub · 286 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. 7d ago Changed · +4 lines 8a9cf8d21a20
  2. 19d ago Changed · +7 lines e44cab990327
  3. 20d ago Changed · +5 lines · +59 tokens per session 3daaf03883c1
  4. 25d ago Changed · -7 lines 5203c942102e
  5. 1mo ago Changed · +1 lines 69a14f55f3bd
  6. 1mo ago Changed · +11 lines 8235489eb827
  7. 1mo ago Changed · +16 lines ef812da50945
  8. 3mo ago First seen · 249 lines · 0 tokens per session scan A ee4dfbe8eded

Subscribe to this mod's changes

lexq-groups is a skill published in the GitHub repository lexq-io/lexq-cli (1 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 2,814 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.

Related

lexq-groups compared with skills from other repositories

lexq-groups next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lexq-groupslexq-io/lexq-cliSkill1todayApache-2.0A59Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k2d agoMITA33Claude Code, Codex
interviewHmbown/CodeWhaleSkill41k2d agoMITA40Claude Code, Codex
refocusingmvschwarz/openrigSkill9.0ktodayApache-2.0A59Claude Code
recipe-create-meet-spacegoogleworkspace/cliSkill33k7d agoApache-2.0A18Claude Code, Codex
atmos-validationcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code
atmos-configcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code