Logotipo de Sk Communication

Sk Communication

Comunidad
MichelKerkmeester
sk-communication

Projects terse CLI output to plain English byte-safely, across six runtimes, leaving canonical bytes unchanged.

Descripción general

EditorMichelKerkmeester
Repositorioskilled-agent-harness_spec-driven-loops
Nombre de la habilidadsk-communication
Estrellas
41
Forks
3
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por MichelKerkmeester en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Sk Communication en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/MichelKerkmeester/skilled-agent-harness_spec-driven-loops/tree/main/specs/cli-classifier/003-cli-jev-workflow-integration/023-reply-harness-blinded-judge/scratch/w4-build/drafts/skill
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MichelKerkmeester/skilled-agent-harness_spec-driven-loops.git /tmp/skilled-agent-harness_spec-driven-loops
mkdir -p .claude/skills
cp -r /tmp/skilled-agent-harness_spec-driven-loops/specs/cli-classifier/003-cli-jev-workflow-integration/023-reply-harness-blinded-judge/scratch/w4-build/drafts/skill .claude/skills/sk-communication
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Sk Communication en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Sk Communication automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Sk Communication no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Communication Projection

Make supported CLI and agent output read like careful plain English, across Claude, Codex, Pi, OpenCode, Devin, and Cursor, while leaving the canonical event stream, transcript, tool data, and model context byte-for-byte unchanged. Every unsafe or failed path returns the exact original. The implementation is the @portable-cli/communication-projection package under .skilled/skills/sk-communication/cli-communication-projection/; this skill routes you to the right part of it and enforces its invariants.

Projection is off by default for everyone. Nothing rewrites CLI output until an operator opts in on their own machine, by setting COMMUNICATION_PROJECTION_ENABLED or by adding a git-ignored enablement.local.json at the package root. Every activation path checks isProjectionEnabled() first. This skill is also held out of advisor routing on purpose. sk-communication is on the advisor route-exclusions denylist (.skilled/skills/system-skill-advisor/runtime/config/route-exclusions.json), so the recommender never surfaces it and you invoke it by hand.

One lane

This skill does one thing: it re-renders an existing byte stream of agent output in plainer words, without changing the register's content, and returns the exact original whenever it cannot. It acts on a message that already exists; it never composes new material.

It carried a second lane until this release — an explanation lane that turned a topic into a diagram at a chosen depth. That lane was retired. What it produced was a fenced Mermaid block, which the terminals it ran in display as source text rather than as a picture, and the runtimes that can publish a rendered page now do so natively. The projection lane keeps this skill's whole risk profile, and that profile is what the enablement flag and the egress rules exist to contain.

The skill stays off advisor routing: it is on the recommender's exclusion list and you invoke it by hand.


1. WHEN TO USE

Activation Triggers

Use this skill when the request involves:

  • Rewriting terse, robotic CLI or agent status output into readable prose without changing the underlying data.
  • A provider-neutral "claudish to English" projection layer across multiple CLIs.
  • Choosing where rewriting happens — a local model or a hosted one — under explicit privacy and egress rules.
  • Wiring one of the six runtime adapters (Claude, Codex, Pi, OpenCode, Devin, Cursor) to a rewrite pipeline.
  • Deciding a presentation tier: full 1:1 projection versus a safe-native fallback.
  • Measuring whether rewritten output reads as well as a human reference (blind non-inferiority evaluation), or gating a release on that evidence.

Keyword Triggers

communication projection, claudish to english, rewrite CLI output, plain-english projection, privacy-first rewrite, full-projection, safe-native, provider adapters, exact-original fallback, compatibility doctor, release gate, non-inferiority evaluation.

When NOT to Use

  • General application code implementation → sk-code.
  • Authoring documentation or markdown → sk-doc.
  • Live-website CSS to a measured Style Reference → sk-design-md-generator.
  • Git worktrees, commits, or PRs → sk-git.
  • Explaining something as a diagram, or publishing a rendered page → the runtime's own visual capability. This skill carried that once and no longer does.
  • Rewriting durable Markdown or any on-disk file. That changes canonical bytes and is explicitly out of scope; it needs a separate opt-in product contract, not this projection layer. This bars editing existing files.

