# Bridge

Use when the user wants hyperflow's behavioral rules to apply outside the terminal CLI...

- Repository: https://github.com/jeremylongshore/tons-of-skills-marketplace (2890 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add jeremylongshore/tons-of-skills-marketplace --skill bridge -g -a claude-code -y`
Codex: `npx skills add jeremylongshore/tons-of-skills-marketplace --skill bridge -g -a codex -y`
Cursor: `npx skills add jeremylongshore/tons-of-skills-marketplace --skill bridge -g -a cursor -y`
Gemini CLI: `npx skills add jeremylongshore/tons-of-skills-marketplace --skill bridge -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add jeremylongshore/tons-of-skills-marketplace`

## Description

Use when the user wants hyperflow's behavioral rules to apply outside the terminal CLI, in Claude Code Desktop, claude.ai web, or IDE extensions that don't load CLI plugins. Writes a managed doctrine block into the project's CLAUDE.md so autonomy + intent-routing + commit cadence + role separation + file-first rules carry over. Lossy (no slash commands, no actual skill dispatch) but useful. Trigger with /hyperflow:bridge, "make hyperflow work in desktop", "make hyperflow work in claude.ai", "embed hyperflow doctrine in CLAUDE.md", "portable hyperflow rules".

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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`](../../templates/claude-md-doctrine.md). Doctrine background: [DOCTRINE.md](../hyperflow/DOCTRINE.md).

## Subcommands

| Subcommand | Description |
|---|---|
| `generate` | Write the doctrine block into the project's `CLAUDE.md` (create the file if absent, append the block if not present, refresh if already present) |
| `refresh` | Same as `generate`, alias for clarity when the block already exists |
| `remove` | Remove 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) |
| `status` | Show 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`:

The rest: https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/plugins/ai-agency/hyperflow/skills/bridge/SKILL.md
