The Grok tweaker intercepts HTML responses fromDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/cloudwaddie/aitweaker/llms.txt
Use this file to discover all available pages before exploring further.
grok.com and replaces the contents of the <script type="application/json" id="server-client-data-experimentation"> tag with your own JSON. This config object is what Grok uses to enable or disable features client-side. The tweaker also supports spoofing your subscription tier by rewriting specific keys in that same HTML before it reaches the browser.
How it works under the hood
Every Grok page response embeds the experimentation config as an inline JSON script tag. The proxy locates it with a regex and substitutes your version in-place:proxy.py
proxy.py
The grok_config.json structure
The bundled grok_config.json is a snapshot of a real Grok experimentation config. Its top-level structure is:
grok_config.json
serverConfig. Others are nested objects with their own sub-keys (e.g. media_gen_video_config, typeahead_config, timeline_navigator).
Setting up the Grok tab
Enable modifications
Toggle Enable Grok Modifications at the top-left of the tab. Without this, the proxy passes all Grok HTML through unmodified.
Load a config
You have two options for getting a config into the editor:
- Load Extracted Config — loads
grok_config.jsonfrom disk. Use this as your baseline. - Fetch Latest (Web) — fetches
https://grok.comin a background thread, extracts theserver-client-data-experimentationscript tag from the live page, and populates the editor with the result.
Edit the JSON
Modify values directly in the JSON editor. Several editor tools are available:
- Search — type in the search box and press Enter or click
>/<to move between matches. Matches are highlighted in yellow. - Boolean toggle — double-click any
trueorfalseword in the editor to flip it. You can also position the cursor on a boolean and click Toggle Boolean. - Format & Validate — click this button to pretty-print the JSON and confirm it is valid before saving. The proxy also runs this check at save time.
Spoof subscription (optional)
Toggle Spoof Subscription (Pro/Super) to have the proxy additionally rewrite
isSuperGrokUser, isSuperGrokProUser, isEnterpriseUser, and xSubscriptionType in every Grok HTML response, regardless of what your config JSON contains for those keys.Practical examples
- Enable compact query bar
- Enable memory toggle
- Unhide models
In the JSON editor, find
"enable_compact_query_bar" and set it to true. Use the search box to locate it quickly, then double-click the boolean to toggle it.The proxy URL pattern matches all of
grok.com (^https?://(www\.)?grok\.com/.*), so the config replacement applies to every page load, not just the home page.