Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 79
  • 668 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-agent

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install saa-agent in Claude Code

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

A

No 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 →

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.

saa-agent Install

Add to stack

Loading.