Bridgeのロゴ

Bridge

コミュニティ人気
jeremylongshore
bridge

ターミナルCLI以外の環境(Claude Code Desktop、claude.aiのWeb版、CLIプラグインを読み込まないIDE拡張機能)にもhyperflowの動作ルールを適用したいときに使います。管理対象のドクトリンブロックをプロジェクトのCLAUDE.mdに書き込み、自律性、意図に基づくルーティング、コミットの間隔、役割の分離、ファイル優先のルールを引き継ぎます。一部の機能は引き継がれません(スラッシュコマンドや実際のスキルのディスパッチには対応しません)が、便利です。/hyperflow:bridge、「デスクトップでhyperflowを使えるようにして」「claude.aiでhyperflowを使えるようにして」「hyperflowのドクトリンをCLAUDE.mdに埋め込んで」「持ち運び可能なhyperflowルール」で起動します。

概要

公開者jeremylongshore
リポジトリtons-of-skills-marketplace
スキル名bridge
スター
2.8K
フォーク
402
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git /tmp/tons-of-skills-marketplace
mkdir -p .claude/skills
cp -r /tmp/tons-of-skills-marketplace/plugins/ai-agency/hyperflow/skills/bridge .claude/skills/bridge
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Bridge

Embed the portable subset of hyperflow's doctrine into the project's CLAUDE.md so it applies in surfaces that don't load CLI plugins (Claude Code Desktop, claude.ai web, IDE extensions). The doctrine block is managed via fenced markers, so refreshing it on plugin updates is idempotent and never touches your own CLAUDE.md content.

Source template: templates/claude-md-doctrine.md. Doctrine background: DOCTRINE.md.

Subcommands

SubcommandDescription
generateWrite the doctrine block into the project's CLAUDE.md (create the file if absent, append the block if not present, refresh if already present)
refreshSame as generate — alias for clarity when the block already exists
removeRemove the doctrine block from CLAUDE.md (preserves your own content; if the file becomes empty after removal, leave it as an empty file rather than delete)
statusShow whether the doctrine block is present, its version, when it was generated
mode <auto|manual|off>Set the auto-bridge mode for this project. Writes .hyperflow/.bridge-mode. The session-start hook reads this and decides what to do

Default subcommand when none provided: status.

Auto-bridge (default ON)

The CLI session-start hook (hooks/session-start) runs scripts/auto-bridge.py on every session start. Behavior depends on the mode stored in .hyperflow/.bridge-mode:

ModeBehavior
auto (default when .bridge-mode is absent)If ./CLAUDE.md is missing the doctrine block OR has an outdated version, silently writes/refreshes the block and prints a one-line notice in session-start output. Zero user friction.
manualNever writes. Prints a one-line advisory when the block is missing or outdated: ./CLAUDE.md doctrine block would be refreshed (version 4.11.0) — run /hyperflow:bridge refresh to apply.
offDoes nothing. No writes, no advisories.

This means: open Claude Code CLI once in your project, and from then on every Desktop / web / IDE session in the same project automatically gets the up-to-date hyperflow doctrine via CLAUDE.md. Refresh on plugin update is automatic too.

To opt out: /hyperflow:bridge mode off. To require explicit refresh: /hyperflow:bridge mode manual.

What gets written

A fenced block in the project's ./CLAUDE.md (at the repo root, where Claude Code Desktop / web / CLI all look for it):

markdown
<!-- hyperflow:doctrine:start version=<X.Y.Z> generated=<ISO-8601> source=https://github.com/Mohammed-Abdelhady/hyperflow -->

# Hyperflow Doctrine (Portable Subset)

<the full template body — autonomy, intent-routing, commit cadence,
 role separation, file-first artefacts, no AI attribution, security
 blocklists, what's missing vs CLI>

<!-- hyperflow:doctrine:end -->

The fenced markers (hyperflow:doctrine:start / hyperflow:doctrine:end) let refresh find and replace ONLY the doctrine block, leaving everything else in your CLAUDE.md untouched. Place the block anywhere in CLAUDE.md; the bridge respects its position.

When to use

SituationUse bridge?
You work exclusively in Claude Code CLI (terminal)No — the plugin loads doctrine directly; bridge would duplicate
You use Claude Code Desktop on Mac / WindowsYes — bridge gives Desktop the autonomy + intent-routing + commit cadence rules
You use claude.ai web app for this projectYes — same reason
You use VS Code / Cursor / JetBrains and the extension shells out to the claude CLINo — the CLI plugin applies
You use VS Code / Cursor and the extension talks to the API directlyYes — the API session loads CLAUDE.md
You collaborate with teammates who use mixed surfacesYes — commit the generated CLAUDE.md so everyone has the same rules regardless of their surface

