AI Companion Safety Lint
Reads your companion chatbot's system prompt against California SB 243, New York GBL Article 47, Illinois HB 1806 (WOPR Act) and Nevada AB 406, line by line.
Install
npx @readystack/ai-companion-safety-lint file
Node 18+. The same 14 rules as the VS Code extension, from a terminal or CI.
Free
- Scan every prompt, persona and character-card file in the workspace and see each SB 243 / NY Art. 47 duty the text breaks or never states, with the line number and the statute section.
--rules lists every rule
With a licence ($29 once)
- Export the dated evidence pack - every file, finding, statute section and rule-set version in one Markdown/JSON artifact you keep, diff between releases and hand to an app-store reviewer or to counsel.
@readystack/ai-companion-safety-lint --dir ./templates --report html --out report.html
Outside privacy counsel reviews prompt text at roughly $400 an hour
Use from an AI agent (MCP)
Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:
{ "mcpServers": { "ai-companion-safety-lint": { "command": "npx", "args": ["-y", "@readystack/ai-companion-safety-lint", "--mcp"] } } }
Tools: check_text and check_file (free) · check_dir (licence; the full sweep is free for 7 days). The agent gets every finding with the line number.
Use in CI
- name: AI Companion Safety Lint
run: npx -y @readystack/ai-companion-safety-lint --dir . --ci
(container: docker run --rm -v "$PWD:/work" getreadystack/ai-companion-safety-lint --dir /work --ci)
Try the full run free for 7 days — no key needed. Then one licence, 7-day refund, no questions. Set READYSTACK_LICENSE=<key> or run --license <key> once.
Get a licence