Index of every page on this site: llms.txt
All skills
shibayu36 avatar

/cluster-creator-kit-script

@688663b
Run it yourself

Cluster Script API(CCK Script)の型定義から、メソッド・引数・戻り値・型・シグネチャを検索して提示する。 「ItemHandle/PlayerHandle/ClusterScript等のメソッド」「〜のAPI」「〜のシグネチャ」 「〜の引数や戻り値の型」など、Script APIの仕様・定義そのものを問うリクエストで使用。 Scriptを使った実装方法・サンプルコード・チュートリアル(「Scriptで〜する方法」)や、 操作手順・設定方法など、APIの型・シグネチャを伴わない解説は対象外(Cluster Creators Guide側)。 Bashでindex.d.tsを検索し、JSDocコメント付きで提示する。

Use this Skill: https://skilld.dev/gh/shibayu36/agent-skills/cluster-creator-kit-script

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈181 tokens for metadata: the name and description. ≈582 when used: this file.

Description uses 4.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈353 characters, or 4.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Cluster Script API Search

Cluster Script APIの型定義ファイル(index.d.ts)からAPI情報を検索するスキル。

利用可能なスクリプト

スクリプトのパスは ${SKILL_DIR}/scripts/ 配下にある。

search.py - API検索

python3 ${SKILL_DIR}/scripts/search.py "キーワード" [--output-dir DIR]

キーワードでAPI定義を検索し、マッチしたエントリ(JSDocコメント + シグネチャ)をテキスト形式で出力する。 最大30件まで。<output-dir>/cluster-script-index.d.ts を参照し、未ダウンロードの場合は自動でダウンロードする。

download.py - 型定義ファイルの更新

python3 ${SKILL_DIR}/scripts/download.py [--output-dir DIR]

最新のindex.d.tsをダウンロードして <output-dir>/cluster-script-index.d.ts に保存する。型定義を最新に更新したい場合に手動実行する。

保存先について

  • search.py / download.py とも保存先は共通で、--output-dir が無ければ $PWD 直下の cluster-script-index.d.ts
  • ユーザーの一時ファイル配置方針があれば、それに従って --output-dir を明示的に指定すること(例: --output-dir tmp)

ワークフロー

  1. ユーザーの質問からキーワードを抽出(日英両方、2〜3パターン)
  2. search.py で各パターンを検索
  3. 結果からJSDocとシグネチャを整理して提示

キーワード最適化ルール

  1. メソッド名を直接検索: setPosition, getRotation, send 等
  2. 日本語でも検索: 「位置」「回転」「移動」等(JSDocが日本語のため有効)
  3. interface/classで絞り込み: ItemHandle, PlayerHandle, ClusterScript, Vector3 等のコンテキスト名も検索対象
  4. 関連用語で横断検索: 「アニメーション」「衝突」「マテリアル」等

スコープ

このスキルは Cluster Creator Kit Script のAPI仕様(型定義)の参照専用。 「〜メソッドの引数」「〜の型」「〜のAPI仕様」といったリファレンス用途に使う。 操作手順や解説(「〜のやり方」「〜を設定する方法」)は対象外で、Cluster Creators Guide (creator.cluster.mu) を参照すること。

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a search tool for the Cluster Script API by downloading and parsing official type definition files. It fetches resources from the official documentation site and performs searches locally using Python scripts. The skill follows safe practices for resource handling and shows no signs of malicious intent.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 688663b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 6 months ago

README badge

README badge for shibayu36/agent-skills/cluster-creator-kit-script