Logotipo de Report Drafting

Report Drafting

Organización
buriedsignals
report-drafting

Report-phase hybrid synthesis — the model authors localized report framing and priority in report-draft.json; deterministic code validates finding references and renders the final Markdown, HTML, and evidence ledger.

Descripción general

Editorburiedsignals
Repositoriospotlight
Nombre de la habilidadreport-drafting
Estrellas
60
Forks
11
Archivos incluidos
9
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.

  • Archivos incluidos: 9

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

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

Instalación

Instala la habilidad de IA Report Drafting 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/buriedsignals/spotlight/tree/main/skills/report-drafting
  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/buriedsignals/spotlight.git /tmp/spotlight
mkdir -p .claude/skills
cp -r /tmp/spotlight/skills/report-drafting .claude/skills/report-drafting
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Report Drafting 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 Report Drafting 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 Report Drafting 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á.

report-drafting — Report synthesis

You are in the Report phase. The Investigation gate has approved the structured findings and independent verdicts. You own the editorial synthesis; deterministic code owns file construction and evidence/confidence enforcement.

Deliverables (all three required)

FileAudienceWhat it is
case/findings-report.mdeditor / fact-checkercanonical claim-by-claim audit generated from structured inputs
case/report.htmlpublication / readerdesigned artifact using the canonical template stylesheet
case/evidence-map.jsonaudit / replicationmachine-readable claim → verdict → source ledger

Mandatory AI-assistance notice (verbatim, in report.html)

The renderer places this at the top of the page. Do not soften:

AI assistance notice: Spotlight is designed to help surface, organize, and cross-check information, but AI can make mistakes. You are responsible for verifying sources, confirming authenticity, assessing risks, and deciding what is publishable.

Workflow

  1. Read {CASE_DIR}/data/findings.json and {CASE_DIR}/data/fact-check.json.

  2. Write the prose of {CASE_DIR}/data/report-draft.json in the report's natural language. The file holds the report's structure: one finding_treatments entry per finding the member kept at the Investigation gate, the same IDs in finding_order and framing_finding_ids, and empty prose. If it does not exist, create it with scripts/spotlight-python scripts/spotlight-orchestration.py report-skeleton {CASE_DIR}, which also lists the passages you may quote. Write the title, the deck, and each finding's headline, concise summary and why it matters; none may stay empty. You may reorder finding_order (and finding_treatments with it), narrow framing_finding_ids, and add caveats and next steps. Keep every finding_id; add or remove none. Every prose block must reference the fact-checked finding IDs it interprets; do not author verdicts or confidence.

    Significance may explain how a finding answers the approved question; no new implication is required. Preserve the accepted actor, quantifiers, scope, exact date or vintage, and uncertainty. Name the dates when releases share a month. Do not turn one documented source into a claim about where everyone obtained their information.

    When an existing structure would clarify the report, add an optional diagrams item. For relationship structures, select one of flow, hierarchy, network, or loop; cite its supporting finding IDs; and select its existing connections using exact {from, to, relationship} values from findings.json. Keep it to one question, at most nine nodes and twelve connections. A loop is one simple cycle and has exactly one focal starting entity. For data charts, either select timeline with 1–12 indicator_ids that resolve to entries in findings.json technical_indicators (the renderer draws each recorded first→last observation span in chronological order), or select bar with a metric of verdict_tally, confidence_distribution, or source_types, counted deterministically over your finding_ids or all findings. Never author Mermaid, SVG, HTML, JavaScript, CSS, URLs, coordinates, counts, or layout settings: the renderer owns those.

    quote_selections in the example below is optional. It may cite only an expression marked direct_quote: true; when none qualifies, omit it.

    json
    {
      "schema_version": "1.0",
      "title": "A clear journalist-grade title",
      "deck": "The central synthesis and its most important qualification.",
      "framing_finding_ids": ["F2", "F1"],
      "finding_order": ["F2", "F1"],
      "finding_treatments": [
        {
          "finding_id": "F2",
          "headline": "Editorial headline for this finding",
          "summary": "A concise synthesis of the validated record.",
          "why_it_matters": "The editorial significance without adding facts.",
          "quote_selections": [{"expression_id": "SX2"}]
        },
        {
          "finding_id": "F1",
          "headline": "Editorial headline for this finding",
          "summary": "A concise synthesis of the validated record.",
          "why_it_matters": "The editorial significance without adding facts."
        }
      ],
      "diagrams": [
        {
          "id": "money-flow",
          "type": "flow",
          "title": "How funds moved through the structure",
          "caption": "The selected connections show the recorded route through two intermediaries.",
          "finding_ids": ["F2", "F1"],
          "connections": [
            {"from": "Payer", "to": "Intermediary", "relationship": "paid"},
            {"from": "Intermediary", "to": "Recipient", "relationship": "transferred"}
          ],
          "focal_entities": ["Recipient"]
        }
      ],
      "caveats": [
        {"text": "Important limitation for readers.", "finding_ids": ["F2"]}
      ],
      "next_steps": [
        {"text": "A reporting step that would close a gap.", "finding_ids": ["F2"]}
      ]
    }

    In an activated 1.1 case, an optional quote_selections item contains expression_id only. A selection must cite an expression marked direct_quote: true in data/source-expressions.json; when none qualifies, the draft omits quote_selections. Never copy quote text or attribution into the draft. The deterministic renderer resolves the active canonical expression, escapes its exact text and attribution, and records its locator, hashes, relation, and lifecycle in evidence-map.json. Legacy 1.0 reports do not accept expression selections.

  3. Decision check (optional). Pi harness: not in this runtime (the newsroom edition's run_checks below is the newsroom's own service). Newsroom edition: call run_checks with kind report instead; its flags appear on the Report page. Otherwise, if this case ran decision checks at the Investigation gate (data/decision-signals.json exists), check the prose before finalizing:

    execute-shell("scripts/spotlight-python scripts/decision-signals.py {CASE_DIR} --phase report")

    It asks the decision model whether each deck, headline, summary, why-it-matters and caveat says more than its findings and verdicts allow (added certainty, cause, motive, scope, actor, amount or date; a dropped "allegedly"; an unverified finding stated as fact). Revise only the flagged fields in data/report-draft.json and rerun the check (at most two rounds). If the editor judges a flag wrong, record an override in data/decision-signals.json with the flagged item's target and input_sha256 plus reviewer, reason and at. It applies only to that exact sentence with those findings, verdicts and confidences, and lapses when any of them changes. The finalizer's report_fidelity stage reads these stored signals offline: in enforce mode it fails on unrevised flags or on prose changed after the check; in advisory mode it only warns.

  4. Return the completed structured draft to the phase-report owner. The member's decision on the review page (or, in a runtime without the page, spotlight_transition({operation: "decideReport", payload: {decision: "completed"}}) after the user answers) applies the transition; the resolver invokes the deterministic finalizer, validates both inputs, renders all three artifacts, and records their hashes before advancing to Ingest.

  5. If that transition reports a report_draft or report_fidelity failure, revise only data/report-draft.json using the exact failure. If fact-check fails, return to the fact-checker. Never repair generated HTML or Markdown by hand.

  6. Present generated report artifacts only after the transition succeeds.

