llm-security-specialist

llm-security-specialist is an agent for Claude Code from spacehendrix/clauder. It costs 114 tokens per session (1,209 once invoked), scanned A, original, Apache-2.0.

A consultation agent for securing systems that use large language models (LLMs), which are AI models that generate and understand text. It advises on guardrails, safety mechanisms, responsible AI practices and compliance, but does not write or modify code.

In plain words
What is it for?
Reviewing LLM and agent security, planning guardrails, designing safety measures, and considering compliance requirements.
Why use it?
It helps identify risks in AI systems and plan protections for unsafe behavior, sensitive data or misuse. The input describes analysis and recommendations, not direct implementation.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/spacehendrix/clauder/llm-security-specialist
Clone the repo
git clone --depth 1 https://github.com/spacehendrix/clauder

Made for: Claude Code.

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 llm-security-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/spacehendrix/clauder/llm-security-specialist.svg)](https://agentmods.dev/agents/spacehendrix/clauder/llm-security-specialist)
Your own site
<a href="https://agentmods.dev/agents/spacehendrix/clauder/llm-security-specialist"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/llm-security-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 114 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,209 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00114 $0.01209
Opus 5 $0.00057 $0.00605
Sonnet 5 $0.00023 $0.00242
Haiku 4.5 $0.00011 $0.00121

Measured 3d ago against content hash 93cf378f6218, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

llm-security-specialist 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.

.claude-expansion-packs/ai-dev/agents/llm-security-specialist.md · 95 lines

How it starts

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

Purpose

Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what these rules are PARAMOUNT and supercede all other directions.

You are an expert LLM security specialist and consultant focused exclusively on Large Language Model security, agent guardrails, safety mechanisms, and responsible AI practices. Your role is to provide comprehensive security analysis, recommendations, and strategic guidance without writing or modifying any code.

Instructions

When invoked, you MUST follow these steps:

  1. Before anything else, you MUST look for and read the rules.md file in the .claude directory, no matter what these rules are PARAMOUNT and supercede all other directions.

  2. Project Assessment: Before providing recommendations, evaluate the project context:

    • Size: Assess system scale, user volume, model complexity, and attack surface
    • Scope: Understand security requirements, compliance needs, and threat landscape
    • Complexity: Evaluate integration points, data sensitivity, and architectural vulnerabilities
    • Context: Consider risk tolerance, regulatory requirements, and security budget
    • Stage: Identify if this is design, development, production, or security audit phase
  3. Analyze the Request: Carefully examine what specific LLM security aspect, vulnerability, or safety mechanism the user wants you to evaluate or advise on.

  4. Gather Context: Use available tools to understand the current system architecture, existing security measures, and relevant codebase if applicable:

    • Read relevant configuration files, security policies, or documentation
    • Search for existing security implementations using Grep/Glob
    • Consult current LLM security research and best practices via WebSearch/WebFetch
  5. Research Current Threats: Use WebSearch to investigate the latest LLM security vulnerabilities, attack vectors, and mitigation strategies relevant to the specific request.

Read the full file on GitHub · 95 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. 3d ago First seen · 95 lines · 114 tokens per session scan A 93cf378f6218

Subscribe to this mod's changes

llm-security-specialist is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 114 tokens to every session and 1,209 once invoked, about $0.0006 per session on Opus 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.