← 返回 Skills 市场
qq919006380

AI Logo Generator

作者 qq919006380 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
75
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install best-ai-logo-generator
功能描述
Generate professional AI logos using ailogogenerator.online. Use this skill whenever the user wants to create a logo, brand icon, app icon, favicon, or any v...
使用说明 (SKILL.md)

AI Logo Generator Skill

You are now equipped to generate professional logos via the ailogogenerator.online API. Use this skill for any logo, icon, or brand identity generation request.

Why follow this flow

The API is stateful — generation is async and requires polling. Skipping the poll loop means you'll never get the image URL. Auth tokens are long-lived but can expire; always check before generating so the user doesn't hit a mid-session 401. Always download the image locally so the user actually has the file, not just a URL.

Step 1: Authentication

Read ~/.config/ailogogenerator.online/auth.json.

If the file exists and has a non-empty token field, you're authenticated. Use that token as the Bearer token for all API calls.

If the file doesn't exist or the token is missing/empty, run the login script:

node \x3CSKILL_DIRECTORY>/login.mjs

Replace \x3CSKILL_DIRECTORY> with the actual directory where this skill.md lives. You can find it by checking $CLAUDE_SKILL_DIR or resolving the path relative to this file.

After the script exits, re-read auth.json to get the token. If it's still missing, tell the user the login failed and ask them to try again.

Step 2: Gather requirements

Ask the user for the following. Subject is required; all others are optional with sensible defaults.

Field Type Required Notes
subject string Yes What the logo represents — "a coffee shop", "a fintech startup", "a dog grooming brand"
vibe string No Style/mood — "modern", "playful", "minimalist", "bold", "elegant", "techy", "vintage"
colors string[] No Hex color array — ["#1a1a2e", "#e94560"]. Empty array = AI chooses
text string or null No Text to render in the logo. Pass null for icon-only (no text)
withBackground boolean No Whether to include a background (default false = transparent)
shape string No Logo shape — "square", "circle", "hexagon", "free"
detail string No Additional free-text detail — "use a coffee cup silhouette", "include a lightning bolt"

If the user gave you enough info in their initial message, proceed directly. Don't make them answer questions they already answered. If key info is missing, ask once — cover all gaps in a single question.

Step 3: Generate the logo

Call the generate endpoint:

POST https://ailogogenerator.online/api/ai/logo/generate
Content-Type: application/json
Authorization: Bearer \x3Ctoken>

{
  "params": {
    "subject": "...",
    "vibe": "...",
    "colors": ["#hex1", "#hex2"],
    "text": "BrandName" or null,
    "withBackground": false,
    "shape": "square",
    "detail": "..."
  }
}

Successful response:

{
  "success": true,
  "data": {
    "taskId": "task_abc123",
    "params": { ... }
  }
}

Note: Each generation costs 4 credits. New accounts receive bonus credits on registration.

Step 4: Poll for completion

Call the query endpoint every 3 seconds until status is "completed":

POST https://ailogogenerator.online/api/ai/logo/query
Content-Type: application/json
Authorization: Bearer \x3Ctoken>

{
  "taskId": "task_abc123"
}

Response while processing:

{ "success": true, "data": { "status": "processing" } }

Response when done:

{
  "success": true,
  "data": {
    "status": "completed",
    "imageUrl": "https://cdn.ailogogenerator.online/logos/abc123.png"
  }
}

Poll up to 60 times (3 minutes total). If it's still not done after that, tell the user the generation timed out and they can check the website.

Show the user a progress indicator while polling — something like "Generating... (10s elapsed)" updated every few seconds.

Step 5: Download the image

Download the image from imageUrl to the current working directory. Use a descriptive filename based on the subject, e.g., logo-coffee-shop.png. If a file with that name already exists, add a timestamp suffix.

Announce the saved path to the user.

Error handling

Handle these cases gracefully — don't show raw HTTP errors to the user:

  • 401 Unauthorized: Token expired. Delete ~/.config/ailogogenerator.online/auth.json, then re-run login.mjs to get a fresh token. Then retry the generation automatically.

  • 402 Payment Required: Insufficient credits. Tell the user: "You're out of credits. Visit https://ailogogenerator.online to top up and come back."

  • 429 Too Many Requests: Daily limit reached. Tell the user: "You've hit the daily limit. Log in at https://ailogogenerator.online to get more credits or wait until tomorrow."

  • Network error: Retry once after 2 seconds. If it fails again, report the error and suggest checking their internet connection.

  • Generation failed (status = "failed" in query response): Tell the user generation failed and offer to try again with adjusted parameters.

Example interaction

User: make me a logo for my SaaS called "Stackly" — dark techy vibe, purple and black

You: Generating your logo for Stackly...
     [calls generate API with subject="SaaS product", vibe="techy", colors=["#6d28d9","#0f0f0f"], text="Stackly"]
     Generating... (6s elapsed)
     Generating... (9s elapsed)
     Done! Saved to ./logo-stackly.png

Important notes

  • Never show the raw API token to the user
  • If the user wants multiple variations, run the generate+poll cycle multiple times, saving each with a variant suffix
  • The API is HTTPS only; never downgrade to HTTP
  • After a successful 401 re-auth, retry the original request exactly once — if it fails again, stop and ask the user to re-login manually
