Spaのロゴ

Spa

組織
aigengame
spa

Use the spa CLI to create, edit, inspect, validate, and export Aseprite assets. Use when an agent works on sprites, pixel art, animations, or tile assets through Aseprite, or the user asks for SPA automation.

概要

公開者aigengame
リポジトリaseprite-automation
スキル名spa
スター
26
フォーク
3
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    aigengameがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSpaをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/aigengame/aseprite-automation/tree/main/skills/spa
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aigengame/aseprite-automation.git /tmp/aseprite-automation
mkdir -p .claude/skills
cp -r /tmp/aseprite-automation/skills/spa .claude/skills/spa
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSpaを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSpaを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Spaは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

spa

spa is an agent-facing CLI for Aseprite. Use it to prepare raster inputs, create and edit native sprite files, inspect the result, and export assets for another tool or game engine. SPA and Aseprite must be installed separately; installing this skill does not install either executable.

Configure and discover

  • Set SPA_ASEPRITE_EXECUTABLE to the Aseprite executable, or pass --aseprite PATH on an operation, such as spa info --aseprite PATH.
  • Run spa version to identify the installed CLI and spa info to check the selected Aseprite runtime. Keep the same runtime for related calls.
  • Run spa or spa help for the command overview. Use spa help <command path> for a group or command, such as spa help tileset tile add; the target's --help shows the same text. Help does not start Aseprite. Read that command's --schema for request fields, results, and failures. Use spa schema when you need the full installed surface and declared Capability Gaps.
  • Follow the installed help and schemas when they differ from an example. Check that the operation and options needed for the task are available. If they are absent or unclear, report the limitation instead of inventing a command or assuming that a newer example applies.

Operations emit JSON by default. Build the request from the command's schema; send a short object with --input-json '{...}', or use stdin:

bash
spa sprite create --schema
spa sprite create --input-json - < create.json

Read the JSON status and the operation's result fields. On failure, use the top-level code and details; use message and diagnostics for explanation. Add --human after the command for a readable view, such as spa info --human. --json takes precedence when both output flags are set.

Create, edit, and verify

  1. For a new asset, use sprite create with the requested dimensions, color mode, and initial layer. For an existing asset, inspect it with sprite get and the relevant Layer, Frame, or Cel commands before editing. Request only the inspection sections needed for the task.
  2. Choose explicit source and target files. When keeping an original, write to a separate target and continue from the file just produced. Use in-place editing or overwrite only when the task calls for it; do not enable them merely to get past a refusal.
  3. Discover the relevant authoring commands for the change. Use inspected layer addresses and frame numbers rather than assuming names are unique or positions have stayed the same. SPA Frame Numbers start at 1; follow the schema's coordinate space for pixel or tile edits.
  4. Inspect the saved result and validate the facts the task requires. For sprite validate, supply the expected facts and check valid, checks, and findings: status: success means the check ran, not that the sprite matched. A successful command alone does not establish visual quality; preview the exported image when appearance matters.

For several supported changes to one sprite, consider plan check and plan run to avoid repeated saves. Discover which operations can be steps before building a plan. A plan does not coordinate several sprite files.

For external PNG artwork, discover raster prepare and image import before rebuilding the image through individual paint calls. Keep the preparation, authoring, and export choices explicit in their requests.

Export and recover

Use export --help to choose an installed output operation. For a first image, inspect export image --schema, select the frame, area, layers, color handling, and destination required by the task, then export. Use the returned Artifact paths; retain the editable sprite when the task calls for reusable source assets. Check the actual image and metadata needed by the downstream consumer. A successful export does not prove that a game engine imported or used it correctly.

When a request fails, use its typed details to correct the input or environment before retrying. If a multi-file export reports partial_publication, inspect the per-destination results and existing files first; a retry must account for outputs already written. For a Capability Gap or unavailable operation, explain the affected part of the task and any supported alternative without silently changing the requested result. script run is for an explicit caller-owned Lua task; it is not a fallback to bypass an unavailable or refused operation.

よくある質問

AIスキル「Spa」では何ができますか?

Use the spa CLI to create, edit, inspect, validate, and export Aseprite assets. Use when an agent works on sprites, pixel art, animations, or tile assets through Aseprite, or the user asks for SPA automation.

TypingMindでSpaを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Spaはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSpaをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/aigengame/aseprite-automation/tree/main/skills/spaを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Spaを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Spaは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSpaを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Spa」は無料ですか?

はい。aigengameがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