openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Clinicaltrials Gov Parser

Monitor and summarize competitor clinical trial status changes from ClinicalTrials.gov. Trigger: When user asks to track clinical trials, monitor trial statu...

开发与 DevOps

作者:AIpoch @AIPOCH-AI

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v0.1.0

统计:⭐ 0 · 40 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:aipoch-ai/clinicaltrials-gov-parser

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's code, instructions, and requirements are coherent with its stated purpose (monitoring ClinicalTrials.gov) and do not request unrelated credentials or surprising installs.

目的

Name/description match the code and SKILL.md: the package queries ClinicalTrials.gov, parses trial records, and summarizes status changes. No unrelated credentials, binaries, or external services are requested.

说明范围

SKILL.md and examples confine the agent to searching, retrieving, and summarizing trials from the ClinicalTrials.gov API. Instructions do not ask the agent to read unrelated files or environment variables or send data to unexpected endpoints.

安装机制

This is an instruction-only skill with a single Python script and a requirements.txt (requests, dataclasses). There is no installer that downloads arbitrary archives or runs remote installers. The only required action is pip install -r requirements.txt which is proportional.

证书

No environment variables, credentials, or config paths are required. The network usage is limited to the documented ClinicalTrials.gov API endpoint (https://clinicaltrials.gov/api/v2), which is appropriate for the stated function.

持久

Skill is not always-on and does not request elevated platform privileges or modify other skills. It can run network requests but does not declare permanent presence or privileged system changes.

综合结论

This skill appears internally consistent with its stated purpose. Before installing or running: (1) review the full scripts/main.py (CLI portion) to confirm it does not write outside the workspace or call any unexpected endpoints, (2) run it in a sandboxed environment because it performs network calls and executes Python code, (3) audit dependencies (requests is expected; dataclasses is harmless but unnecessary on modern Python), and (4) ensur…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Clinicaltrials Gov Parser」。简介:Monitor and summarize competitor clinical trial status changes from ClinicalTri…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aipoch-ai/clinicaltrials-gov-parser/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: clinicaltrials-gov-parser
description: 'Monitor and summarize competitor clinical trial status changes from
  ClinicalTrials.gov.

  Trigger: When user asks to track clinical trials, monitor trial status changes,

  get updates on specific trials, or analyze competitor trial activities.

  Use cases: Pharma competitive intelligence, trial monitoring, status tracking,

  recruitment updates, completion alerts.

  '
version: 1.0.0
category: Pharma
tags:
- pharma
- clinical-trials
- monitoring
- api
- competitive-intelligence
author: AIPOCH
license: MIT
status: Draft
risk_level: High
skill_type: Hybrid (Tool/Script + Network/API)
owner: AIPOCH
reviewer: ''
last_updated: '2026-02-06'
---

# ClinicalTrials.gov Parser

Monitor and summarize competitor clinical trial status changes from ClinicalTrials.gov.

## Use Cases

- **Trial Monitoring**: Track status changes of specific clinical trials
- **Competitive Intelligence**: Monitor competitor trial activities and milestones
- **Recruitment Tracking**: Get updates on enrollment status
- **Completion Alerts**: Monitor trial completion and results posting

## Parameters

| Parameter | Type | Default | Required | Description |
|-----------|------|---------|----------|-------------|
| `--sponsor` | string | - | No | Trial sponsor name |
| `--condition` | string | - | No | Medical condition/disease |
| `--status` | string | - | No | Trial status (Recruiting, Completed, etc.) |
| `--trials` | string | - | No | Comma-separated trial IDs (NCT numbers) |
| `--output` | string | json | No | Output format (json, csv) |
| `--days` | int | 30 | No | Number of days for monitoring |

## Usage

```python
from scripts.main import ClinicalTrialsMonitor

# Initialize monitor
monitor = ClinicalTrialsMonitor()

# Search for trials
trials = monitor.search_trials(
    sponsor="Pfizer",
    condition="Diabetes",
    status="Recruiting"
)

# Get trial details
trial = monitor.get_trial("NCT05108922")

# Check for status changes
changes = monitor.check_status_changes(trial_ids=["NCT05108922"])
```

## CLI Usage

```bash
# Search trials
python scripts/main.py search --sponsor "Pfizer" --condition "Diabetes"

# Get trial details
python scripts/main.py get NCT05108922

# Monitor status changes
python scripts/main.py monitor --trials NCT05108922,NCT05108923 --output json

# Generate summary report
python scripts/main.py report --sponsor "Pfizer" --days 30
```

## API Methods

| Method | Description |
|--------|-------------|
| `search_trials()` | Search trials with filters |
| `get_trial(nct_id)` | Get detailed trial information |
| `check_status_changes()` | Check for status updates |
| `get_recruitment_status()` | Get enrollment updates |
| `generate_summary()` | Generate competitor summary |

## Technical Details

- **API**: ClinicalTrials.gov API v2
- **Rate Limit**: 10 requests/second
- **Data Format**: JSON
- **Difficulty**: Medium

## References

- See `references/api-docs.md` for API documentation
- See `references/status-codes.md` for trial status definitions
- See `references/examples.md` for usage examples

## Risk Assessment

| Risk Indicator | Assessment | Level |
|----------------|------------|-------|
| Code Execution | Python scripts with tools | High |
| Network Access | External API calls | High |
| File System Access | Read/write data | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Data handled securely | Medium |

## Security Checklist

- [ ] No hardcoded credentials or API keys
- [ ] No unauthorized file system access (../)
- [ ] Output does not expose sensitive information
- [ ] Prompt injection protections in place
- [ ] API requests use HTTPS only
- [ ] Input validated against allowed patterns
- [ ] API timeout and retry mechanisms implemented
- [ ] Output directory restricted to workspace
- [ ] Script execution in sandboxed environment
- [ ] Error messages sanitized (no internal paths exposed)
- [ ] Dependencies audited
- [ ] No exposure of internal service architecture
## 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