# Check

> worklens check — prove the recipe is data-free; warn on unread keys, before a recipe is shared or committed.

Section: CLI · Type: guide · Last updated: 2026-09-13

worklens check <recipe.wl.json> proves a recipe carries no data: it scans the file for values that look real — an actual TFN, an email, a name in an example — and exits non-zero if it finds any. Run it before a recipe leaves your machine. Validation of the recipe’s structure is a different question, answered by validate_recipe over MCP or by the studio.

## The picture

recipe.wl.json → worklens check (scans for real values) → Clean | Findings

## Usage

```bash
node packages/sdk-node/bin/worklens.js check <recipe.wl.json>
```

## As a CI step

```bash
node packages/sdk-node/bin/worklens.js check recipe.wl.json || exit 1
```

A non-zero exit lists what looked like a real value and where.

> **Not on npm yet** — The package is not published, so npx worklens does not work today. Run the script from a checkout of the repository as node packages/sdk-node/bin/worklens.js; when it is published, the commands are the same with worklens in place of the path.

## Common questions

**There is no validate or verify command — what do I use?**

check proves a recipe is data-free. Validation of the recipe’s structure is the validate_recipe MCP tool or the studio. Checking a receipt happens at /verify on the website, which takes an evidence bundle.

**Can I run it in CI?**

Yes — it is a plain exit code. Add node packages/sdk-node/bin/worklens.js check recipe.wl.json as a step and the job fails when a real value has crept into the recipe.

## Related

- [Generate](https://theworklens.com/docs/cli/generate): worklens generate — recipe → data. Read from the CLI’s own header, with every option it accepts.
- [Prove & bundle](https://theworklens.com/docs/cli/prove): worklens prove and worklens bundle — a verifiable proof as JSON, or a whole run folder with data, recipe, proof and manifest.
- [How validation works](https://theworklens.com/docs/validate/how-it-works): Two layers of checking: the recipe before a run, and the data after it — what each layer looks at and what neither can see.

_← Previous: [Generate](https://theworklens.com/docs/cli/generate) · Next: [Prove & bundle](https://theworklens.com/docs/cli/prove) →_

_The command line comes from the CLI file’s own header comment. Source: packages/sdk-node/bin/worklens.js._

_Canonical: https://theworklens.com/docs/cli/check · This copy: https://theworklens.com/docs/cli/check.md_
