Cate Themeのロゴ

Cate Theme

組織人気
0-AI-UG
cate-theme

Author or edit a Cate IDE theme — one data-driven theme covering app chrome colors, the terminal ANSI palette, and Monaco editor syntax tokens. Use when the user asks to create, customize, recolor, or generate a Cate theme, mentions a color scheme (Dracula, Nord, "make Cate look like X"), or wants a new light/dark theme.

概要

公開者0-AI-UG
リポジトリcate
スキル名cate-theme
スター
2.2K
フォーク
141
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Authoring Cate Themes

A Cate theme is ONE JSON object that styles the whole IDE:

  • app — the window/panel chrome (CSS custom properties: surfaces, text, borders, accents)
  • terminal — the xterm palette (background/foreground + the 16 ANSI colors)
  • editor — the Monaco code editor (base + syntax token colors)

There is no separate terminal theme any more — one theme colors everything.

The canonical machine-readable schema is theme.schema.json in this skill folder. Validate every theme against it before saving.

Where themes live

User themes are stored in Cate's settings file under the customThemes array, and the active theme is activeThemeId:

macOS:   ~/Library/Application Support/cate/config.json
Linux:   ~/.config/cate/config.json
Windows: %APPDATA%/cate/config.json

Schema

jsonc
{
  "version": 1,
  "id": "midnight-ember",        // REQUIRED, unique kebab-case slug
  "name": "Midnight Ember",      // REQUIRED, display name
  "type": "dark",                // REQUIRED: "dark" | "light" (drives system light/dark auto-switch + editor base)
  "author": "You",               // optional
  "bootBackground": "#1a1714",   // optional — exact cold-launch window bg (defaults to surface-0)

  "app": {                       // app chrome — see "App colors" below. PARTIAL: omitted keys inherit the base.
    "surface-0": "#1a1714",
    "surface-1": "#221d18",
    "text-primary": "#e7ddd0",
    "text-muted": "#9b9186",
    "border-focus": "#e0683c",
    "focus-blue": "#e0683c",
    "agent-rgb": "224 104 60"
  },

  "terminal": {                  // REQUIRED full xterm palette — ordinary shell output
    "background": "#1a1714", "foreground": "#e7ddd0", "cursor": "#e0683c",
    "selectionBackground": "#3a2f26",
    "black": "#1a1714", "red": "#e0683c", "green": "#8fa86a", "yellow": "#d9a441",
    "blue": "#5f90c4", "magenta": "#b06aa0", "cyan": "#5fa8a8", "white": "#d8cdbf",
    "brightBlack": "#6b6258", "brightRed": "#f0855a", "brightGreen": "#a6c47f",
    "brightYellow": "#e8bd6a", "brightBlue": "#7aa8d6", "brightMagenta": "#c884b8",
    "brightCyan": "#7cc0c0", "brightWhite": "#f4ece1"
  },

  "editor": {                    // REQUIRED Monaco syntax
    "base": "vs-dark",           // "vs" for light themes, "vs-dark" for dark
    "tokens": [                  // syntax rules — foreground is hex WITHOUT the leading #
      { "token": "comment", "foreground": "6b6258", "fontStyle": "italic" },
      { "token": "keyword", "foreground": "e0683c" },
      { "token": "string",  "foreground": "8fa86a" },
      { "token": "constant.numeric", "foreground": "d9a441" },
      { "token": "type",    "foreground": "5f90c4" },
      { "token": "entity.name.function", "foreground": "b06aa0" }
    ],
    "colors": {                  // optional Monaco IColors (# prefixed)
      "editor.background": "#1a1714",
      "editor.foreground": "#e7ddd0"
    }
  }
}

App colors (keys under app)

All optional — anything you omit inherits the base for the theme's type. surface-0..6 (layered backgrounds, 0 = base), titlebar-bg, canvas-bg, canvas-bg-alt, canvas-backdrop-scrim, grid-dot, grid-line, border-subtle, border-strong, border-focus, text-primary, text-secondary, text-muted, text-inverse, focus-blue, activity-green, activity-orange, shadow-node, shadow-node-focused, node-bg-active, node-dim-overlay, scrollbar-thumb, scrollbar-thumb-hover, surface-hover, surface-hover-strong, git-added, git-modified, git-deleted, git-untracked, git-renamed, panel-terminal, panel-browser, panel-editor, panel-canvas, agent-rgb, agent-light-rgb.

Values are hex (#rrggbb / #rrggbbaa), rgba(...), or — for agent-rgb / agent-light-rgb only — three space-separated channels like "224 104 60".

Color & accessibility guidance

  • Body text on surface must hit WCAG AA: contrast ratio ≥ 4.5:1 (text-primary on surface-1). Compute it; don't eyeball it.
  • Every ANSI color must be legible on terminal.background. The usual failures: blue and brightBlack on dark backgrounds, yellow/white on light backgrounds.
  • Keep red and green clearly distinct — diff and test output depend on it.
  • border-focus / focus-blue must stand out against surface-1 (focus rings, selection).
  • For light themes set "type": "light" and "editor": { "base": "vs" }.

Validate before saving

  1. Parse your JSON.
  2. Check it against theme.schema.json. If ajv is available: npx ajv validate -s theme.schema.json -d mytheme.json. Otherwise verify: all required keys present; every color matches ^#?[0-9a-fA-F]{6,8}$ (Monaco tokens[].foreground has NO #, everything else DOES); type is dark|light.
  3. Run the contrast checks above.

Apply it — two ways

Preferred — import via Settings (validated by the app, no file surgery): Save the theme as <name>.cate-theme.json and tell the user: "Open Settings → Appearance → Import…, then pick this file." Then select it in the theme catalog.

Direct — append to config.json (only if asked to apply without the UI):

  1. Read <userData>/config.json (paths above). If it doesn't parse, STOP.
  2. Append your validated theme to the customThemes array (create it if absent). Ensure id is unique within that array.
  3. To make it active now, set activeThemeId to your theme's id.
  4. NEVER reorder or overwrite existing customThemes, and never touch unrelated keys. Changes apply on next launch or when settings are re-read.

See examples/ for a complete dark and light theme to copy from.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

Author or edit a Cate IDE theme — one data-driven theme covering app chrome colors, the terminal ANSI palette, and Monaco editor syntax tokens. Use when the user asks to create, customize, recolor, or generate a Cate theme, mentions a color scheme (Dracula, Nord, "make Cate look like X"), or wants a new light/dark theme.

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

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

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

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

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

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

Cate Themeで使えるAIモデルの数に制限はありますか?

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

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

はい。0-AI-UGがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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