Operator Trigger Commands

Two slash commands expose sk-communication as an on-demand trigger surface. Projection stays off by default; no command changes that global state persistently.

  • /rewrite:response — the active AI re-renders its own most recent reply in plain English, entirely in-context. No local or external LLM. Display-only: canonical bytes stay unchanged.
  • /rewrite:response-by-external-agent — a one-shot projection of a target through a chosen engine (an external cli-* skill, native in-context, or a local LLM). It sets COMMUNICATION_PROJECTION_ENABLED inline for the single run so the flag falls away immediately afterward, keeping the default-off invariant even on error. It never writes enablement.local.json.

2. SMART ROUTING

Routing Signals

The capability is one package split by responsibility. Route to the subsystem the request needs:

Request signalPackage surfacePublic entry points
Assemble a whole message, bound context, versioned prompt profilesrc/core/, src/context/, src/contracts/MessageAssembler, selectBoundedContext, validateContract
Preserve protected spans, validate meaning, decide how to displaysrc/fidelity/, src/render/protectMarkdown, restoreProtectedSpans, validateProjectionCandidate, decideRender
Pick a local vs hosted model under privacy rulessrc/privacy/, src/providers/selectPrivacyRoute, executeProviderRoute
Wire a specific CLI adapter or its displaysrc/runtimes/, src/clients/the runtime adapters' adapt / present; client display and sidecar
Score quality or aggregate private telemetrysrc/evaluation/, src/observability/evaluateReleaseGate, createReleaseReport, content-free aggregation
Check compatibility, gate a release, or roll backsrc/doctor/, src/release/runCompatibilityDoctor, evaluateReleaseReadiness, planRollback

Read src/<subsystem>/index.ts for the exact public surface before integrating against it.

Resource Domains

  • The package itself under .skilled/skills/sk-communication/cli-communication-projection/ is the primary resource; its docs/ folder holds install, configuration, privacy, support-matrix, rollback, and runbook guidance. The subsystem map above is the routing layer and lives inline in this document.
  • The design and requirements history lives in the spec epic under specs/cli-external-orchestration/035-improved-communication/.

