ib-summarizer

Summarize core safety information from Investigator's Brochures for clinical researchers

3,891 stars

Best use case

ib-summarizer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Summarize core safety information from Investigator's Brochures for clinical researchers

Teams using ib-summarizer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ib-summarizer/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/aipoch-ai/ib-summarizer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ib-summarizer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ib-summarizer Compares

Feature / Agentib-summarizerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Summarize core safety information from Investigator's Brochures for clinical researchers

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# IB Summarizer

## Description

Summarize core safety information from Investigator's Brochures (IB), helping clinical researchers quickly obtain key drug safety data.

## Functions

- Extract Core Safety Information (CSI) from IB documents
- Identify and summarize:
  - Known Adverse Drug Reactions (ADRs) and their incidence rates
  - Contraindications
  - Warnings and Precautions
  - Drug Interactions
  - Special population precautions
  - Overdose Management
  - Important safety updates

## Usage

```bash
python scripts/main.py <input_file> [options]
```

### Parameters

| Parameter | Type | Default | Required | Description |
|-----------|------|---------|----------|-------------|
| `input_file` | string | - | Yes | IB document path (PDF/Word/TXT) |
| `-o, --output` | string | stdout | No | Output file path |
| `-f, --format` | string | markdown | No | Output format (json, markdown, text) |
| `-l, --language` | string | zh | No | Output language (zh, en) |

### Examples

```bash
# Basic usage
python scripts/main.py /path/to/IB.pdf

# Output to JSON file
python scripts/main.py /path/to/IB.pdf -o summary.json -f json

# English output
python scripts/main.py /path/to/IB.docx -l en -o summary.md
```

## Output Structure

### Markdown Format

```markdown
# IB Safety Information Summary

## Basic Drug Information
- **Drug Name**: XXX
- **Version**: X.X
- **Date**: YYYY-MM-DD

## Core Safety Information

### Known Adverse Reactions
| System Organ Class | Adverse Reaction | Incidence | Severity |
|-------------|---------|--------|---------|
| ... | ... | ... | ... |

### Contraindications
- ...

### Warnings and Precautions
- ...

### Drug Interactions
- ...

### Special Populations
| Population | Precautions |
|-----|---------|
| Pregnant women | ... |
| Lactating women | ... |
| Children | ... |
| Elderly | ... |
| Hepatic/renal impairment | ... |

### Overdose
- Symptoms: ...
- Management: ...

### Safety Update History
| Version | Date | Update Content |
|-----|------|---------|
| ... | ... | ... |
```

### JSON Format

```json
{
  "drug_info": {
    "name": "Drug Name",
    "version": "Version Number",
    "date": "Date"
  },
  "core_safety_info": {
    "adverse_reactions": [...],
    "contraindications": [...],
    "warnings": [...],
    "drug_interactions": [...],
    "special_populations": {...},
    "overdose": {...},
    "safety_updates": [...]
  }
}
```

## Dependencies

- Python 3.8+
- PyPDF2 / pdfplumber (PDF parsing)
- python-docx (Word parsing)
- Optional: openai / anthropic (for AI-enhanced extraction)

## Installation

```bash
pip install -r requirements.txt
```

## Notes

1. Input documents should be readable PDF or Word format
2. Scanned PDFs require OCR processing first
3. For complex table structures, manual verification may be needed
4. Information extracted by this tool is for reference only and does not constitute medical advice

## Risk Assessment

| Risk Indicator | Assessment | Level |
|----------------|------------|-------|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access | No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |

## Security Checklist

- [ ] No hardcoded credentials or API keys
- [ ] No unauthorized file system access (../)
- [ ] Output does not expose sensitive information
- [ ] Prompt injection protections in place
- [ ] Input file paths validated (no ../ traversal)
- [ ] Output directory restricted to workspace
- [ ] Script execution in sandboxed environment
- [ ] Error messages sanitized (no stack traces exposed)
- [ ] Dependencies audited
## Prerequisites

```bash
# Python dependencies
pip install -r requirements.txt
```

## Evaluation Criteria

### Success Metrics
- [ ] Successfully executes main functionality
- [ ] Output meets quality standards
- [ ] Handles edge cases gracefully
- [ ] Performance is acceptable

### Test Cases
1. **Basic Functionality**: Standard input → Expected output
2. **Edge Case**: Invalid input → Graceful error handling
3. **Performance**: Large dataset → Acceptable processing time

## Lifecycle Status

- **Current Stage**: Draft
- **Next Review Date**: 2026-03-06
- **Known Issues**: None
- **Planned Improvements**: 
  - Performance optimization
  - Additional feature support

Related Skills

📝 智能摘要助手 (Smart Summarizer)

3891
from openclaw/skills

Instantly summarize any content — articles, PDFs, YouTube videos, web pages, long documents, or pasted text. Extracts key points, action items, and insights. Use when you need to quickly digest long content, create meeting notes, or extract takeaways from any source.

Workflow & Productivity

video-summarizer

3891
from openclaw/skills

将 B 站/YouTube/小红书/抖音视频转换为结构化 Notion 总结文档,自动上传截图,一键推送 Notion

shift-handover-summarizer

3891
from openclaw/skills

Generate structured shift handover summaries from EHR records, highlighting critical events, vital sign changes, and pending tasks for incoming clinical staff.

youtube-anycaption-summarizer

3891
from openclaw/skills

Turn YouTube videos into dependable markdown transcripts and polished summaries — even when caption coverage is messy. This skill works with manual closed captions (CC), auto-generated subtitles, or no usable subtitles at all by using subtitle-first extraction with local Whisper fallback. Supports private/restricted videos via cookies, batch processing, transcript cleanup, language backfill, source-language or user-selected summary language, and end-to-end completion reporting. Ideal for YouTube research, technical walkthroughs, founder content, tutorials, private/internal uploads, and batch video summarization workflows.

research-summarizer

3891
from openclaw/skills

Structured research summarization agent skill for non-dev users. Handles academic papers, web articles, reports, and documentation. Extracts key findings, generates comparative analyses, and produces properly formatted citations. Use when: user wants to summarize a research paper, compare multiple sources, extract citations from documents, or create structured research briefs. Plugin for Claude Code, Codex, Gemini CLI, and OpenClaw.

abstract-summarizer

3891
from openclaw/skills

Transform lengthy academic papers into concise, structured 250-word abstracts capturing background, methods, results, and conclusions. Optimized for research papers, theses, and technical reports across scientific disciplines.

youtube-summarizer

3891
from openclaw/skills

Automatically fetch YouTube video transcripts, generate structured summaries, and send full transcripts to messaging platforms. Detects YouTube URLs and provides metadata, key insights, and downloadable transcripts.

legal-matter-intake-summarizer

3891
from openclaw/skills

把法律相关咨询材料整理成事实、争议点、缺失材料与后续问题,不给法律结论。;use for legal, intake, case-summary workflows;do not use for 提供法律意见结论, 替代律师审查.

---

3891
from openclaw/skills

name: article-factory-wechat

Content & Documentation

humanizer

3891
from openclaw/skills

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Content & Documentation

find-skills

3891
from openclaw/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

General Utilities

tavily-search

3891
from openclaw/skills

Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.

Data & Research