Claude Code Skill
Install the goodtake-generate skill to generate images via the gt CLI
What's a skill?
Skills extend Claude Code with pre-written instructions. The goodtake-generate skill tells Claude Code how to invoke gt generate image correctly — handling model selection, aspect ratios, reference images, and error recovery automatically.
This is a lightweight alternative to the MCP server: instead of making HTTP calls to mcp.goodtake.ai, Claude runs the local gt CLI you already have installed.
Prerequisites
-
Install the CLI:
npm install -g @goodtake/cli -
Authenticate:
gt auth login
Install the skill
npx skills add goodtake-ai/skillsRestart Claude Code to pick up the new skill.
Usage
Once installed, ask Claude Code naturally:
"Generate an image of a futuristic city at night"
"Create a product shot of white sneakers on a marble surface, 1:1 aspect ratio"
"Use GoodTake to make a 16:9 hero banner with abstract gradients"
"Generate with gpt-image-2: a red fox in snow, high quality"
The skill invokes gt generate image and returns the downloaded file path or URL.
What the skill handles
- Checks that
gtis installed and authenticated before generating - Selects default model (
gpt-image-2) if you don't specify one - Passes
--paramflags for model-specific options likequality,num_images,style - Uses
--referencefor image-to-image editing - Handles
Insufficient creditsandunknown modelerrors with actionable guidance - Returns the output path on success — no noise
Manual install (alternative)
If npx skills add is not available, clone github.com/goodtake-ai/skills and follow the instructions in INSTALL.md.