Loading Levels

  • ALWAYS: read the relevant src/<subsystem>/index.ts exports before integrating against them.
  • CONDITIONAL: read the matching docs/*.md when the task is install, privacy, support, or rollback.
  • ON_DEMAND: read the spec epic only for the "why" behind a frozen invariant.

Smart Router Pseudocode

python
from pathlib import Path

SKILL_ROOT = Path(__file__).resolve().parent

# This skill routes by subsystem, not by lane. The subsystem map in the table above is the routing
# layer and it lives inline in this document, so a projection request loads no additional markdown —
# what it needs is the package's own `src/<subsystem>/index.ts`, which is code rather than a routable
# skill resource. The router therefore answers which subsystem a request touches, and says so when it
# cannot tell, rather than selecting a file to read.

SUBSYSTEMS = {
    "assembly":    ["assemble", "message", "bound context", "prompt profile", "contract"],
    "fidelity":    ["protected span", "fidelity", "validate", "render decision", "display"],
    "privacy":     ["privacy", "egress", "consent", "local model", "hosted", "provider"],
    "runtimes":    ["adapter", "runtime", "claude", "codex", "pi", "opencode", "devin", "cursor"],
    "evaluation":  ["score", "quality", "telemetry", "non-inferiority", "observability"],
    "release":     ["doctor", "compatibility", "release gate", "rollback"],
}

UNKNOWN_FALLBACK = {
    "load_level": "UNKNOWN_FALLBACK",
    "needs_disambiguation": True,
    "checklist": [
        "Confirm which subsystem the task touches",
        "Provide one concrete input or expected outcome",
    ],
}

def select_subsystem(request):
    """Name the subsystem a request touches, or ask rather than guess."""
    text = str(getattr(request, "text", request)).lower()
    hits = [name for name, signals in SUBSYSTEMS.items() if any(s in text for s in signals)]
    if len(hits) != 1:
        return {**UNKNOWN_FALLBACK, "candidates": hits}
    return {
        "subsystem": hits[0],
        "read": f"cli-communication-projection/src/{hits[0]}/index.ts",
        "note": "the subsystem map is inline in SKILL.md; no markdown resource is loaded",
    }

3. HOW IT WORKS

The Pipeline

text
canonical event/transcript ──> unchanged persistence + model context
                          └──> assemble message + bound context
                               └──> protect spans
                                    └──> privacy route (classify + consent BEFORE ranking)
                                         └──> provider rewrite (local or hosted)
                                              └──> fidelity validate (deterministic + semantic)
                                                   └──> render decision:
                                                        atomic replace | append | sidecar | original-only

Consume it through the package's subpath exports (@portable-cli/communication-projection, plus ./contracts, ./versioning, ./providers, ./privacy, ./runtimes, ./evaluation, ./observability, ./doctor, ./release). Key entry points: selectPrivacyRoute then executeProviderRoute; the runtime adapters' adapt/present; runCompatibilityDoctor; evaluateReleaseReadiness.

Invariants Each Subsystem Upholds

  • core / fidelity / render — the canonical original is never mutated; a rejected candidate returns exact-original bytes.
  • privacy / providers — classification and consent run before ranking; no silent local-to-hosted egress; credentials are references, never values.
  • runtimes / clients — every path declares full-projection or safe-native; safe-native never suppresses the original before a validated replacement exists.
  • evaluation / observability — telemetry is content-free with rotating keyed digests; a release needs a human-certified non-inferiority result, never a provisional one.
  • doctor / release — unknown or stale facts fail closed to original-only; the release gate blocks until every evidence lane passes.

The Two Presentation Tiers

  • full-projection — only a client-owned or headless path that owns a complete message AND an atomic render decision may claim a full 1:1 rewrite.
  • safe-native — a constrained native surface may only append, use a sidecar, or show original-only. It never claims 1:1 parity, and it never suppresses the original before a validated replacement exists.

The Wording Standard

"Plain English" is not defined in this skill. It is the Human Voice Rules at ../sk-doc/sk-create-with-human-voice/references/hvr-rules.md, and the workflow that applies them is the sk-create-with-human-voice mode under sk-doc. Every rewrite path here routes to that standard instead of carrying a private rubric, so a change to the standard reaches this skill with no edit to a command. The provider receives the standard's reply base as its instruction. The instruction is read from that file the first time a prompt profile is built and then cached. The standard has one home, and the engine carries no copy.

One part of the standard is excluded, and a projection that honors it has damaged the message it was carrying:

ExcludedWhy
VOICE PERSONALITYIt asks for opinions, mixed feeling and controlled imperfection in writing you own. A projection carries someone else's message, so a reaction the original never held is a fidelity failure rather than a voice improvement.

The scoring bands of the pre-publish checklist need no exclusion of their own. They live in the standard's publish supplement, hvr-publish-supplement.md, which a reply never loads.

The pass a provider performs is a smoothing pass, never a cut-and-reorder. An unchanged candidate is recorded as a no-op rather than a pass.

Everything else binds, under the invariants in section 4. Where dropping a banned word would change what the original claimed, the word stays and the claim wins. That precedence is the standard's own, at ../sk-doc/sk-create-with-human-voice/references/scope-and-exemptions.md, which also carries the spans a rewrite may never touch: a quotation, an error string, a command, a path or an identifier.

Verification

Run the package's authoritative gate from the package directory: npm run check (typecheck, build, tests, import smoke). Test files run serially so latency benchmarks measure without contention.


4. RULES

✅ ALWAYS

  • Keep canonical transcripts, events, tool inputs, tool results, and future model context byte-for-byte unchanged.
  • Run privacy classification and egress consent BEFORE any cost, quality, or latency ranking.
  • Return the exact original bytes on any unsupported, unsafe, timed-out, cancelled, or failed path.
  • Make every runtime path declare full-projection or safe-native, and keep the two separate in any parity claim.
  • Keep telemetry content-free: reason codes only, never raw transcript, prompt, candidate, protected-span, or credential values; correlate with rotating keyed digests.
  • Revalidate OpenCode Go retention and training facts before the OpenCode Go preset's expiresAt (.skilled/skills/sk-communication/cli-communication-projection/src/providers/presets.ts) and again at every release; a stale hosted-privacy fact blocks hosted routing.

❌ NEVER

  • Never write a projection back into canonical state to simulate an integration.
  • Never move locally classified text to a hosted provider without explicit, configured, allowed fallback.
  • Never treat a shared wire protocol as proof of model capability, privacy, retention, or fidelity — require dated evidence and fail closed on unknown.
  • Never count a safe-native result toward a full-projection 1:1 claim.
  • Never authorize a release on provisional or LLM-judge evaluation evidence; the release gate requires a human-certified non-inferiority result.
  • Never write a voice or tone rubric into a command, an asset or a presentation contract here. The standard has one home and this skill routes to it, so a second copy drifts from the first the moment either is edited.

⚠️ ESCALATE IF

  • A capability, retention, residency, or protocol-major fact is unknown or stale — fail closed to original-only and surface it.
  • A release is requested before the powered blind human non-inferiority study has passed, or before a live credentialed provider smoke exists.

5. REFERENCES AND RELATED RESOURCES

Core

  • .skilled/skills/sk-communication/cli-communication-projection/ — the implementation; read src/<subsystem>/index.ts for the public surface.
  • .skilled/skills/sk-communication/cli-communication-projection/docs/ — install, configuration, privacy, support-matrix, rollback, and runbook.
  • .skilled/skills/sk-communication/benchmark/reply-harness/judge-agreement.mjs: an offline measurement of whether a Deem or Jev judge agrees with the operator's grades of masked replies more often than the mechanical scores, calling no model unless --deem or --jev is set and never feeding the release gate.

Deep Detail

  • specs/cli-external-orchestration/035-improved-communication/ — the eight-phase design record and frozen invariants; load only for the reasoning behind a rule above.

Related Skills

  • sk-doc → sk-create-with-human-voice, which owns the Human Voice Rules workflow this skill's rewrites are held to. The standard is at .skilled/skills/sk-doc/sk-create-with-human-voice/references/hvr-rules.md, the scope gate at that mode's references/scope-and-exemptions.md, and its scripts/hvr_scan.py scans a file rather than a live reply, so it audits this skill's own documents and never a projection in flight.
  • sk-code — builds and verifies integration code against the package.
  • sk-design-md-generator — extracts a measured Style Reference (design tokens from a live source).
  • sk-git — worktree, commits, and PR for the integration.

6. SUCCESS CRITERIA

  • The chosen path preserves the canonical original exactly and returns it on every failure.
  • Privacy runs before ranking, with no silent local-to-hosted egress.
  • Each runtime path declares and honors one presentation tier.
  • Telemetry is content-free and passes secret and content canaries.
  • The package gate (npm run check) is green from the final state.

7. INTEGRATION POINTS

Inputs

  • A runtime's canonical event stream or transcript, plus provider and privacy configuration.

Outputs

  • A validated display projection, or a typed safe fallback that shows the exact original.

Related Workflows

  • sk-doc → sk-create-with-human-voice owns the wording standard this skill's rewrites are held to, and section 3 records the part of it that a projection excludes.
  • sk-code builds and verifies integration code against this package.
  • sk-design-md-generator extracts a measured Style Reference from a live source.
  • sk-git handles the worktree, commits, and PR when integrating.

Preguntas frecuentes

¿Qué hace la habilidad de IA Sk Communication?

Projects terse CLI output to plain English byte-safely, across six runtimes, leaving canonical bytes unchanged.

¿Por qué usar Sk Communication en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Sk Communication está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Sk Communication en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/MichelKerkmeester/skilled-agent-harness_spec-driven-loops/tree/main/specs/cli-classifier/003-cli-jev-workflow-integration/023-reply-harness-blinded-judge/scratch/w4-build/drafts/skill. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Sk Communication?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Sk Communication?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Sk Communication con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Sk Communication?

Sí. MichelKerkmeester la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