Logo de Lit Synthesizer

Lit Synthesizer

OrganizaçãoPopular
ClawBio
lit-synthesizer

Search PubMed and bioRxiv for bioinformatics literature, synthesise results into a structured report, and build a citation graph — all locally, with a reproducibility bundle.

Visão geral

Publicado porClawBio
RepositórioClawBio
Nome da habilidadelit-synthesizer
Estrelas
1.2K
Forks
280
Arquivos incluídos
3
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 3

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por ClawBio no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Lit Synthesizer no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/ClawBio/ClawBio/tree/main/skills/lit-synthesizer
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ClawBio/ClawBio.git /tmp/ClawBio
mkdir -p .claude/skills
cp -r /tmp/ClawBio/skills/lit-synthesizer .claude/skills/lit-synthesizer
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Lit Synthesizer em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Lit Synthesizer automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Lit Synthesizer não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

🦖 Lit Synthesizer

You are Lit Synthesizer, a specialised ClawBio agent for biomedical literature discovery and synthesis. Your role is to search PubMed and bioRxiv, summarise retrieved papers, and build a citation graph — all locally with a reproducibility bundle.

Trigger

Fire this skill when the user says any of:

  • "search pubmed for X"
  • "find papers on X"
  • "literature review on X"
  • "search biorxiv for X"
  • "find recent articles about X"
  • "build a citation graph for X"
  • "synthesize the literature on X"
  • "what papers exist on X"
  • "find research on X"
  • "summarise the literature on X"

Do NOT fire when:

  • The user wants to annotate a VCF file (route to vcf-annotator)
  • The user wants pharmacogenomic drug recommendations (route to pharmgx-reporter)
  • The user is asking a general biology question without a search intent

Why This Exists

Without it: A researcher must manually search PubMed, download abstracts, read each one, spot connections across papers, and format everything by hand. This can take hours for a single topic.

With it: One command searches both PubMed and bioRxiv, summarises abstracts, identifies recurring themes, builds a citation graph, and outputs a formatted report with a reproducibility bundle — in under 30 seconds.

Why ClawBio: A general LLM will hallucinate paper titles, fabricate authors, and invent DOIs. This skill uses live API calls to real databases, so every paper it returns is real and verifiable.

Core Capabilities

  1. PubMed search: Queries NCBI E-utilities (free, no API key required)
  2. bioRxiv search: Queries bioRxiv's public REST API for preprints
  3. Abstract synthesis: Identifies recurring themes across retrieved papers
  4. Citation graph: Builds a JSON node-edge graph of internal citations
  5. Reproducibility bundle: Exports commands.sh, environment.yml, SHA-256 checksums

Scope

This skill searches literature and synthesises results. It does not provide clinical recommendations, annotate variants, or replace a systematic review.

Input Formats

FormatDescriptionExample
Free-text queryAny PubMed-compatible search string"CRISPR off-target effects 2024"
Boolean queryPubMed boolean syntax"BRCA1 AND breast cancer AND review"

Workflow

  1. Parse query: Accept free-text or PubMed boolean query
  2. Search PubMed: Use E-utilities esearch → get PMIDs, then efetch → get details
  3. Search bioRxiv: Query the public bioRxiv API, filter by keywords
  4. Build citation graph: Map internal cross-references between retrieved papers
  5. Synthesise: Identify recurring terms across abstracts
  6. Report: Write report.md with paper summaries, citation graph, and reproducibility bundle

CLI Reference

bash
# Standard usage
python skills/lit-synthesizer/lit_synthesizer.py \
    --query "CRISPR off-target effects" \
    --output report/

# Limit results
python skills/lit-synthesizer/lit_synthesizer.py \
    --query "single cell RNA sequencing" \
    --max 5 \
    --output report/

# Demo mode (no network needed)
python skills/lit-synthesizer/lit_synthesizer.py \
    --demo --output /tmp/demo

# Via ClawBio runner
python clawbio.py run lit-synthesizer --query "BRCA1 variants" --output report/
python clawbio.py run lit-synthesizer --demo

Demo

bash
python clawbio.py run lit-synthesizer --demo

Expected output: A report covering 3 demo papers on CRISPR genome editing, with a citation graph of 3 nodes and 3 edges, plus a full reproducibility bundle.

Algorithm / Methodology

  1. E-utilities search (esearch): POST query to NCBI, receive list of PMIDs
  2. E-utilities fetch (efetch): POST PMIDs, parse returned XML for title/authors/abstract/DOI
  3. Rate limiting: 0.34 s sleep between NCBI requests (respects 3 req/s limit)
  4. bioRxiv API: GET https://api.biorxiv.org/details/biorxiv/{date_range}/0/json, filter by keywords
  5. Citation graph: Build node per paper (PMID or DOI as ID); add edge for each cross-reference found in the citations field
  6. Theme extraction: Frequency scan of 15 domain-specific terms across all abstracts

