yang0/skill_grok/grok-query-scrape
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Submit prompts to https://grok.com using an authenticated cookie file and capture the generated answer verbatim. Use when the task requires raw prompt passthrough, raw Grok output capture, and reproducible artifacts without JSON parsing.
Install
npx vskill@latest install yang0/skill_grok/grok-query-scrapeSKILL.md
Grok Query Scrape
Use this skill to run a repeatable Grok automation workflow:
- Load Netscape-format cookies (for logged-in session reuse)
- Open Grok in a browser session
- Submit the prompt exactly as provided
- Wait for answer generation to stabilize
- Return and save raw output only (no parsing)
Language guides:
- Chinese guide: references/usage_zh.md
- English guide: references/usage_en.md
Workflow
- Install runtime dependencies when missing:
- Prepare a cookie file in Netscape format (example:
H:\cookies\grok.txt).
- Run the script:
- Check outputs:
<stdout>: Grok response text (verbatim capture frommain)<basename>_raw.txt: same raw Grok response text saved to file<basename>_meta.json: run metadata and paths
Script
Use query_grok.py for execution.
Key flags:
--cookie-file: Netscape cookie txt path (required)--prompt: inline prompt--prompt-file: prompt text file (alternative to--prompt)--output-dir: output folder (default.)--basename: output filename prefix (defaultgrok_result)--wait-seconds: max wait for response stabilization (default180)--headless: run browser headless--new-chat: sendCtrl+Jbefore query to reduce contamination (enabled by default)
Prompting Guidance
This skill forwards the prompt as-is, so put all constraints directly into your prompt text.
Failure Handling
If the output format is not what you need:
- Keep
_raw.txtas ground truth. - Tighten the prompt and retry.
- Keep
--new-chatenabled for isolation. - Increase
--wait-secondswhen generation is long.
If login fails:
- Refresh cookie file from a valid browser session.
- Keep domain/path/secure flags intact in Netscape format.
- Retry with
--headlessdisabled to inspect behavior.
scripts/
- query_grok.py: submit prompt, wait for answer, return/save raw/meta only.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill/grok-query-scrape/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yang0/skill_grok/grok-query-scrape)