コーディングツール

TokenLab Agent Skills

画像、動画、音声、3D、意思決定、およびAPI統合のためのTokenLab SkillsをClaude Code、Codex、または任意のエージェントにインストールします

エージェントにセットアップさせる

以下のタスクをコピーして、コンピュータ上で実行中のエージェントに渡してください:

Read this guide and install the TokenLab Agent Skills I need in my current agent:
https://tokenlab.sh/docs/ja/integrations/coding-agent-skill
Check my installed version and active configuration first.
Preserve existing accounts, providers, permissions and other settings.
Back up local files and show proposed changes.
Have me enter any API key locally; never ask for, print or paste it in chat.
Check configuration loading first.
Explain any paid request test separately before running it.

Skillの機能

Skillとは、エージェントに一つの仕事を教えるための SKILL.md ファイルを含むフォルダのことです。エージェントはリクエストが一致するまでSkillの名前と説明のみを読み込み、一致した時点で詳細な指示を読み取ります。

TokenLabのSkillsはモデルではなく、結果を対象としています。商品写真、ナレーション、または3Dアセットを要求すると、SkillはライブのTokenLabカタログからモデルを選択し、モデルの詳細を読み取り、価格を見積もり、呼び出しを行い、非同期の結果を待ちます。

これらのSkillsは無料で、MITライセンスで提供されています。Skillが行うAPI呼び出しは、通常のTokenLab料金で課金されます。ソースコードは tokenlab-skills にあります。

インストール

マーケットプレイスを追加し、プラグインをインストールします:

/plugin marketplace add hedging8563/tokenlab-skills
/plugin install tokenlab@tokenlab-tools

Skill名は名前空間で管理されています(例: /tokenlab:tokenlab-run)。このプラグインは、リポジトリのREADMEで説明されているTokenLab MCP接続も追加します。

インストールを確認するには、エージェントに使用可能なSkillをリストアップするよう指示してください。

有料の呼び出しにはAPIキーが必要です。Console → API keys でキーを作成し、エージェントを起動する環境で TOKENLAB_API_KEY として設定してください。プロンプトにキーを貼り付けることは絶対に避けてください。

Skillカタログ

このテーブルは、Skillsリポジトリの catalog.json から生成されています。Operationsは、Skillが呼び出せるTokenLabのモデル操作です。

skillgroupoperations
tokenlab-runfoundation—
tokenlab-model-pickerfoundation—
tokenlab-promptingfoundation—
tokenlab-product-photographyimagetext-to-image, image-to-image, image-edit
tokenlab-edit-imageimageimage-edit, image-to-image
tokenlab-restore-and-upscaleimageimage-edit
tokenlab-text-in-imageimagetext-to-image, image-edit
tokenlab-character-consistencyimageimage-to-image, text-to-image, reference-to-video
tokenlab-photoreal-stillsimagetext-to-image
tokenlab-logos-and-vectorsimagetext-to-image, image-edit
tokenlab-animate-imagevideoimage-to-video
tokenlab-product-ad-videovideoimage-to-video, reference-to-video, text-to-video
tokenlab-keyframe-transitionvideostart-end-to-video
tokenlab-extend-videovideovideo-extension
tokenlab-edit-videovideovideo-to-video
tokenlab-motion-controlvideomotion-control
tokenlab-talking-avatarvideoimage-to-video, tts
tokenlab-cinematic-videovideotext-to-video, image-to-video
tokenlab-voiceoveraudiotts
tokenlab-transcribe-and-subtitleaudiostt, translation
tokenlab-musicaudiomusic
tokenlab-image-to-3d-asset3dimage-to-3d, text-to-3d
tokenlab-world-generation3dworld-generation
tokenlab-decisionsdecisionsystemone
tokenlab-api-integrationintegrationchat
tokenlab-native-endpointsintegrationchat, systemone
tokenlab-cost-routingintegration—
tokenlab-openai-compatible-migrationintegrationchat

Skillsページ では、各操作を提供するライブモデルの数とともに各Skillが表示されます。

モデルのデフォルトを最新に保つ方法

Skillは固定された一つのモデルに依存することはありません。各成果物系Skillは、ステージごとのデフォルトモデルを、代替案や低コストオプションとともにリストアップしています。Skillsリポジトリは、これらのデフォルトをライブのTokenLabカタログから毎日更新しています。

呼び出しのたびに、Skillは GET /v1/models/{model} でモデルのライブ詳細とサポートされているフィールドを読み取り、GET /v1/models/{model}/pricing で価格を読み取ります。モデルの供給が停止した場合、エージェントは同じ操作を提供する別のモデルを選択します。

インストールを更新するには:

  • Claude Codeプラグイン: /plugin marketplace update tokenlab-tools を実行後、/plugin update tokenlab@tokenlab-tools を実行します。
  • Codexプラグイン: codex plugin marketplace upgrade tokenlab-tools を実行後、codex plugin add tokenlab@tokenlab-tools を実行します。
  • Skills CLI: インストールしたスコープ内で npx skills update <skill-id> --project または --global を実行します。

TokenLab MCPでSkillsを使用する

SkillsとMCPは異なる役割を持ちますが、連携して動作します:

  • TokenLab MCP は、create_image や get_task_status といった呼び出し可能なツールをエージェントに提供します。
  • Skillsは、どのモデルを選択するか、どのようにプロンプトを書くか、どのように結果を確認するかという「手法」をエージェントに提供します。

MCPサーバーが接続されている場合、Skillはそのツールを使用できます。MCPがない場合、SkillはHTTP APIを直接呼び出します。

リクエスト例

Use the TokenLab product photography skill to put this bottle on a warm studio background in 1:1 and 9:16.
Use the TokenLab API integration skill to add image generation to this Node.js app.
Read the current model details before choosing fields.
Keep the API key in TOKENLAB_API_KEY and add one runnable test.

ヘルプ

APIやアカウントに関する質問は、アプリ内のサポート を使用してください。プレビューを確認してから明示的に送信してください。特定のリクエストについては、Requests から開始し、調査ガイド に従ってください。Skillの不具合は GitHub Issues から報告してください。

このページの内容