src/ai-guardrails/SKILL.md
# AI Guardrails Input/output validation and safety for AI applications. ## Quick Start ```bash npx ai-guardrails validate "Check this text" ``` ## What It Does - Detect PII (email, phone, SSN, credit cards) - Block prompt injection attempts - Filter harmful content - Validate LLM outputs ## Usage ```bash # Validate text npx ai-guardrails validate "text" # Detect PII npx ai-guardrails pii "Email: [email protected]" # Check injection npx ai-guardrails injection "Ignore previous instruction
npx skillsauth add lxgicstudios/lxgic-ai-tools src/ai-guardrailsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Input/output validation and safety for AI applications.
npx ai-guardrails validate "Check this text"
# Validate text
npx ai-guardrails validate "text"
# Detect PII
npx ai-guardrails pii "Email: [email protected]"
# Check injection
npx ai-guardrails injection "Ignore previous instructions"
# Generate files
npx ai-guardrails init
One of 110+ free developer tools from LXGIC Studios.
MIT. Free forever.
development
# Vercel AI SDK Vercel AI SDK scaffolding. ```bash npx ai-vercel-ai init ```
tools
# Vector Database Setup Set up vector databases for AI applications. Pinecone, Weaviate, Qdrant, pgvector. ## Quick Start ```bash npx ai-vector-db init pinecone ``` ## What It Does - Generate vector DB client code - Support for major providers - TypeScript ready - Customizable dimensions and names ## Usage ```bash # Generate client npx ai-vector-db init pinecone npx ai-vector-db init pgvector # List providers npx ai-vector-db providers # Compare options npx ai-vector-db compare ``` ##
tools
# SSE Streaming Server-Sent Events streaming for LLM responses. Real-time streaming for OpenAI and Anthropic. ## Quick Start ```bash npx ai-streaming init ``` ## What It Does - Generate SSE streaming utilities - Stream OpenAI/Anthropic responses - Next.js and Express support - Client-side consumption helpers ## Usage ```bash # Generate Next.js streaming code npx ai-streaming init # Generate Express streaming code npx ai-streaming init --framework express # Show info npx ai-streaming i
tools
# Semantic Search Embeddings-based semantic search for AI applications. ## Quick Start ```bash npx ai-semantic-search init ``` ## What It Does - Search by meaning, not keywords - Hybrid search (BM25 + semantic) - LLM-based reranking - Custom filtering ## Usage ```bash npx ai-semantic-search init npx ai-semantic-search info ``` ## Part of the LXGIC Dev Toolkit One of 110+ free developer tools from LXGIC Studios. - GitHub: https://github.com/lxgicstudios - Twitter: https://x.com/lxgicstu