本文へ移動
cccskills
無料GitHub で公開

allow1

Use when generating, vectorizing, or converting images to SVG — logos, icons, illustrations, or 'allow1'/'quiver' references.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

ALLOW 1 (Quiver AI) — SVG Generation & Vectorization Skill

Uses the Quiver AI API to perform professional-level SVG generation from text prompts (Text-to-SVG) and raster image to SVG conversion (Image-to-SVG).


Prerequisites

  • ALLOW1_API_KEY environment variable is set
  • Base URL: https://api.quiver.ai/v1
  • Model: arrow-preview (current public model)

Quick Reference

FeatureSubcommandReference
Text-to-SVG Generationgeneratereferences/text-to-svg.md
Image-to-SVG Conversionvectorizereferences/image-to-svg.md
Batch Generationbatchreferences/batch-workflow.md
API Reference—references/api-reference.md
Prompt Guide—references/prompt-guide.md
  • "Create SVG" / "Generate logo" / "Create icon" → Text-to-SVG
  • "Convert image to SVG" / "Vectorize" / "Trace" → Image-to-SVG
  • "allow1" / "quiver" → This skill in general
  • "Batch SVG" / "Multiple SVG" → Batch generation

Execution Flow

/allow1 [generate|vectorize|batch] [prompt or image]
    |
    +--[Step 1] Environment check
    |   +-- Verify $ALLOW1_API_KEY exists
    |   +-- Verify connection by fetching model list (GET /v1/models)
    |
    +--[Step 2] Requirements gathering (AskUserQuestion as needed)
    |   +-- Purpose: Logo / Icon / Illustration / UI parts
    |   +-- Style: Minimal / Flat / Line art / Gradient
    |   +-- Output count (n): 1-16 (default 4)
    |   +-- Save path
    |
    +--[Step 3] API execution
    |   +-- generate: POST /v1/svgs/generations
    |   +-- vectorize: POST /v1/svgs/vectorizations
    |   +-- batch: Execute multiple requests sequentially (rate limit aware)
    |
    +--[Step 4] Result processing
    |   +-- Save as SVG file
    |   +-- Token usage report
    |   +-- Retry as needed (429 / 5xx errors)
    |
    +--[Step 5] Optimization (optional)
        +-- Optimization suggestions via SVGO
        +-- Advice on viewBox / color adjustments

Basic Usage Examples

Text-to-SVG

# Simple logo generation
/allow1 generate "A minimalist mountain logo for a hiking app"

# With style instructions
/allow1 generate "Dashboard icon set" --style flat --n 8

Image-to-SVG

# Vectorize image file
/allow1 vectorize ./assets/logo.png

# Convert directly from URL
/allow1 vectorize https://example.com/image.png --auto-crop

Batch Generation

# Batch-generate multiple icons
/allow1 batch "home icon" "settings icon" "profile icon" "search icon"

API Call Patterns (curl)

Environment Variable Check + Connection Verification

# Verify API key
if [ -z "$ALLOW1_API_KEY" ]; then
  echo "ERROR: ALLOW1_API_KEY is not set"
  exit 1
fi

# Connection test (fetch model list)
curl -s https://api.quiver.ai/v1/models \
  -H "Authorization: Bearer $ALLOW1_API_KEY" | jq .

Text-to-SVG (Non-streaming)

curl -s https://api.quiver.ai/v1/svgs/generations \
  -H "Authorization: Bearer $ALLOW1_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "arrow-preview",
    "prompt": "A clean minimalist logo for a tech startup called Nexus",
    "instructions": "Use geometric shapes, monochrome palette, flat design",
    "n": 4,
    "temperature": 0.7,
    "stream": false
  }' | jq -r '.data[0].svg' > output.svg

Image-to-SVG

curl -s https://api.quiver.ai/v1/svgs/vectorizations \
  -H "Authorization: Bearer $ALLOW1_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "arrow-preview",
    "image": { "url": "https://example.com/logo.png" },
    "auto_crop": true,
    "target_size": 1024,
    "n": 1,
    "stream": false
  }' | jq -r '.data[0].svg' > vectorized.svg

Base64 Image Input

BASE64=$(base64 -i ./input.png)
curl -s https://api.quiver.ai/v1/svgs/vectorizations \
  -H "Authorization: Bearer $ALLOW1_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"model\": \"arrow-preview\",
    \"image\": { \"base64\": \"$BASE64\" },
    \"auto_crop\": true,
    \"stream\": false
  }" | jq -r '.data[0].svg' > vectorized.svg

Rate Limiting and Error Handling

LimitValue
Request limit20 req / 60 sec (per organization)
Response headersX-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
On 429Respect Retry-After header, exponential backoff
Billing1 request = 1 credit (regardless of n value)

Error Code Quick Reference

HTTPCodeAction
400invalid_requestCheck request parameters
401invalid_api_keyCheck $ALLOW1_API_KEY
402insufficient_creditsCredit purchase required
403account_frozenCheck account status
429rate_limit_exceededWait Retry-After seconds
500/502/503Server errorRetry with exponential backoff

Related Skills

  • generate-slide — Slide Image Generation via Nano Banana Pro
  • generate-video — Video generation with Remotion
  • ui — UI component generation (for embedding SVG icons)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

breezing

無料

Use when running the full team/breezing flow end-to-end — all tasks with parallel workers. Do NOT load for: single-task implementation, planning, review, release, or setup.

日本語の概要は準備中です。原文の説明を表示しています。

tim-hub/powerball-harness352026年8月5日 更新

Reviews PRs that modify the Feature Table in CLAUDE.md. Use when a PR adds CC version rows or modifies docs/CLAUDE-feature-table.md.

日本語の概要は準備中です。原文の説明を表示しています。

tim-hub/powerball-harness352026年8月5日 更新

Use when researching Claude Code or Codex upstream releases, selecting adaptations, or preparing Harness upgrades. Local-only; not for distribution.

日本語の概要は準備中です。原文の説明を表示しています。

tim-hub/powerball-harness352026年8月5日 更新

Creates a single project slide or one-page visual summary for a repo. Use when generating a project intro image or promotional slide.

日本語の概要は準備中です。原文の説明を表示しています。

tim-hub/powerball-harness352026年8月5日 更新

Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.

日本語の概要は準備中です。原文の説明を表示しています。

tim-hub/powerball-harness352026年8月5日 更新

Operates Google Drive, Docs, Sheets, and Slides via gogcli. Use when listing, searching, reading, or updating Google Workspace files.

日本語の概要は準備中です。原文の説明を表示しています。

tim-hub/powerball-harness352026年8月5日 更新

tim-hub のスキルをすべて見る

このスキルの問題を報告する