Hosted Compute And Integrationsのロゴ

Hosted Compute And Integrations

組織
VectorSpaceLab
hosted-compute-and-integrations

Routes hosted Jobs and Sandboxes, Space runtime configuration, OAuth and webhooks, framework/model integration, repository cards, tensor serialization, and TensorBoard logging workflows.

概要

公開者VectorSpaceLab
リポジトリAREX-Skill
スキル名hosted-compute-and-integrations
スター
341
フォーク
26
同梱ファイル
6
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 6個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub/sub-skills/hosted-compute-and-integrations
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git /tmp/AREX-Skill
mkdir -p .claude/skills
cp -r /tmp/AREX-Skill/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub/sub-skills/hosted-compute-and-integrations .claude/skills/hosted-compute-and-integrations
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Hosted compute and integrations

Use this route when a task mentions Hugging Face Jobs, scheduled Jobs, a Sandbox or SandboxPool, Space hardware/storage/secrets/variables, OAuth, WebhooksServer, model-framework integration, model/dataset/Space cards, DDUF, sharded checkpoints, safetensors, or TensorBoard traces.

Choose the route

  • Read jobs-and-sandboxes.md for Jobs, scheduled Jobs, hardware selection, volumes, logs, and sandbox lifecycle.
  • Read spaces-and-server-integrations.md for Space runtime changes, secrets/variables, OAuth, webhook servers, and Hub-managed webhook registration.
  • Read model-integration-and-cards.md for ModelHubMixin, PyTorchModelHubMixin, local save/load, cards, model-index metadata, and the local-versus-Hub TensorBoard writer boundary.
  • Read serialization.md for DDUF, torch safetensors/pickle formats, sharding, index-file safety, and local round trips.
  • Read troubleshooting.md for optional dependencies, invalid resources/configuration, auth/network errors, and recovery decisions. It is also the route for distinguishing client wait timeouts from server Job/Space failures.

Run the safe local integration fixture with scripts/local_integration_smoke.py before attempting any hosted operation. It creates a temporary model/card, sharded checkpoint, DDUF archive, and mocked configuration recovery; it does not contact the Hub or change a remote resource.

Operating contract

  1. Classify side effects first. run_job, scheduled-Job creation or triggering, Sandbox.create, SandboxPool warm-up, Space creation/upload, Space hardware/storage/secret/variable changes, webhook registration, card publishing, push_to_hub, and HFSummaryWriter are credentialed or side-effecting. Treat GPU/paid flavors, storage, and long-running processes as potentially billable. Use mocks or local fixtures until the user has explicitly authorized a real target.
  2. Pin the package contract. Confirm the installed version and inspect the public signature before composing a command. Representative public APIs are listed in the linked references; do not infer new parameters from an old example. Experimental Sandbox, UV-job, OAuth, WebhooksServer, DDUF, and TensorBoard APIs can change, so pin a compatible huggingface_hub version.
  3. Separate configuration from execution. Validate image, command, cron, volume URI, model/card metadata, checkpoint index, webhook route, and Space settings locally. Keep ordinary environment values in env/variables and sensitive values in encrypted Job/Space secrets where supported. Never print secret values or forward an HF token unless it is an explicit requirement.
  4. Choose resources deliberately. Query available Jobs/Space hardware rather than hard-coding an assumption. A dedicated Sandbox supports GPU and stronger VM isolation; a SandboxPool is CPU-only, shares a host, accepts no per-sandbox volume, and does not provide the dedicated Job secret channel. Stop or pause paid resources when the work ends.
  5. Observe state, do not assume success. Jobs move through SCHEDULING and RUNNING to COMPLETED, CANCELED, ERROR, or DELETED; wait_for_job returns failed final info rather than raising for a failed Job. Spaces may remain in build/start stages and need wait_for_space; inspect the returned stage and logs before retrying. A scheduled Job's immediate trigger does not alter its schedule.
  6. Prefer safe serialization. Save torch weights as safetensors by default, validate the generated index and weight map, load with an explicit device and strictness policy, and treat pickle loading as unsafe for untrusted files. DDUF is a constrained diffusion archive, not a general-purpose ZIP.
  7. Preserve recovery evidence. Record the input resource, requested versus actual state, credential scope, error/status message, and the corrective change. After a restart or webhook/OAuth change, re-read runtime/route state and perform a local or mocked request before repeating a remote mutation.

Verification route

  • Start with import/signature checks and the bundled local fixture.
  • Assert local model config, card metadata, tensor keys/shapes, generated shard index paths, DDUF entry names, and round-trip values.
  • For lifecycle logic, replace HfApi methods with autospecced mocks and feed staged JobInfo/SpaceRuntime results. Assert invalid configuration causes zero client calls, then assert the corrected plan calls only the mocks.
  • Keep socket access blocked while the fixture runs. A green local result proves payload/config handling, not credentials, service capacity, billing, or a production callback. Escalate to live verification only with authorization.

Minimal environment check

For a normal install, check only what the requested route needs:

bash
python -c "import huggingface_hub; print(huggingface_hub.__version__)"
# Add torch and safetensors for serialization; add gradio for WebhooksServer;
# add the oauth extra for OAuth; add tensorboard or tensorboardX for logging.

Do not run the following during safe verification: hosted Job/Sandbox creation, SandboxPool construction with warm-up, Space or endpoint resource changes, secret writes/deletes, webhook create/update/delete, card/mixin uploads, push_to_hub, live OAuth callbacks, HFSummaryWriter against a real repo, or remote validation/downloads. Mock the client boundary and use local fixtures; see troubleshooting.md when a live check is explicitly authorized.

同梱ファイル

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

よくある質問

AIスキル「Hosted Compute And Integrations」では何ができますか?

Routes hosted Jobs and Sandboxes, Space runtime configuration, OAuth and webhooks, framework/model integration, repository cards, tensor serialization, and TensorBoard logging workflows.

TypingMindでHosted Compute And Integrationsを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/VectorSpaceLab/AREX-Skill/tree/main/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub/sub-skills/hosted-compute-and-integrationsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Hosted Compute And Integrationsを使えるAIモデルはどれですか?

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

Hosted Compute And Integrationsで使えるAIモデルの数に制限はありますか?

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

AIスキル「Hosted Compute And Integrations」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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