Skip to content
Agentmart
Submit a tool

bridge-watch

Modo guardia para Project Bridge.

Skill by webcomunicasolutions

IndexedMIT
Write a review

Chalk Labs

Need help deploying bridge-watch?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/webcomunicasolutions-bridge-watch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Modo guardia para Project Bridge. Escucha pasivamente mensajes nuevos en shared/ de cualquier canal y los responde o deriva al usuario. Util cuando hay varios proyectos trabajando en paralelo y se escriben entre si. Trigger automatico via /watch-bridge o cuando el usuario pide "ponte en modo escucha", "watch bridge", "loop bridge".

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/bridge-watch

What's inside

Skill name
bridge-watch
Description
Modo guardia para Project Bridge. Escucha pasivamente mensajes nuevos en shared/ de cualquier canal y los responde o deriva al usuario. Util cuando hay varios proyectos trabajando en paralelo y se escriben entre si. Trigger automatico via /watch-bridge o cuando el usuario pide "ponte en modo escucha", "watch bridge", "loop bridge".
License
MIT
Instructions
182 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# bridge-watch - Modo guardia para Project Bridge

## Cuando usarla

- Cuando el proyecto local tiene `shared/BRIDGE.md` con canales activos
- Y otro(s) proyecto(s) Claude Code estan trabajando en paralelo y van a
  enviar mensajes proximamente
- El usuario quiere que esta sesion se quede "escuchando" sin tener que
  preguntar cada rato

## Como funciona

Patron de poll periodico con backoff:
1. Cada N segundos revisar archivos `from_<remoto>_*.md` en `shared/`
2. Para cada uno, verificar si existe `to_<remoto>_<tema>_reply.md`
3. Si NO existe → mensaje pendiente → leerlo + responder (o derivar)
4. Si SI existe → ya respondido
5. Programar siguiente wakeup con `ScheduleWakeup`
6. Aplicar backoff: si no hay novedad varios ticks, alargar intervalo

## Backoff de intervalos (mantener cache hot inicialmente)

- **Tick 1-3** (primeros 15 min): 270s (4.5 min) - cache hot
- **Tick 4-6** (15-45 min sin novedad): 600s (10 min) - 1 cache miss aceptable
- **Tick 7-12** (45 min - 4h): 1800s (30 min)
- **A partir de tick 13** (>4h sin novedad): 3600s (1h max)

Cuando llega mensaje y se procesa, RESETEAR a 270s (vuelve a haber actividad).

## Procesamiento de mensaje pendiente

1. Leer `from_<remoto>_<tema>.md`
2. Decidir tipo:
   - **Pregunta tecnica con respuesta deducible del contexto**: responder
     directamente con `to_<remoto>_<tema>_reply.md`
   - **Pregunta que requiere decision del usuario**: NO responder
     automaticamente. Avisar al usuario con resumen y propuesta de
     respuesta. Esperar instruccion antes de responder.
   - **Informativo (FYI)**: actualizar BRIDGE.md como `informativo`,
     no responder.
   - **Mensaje del usuario al usuario** (el otro Claude pide accion
     humana): avisar al usuario, no responder.

3. Si respondes:
   - Crear `to_<remoto>_<tema>_reply.md` en `shared/` local
   - **Copiar** el mismo archivo a `shared/` del proyecto remoto (para que
     lo vea)
   - Actualizar tabla de mensajes en `BRIDGE.md` de AMBOS proyectos:
     entrada original marcada `resuelto`, añadir linea del reply

4. Programar siguiente wakeup

## Comandos

### Activar modo guardia
```
/watch-bridge          # con intervalo default 270s
/watch-bridge 60       # con intervalo custom en segundos
/watch-bridge stop     # cancelar modo guardia
```

### Para auto-activacion al abrir sesion

Añadir al CLAUDE.md del proyecto:
```markdown
## Modo guardia automatico

Al abrir esta sesion, si el ultimo mensaje en `shared/BRIDGE.md` tiene
estado `pendiente` y es saliente reciente (<24h), activar automaticamente
la skill bridge-watch con intervalo 270s.

Tambien activar si la sesion previa guardada en
`~/.claude/sessions/` indica "modo guardia activo".
```

## Implementacion

### Funcion principal (pseudocodigo)

```python
def check_pending(shared_path, remote_names):
    """Revisar mensajes pendientes de cada remoto"""
    pendientes = []
    for remoto in remote_names:
        from_files = glob(f"{shared_path}/from_{remoto}_*.md")
        for f in from_files:
            tema = parse_tema(f)
            reply = f"{shared_path}/to_{remoto}_{tema}_reply.md"
            if not exists(reply):
                pendientes.append((remoto, f, tema))
    return pendientes

def watch_loop():
    pendientes = check_pending()
    if pendientes:
        # Procesar el mas antiguo primero
        remoto, archivo, tema = pendientes[0]
        contenido = read(archivo)
        # Decidir: responder auto vs derivar al usuario
        if puede_responder_solo(contenido):
            responder(remoto, tema, contenido)
            schedule_wakeup(270)  # reset
        else:
            # Avisar usuario, no responder, reprogramar
            informar_usuario(contenido)
            # No reprogramar hasta que usuario decida
    else:
        # Sin novedad, aplicar backoff
        siguiente_intervalo = backoff(ultimo_intervalo, ticks_sin_novedad)
        schedule_wakeup(siguiente_intervalo)
```

### Detectar canales automaticamente

```bash
# Extraer nombres de proyectos remotos del BRIDGE.md
grep -oP "Proyecto remoto.*?\K[a-z_]+$" shared/BRIDGE.md | sort -u
```

From webcomunicasolutions/claude-code-toolkit, MIT.

More from webcomunicasolutions/claude-code-toolkit

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 25, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from webcomunicasolutions

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get bridge-watch running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying bridge-watch?

CallGet help
Cite this page

bridge-watch skill. Agent Mart. https://agentmart.dev/skills/webcomunicasolutions-bridge-watch (last updated 2026-10-24)