samotech/skills-tree/image-gen-tool
Claude Code and agent skill by samotech/skills-tree
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use an image-generation API as an agent tool with validated prompts, explicit model parameters, and verified outputs.
Install
npx vskill@latest install samotech/skills-tree/image-gen-toolSKILL.md
The same SKILL.md was published earlier as samotech/skills-tree/image-gen-tool.
Image Generation Tool
Description
Use an image-generation provider as a bounded agent tool. Validate the request before invocation, keep credentials server-side, make model and output parameters explicit, and verify that the returned asset can actually be consumed by the next workflow step.
When to Use
- Generate an image from a text or structured prompt.
- Produce a controlled variant of an existing asset when the provider supports image editing.
- Return a provider response to an agent without exposing provider credentials.
Inputs / outputs / failure modes
| Area | Guidance | |
|---|---|---|
| Prompt | Specific visual intent, constraints, and required exclusions. | |
| Model | Explicit provider model identifier; do not assume availability. | |
| Parameters | Size, quality, format, and count only when supported by the selected model. | |
| Output | Asset identifier, URL, or binary payload returned by the provider. | |
| Security | Keep API keys in environment-managed secrets. | |
| Verification | Confirm the response contains the expected asset before downstream use. | |
| Failure modes | Invalid prompt, unsupported parameter, quota error, policy rejection, timeout, or unusable output. |
Runnable Example
Failure modes
- Hard-coding credentials or returning them through tool output.
- Assuming a model, size, or response field is supported without checking provider documentation.
- Treating an accepted request as proof that the asset is usable.
- Sending uncontrolled user input directly into a privileged image workflow.
- Persisting provider URLs without considering their lifetime or access requirements.
Evidence
- OpenAI Images API documentation: https://platform.openai.com/docs/guides/images
- Repository schema and tool-use validation workflows are authoritative for repository conformance.
Related
- 07-tool-use
- 08-multimodal
- input-guardrails
- output-guardrails
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 repositoryCheckingagent-skills/image-gen-tool/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (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/samotech/skills-tree/image-gen-tool)