← 返回 Skills 市场
238
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)
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
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
# 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.mdfor API documentation - See
references/status-codes.mdfor trial status definitions - See
references/examples.mdfor 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
# 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
- Basic Functionality: Standard input → Expected output
- Edge Case: Invalid input → Graceful error handling
- 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
安全使用建议
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) ensure your use of competitor monitoring complies with your organization’s legal and ethical policies. If you need the agent to run autonomously, consider limiting network access or monitoring outbound traffic to detect any unexpected exfiltration.
功能分析
Type: OpenClaw Skill
Name: clinicaltrials-gov-parser
Version: 0.1.0
The skill is a legitimate tool designed to monitor clinical trial data using the official ClinicalTrials.gov API v2. The core logic in `scripts/main.py` implements rate-limited GET requests to a hardcoded government endpoint (clinicaltrials.gov) and provides a CLI for searching and summarizing trial statuses. There is no evidence of data exfiltration, unauthorized file access, or malicious code execution; the 'High' risk level mentioned in `SKILL.md` appears to be a conservative self-assessment regarding standard network and script execution capabilities.
能力评估
Purpose & Capability
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.
Instruction Scope
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.
Install Mechanism
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.
Credentials
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.
Persistence & Privilege
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clinicaltrials-gov-parser - 安装完成后,直接呼叫该 Skill 的名称或使用
/clinicaltrials-gov-parser触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of clinicaltrials-gov-parser.
- Monitors and summarizes competitor clinical trial status changes from ClinicalTrials.gov.
- Supports trial searching, detailed trial info, and status tracking by sponsor, condition, or status.
- Provides CLI and Python API access for trial monitoring, recruitment updates, and completion alerts.
- Includes security checklist, risk assessment, and sample usage for pharma competitive intelligence.
- Uses ClinicalTrials.gov API v2 with JSON output; supports monitoring over configurable time windows.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 238 次。
如何安装 Clinicaltrials Gov Parser?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clinicaltrials-gov-parser」即可一键安装,无需额外配置。
Clinicaltrials Gov Parser 是免费的吗?
是的,Clinicaltrials Gov Parser 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Clinicaltrials Gov Parser 支持哪些平台?
Clinicaltrials Gov Parser 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clinicaltrials Gov Parser?
由 AIpoch(@aipoch-ai)开发并维护,当前版本 v0.1.0。
推荐 Skills