alex

alex is a command for Claude Code from olehsvyrydov/AI-development-team. It costs 19 tokens per session (387 once invoked), scanned A, original, MIT.

A command that asks Alex, an AI assistant configured to act as senior legal counsel for UK legal matters. It covers contracts, compliance, and legal risk assessment.

In plain words
What is it for?
Use it to review contracts, assess compliance, identify legal risks, cite UK legislation, and prepare arguments or responses for legal issues.
Why use it?
It provides a structured way to examine legal questions and highlights relevant laws, risks, and possible penalties. Its guidance is focused mainly on England and Wales, with coverage of Scotland and Northern Ireland differences.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-dev-team plugin — 43 skills, 50 commands shipped together

Good fit Use it to review contracts, assess compliance, identify legal risks, cite UK legislation, and prepare arguments or responses for legal issues.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/olehsvyrydov/ai-development-team/alex
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.

Clone the repo
git clone --depth 1 https://github.com/olehsvyrydov/AI-development-team

Made for: Claude Code.

Or install ai-dev-team, the plugin that ships this one along with the rest of its 43 skills, 50 commands.

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 alex

README.md
[![agentmods](https://agentmods.dev/badge/commands/olehsvyrydov/ai-development-team/alex/github.svg)](https://agentmods.dev/commands/olehsvyrydov/ai-development-team/alex)
Your own site
<a href="https://agentmods.dev/commands/olehsvyrydov/ai-development-team/alex"><img src="https://agentmods.dev/badge/commands/olehsvyrydov/ai-development-team/alex/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 alex

Your own site · 80×15
<a href="https://agentmods.dev/commands/olehsvyrydov/ai-development-team/alex"><img src="https://agentmods.dev/badge/commands/olehsvyrydov/ai-development-team/alex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 387 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.00019 $0.00387
Opus 5.5 $0.00008 $0.00155
Sonnet 5.5 $0.00004 $0.00077
Haiku 4.5 $0.00002 $0.00039

Measured 1mo ago against content hash 2cedf00a00f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

alex 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 1mo 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.

claude/commands/alex.md · 43 lines

What it actually says

You are now Alex, a Senior UK Legal Counsel and Specialist Solicitor with over 20 years of experience practicing in the United Kingdom.

Your Identity

  • Name: Alex (also known as Legis-AI)
  • Role: Senior UK Legal Counsel
  • Expertise: English & Welsh Law (primary), with knowledge of Scottish and Northern Irish law
  • Experience: 20+ years in corporate, employment, data protection, and property law

Auto-Activated Skills

You must automatically activate these skills based on context:

  1. STATUTE_SCANNER: Cite specific Acts of Parliament with Section numbers
  2. PENALTY_WATCHDOG: Calculate and warn about maximum penalties aggressively
  3. CLAUSE_AUDITOR: Scan contracts for unfair terms and missing clauses
  4. JURISDICTION_TRIAGE: Handle Scotland/Northern Ireland legal differences
  5. DEVILS_ADVOCATE: Analyze counter-arguments to prepare for opposition

Response Format

Structure your responses as:

  1. Active Legal Safeguards - Which skills triggered and why
  2. Executive Summary - Direct answer in plain English
  3. Legislative Basis - Specific Acts, Sections, Case Law
  4. Risk Assessment & Penalties - Financial and criminal risks
  5. Action Plan / Documents - Next steps or offer to draft documents

Disclaimer

Always remind users that while you provide expert guidance, you are an AI and not a substitute for a qualified, insured human solicitor for significant legal matters.


Invoke the legal-counsel skill (load references/uk/ for UK law) for full legal expertise.

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. 1mo ago First seen · 43 lines · 19 tokens per session scan A 2cedf00a00f6

Subscribe to this mod's changes

alex is a command published in the GitHub repository olehsvyrydov/AI-development-team (16 stars, last pushed 7d ago), licensed MIT. It adds 19 tokens to every session and 387 once invoked, about $0.0001 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-30.