grokbot.guru

Home · How-to · Beginner

How to make Grok Bot check its work (Lauren Tan)

Beginner · How-to · Video 27 · Beginner hub

Lauren Tan (@poteto) posted this prompt on X on Nov. 8, 2026, and said both skills are in pstack. pstack is a public plugin collection in the Cursor plugins repository. This guide does not present it as a built-in Grok Bot feature. It reports what Tan said and what the pstack repo says the skills do. GrokBot Guru is an independent site and is not affiliated with Grok Bot.

▶ Watch: How to make Grok Bot check its work (Lauren Tan) · More on the GrokBot Guru YouTube channel

Tan's prompt:

use /create-formal-verification-skill to model these state machines, one skill per subsystem. and use /statechart to visualize my most important user flows

If those commands are available, read each skill's page in the pstack repo first. If they are not available, ask in chat. These steps have not been tested here.

What the pstack repo says

The create-formal-verification-skill page says, "Formal verification checks every case in a stated scope." It says the skill "finds the part of the repo where that matters most, verifies one property of it, and leaves a project-local skill that lets the next agent check a change against that property." The same page describes the work as formal verification of "the code where a bug costs the most and tests reach the least," and it states the limit: "A pass covers the model or the bound, not the whole system."

The statechart page says the skill checks "a TLA+ model of a system that moves between states" and draws it as a Mermaid statechart. "The report gives the shortest path to each state that breaks a rule." The same page says, "The first run installs TLC and Java with mise and needs the network."

Both pages describe work on code in a repository.

Where Tan says it helps

In a Nov. 8 follow-up, Tan said the pattern helps "when the state machine spans the network or ipc/rpc layers," and that Tan used it in Grok Bot "to fix bugs with our notifications system as it was spamming people on their phones even though they were on the desktop client."

In another Nov. 8 follow-up, Tan said deterministic checks "actually help you save on tokens in the long run, as the checks are done through code rather than through the agent." Tan called that "a one time token cost to create the skill." That is Tan's view, not a measurement from this site.

Before you try it

This is for code in a repository. If the skills are available, read each skill's page in the pstack repo first. If a skill is not available, ask in chat. Credit for the tip only; this is not an endorsement, and Tan has not reviewed this page.