The renderer is byte-deterministic for identical inputs, HTML-escapes all case text, permits links only to HTTP(S) sources or existing files within the case, and caps every non-verified finding at Low confidence. Activated reports also require every reportable positive finding to retain an active supporting expression through the fact-check trail. Missing, dangling, tampered, superseded, or withdrawn expression references fail before valid report artifacts are replaced.

When decision checks ran, findings-report.md and evidence-map.json show each finding's decision-check line and flags; in enforce mode a fresh, judged grounding signal can lower displayed confidence (never raise it), and validate-report.py fails if any displayed confidence exceeds its applied cap.

The structural validator is deliberately language-neutral. It proves reference coverage and verdict placement; it does not pretend to prove semantic entailment from prose. Independent fact-checking and the final human editorial gate remain responsible for whether the model's synthesis accurately interprets the cited findings.

Inputs / Outputs

Model writes: case/data/report-draft.json. Renderer reads: case/data/{findings,fact-check,report-draft,methodology}.json, plus case-contract.json and source-expressions.json for activated 1.1 cases, and case-local sources. Renderer writes: case/findings-report.md, case/report.html, case/evidence-map.json.

References

  • references/report-template.html — canonical stylesheet and legacy manual skeleton; the renderer reads its CSS.
  • references/citation-discipline.md — editorial rationale behind source-closure rules.
  • references/design-discipline.md — design semantics retained by the renderer.
  • references/diagram-design.md — report-diagram type selection and visual grammar.
  • references/interactive-diagrams.md — Mermaid/ELK rendering and canvas behavior.
  • references/anti-patterns.md — historical failures that motivated deterministic finalization.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Report Drafting?

Report-phase hybrid synthesis — the model authors localized report framing and priority in report-draft.json; deterministic code validates finding references and renders the final Markdown, HTML, and evidence ledger.

¿Por qué usar Report Drafting en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Report Drafting 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 Report Drafting en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/buriedsignals/spotlight/tree/main/skills/report-drafting. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Report Drafting?

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 Report Drafting?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Report Drafting 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 Report Drafting?

Sí. buriedsignals 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 👇