What you keep / lose vs the full CLI plugin

CapabilityCLI pluginCLAUDE.md bridge
Autonomy rules (no confirmations, minimal output, no hedging)yesyes
Intent-based routing (audit/debug/fix/brainstorm verbs)yesyes (described in CLAUDE.md as rules for the orchestrator to follow)
Per-task commit cadenceyesyes
Role separation (workers execute, reviewers review)yesyes
File-first artefacts under .hyperflow/yesyes
Binary-gate rule (no recommendation on yes/no)yesyes
No-AI-attribution ruleyesyes
Security blocklistsyesyes
/hyperflow:* slash commandsyesno — surfaces without the plugin can't dispatch named skills
Chain-mode Step-0 auto/manual questionyesno — defaults to auto-style chain in CLAUDE.md mode
Operational pre-elections (commit/branch/push at scope Step 2.6)yesno — defaults applied per CLAUDE.md guidance
Per-step Worker → Reviewer dispatch templates from worker-prompt.md / reviewer-prompt.mdyespartial — the role-separation rule preserves the spirit; exact prompts not embedded (would bloat CLAUDE.md)
Background agents, sticky mode, status skill, cache skillyesno — these need their own slash command surfaces
Adaptive flow profiles (fast / standard / deep)yesno — orchestrator infers from message complexity

Net coverage: ~70% of hyperflow's behavioral value. Slash commands and the infrastructure that wraps them are the missing 30%.

Subcommand Details

generate / refresh

  1. Read the template at ~/.claude/plugins/cache/hyperflow-marketplace/hyperflow/<version>/templates/claude-md-doctrine.md (resolve current version from the active plugin install).
  2. Substitute placeholders: __HYPERFLOW_VERSION__ → current plugin version, __GENERATED_AT__ → current UTC timestamp (ISO-8601).
  3. Read the project's ./CLAUDE.md. Three cases:
    • File absent — create ./CLAUDE.md with just the doctrine block.
    • File exists, no existing doctrine block — append the doctrine block at the end of the file (preceded by one blank line if the file doesn't already end with a blank line).
    • File exists, doctrine block present — find the <!-- hyperflow:doctrine:start … --> and <!-- hyperflow:doctrine:end --> markers, replace everything between them (inclusive of the markers) with the new block. All other content in CLAUDE.md is preserved exactly.
  4. Write the updated CLAUDE.md.
  5. Print:
Wrote hyperflow doctrine block to ./CLAUDE.md (version 4.10.1).
Surfaces that load CLAUDE.md (Desktop, claude.ai web, IDE extensions that talk to API) will now honor:
  · Autonomy rules
  · Intent-based routing (audit/debug/fix/brainstorm/scope/deploy verbs)
  · Per-task commit cadence
  · Role separation (workers execute, reviewers review)
  · File-first artefacts under .hyperflow/
  · No AI attribution
  · Security blocklists

Re-run `/hyperflow:bridge refresh` after updating the plugin to pick up doctrine changes.
What's NOT in the bridge: /hyperflow:* slash commands, plugin-loaded skill files, operational pre-elections. Those need the terminal CLI.

remove

  1. Read ./CLAUDE.md. If absent or doctrine markers not present, print Nothing to remove — no hyperflow doctrine block in ./CLAUDE.md. and stop.
  2. Find the <!-- hyperflow:doctrine:start … --> and <!-- hyperflow:doctrine:end --> markers; remove everything between them (inclusive of markers). Collapse adjacent blank lines so the file doesn't end up with a triple newline.
  3. If CLAUDE.md is now empty (or only whitespace), leave it as an empty file rather than delete — the user may have other tooling that expects the file to exist.
  4. Print Removed hyperflow doctrine block from ./CLAUDE.md. Surfaces that loaded the doctrine block will revert to default behaviour.

mode <auto|manual|off>

Write the chosen mode to .hyperflow/.bridge-mode. The file holds one word: auto, manual, or off. The session-start hook reads it on every CLI session start. Print one of:

Auto-bridge: AUTO — ./CLAUDE.md doctrine block is silently maintained on every CLI session start.
Auto-bridge: MANUAL — session start prints an advisory when the block is stale; you run /hyperflow:bridge refresh.
Auto-bridge: OFF — no advisories, no writes. Use /hyperflow:bridge generate manually if you want the block.

Defaults to auto when .bridge-mode is absent (so first install of hyperflow auto-bridges with no user action). Setting auto explicitly is a no-op write that just records the intent.

status

Read ./CLAUDE.md. Find the doctrine markers. Print one of:

Hyperflow doctrine block: PRESENT in ./CLAUDE.md
  Version generated: 4.10.1
  Generated at:      2026-05-17T15:30:00Z
  Plugin current:    4.10.1
  Status:            up to date · or · update available (re-run /hyperflow:bridge refresh)
Hyperflow doctrine block: NOT PRESENT in ./CLAUDE.md
  Use /hyperflow:bridge generate to add it.
Hyperflow doctrine block: NOT PRESENT (no ./CLAUDE.md in project root)
  Use /hyperflow:bridge generate to create ./CLAUDE.md with the doctrine block.

Flow

  1. Parse subcommand (default status).
  2. Locate the project's ./CLAUDE.md (repo root).
  3. Execute subcommand per the details above.
  4. Print one-block confirmation.

Overview

/hyperflow:bridge is the user-facing interface for the CLAUDE.md doctrine bridge. It does NOT itself enforce the doctrine — it writes the rules into a file that surfaces outside the terminal CLI will load. Enforcement happens in those surfaces when the host loads CLAUDE.md at session start.

Prerequisites

  • Project root contains a writable ./ directory (the bridge writes ./CLAUDE.md).
  • Hyperflow plugin installed (the bridge reads its template from the plugin cache). If running outside the plugin context, the bridge falls back to a vendored copy in the plugin source tree.

Instructions

See Subcommands and Subcommand Details. Summary:

  1. Parse subcommand (default status).
  2. Read/write ./CLAUDE.md per the chosen subcommand.
  3. Print one short confirmation block.

Output

  • generate / refresh — multi-line confirmation listing what surfaces now honor; what's NOT in the bridge.
  • remove — one-line confirmation.
  • status — three-field block (present / version / freshness).

Error Handling

FailureBehavior
./CLAUDE.md not writablePrint explicit error; suggest chmod +w ./CLAUDE.md if permissions-related. Do NOT silently fall back to a hidden location.
Plugin template not found (running outside cached plugin)Look up the template at <plugin-root>/templates/claude-md-doctrine.md relative to this SKILL.md's directory. If still not found, refuse with a clear error.
Existing doctrine block has malformed markers (one without the other)Refuse to refresh; print the malformed file's line range and ask the user to fix the markers manually. Do NOT auto-repair — the user's content might be at risk.
Multiple doctrine blocks in one CLAUDE.md (duplicate)Refuse and surface the line ranges of both. User decides which to keep.
User runs generate repeatedlyIdempotent — every run replaces the block with the latest template + timestamp. No duplication.

Examples

First-time setup for a Desktop user

You: /hyperflow:bridge generate

Wrote hyperflow doctrine block to ./CLAUDE.md (version 4.10.1).
Surfaces that load CLAUDE.md (Desktop, claude.ai web, IDE extensions that talk to API) will now honor:
  · Autonomy rules
  · Intent-based routing (audit/debug/fix/brainstorm/scope/deploy verbs)
  · Per-task commit cadence
  · Role separation (workers execute, reviewers review)
  · File-first artefacts under .hyperflow/
  · No AI attribution
  · Security blocklists

Re-run `/hyperflow:bridge refresh` after updating the plugin to pick up doctrine changes.
What's NOT in the bridge: /hyperflow:* slash commands, plugin-loaded skill files, operational pre-elections. Those need the terminal CLI.

Status check

You: /hyperflow:bridge status

Hyperflow doctrine block: PRESENT in ./CLAUDE.md
  Version generated: 4.10.0
  Generated at:      2026-05-15T09:12:00Z
  Plugin current:    4.10.1
  Status:            update available (re-run /hyperflow:bridge refresh)

Refresh after plugin update

You: /hyperflow:bridge refresh

Wrote hyperflow doctrine block to ./CLAUDE.md (version 4.10.1).
...

Remove

You: /hyperflow:bridge remove

Removed hyperflow doctrine block from ./CLAUDE.md. Surfaces that loaded the doctrine block will revert to default behaviour.

Resources

よくある質問

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

ターミナルCLI以外の環境(Claude Code Desktop、claude.aiのWeb版、CLIプラグインを読み込まないIDE拡張機能)にもhyperflowの動作ルールを適用したいときに使います。管理対象のドクトリンブロックをプロジェクトのCLAUDE.mdに書き込み、自律性、意図に基づくルーティング、コミットの間隔、役割の分離、ファイル優先のルールを引き継ぎます。一部の機能は引き継がれません(スラッシュコマンドや実際のスキルのディスパッチには対応しません)が、便利です。/hyperflow:bridge、「デスクトップでhyperflowを使えるようにして」「claude.aiでhyperflowを使えるようにして」「hyperflowのドクトリンをCLAUDE.mdに埋め込んで」「持ち運び可能なhyperflowルール」で起動します。

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

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/main/plugins/ai-agency/hyperflow/skills/bridgeを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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