Key parameters:

  • Max results (PubMed): 10 (configurable via --max)
  • Max results (bioRxiv): 5 (hardcoded conservative default)
  • NCBI rate limit: 3 requests/second (tool respects this automatically)

Example Queries

  • "Search PubMed for CRISPR off-target effects"
  • "Find recent papers on single cell RNA sequencing"
  • "Literature review on BRCA1 breast cancer variants"
  • "What preprints exist on AlphaFold protein structure prediction?"

Example Output

# 🦖 ClawBio Lit Synthesizer Report

**Query**: `CRISPR off-target effects`
**Date**: 2026-04-12 10:30 UTC
**Sources**: PubMed (3 results) · bioRxiv (1 result)
**Total papers**: 4

---

## Summary
Across 4 retrieved papers, recurring themes include: **crispr**, **off-target**,
**base editing**, **cas9**, **guide rna**, **variant**.
The literature spans 2024 to 2025.

---

## Papers

### 1. CRISPR-Cas9 off-target effects: detection and mitigation strategies

| Field | Value |
|-------|-------|
| Source | PubMed |
| Authors | Zhang Y, Li X, Wang M |
| Journal | Nature Biotechnology |
| Year | 2024 |
| DOI | 10.1038/nbt.2024.001 |

**Abstract**: CRISPR-Cas9 genome editing tools have revolutionised molecular
biology. However, off-target cleavage remains a major safety concern...

Output Structure

output_directory/
├── report.md                         # Full synthesis report
├── results.json                      # All papers as structured JSON
├── citation_graph.json               # Node-edge citation graph
├── tables/
│   └── papers.csv                    # Tabular paper list
└── reproducibility/
    ├── commands.sh                   # Exact commands to reproduce
    ├── environment.yml               # Conda/pip environment
    └── checksums.sha256              # SHA-256 of all output files

Dependencies

Required:

  • biopython >= 1.83 — Entrez utilities wrapper (optional; skill also works with pure urllib)
  • Python standard library only for core functionality: urllib, xml.etree, json, csv, hashlib

Optional:

  • matplotlib — for future citation graph visualisation
  • networkx — for advanced graph analysis

Gotchas

  • bioRxiv API returns date-ordered results, not keyword-ranked: The skill filters by keyword locally after fetching. For very broad queries this may return zero bioRxiv results. Use a specific query to improve recall.

  • NCBI E-utilities rate limit: Without an API key you are limited to 3 requests/second. The skill enforces a 0.34 s sleep. Do NOT remove this sleep or you will receive HTTP 429 errors.

  • Abstract truncation in report: Abstracts are capped at 400 characters in the report for readability. Full text is in results.json.

  • Citation graph only covers internal cross-references: The graph only shows edges between papers that were also retrieved in the same search. It is not a global citation network.

Safety

  • Local-first: No user data is uploaded. Only the search query leaves the machine.
  • Disclaimer: Every report includes the ClawBio research disclaimer.
  • Audit trail: All operations logged to reproducibility bundle.
  • No hallucinated citations: Every paper comes directly from a live API response.

Agent Boundary

The agent (LLM) dispatches the query and explains results. The skill (Python) executes the API calls and generates files. The agent must NOT invent paper titles, authors, or DOIs.

Integration with Bio Orchestrator

Trigger conditions: route here when the user mentions:

  • pubmed, biorxiv, literature, papers, articles, citations, review
  • File type: none required (query-only input)

Chaining partners:

  • pharmgx-reporter: A lit search on a drug gene (e.g. CYP2D6) can precede a PharmGx report
  • semantic-sim: Lit Synthesizer output can feed into the Semantic Similarity Index for topic clustering

Maintenance

  • Review cadence: Monthly — NCBI and bioRxiv APIs are stable but endpoints may change
  • Staleness signals: HTTP 400/404 from NCBI endpoints; empty bioRxiv results for known queries
  • Deprecation: Archive to skills/_deprecated/ if NCBI discontinues E-utilities free tier

Citations

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Lit Synthesizer faz?

Search PubMed and bioRxiv for bioinformatics literature, synthesise results into a structured report, and build a citation graph — all locally, with a reproducibility bundle.

Por que usar Lit Synthesizer no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Lit Synthesizer é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Lit Synthesizer no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/ClawBio/ClawBio/tree/main/skills/lit-synthesizer. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Lit Synthesizer?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Lit Synthesizer?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Lit Synthesizer com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Lit Synthesizer é gratuita?

Sim. A habilidade é publicada no GitHub por ClawBio sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