From claude-soma
Generates an image via the grok CLI (/imagine command) and returns a local file path. Used as one of two providers in a parallel dual-image dispatch system.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-soma:grok-imageopusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
When invoked, you have a `prompt` describing the desired image.
When invoked, you have a prompt describing the desired image.
The mcp__grok_image__generate_image MCP tool calls the grok CLI:
grok -p "/imagine <prompt>" --output-format json
The CLI returns a JSON envelope with a text field containing a markdown image
link. The server extracts the path and copies the file to output_dir (default
/tmp). Returns {"path": str, "session_id": str}.
mcp__grok_image__generate_image with the user's prompt and
output_dir="/tmp".{"path": "<absolute path>", "session_id": "<id>"}.If mcp__grok_image__generate_image raises a RuntimeError or FileNotFoundError,
return a plain dict indicating the error:
{"error": "<error message>", "provider": "grok"}
The orchestrator will surface this in the reply caption alongside the other provider's successful result.
npx claudepluginhub techfreakworm/claude-somaCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.