Fallow Cloud Setupのロゴ

Fallow Cloud Setup

組織
fallow-rs
fallow-cloud-setup

Connect a JavaScript or TypeScript app to Fallow Cloud production runtime coverage. Use when asked to set up Fallow Cloud, add the Fallow beacon, send runtime coverage to Fallow Cloud, or find out why Fallow Cloud shows no data for a repository. Do not use for local code-quality tooling; use fallow-setup for that. Do not use to read runtime data of a repository that is already set up; use the fallow skill for that.

概要

公開者fallow-rs
リポジトリfallow-skills
スキル名fallow-cloud-setup
スター
137
フォーク
9
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Fallow Cloud setup: runtime coverage with one commit SHA

Fallow Cloud joins production runtime coverage to the code only when five things name the same commit SHA:

  1. The beacon in the app sends commitSha.
  2. CI uploads the static inventory for that SHA.
  3. CI uploads the source maps for that SHA, when the build bundles the code.
  4. CI registers the deployment of that SHA.
  5. The first production data for that SHA arrives.

fallow coverage setup --cloud --json writes a plan for all five steps. This skill applies the plan.

When to Use

  • Add the Fallow beacon to an app and send production coverage to Fallow Cloud.
  • Wire the CI steps that upload the inventory and the source maps and register the deployment.
  • Find the missing step when Fallow Cloud shows no data or no matched functions for a repository.

When NOT to Use

  • Local code-quality tooling, CI quality gates, or agent wiring. Use fallow-setup.
  • Reading runtime data of a repository that is already set up. Use fallow.

Rules

  1. Never write an API key value into a file, a command, or a message. Use the environment variable names that the plan gives (cloud.api_key_env, cloud.browser_key_env). The user stores the values as CI secrets and server environment variables. Never use the --api-key flag and never put a key before a command (FALLOW_API_KEY=... npx ...). The user exports the key in the shell.
  2. A browser bundle gets only an ingest-only key (prefix fallow_pub_k1_). A full key (prefix fallow_live_k1_) stays in CI and on the server.
  3. Use the same commit SHA for every step. Do not replace $GITHUB_SHA or the commitSha expression in the plan with another value.
  4. Resolve flags from fallow coverage setup --help. Do not use flags from memory.
  5. Show the edits to the user before you change a CI workflow. A deploy workflow can hold secrets and production access.

Sequence

  1. Check the flag. Run npx fallow coverage setup --help. When it does not list --cloud, use Manual setup instead of steps 2 to 8. It has the same five steps.

  2. Get the plan. Run npx fallow coverage setup --cloud --json at the repository root. When cloud.project_id is null, ask the user for the Fallow Cloud project id (owner/repo) and run the command again with --project-id <owner/repo>, so no snippet keeps the OWNER/REPO placeholder. When the command exits 2 and prints no JSON, read the error on stderr: an input such as the project id, --git-sha, or --api-endpoint is not valid.

  3. Read the plan.

    • members[] has one entry for each workspace member that runs code. Each entry has its own snippets, files_to_edit, dockerfile_snippet, and warnings. Apply the snippets from members[] only: the top-level snippets and files_to_edit repeat the first member.
    • commands installs the beacon.
    • cloud.ci.steps holds the GitHub Actions steps (cloud.ci.provider is github_actions). cloud.ci.workflows_detected names the workflow files that look like a deploy.
    • cloud.source_maps.dirs names the build output of each bundled member. cloud.source_maps.reason says what the build must do, for example emit source maps.
    • warnings names what the plan cannot do for you, for example the coverage source of a Node server.
  4. Install the beacon. Run the commands in commands with the package manager of the project.

  5. Add the snippets. For each member, add each snippet to the file in its path. Keep the projectId, commitSha, coverageOrigin, and runtimeSurface values of the snippet. When the file exists, add the snippet at the start of the entry module. Do not replace the file.

  6. Pass the commit SHA to the runtime.

    • Browser bundle: set VITE_FALLOW_COMMIT_SHA on the build step (the CI steps show it).
    • Server in a container: add the dockerfile_snippet lines to the Dockerfile, and build with --build-arg FALLOW_COMMIT_SHA=$GITHUB_SHA.
    • Server on a platform: the snippet reads the SHA that Vercel, Render, or Railway sets. On another platform, set FALLOW_COMMIT_SHA in the runtime environment.
  7. Add the CI steps. Add cloud.ci.steps to the job that builds and deploys, in the workflow from cloud.ci.workflows_detected. When that list is empty, or the project does not use GitHub Actions, ask the user which job deploys and adapt the steps to it. The checkout needs fetch-depth: 0. The upload step goes after the build step, and the build must emit source maps for the upload to send anything. The registration step goes after the deploy step. Follow cloud.ci.instructions.

  8. Tell the user what to do by hand. The user creates the keys in the Fallow Cloud dashboard, stores them as the secrets that the plan names, and deploys.

  9. Check the setup after the deploy. Ask the user to export FALLOW_API_KEY (a full key) in the shell. Run cloud.wait_command from the plan with --json added and $DEPLOYED_SHA set to the deployed commit SHA. It holds the project id. Then read the exit code:

    • 0: every step is done.
    • 1: a timeout. Read cloud.wait.activation.next. It names the step to do now and, where one exists, a command. activation is null when no read succeeded, and next.command can be null.
    • 2: an error. Read cloud.wait.message, or stderr when stdout has no JSON.

    The activation body can have step ids and states that this skill does not name. Report them as they are.

Common problems

  • beacon is problem: the beacon sends no commit SHA. Check step 5.
  • runtime stays waiting: the app has no production traffic yet, or the beacon commitSha is not the full SHA that CI used.
  • deployment is waiting: an older deployment still receives runtime. The new one becomes current on its first runtime data.
  • overlap is waiting: too few functions ran so far. Send more traffic.
  • source_maps is missing for an app that runs its source files without a bundle: it changes to not_needed when runtime joins the inventory.
  • overlap is problem: runtime paths do not match the inventory paths. A container that runs the code under another root, for example /app, needs --path-prefix on upload-inventory. A bundled app needs the source maps.
  • inventory fails in CI: the checkout is shallow. Set fetch-depth: 0.

References

  • Manual setup: the five steps by hand, for a fallow version without --cloud.

同梱ファイル

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

よくある質問

AIスキル「Fallow Cloud Setup」では何ができますか?

Connect a JavaScript or TypeScript app to Fallow Cloud production runtime coverage. Use when asked to set up Fallow Cloud, add the Fallow beacon, send runtime coverage to Fallow Cloud, or find out why Fallow Cloud shows no data for a repository. Do not use for local code-quality tooling; use fallow-setup for that. Do not use to read runtime data of a repository that is already set up; use the fallow skill for that.

TypingMindでFallow Cloud Setupを使うメリットは何ですか?

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

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

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

Fallow Cloud Setupを使えるAIモデルはどれですか?

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

Fallow Cloud Setupは何個のAIモデルで使えますか?

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

AIスキル「Fallow Cloud Setup」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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