Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    LLM & AI Agent Security & Governance Guide

    by ScStudy5

    1

    Security, evals, cost/loop controls, and governance playbook (OWASP LLM, NIST AI RMF, ISO 42001) for LLM, RAG, and agent apps.

    Free

    Security scanned
    LLM & AI Agent Security & Governance Guide

    LLM & AI Agent Security & Governance Guide

    Example session with this skill installed

    Audit our customer-support RAG agent that can search tenant knowledge bases and issue Stripe refunds. Produce a guardrail specification, cost/loop limits, and a regression eval suite for Level 2 Professional.

    • Read your context and instructions
    • Compiled the llm & ai

    Audit Findings

    Critical — Tool Authorization in Prompt: issue_refund relies on prompt instructions instead of backend role + max-amount + idempotency enforcement and lacks mandatory Human-in-the-Loop confirmation.
    2.

    High — Missing Loop & Spend Caps: Agent loop has no max_iterations, no concurrency lock on (user_id, ticket_id), and only email billing alerts instead of a provider hard spending cap.
    3.

    High — Indirect Prompt Injection Risk: Retrieved KB snippets are concatenated directly into the system message without delimiter isolation.

    Generated Guardrails & Eval Spec (AI_EVALS_AND_GUARDRAILS.md)

    Limits: 4,000 in / 1,000 out tokens, max_iterations = 5, recursion depth <= 2, 20s timeout, max 2 retries with exponential backoff + jitter, hard monthly cap + kill switch.

    Tool Matrix: search_docs (read-only, tenant_id bound from server session), issue_refund (backend role + amount limit + idempotency key +

    mandatory human approval).

    Regression Suite: 6 deterministic cases (EV-01 JSON Schema, EV-02 direct injection, EV-03 indirect RAG injection, EV-04 multi-tenant isolation, EV-05 anti-XSS rendering, EV-06 PII redaction in logs).

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Ship production LLM features, RAG pipelines, and tool-calling agents without prompt-injection leaks, runaway API bills, or silent regressions. LLM & AI Agent Security & Governance Guide enforces one core principle: probabilistic model outputs under deterministic engineering control.

    What's Included (3 Files)

    • SKILL.md — End-to-end engineering workflow for planning, auditing, and generating verification artifacts across 3 proportional rigor levels (1. MVP, 2. Professional, 3. Enterprise).
    • references/ai-governance-and-safety.md — Deep-dive reference covering direct & indirect prompt injection isolation, deterministic output validation (JSON Schema & XSS sanitization), least-privilege tool calling with backend authorization, PII minimization & non-training checks, hallucination grounding, bias review, strict cost/loop controls (max_iterations, recursion cutoffs, concurrency locks, hard spending caps, exponential backoff + jitter), public AI transparency disclosures, and alignment with OWASP Top 10 for LLM Applications, NIST AI RMF, ISO/IEC 42001, and ISO/IEC 23894.
    • examples/AI_EVALS_AND_GUARDRAILS.md — Ready-to-use specification template combining technical & financial limits (token caps, iteration caps, hard spending caps), a backend tool-calling & Human-in-the-Loop permission matrix, and a 6-case deterministic regression eval suite (EV-01 to EV-06: happy path/schema, direct injection, indirect RAG injection, multi-tenant isolation, anti-XSS output safety, and PII/privacy policy).

    Why Teams Use It

    • Prevents runaway agent loops and surprise inference invoices by distinguishing passive budget alerts from hard spending caps and recursion guards.
    • Ensures authorization always lives in backend code—never inside the system prompt.
    • Gives teams a concrete regression eval baseline before changing any prompt or model version.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Provides architecture checklists, governance guidelines, and evaluation specifications rather than an automated eval-execution runner or live red-teaming tool.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    • Free with an Agensi account

    Requires

    Nothing to install.

    Permissions

    Read Files
    Write Files

    File Scopes

    Project
    source
    files
    prompt
    templates
    and
    generated
    AI
    eval/guardrail
    specs

    Guidance and templates only; makes no outbound network requests and never requires API keys.

    Listed1 day ago

    What's inside

    Frequently Asked Questions

    The bundled skill files and templates are written in Spanish. Multilingual AI agents read them seamlessly and generate all architecture reviews, guardrail configs, and eval specs in English or whatever language your codebase and prompts use.

    No. This skill contains structured engineering workflows, governance references, and markdown templates. It never calls external LLM APIs or requests API keys.

    Yes. The skill adapts its recommendations proportionally across three tiers (Level 1 MVP, Level 2 Professional, Level 3 Enterprise) so early-stage teams implement essential security and cost caps without heavy enterprise bureaucracy.

    Yes. It includes specific controls for RAG indirect prompt injection, multi-tenant isolation, tool-calling least privilege, Human-in-the-Loop approval gates, max-iteration caps, recursion detection, and duplicate-execution locking.

    New in LLM Ops

    Free