Logo di Evidence Binder

Evidence Binder

Community
WILLOSCAR
evidence-binder

Associa a ogni sottosezione (H3) gli ID delle prove a cui è possibile fare riferimento in `papers/evidence_bank.jsonl`, generando `outline/evidence_bindings.jsonl`.

Add to TypingMind

Panoramica

Pubblicato daWILLOSCAR
Repositoryresearch-units-pipeline-skills
Nome della skillevidence-binder
Stelle
513
Fork
39
File inclusi
1
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da WILLOSCAR su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Evidence Binder in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/WILLOSCAR/research-units-pipeline-skills/tree/main/.codex/skills/evidence-binder
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/WILLOSCAR/research-units-pipeline-skills.git /tmp/research-units-pipeline-skills
mkdir -p .claude/skills
cp -r /tmp/research-units-pipeline-skills/.codex/skills/evidence-binder .claude/skills/evidence-binder
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Evidence Binder in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Evidence Binder non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Evidence Binder non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Evidence Binder (NO PROSE)

Triggers & routing

  • Trigger: evidence binder, evidence plan, section->evidence mapping, 证据绑定, evidence_id.
  • Use when: papers/evidence_bank.jsonl exists and you want writer/auditor to use section-scoped evidence items (WebWeaver-style memory bank).

Goal: convert a paper-level pool into a subsection-addressable evidence plan.

This skill is the bridge from “Evidence Bank” → “Writer”: the writer should only use evidence IDs bound to the current subsection.

Why this matters for writing quality:

  • Weak/undifferentiated bindings force the writer to either pad prose or cite out-of-scope.
  • Treat binding_gaps as a routing signal: fix upstream evidence/mapping instead of "writing around" missing evidence.

Inputs

  • outline/subsection_briefs.jsonl
  • outline/mapping.tsv
  • papers/evidence_bank.jsonl
  • Optional:
    • citations/ref.bib (to validate cite keys when evidence items carry citations)

Outputs

  • outline/evidence_bindings.jsonl (1 JSONL record per subsection)
  • outline/evidence_binding_report.md (summary; bullets + small tables)
    • Includes gaps (missing required evidence fields) and tag mix (selected evidence tags) so subsection-specific evidence needs are visible.

Output format (outline/evidence_bindings.jsonl)

JSONL (one object per H3 subsection). Best-effort fields (keep deterministic):

  • sub_id, title
  • paper_ids (papers in-scope for this subsection, from mapping.tsv)
  • mapped_bibkeys (bibkeys mapped to this subsection)
  • bibkeys (a selected subset to encourage subsection-first citations)
  • evidence_ids (selected evidence items from papers/evidence_bank.jsonl)
  • evidence_counts (small summary by claim_type / tag / evidence_level)
  • binding_rationale (short bullets; why the selected evidence covers this subsection’s axes / desired tags)
  • binding_gaps (list[str]; required evidence fields not covered by selected evidence; drives the evidence self-loop upstream)

A150++ density contract (default)

  • Use queries.md:per_subsection as the width contract (A150++ default: 28).
  • Bind enough evidence to make writing concretely executable without out-of-scope pressure:
    • mapped_bibkeys: >= per_subsection
    • evidence_ids: >= per_subsection - 4 (A150++: >=24)
    • bibkeys (selected): >= 20 (so each H3 has a usable citation pool, not just a long mapped list)

For draft_profile=course_paper, retain the same traceability shape at compact density: 8 mapped bibkeys, at least 6 selected bibkeys, and at least 6 evidence IDs from at least 4 papers per H3.

Binding policy (how strict to be)

  • Subsection-first by default: the writer should primarily cite bibkeys and use evidence_ids bound to this sub_id.
  • Allow limited within-chapter reuse: citations from sibling H3s within the same H2 chapter may be reused for background/evaluation framing, but:
    • keep >=3 subsection-specific citations per H3 (avoid “free cite drift”)
    • avoid cross-chapter reuse unless the outline explicitly calls for it

Workflow (NO PROSE)

  1. Read outline/subsection_briefs.jsonl to understand each H3’s scope/rq/axes.
  2. Read outline/mapping.tsv to know which papers belong to each subsection.
  3. Read papers/evidence_bank.jsonl and select a subsection-scoped set of evidence_id items per H3.
  4. If citations/ref.bib exists, sanity-check that any cite keys referenced by selected evidence items are defined.
  5. Write outline/evidence_bindings.jsonl and outline/evidence_binding_report.md.

Freeze policy

  • If outline/evidence_bindings.refined.ok exists, the script will not overwrite outline/evidence_bindings.jsonl.
  • Treat this marker as an explicit refinement/completion signal (especially in strict runs): only create it after you have checked binding_gaps and tag mix look subsection-specific.

Heterogeneity sanity check (avoid recipe-like bindings)

A common hidden failure mode is mechanical uniformity: every H3 ends up with the same claim_type/tag mix, which hides what each subsection is actually missing and pushes the writer toward generic prose.

Before you mark bindings as refined:

  • Scan outline/evidence_binding_report.md: different H3 should show meaningfully different tag mix / claim_type balance.
  • If most H3 look identical, treat it as a binder smell: tighten required_evidence_fields, adjust selection rationale, or enrich the evidence bank, then rerun.

Script

Quick Start

  • uv run python .codex/skills/evidence-binder/scripts/run.py --help
  • uv run python .codex/skills/evidence-binder/scripts/run.py --workspace <workspace>

All Options

  • --workspace <dir>: workspace root
  • --unit-id <U###>: unit id (optional; for logs)
  • --inputs <semicolon-separated>: override inputs (rare; prefer defaults)
  • --outputs <semicolon-separated>: override outputs (rare; prefer defaults)
  • --checkpoint <C#>: checkpoint id (optional; for logs)

Examples

  • Bind evidence IDs after building the evidence bank:
    • Ensure papers/evidence_bank.jsonl exists.
    • Run: uv run python .codex/skills/evidence-binder/scripts/run.py --workspace <workspace>

Troubleshooting

Issue: some subsections have too few evidence IDs

Fix:

  • Strengthen papers/evidence_bank.jsonl via paper-notes (more extractable evidence items).
  • Or broaden the mapped paper set for the subsection via section-mapper, then rerun binder.

Issue: binding_gaps is non-empty (missing evidence types)

What it means:

  • The subsection brief requires certain evidence fields (e.g., benchmarks/metrics/security/tooling), but the bound evidence items do not cover them.

Fix (self-loop upstream):

  • Prefer enriching papers/evidence_bank.jsonl / papers/paper_notes.jsonl for mapped papers (extract benchmark/metric/failure-mode details).
  • If the mapping is weak for that evidence type, expand outline/mapping.tsv for the subsection and rerun binder.
  • If the requirement is unrealistic for the subsection’s scope, revise outline/subsection_briefs.jsonl:required_evidence_fields and rerun binder.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Evidence Binder?

Associa a ogni sottosezione (H3) gli ID delle prove a cui è possibile fare riferimento in `papers/evidence_bank.jsonl`, generando `outline/evidence_bindings.jsonl`.

Perché usare Evidence Binder su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Evidence Binder è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Evidence Binder in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/WILLOSCAR/research-units-pipeline-skills/tree/main/.codex/skills/evidence-binder. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Evidence Binder?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Evidence Binder?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Evidence Binder: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Evidence Binder è gratuita?

È pubblicata su GitHub da WILLOSCAR. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