[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75ETZE3VWPFN54F2WPZXKVD":3,"skill-same:01M75ETZE3VWPFN54F2WPZXKVD":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":6,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M75ETZE3VWPFN54F2WPZXKVD","grok-image-cli",null,"Generate and edit images via Grok API from the command line. Cross-platform secure credential storage for xAI API key. Supports batch generation, aspect ratios, and style transfer.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcyberash-dev\u002Fgrok-image-cli\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: grok-image-cli\ndescription: Generate and edit images via Grok API from the command line. Cross-platform secure credential storage for xAI API key. Supports batch generation, aspect ratios, and style transfer.\nmetadata: {\"clawdbot\":{\"emoji\":\"🎨\",\"os\":[\"macos\",\"windows\",\"linux\"],\"requires\":{\"bins\":[\"grok-img\",\"node\"],\"env\":{\"XAI_API_KEY\":{\"required\":false,\"description\":\"xAI API key (fallback when no credential store entry exists)\"}}},\"credentials\":[{\"id\":\"xai-api-key\",\"label\":\"xAI API key\",\"storage\":\"cross-keychain\",\"service\":\"grok-image-cli\",\"account\":\"api-key\",\"env_fallback\":\"XAI_API_KEY\"}],\"install\":[{\"id\":\"npm\",\"kind\":\"shell\",\"command\":\"npm install -g grok-image-cli\",\"bins\":[\"grok-img\"],\"label\":\"Install grok-image-cli via npm\"},{\"id\":\"source\",\"kind\":\"shell\",\"command\":\"git clone https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli.git && cd grok-image-cli && npm install && npm run build && npm link\",\"bins\":[\"grok-img\"],\"label\":\"Install from source (audit before running)\"}],\"source\":\"https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli\"}}\n---\n\n# grok-image-cli\n\nA CLI for generating and editing images using the xAI Grok API. Supports multiple models: `grok-imagine-image` (default), `grok-imagine-image-pro`, `grok-2-image-1212`. Powered by the official `@ai-sdk\u002Fxai` SDK. Credentials are stored in the OS native credential store (macOS Keychain, Windows Credential Manager, Linux Secret Service) via `cross-keychain`.\n\n## Installation\n\nRequires Node.js >= 20.19.0. Works on macOS, Windows, and Linux. The package is fully open source under the MIT license: https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli\n\n```bash\nnpm install -g grok-image-cli\n```\n\nThe npm package is published with provenance attestation, linking each release to its source commit via GitHub Actions. You can verify the published contents before installing:\n```bash\nnpm pack grok-image-cli --dry-run\n```\n\nInstall from source (if you prefer to audit the code before running):\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli.git\ncd grok-image-cli\nnpm install && npm run build && npm link\n```\n\nAfter installation the `grok-img` command is available globally.\n\n## Quick Start\n\n```bash\ngrok-img auth login                                                      # Interactive prompt: enter xAI API key\ngrok-img generate \"A futuristic city skyline at night\"                   # Generate with default model\ngrok-img generate \"A futuristic city skyline at night\" -m grok-imagine-image-pro  # Use pro model\ngrok-img edit \"Make it a watercolor painting\" -i .\u002Fphoto.jpg             # Edit an existing image\n```\n\n## API Key Management\n\nStore API key (interactive prompt):\n```bash\ngrok-img auth login\n```\n\nShow stored key (masked) and source:\n```bash\ngrok-img auth status\n```\n\nRemove key from credential store:\n```bash\ngrok-img auth logout\n```\n\nThe CLI also supports the `XAI_API_KEY` environment variable as a fallback when no credential store entry is found.\n\n## Image Generation\n\n```bash\ngrok-img generate \"A collage of London landmarks in street-art style\"\ngrok-img generate \"Mountain landscape at sunrise\" -n 4 -a 16:9\ngrok-img generate \"A serene Japanese garden\" -o .\u002Fmy-images\ngrok-img generate \"Photorealistic portrait\" -m grok-imagine-image-pro\ngrok-img generate \"Abstract art\" -m grok-2-image-1212\n```\n\n## Image Editing\n\nEdit a local file or a remote URL:\n```bash\ngrok-img edit \"Change the landmarks to New York City\" -i .\u002Flandmarks.jpg\ngrok-img edit \"Render as a pencil sketch\" -i https:\u002F\u002Fexample.com\u002Fportrait.jpg\ngrok-img edit \"Add a vintage film grain effect\" -i .\u002Fphoto.jpg -a 3:2 -o .\u002Fedited\n```\n\n## Flag Reference\n\n### `generate`\n| Flag | Description | Default |\n|------|-------------|---------|\n| `-m, --model \u003Cmodel>` | Model (grok-imagine-image, grok-imagine-image-pro, grok-2-image-1212) | grok-imagine-image |\n| `-a, --aspect-ratio \u003Cratio>` | Aspect ratio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20, auto) | auto |\n| `-n, --count \u003Cnumber>` | Number of images to generate (1-10) | 1 |\n| `-o, --output \u003Cdir>` | Output directory | .\u002Fgrok-images |\n\n### `edit`\n| Flag | Description | Default |\n|------|-------------|---------|\n| `-i, --image \u003Cpath>` | Source image (local file path or URL) | **required** |\n| `-m, --model \u003Cmodel>` | Model (grok-imagine-image, grok-imagine-image-pro, grok-2-image-1212) | grok-imagine-image |\n| `-a, --aspect-ratio \u003Cratio>` | Aspect ratio | auto |\n| `-o, --output \u003Cdir>` | Output directory | .\u002Fgrok-images |\n\n## Security and Data Storage\n\nThe following properties are by design and can be verified in the source code:\n\n- **xAI API key**: stored in the OS native credential store via `cross-keychain` (macOS Keychain \u002F Windows Credential Manager \u002F Linux Secret Service; service: `grok-image-cli`, account: `api-key`). By design, never written to disk in plaintext. If no credential store entry is found, the CLI falls back to the `XAI_API_KEY` environment variable. See [`src\u002Finfrastructure\u002Fadapters\u002Fcredential-store.adapter.ts`](https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli\u002Fblob\u002Fmain\u002Fsrc\u002Finfrastructure\u002Fadapters\u002Fcredential-store.adapter.ts) for the implementation.\n- **No config files**: all settings are passed via CLI flags. Nothing is stored on disk besides the credential store entry.\n- **Network**: the API key is only sent to `api.x.ai` over HTTPS via the official `@ai-sdk\u002Fxai` SDK. When editing images with a remote URL (`-i https:\u002F\u002F...`), the SDK makes an additional outbound HTTPS request to fetch the source image. No other outbound connections are made by the CLI itself (npm\u002Fgit fetches during installation are standard package manager behavior). See [`src\u002Finfrastructure\u002Fadapters\u002Fgrok-api.adapter.ts`](https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli\u002Fblob\u002Fmain\u002Fsrc\u002Finfrastructure\u002Fadapters\u002Fgrok-api.adapter.ts).\n- **Generated images**: saved to the local output directory (default: `.\u002Fgrok-images`). No images are cached or uploaded elsewhere.\n\n## API Reference\n\nThis CLI wraps the xAI Image Generation API via the Vercel AI SDK:\n- Generation: `POST \u002Fv1\u002Fimages\u002Fgenerations`\n- Editing: `POST \u002Fv1\u002Fimages\u002Fedits`\n\nDocumentation: https:\u002F\u002Fdocs.x.ai\u002Fdocs\u002Fguides\u002Fimage-generation\n","# grok-image-cli\n\nA CLI for generating and editing images using the xAI Grok API. Supports multiple models: `grok-imagine-image` (default), `grok-imagine-image-pro`, `grok-2-image-1212`. Powered by the official `@ai-sdk\u002Fxai` SDK. Credentials are stored in the OS native credential store (macOS Keychain, Windows Credential Manager, Linux Secret Service) via `cross-keychain`.\n\n## Installation\n\nRequires Node.js >= 20.19.0. Works on macOS, Windows, and Linux. The package is fully open source under the MIT license: https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli\n\n```bash\nnpm install -g grok-image-cli\n```\n\nThe npm package is published with provenance attestation, linking each release to its source commit via GitHub Actions. You can verify the published contents before installing:\n```bash\nnpm pack grok-image-cli --dry-run\n```\n\nInstall from source (if you prefer to audit the code before running):\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli.git\ncd grok-image-cli\nnpm install && npm run build && npm link\n```\n\nAfter installation the `grok-img` command is available globally.\n\n## Quick Start\n\n```bash\ngrok-img auth login                                                      # Interactive prompt: enter xAI API key\ngrok-img generate \"A futuristic city skyline at night\"                   # Generate with default model\ngrok-img generate \"A futuristic city skyline at night\" -m grok-imagine-image-pro  # Use pro model\ngrok-img edit \"Make it a watercolor painting\" -i .\u002Fphoto.jpg             # Edit an existing image\n```\n\n## API Key Management\n\nStore API key (interactive prompt):\n```bash\ngrok-img auth login\n```\n\nShow stored key (masked) and source:\n```bash\ngrok-img auth status\n```\n\nRemove key from credential store:\n```bash\ngrok-img auth logout\n```\n\nThe CLI also supports the `XAI_API_KEY` environment variable as a fallback when no credential store entry is found.\n\n## Image Generation\n\n```bash\ngrok-img generate \"A collage of London landmarks in street-art style\"\ngrok-img generate \"Mountain landscape at sunrise\" -n 4 -a 16:9\ngrok-img generate \"A serene Japanese garden\" -o .\u002Fmy-images\ngrok-img generate \"Photorealistic portrait\" -m grok-imagine-image-pro\ngrok-img generate \"Abstract art\" -m grok-2-image-1212\n```\n\n## Image Editing\n\nEdit a local file or a remote URL:\n```bash\ngrok-img edit \"Change the landmarks to New York City\" -i .\u002Flandmarks.jpg\ngrok-img edit \"Render as a pencil sketch\" -i https:\u002F\u002Fexample.com\u002Fportrait.jpg\ngrok-img edit \"Add a vintage film grain effect\" -i .\u002Fphoto.jpg -a 3:2 -o .\u002Fedited\n```\n\n## Flag Reference\n\n### `generate`\n| Flag | Description | Default |\n|------|-------------|---------|\n| `-m, --model \u003Cmodel>` | Model (grok-imagine-image, grok-imagine-image-pro, grok-2-image-1212) | grok-imagine-image |\n| `-a, --aspect-ratio \u003Cratio>` | Aspect ratio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20, auto) | auto |\n| `-n, --count \u003Cnumber>` | Number of images to generate (1-10) | 1 |\n| `-o, --output \u003Cdir>` | Output directory | .\u002Fgrok-images |\n\n### `edit`\n| Flag | Description | Default |\n|------|-------------|---------|\n| `-i, --image \u003Cpath>` | Source image (local file path or URL) | **required** |\n| `-m, --model \u003Cmodel>` | Model (grok-imagine-image, grok-imagine-image-pro, grok-2-image-1212) | grok-imagine-image |\n| `-a, --aspect-ratio \u003Cratio>` | Aspect ratio | auto |\n| `-o, --output \u003Cdir>` | Output directory | .\u002Fgrok-images |\n\n## Security and Data Storage\n\nThe following properties are by design and can be verified in the source code:\n\n- **xAI API key**: stored in the OS native credential store via `cross-keychain` (macOS Keychain \u002F Windows Credential Manager \u002F Linux Secret Service; service: `grok-image-cli`, account: `api-key`). By design, never written to disk in plaintext. If no credential store entry is found, the CLI falls back to the `XAI_API_KEY` environment variable. See [`src\u002Finfrastructure\u002Fadapters\u002Fcredential-store.adapter.ts`](https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli\u002Fblob\u002Fmain\u002Fsrc\u002Finfrastructure\u002Fadapters\u002Fcredential-store.adapter.ts) for the implementation.\n- **No config files**: all settings are passed via CLI flags. Nothing is stored on disk besides the credential store entry.\n- **Network**: the API key is only sent to `api.x.ai` over HTTPS via the official `@ai-sdk\u002Fxai` SDK. When editing images with a remote URL (`-i https:\u002F\u002F...`), the SDK makes an additional outbound HTTPS request to fetch the source image. No other outbound connections are made by the CLI itself (npm\u002Fgit fetches during installation are standard package manager behavior). See [`src\u002Finfrastructure\u002Fadapters\u002Fgrok-api.adapter.ts`](https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli\u002Fblob\u002Fmain\u002Fsrc\u002Finfrastructure\u002Fadapters\u002Fgrok-api.adapter.ts).\n- **Generated images**: saved to the local output directory (default: `.\u002Fgrok-images`). No images are cached or uploaded elsewhere.\n\n## API Reference\n\nThis CLI wraps the xAI Image Generation API via the Vercel AI SDK:\n- Generation: `POST \u002Fv1\u002Fimages\u002Fgenerations`\n- Editing: `POST \u002Fv1\u002Fimages\u002Fedits`\n\nDocumentation: https:\u002F\u002Fdocs.x.ai\u002Fdocs\u002Fguides\u002Fimage-generation\n",{"name":5,"metadata":24,"description":7},{"clawdbot":25},{"os":26,"emoji":30,"source":31,"install":32,"requires":45,"credentials":51},[27,28,29],"macos","windows","linux","🎨","https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli",[33,40],{"id":34,"bins":35,"kind":37,"label":38,"command":39},"npm",[36],"grok-img","shell","Install grok-image-cli via npm","npm install -g grok-image-cli",{"id":41,"bins":42,"kind":37,"label":43,"command":44},"source",[36],"Install from source (audit before running)","git clone https:\u002F\u002Fgithub.com\u002Fcyberash-dev\u002Fgrok-image-cli.git && cd grok-image-cli && npm install && npm run build && npm link",{"env":46,"bins":49},{"XAI_API_KEY":47},{"required":20,"description":48},"xAI API key (fallback when no credential store entry exists)",[36,50],"node",[52],{"id":53,"label":54,"account":55,"service":5,"storage":56,"env_fallback":57},"xai-api-key","xAI API key","api-key","cross-keychain","XAI_API_KEY","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fcyberash-dev\u002Fgrok-image-cli",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill grok-image-cli",{"tool":73,"command":74},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill grok-image-cli",{"tool":76,"command":77},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill grok-image-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcyberash-dev\u002Fgrok-image-cli\u002FSKILL.md",true,[],[82,90,97,104,111,118],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":89},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":89},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":89},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":89},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":89},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":89},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]