Metadata-Version: 2.4
Name: rulestamp-ai-companion-safety-lint
Version: 1.0.7
Summary: 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. (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/ai-companion-safety-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/ai-companion-safety-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: ai companion,chatbot compliance,sb 243,system prompt,ai disclosure,companion chatbot,llm safety
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# AI Companion Safety Lint

> Runs the same checker as our npm package on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

![Chatbot Safety Lint - companion AI, minors and crisis prompts — finds the line](https://getreadystack.com/img/promo/ai-companion-safety-lint_demo.gif)

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

```
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.

```
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:

```json
{ "mcpServers": { "ai-companion-safety-lint": { "command": "ai-companion-safety-lint", "args": ["--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: AI Companion Safety Lint
  run: pip install rulestamp-ai-companion-safety-lint && ai-companion-safety-lint --dir . --ci
```


The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://getreadystack.com/api/buy/cl/polar_cl_FK2aTsDAbD2vrqDReGURvm8s8Tn3njdfFsaw925mpn8)


<!-- ai companion safety lint -->


## Install (PyPI)

```
pip install rulestamp-ai-companion-safety-lint
ai-companion-safety-lint --help
```
