local archive

Prompts Library

Browse 2,077 prompts and 65 skills imported into local MariaDB.

Reset
Showing 1 of 1 skills — page 1 / 1
Agent Skill 2026-04-08

Add AI protection

Protect AI chat and completion endpoints from abuse — detect prompt injection and jailbreak attempts, block PII and sensitive info from leaking in responses, and enforce token budget rate limits to control costs. Use this skill when the user is building or securing any endpoint that processes user prompts with an LLM, even if they describe it as "preventing jailbreaks," "stopping prompt attacks," "blocking sensitive data," or "controlling AI API costs" rather than naming specific protections.

--- name: add-ai-protection license: Apache-2.0 description: Protect AI chat and completion endpoints from abuse — detect prompt injection and jailbreak attempts, block PII and sensitive info from leaking in responses, and enforce token budget rate limits to control costs. Use this skill when the user is building or securing any endpoint that processes user prompts with an LLM, even if they describe it as "preventing jailbreaks," "stopping prompt attacks," "blocking sensitive data," or "controlling AI API costs" rather than naming specific protections. metadata: pathPatterns: - "app/api/chat/**" - "app/api/completion/**" - "src/app/api/chat/**" - "src/app/api/completion/**" - "**/chat/**" - "**/ai/**" - "**/llm/**" - "**/api/generate*" - "**/api/chat*" - "**/api/completion*" importPatterns: - "ai" - "@ai-sdk/*" - "openai" - "@anthropic-ai/sdk" - "langchain" promptSignals: phrases: - "pr…