grok-cli-runner

Automate Grok Build CLI tasks with artifact logging for auditability.

1|1|Updated Jul 24, 2014
One-click install
npx skills add https://github.com/rmanzoku/dotfiles --skill grok-cli-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grok-cli-runner
Source: https://github.com/rmanzoku/dotfiles/tree/main/skills/grok-cli-runner
Command: npx skills add https://github.com/rmanzoku/dotfiles --skill grok-cli-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires grok-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the execution of Grok Build CLI tasks, ensuring that each run is logged with artifacts for easy auditability and reproducibility.

Core Features & Use Cases

  • Headless Execution: Runs Grok Build CLI commands without a GUI, suitable for automations and scripts.
  • Artifact Logging: Automatically records request, response, summary, stderr, and failure notes in a structured directory.
  • Use Case: Ideal for integrating Grok Build into CI/CD pipelines, batch processing tasks, or automating research and review workflows.

Quick Start

Run a Grok Build task with logging by using the grok-cli-runner skill on the Grok request file 'task-grok-request.json'.

Frequently Asked Questions about grok-cli-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Grok Build CLI tasks for headless execution?

You can automate Grok Build CLI tasks by running them through a script that executes commands without a GUI, utilizing a request artifact to define the task, model, and permissions for headless execution.

What is the best way to log Grok CLI execution artifacts for auditability?

Logging Grok CLI execution artifacts involves automatically recording request, response, summary, stderr, and failure notes in a structured directory, ensuring each run is reproducible and auditable.

Do I need a specific file format to define permissions for Grok CLI automation?

Yes, Grok CLI automation requires a request artifact file, such as a JSON file defining the task, model, and permissions, to properly execute and log the interaction.

Can I integrate Grok Build text generation and code analysis into a CI/CD pipeline?

Integrating Grok Build into a CI/CD pipeline is possible by calling the CLI runner in headless mode, allowing you to batch process text generation and code analysis tasks while capturing structured logs.

Why does my Grok Build task execution fail without a request artifact?

Grok Build task execution fails without a request artifact because the CLI runner requires this file to define the specific task, model parameters, and permissions needed to process and log the interaction.

What limitations exist when running Grok CLI commands without a GUI?

Running Grok CLI commands without a GUI limits direct interaction but suits automations and scripts, relying entirely on predefined request artifacts to execute tasks like code analysis and text generation.