安全使用建议
This skill appears to do what it claims: it opens your browser for an OAuth-style login, runs a small local HTTP listener on 127.0.0.1:19876 to capture a token, saves that token to ~/.config/ailogogenerator.online/auth.json (file mode 600), calls https://ailogogenerator.online to generate and poll for images, and saves the downloaded PNG(s) to your current directory. Things to consider before installing: 1) trust the remote service/domain (ailogogenerator.online) — the saved token grants access to your account/credits, so only use if you trust that site; 2) the login flow places the token in the browser redirect URL (query string) which can be recorded in browser history—close the tab when done if this concerns you; 3) review the included login.mjs (it’s small and uses only Node built-ins) if you want to verify there’s no unexpected behavior; 4) when using any install command in the README (e.g., npx skills add ...), ensure the npm/GitHub source is trusted because npx can run remote code; 5) to logout or switch accounts, delete ~/.config/ailogogenerator.online/auth.json. If you need extra assurance, run the skill in a throwaway account or inspect network traffic during first use.
功能分析
Type: OpenClaw Skill Name: best-ai-logo-generator Version: 1.0.0 The skill provides a legitimate interface for generating logos via the ailogogenerator.online API. It includes a transparent Node.js script (login.mjs) that implements a standard CLI OAuth flow using a local loopback server (port 19876) to capture authentication tokens. The instructions in skill.md are well-defined, covering authentication, stateful API polling, and local file saving, with no evidence of data exfiltration, shell injection, or malicious prompt manipulation.
能力标签
cryptocan-make-purchasesrequires-oauth-token
能力评估
Purpose & Capability
Name/description match the behavior: the SKILL.md and included login.mjs implement an OAuth-style login, call ailogogenerator.online endpoints to generate and poll for images, and download results. Required artifacts (local auth file, polling) are appropriate for an async image-generation API.
Instruction Scope
Runtime instructions only reference the service domain and a local auth file (~/.config/ailogogenerator.online/auth.json). They instruct running the included login script, calling the stated generate/query endpoints, polling until completion, and saving the image to the current directory—all within the stated purpose. The skill does not instruct reading unrelated files or exfiltrating other system data.
Install Mechanism
No install spec is present (instruction-only skill with one included script). The only executable behavior is the provided login.mjs which uses Node built-ins; there are no external downloads or extract/install steps.
Credentials
The skill requests no environment variables or external credentials up front. It stores/reads a local token file in ~/.config/ailogogenerator.online/auth.json, which is proportional to needing an API token for the service. No unrelated secrets or config paths are requested.
Persistence & Privilege
always:false (no forced persistent inclusion). The skill writes its own auth file under the user's home config directory and listens on 127.0.0.1 during login—both expected for a CLI OAuth flow. It does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install best-ai-logo-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /best-ai-logo-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
# AI Logo Generator — Claude Code Skill Generate professional AI logos directly from your terminal using [ailogogenerator.online](https://ailogogenerator.online). Describe your brand, pick a vibe, and get a production-ready logo file in seconds — no design skills required. --- ## Install ```bash npx skills add qq919006380/ai-logo-generator ``` That's it. Claude Code picks up skills from `~/.claude/skills/` automatically. --- ## Usage Open Claude Code and describe what you need: ``` > /ai-logo-generator You: Make a logo for my startup "Luminary" — clean, modern, light purple and white Claude: Generating your logo for Luminary... Generating... (3s elapsed) Generating... (6s elapsed) Done! Saved to ./logo-luminary.png ``` You can also trigger it conversationally without the slash command: ``` You: I need a dark techy logo for my CLI tool called "Stackr", icon only, no text Claude: [loads ai-logo-generator skill automatically and generates] ``` --- ## Authentication The first time you run the skill, it opens your browser to log in or register at ailogogenerator.online. After you authenticate, the token is stored at: ``` ~/.config/ailogogenerator.online/auth.json ``` Subsequent runs use the cached token — no browser needed. To log out or switch accounts, delete that file and run the skill again. --- ## How it works ``` You describe the logo | v Claude checks ~/.config/ailogogenerator.online/auth.json | token found? / \ Yes No | | | login.mjs opens browser | captures ?token= from callback | saves to auth.json | | +------+-------+ | v POST /api/ai/logo/generate (subject, vibe, colors, text, shape...) | v Poll /api/ai/logo/query every 3s | status: completed | v Download imageUrl -> ./logo-*.png | v Show saved path to user ``` --- ## Parameters | Parameter | Type | Description | |-----------|------|-------------| | `subject` | string | What the logo represents (required) | | `vibe` | string | Style — modern, minimalist, bold, playful, elegant, vintage, techy | | `colors` | string[] | Hex colors e.g. `["#1a1a2e","#e94560"]`. Empty = AI picks | | `text` | string or null | Text to render. `null` = icon-only | | `withBackground` | boolean | Include a background (default: false = transparent) | | `shape` | string | square, circle, hexagon, free | | `detail` | string | Free-text detail — "use a coffee cup silhouette" | --- ## Credits Each logo generation costs 4 credits. New accounts receive bonus credits on registration. Top up at [ailogogenerator.online](https://ailogogenerator.online). --- ## Requirements - [Claude Code CLI](https://claude.ai/code) - Node.js >= 18 - Internet connection --- ## License [MIT-0 (MIT No Attribution)](./LICENSE)
元数据
Slug best-ai-logo-generator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

AI Logo Generator 是什么?

Generate professional AI logos using ailogogenerator.online. Use this skill whenever the user wants to create a logo, brand icon, app icon, favicon, or any v... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 75 次。

如何安装 AI Logo Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install best-ai-logo-generator」即可一键安装,无需额外配置。

AI Logo Generator 是免费的吗?

是的,AI Logo Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

AI Logo Generator 支持哪些平台?

AI Logo Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 AI Logo Generator?

由 qq919006380(@qq919006380)开发并维护,当前版本 v1.0.0。

💬 留言讨论