saa-agent
Skill by mirabarukaso
Generates images through the Character Select Stand Alone App (SAA) backend and polishes prompts with its AI Prompt panel. Built for AI agents that drive SAA from the command line over WebSocket.
Install saa-agent
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mirabarukaso/character_select_stand_alone_app /tmp/character_select_stand_alone_app && mkdir -p ~/.claude/skills && cp -r /tmp/character_select_stand_alone_app/scripts/python/saa-agent ~/.claude/skills/saa-agentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mirabarukaso/character_select_stand_alone_app /tmp/character_select_stand_alone_app && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/character_select_stand_alone_app/scripts/python/saa-agent ~/.gemini/antigravity-cli/skills/saa-agentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
saa-agent is a skill that lets an AI agent generate images through the Character Select Stand Alone App (SAA) backend. It uses a command-line tool, saa-agent.py, that connects over WebSocket and supports both ComfyUI and WebUI backends. Regional prompting for split composition is also covered.
The AI Prompt feature polishes a short brief into tags or a natural paragraph using the host panel's Remote or Local LLM. Image generation itself does not call the language model, so the agent runs two steps: polish first, then generate with the returned text. The skill is aimed at agents and users who already run SAA and want scripted image generation. It also sets rules for busy backends, HiResFix and skeleton key use.
Written from the project's SKILL.md and checked against it.
What it can do
- Image generationGenerates an image from a positive and negative prompt on the SAA backend.
- Regional promptingBuilds a split composition from left and right positive prompts.
- AI Prompt polishingRewrites a brief into a polished prompt using a host AI Prompt template.
- List AI templatesLists the AI Prompt templates available from the host.
- Model selectionChanges the checkpoint model, dimensions, steps, seed and sampler.
- Base64 outputPrints image data as base64 to stdout instead of saving a file.
What you need
- Character Select Stand Alone App backend 2.9.0 or later for image generation
- Character Select Stand Alone App backend 2.11.0 or later for AI Prompt
- SAAC (SAA Client) feature enabled in SAA
- WebSocket address for the SAA backend
- Python 3 (python3 on some Mac systems)
- For AI Prompt: host Backend set to Remote or Local with URL and key configured
Try asking
- Polish this brief into tags, then generate an image: rainy neon alley, cyberpunk
- Generate a 1girl with long blue hair in anime style using SAA
- Make a regional image with a warrior on the left and a mage on the right
Good to know
- Image generation does not call the language model; AI Prompt must run as a separate step.
- Overwrite and Append into host prompt boxes are UI-only and not done by this CLI.
- HiResFix should only be used when the user requests it, since it adds generation time and GPU load.
- The skeleton key option forcefully unlocks a backend lock and needs user confirmation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: scripts/python/saa-agent/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to saa-agent
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
saa-agent: common questions
What backends does saa-agent support?
The source says it supports both ComfyUI and WebUI backends for image generation. The AI Prompt panel uses a Remote or Local LLM.
Does image generation use the language model?
No. The source says image generation does not call the language model, so polishing with --ai-prompt is a separate step.
What should I do if the backend reports it is busy?
The source says not to retry automatically. The user should wait 20 to 60 seconds and retry manually.
How do I install saa-agent?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is saa-agent free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is saa-agent safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to saa-agent?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
