ericrisco/rsc-harness / skills/connect-tool
connect-tool
VerifiedUse when the user names a specific tool to connect to the agent (an ERP, accounting or desktop program, CRM, WhatsApp, a spreadsheet, a database): research its real docs first, and when none exist, diagnose the program with the user and keep going. Picks the safest route, builds `01-TOOLS/<TOOL>/` with a test that proves it. NOT a full typed API client (that is `api-connector-builder`), NOT a whole-workspace tooling scan (that is `harness`).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 16.4 KB |
| THIRD_PARTY.md | markdown | 2.8 KB |
| bridge-kit/01-TOOLS-plantilla/test_connection.shexecutable | script | 1.6 KB |
| bridge-kit/LICENSE | other | 1.2 KB |
| bridge-kit/README.md | markdown | 4.1 KB |
| bridge-kit/UPSTREAM.json | config | 219 B |
| bridge-kit/access/access_a_sqlite.pyexecutable | script | 3.5 KB |
| bridge-kit/dbhub/dbhub.toml.ejemplo | other | 2.5 KB |
| bridge-kit/red/cloudflared-config.yml.ejemplo | other | 1.1 KB |
| bridge-kit/red/tailscale-grants.hujson | other | 930 B |
| bridge-kit/sqlserver/01-login-servidor.sql | other | 1.1 KB |
| bridge-kit/sqlserver/02-usuario-y-vistas.sql | other | 2.9 KB |
| bridge-kit/sqlserver/03-prueba-solo-lectura.sql | other | 2.0 KB |
| bridge-kit/sqlserver/copia-nocturna.ps1 | script | 3.3 KB |
| evals/cases.yaml | config | 8.4 KB |
| references/connect-or-migrate.md | markdown | 5.8 KB |
| references/database-bridge.md | markdown | 9.7 KB |
| references/file-exchange.md | markdown | 7.9 KB |
| references/messages.md | markdown | 5.9 KB |
| references/program-types.md | markdown | 5.8 KB |
| references/spain.md | markdown | 7.1 KB |
| references/what-to-find-out.md | markdown | 4.0 KB |
bridge-kit/01-TOOLS-plantilla/test_connection.sh
View on GitHub#!/usr/bin/env bash
# Smoke-test del puente: el MCP de DBHub responde, autentica y SOLO expone lo esperado.
# Copia esta carpeta a 01-TOOLS/<PROGRAMA>/ del arnés (p. ej. 01-TOOLS/SAGE_50/).
# Uso: ./test_connection.sh
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ENV_PATH="$SCRIPT_DIR/.env"
[ -f "$ENV_PATH" ] || { echo "ERROR: falta $ENV_PATH" >&2; exit 1; }
set -a; source "$ENV_PATH"; set +a
: "${ERP_MCP_URL:?ERP_MCP_URL vacío en $ENV_PATH}"
: "${ERP_MCP_TOKEN:?ERP_MCP_TOKEN vacío en $ENV_PATH}"
rpc() {
curl -fsS -m 30 -X POST "$ERP_MCP_URL" \
-H "Authorization: Bearer ${ERP_MCP_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d "$1" | sed -n 's/^data: //p;/^{/p' | tail -1
}
rpc '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"test_connection","version":"1.0"}}}' >/dev/null \
|| { echo "ERROR: el MCP no responde o el token no vale" >&2; exit 1; }
LISTA="$(rpc '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}')"
LISTA="$LISTA" python3 -c '
import json, os, sys
tools = [t["name"] for t in json.loads(os.environ["LISTA"])["result"]["tools"]]
print("Herramientas:", ", ".join(tools))
raras = [t for t in tools if t not in {"execute_sql", "search_objects", "ventas_por_dia", "cobros_pendientes", "stock_bajo_minimos"}]
if raras:
print("AVISO: herramientas no previstas en el kit:", ", ".join(raras), file=sys.stderr)
print("OK — puente accesible. Recuerda: la prueba de solo lectura (03-prueba-solo-lectura.sql) tiene que dar OK en el servidor.")
'
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |