Skill: Reagent Substitute Scout (ID: 108)
When to Use
- - Use this skill when the task needs Find validated alternative reagents based on literature citation data.
- Use this skill for evidence insight tasks that require explicit assumptions, bounded scope, and a reproducible output format.
- Use this skill when you need a documented fallback path for missing inputs, execution errors, or partial evidence.
Key Features
See ## Features above for related details.
- - Scope-focused workflow aligned to: Find validated alternative reagents based on literature citation data.
- Packaged executable path(s):
scripts/main.py. - Reference material available in
references/ for task-specific guidance. - Structured execution path designed to keep outputs consistent and reviewable.
Dependencies
- - Python >= 3.8
- requests >= 2.25.0
- pandas >= 1.3.0
- rdkit >= 2021.03.1 (chemical structure analysis)
- biopython >= 1.79 (NCBI API)
Example Usage
See ## Usage above for related details.
CODEBLOCK0
Example run plan:
- 1. Confirm the user input, output path, and any required config values.
- Edit the in-file
CONFIG block or documented parameters if the script uses fixed settings. - Run
python scripts/main.py with the validated inputs. - Review the generated output and return the final artifact with any assumptions called out.
Implementation Details
See ## Workflow above for related details.
- - Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.
- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.
- Primary implementation surface:
scripts/main.py. - Reference guidance:
references/ contains supporting rules, prompts, or checklists. - Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.
- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.
Quick Check
Use this command to verify that the packaged script entry point can be parsed before deeper execution.
CODEBLOCK1
Audit-Ready Commands
Use these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.
CODEBLOCK2
Workflow
- 1. Confirm the user objective, required inputs, and non-negotiable constraints before doing detailed work.
- Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.
- Use the packaged script path or the documented reasoning path with only the inputs that are actually available.
- Return a structured result that separates assumptions, deliverables, risks, and unresolved items.
- If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.
Description
When specific reagents are discontinued or out of stock, find validated alternatives based on literature citation data.
This Skill analyzes reagent usage data from scientific literature to identify alternative reagents that have been repeatedly validated and widely cited, helping researchers quickly find reliable alternatives when the original reagent is unavailable.
Features
- - 🔍 Reagent Identification: Parse reagent names, CAS numbers, molecular formulas, and other multi-dimensional information
- 📚 Literature Analysis: Based on citation data from PubMed, Google Scholar, and other databases
- ✅ Validation Scoring: Calculate usage frequency, success rate, and reliability scores for alternatives
- 🔄 Similarity Matching: Find similar reagents based on chemical structure and functional characteristics
- 📊 Report Generation: Output structured alternative solution reports
Usage
Basic Usage
CODEBLOCK3
Advanced Options
CODEBLOCK4
Configuration
Configuration file path: INLINECODE9
CODEBLOCK5
Output Format
Table Format (Default)
CODEBLOCK6
JSON Format
CODEBLOCK7
Data Sources
- 1. PubMed/NCBI - Biomedical literature database
- Google Scholar - Academic citation data
- ChEMBL - Bioactivity data
- PubChem - Chemical structure information
- Local Cache - Historical query results and offline data
Scoring Algorithm
Alternative scoring is based on the following dimensions:
CODEBLOCK8
Installation
CODEBLOCK9
Limitations
- - Literature data completeness depends on database API availability
- Chemical structure similarity calculation requires RDKit support
- Some specialized reagents may lack sufficient public literature data
- It is recommended to combine with actual laboratory conditions to verify alternatives
Version History
- - v1.0.0 (2025-02-06) - Initial version, supports basic query and scoring functions
Author
OpenClaw Skill Development
License
MIT
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
CODEBLOCK10
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
- 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
Output Requirements
Every final response should make these items explicit when they are relevant:
- - Objective or requested deliverable
- Inputs used and assumptions introduced
- Workflow or decision path
- Core result, recommendation, or artifact
- Constraints, risks, caveats, or validation needs
- Unresolved items and next-step checks
Error Handling
- - If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.
- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
- If
scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback. - Do not fabricate files, citations, data, search results, or execution outcomes.
Input Validation
This skill accepts requests that match the documented purpose of reagent-substitute-scout and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
INLINECODE12 only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
References
Response Template
Use the following fixed structure for non-trivial requests:
- 1. Objective
- Inputs Received
- Assumptions
- Workflow
- Deliverable
- Risks and Limits
- Next Checks
If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.
技能:试剂替代品侦察兵(ID: 108)
使用时机
- - 当任务需要基于文献引用数据寻找经过验证的替代试剂时使用此技能。
- 用于需要明确假设、限定范围和可重复输出格式的证据洞察任务。
- 当需要为缺失输入、执行错误或部分证据提供有记录的备用路径时使用此技能。
主要特性
相关详情请参见上方## 特性部分。
- - 聚焦范围的工作流程,针对:基于文献引用数据寻找经过验证的替代试剂。
- 封装的可执行路径:scripts/main.py。
- 参考资料位于references/目录,提供任务特定指导。
- 结构化执行路径,确保输出一致且可审查。
依赖项
- - Python >= 3.8
- requests >= 2.25.0
- pandas >= 1.3.0
- rdkit >= 2021.03.1(化学结构分析)
- biopython >= 1.79(NCBI API)
使用示例
相关详情请参见上方## 用法部分。
bash
cd 20260318/scientific-skills/Evidence Insight/reagent-substitute-scout
python -m py_compile scripts/main.py
python scripts/main.py --help
示例运行计划:
- 1. 确认用户输入、输出路径以及任何必需的配置值。
- 如果脚本使用固定设置,编辑文件内的CONFIG块或文档化参数。
- 使用验证后的输入运行python scripts/main.py。
- 审查生成的输出,并返回最终产物,同时注明所有假设。
实现细节
相关详情请参见上方## 工作流程部分。
- - 执行模型:验证请求,选择封装的工作流程,并生成限定范围的可交付成果。
- 输入控制:在运行任何脚本之前,确认源文件、范围限制、输出格式和验收标准。
- 主要实现界面:scripts/main.py。
- 参考指南:references/包含支持规则、提示或检查清单。
- 需优先明确的参数:输入路径、输出路径、范围过滤器、阈值以及任何领域特定约束。
- 输出规范:保持结果可重复,明确标识假设,避免无记录的副作用。
快速检查
使用此命令验证封装的脚本入口点是否可在深入执行前被解析。
bash
python -m py_compile scripts/main.py
审计就绪命令
使用这些具体命令进行验证。它们特意设计为自包含,避免使用占位符路径。
bash
python -m py_compile scripts/main.py
python scripts/main.py --help
工作流程
- 1. 在进行详细工作前,确认用户目标、必需输入和不可协商的约束条件。
- 验证请求是否匹配文档化的范围,如果任务需要不受支持的假设,则尽早停止。
- 仅使用实际可用的输入,使用封装的脚本路径或文档化的推理路径。
- 返回结构化结果,将假设、可交付成果、风险和未解决事项分开。
- 如果执行失败或输入不完整,切换到备用路径,并明确说明阻止完整完成的原因。
描述
当特定试剂停产或库存不足时,基于文献引用数据寻找经过验证的替代品。
此技能分析科学文献中的试剂使用数据,以识别经过反复验证且被广泛引用的替代试剂,帮助研究人员在原始试剂不可用时快速找到可靠的替代品。
特性
- - 🔍 试剂识别:解析试剂名称、CAS号、分子式等多维信息
- 📚 文献分析:基于PubMed、Google Scholar等数据库的引用数据
- ✅ 验证评分:计算替代品的使用频率、成功率和可靠性评分
- 🔄 相似性匹配:基于化学结构和功能特性寻找相似试剂
- 📊 报告生成:输出结构化的替代方案报告
用法
基本用法
text
查询特定试剂的替代品
python skills/reagent-substitute-scout/scripts/main.py --reagent TRIzol Reagent
按CAS号查询
python skills/reagent-substitute-scout/scripts/main.py --cas 15596-18-2
按分子式查询
python skills/reagent-substitute-scout/scripts/main.py --formula C17H34N2O6P
高级选项
text
指定输出格式
python skills/reagent-substitute-scout/scripts/main.py --reagent TRIzol --format json
限制结果数量
python skills/reagent-substitute-scout/scripts/main.py --reagent TRIzol --limit 10
指定应用领域过滤器
python skills/reagent-substitute-scout/scripts/main.py --reagent TRIzol --field RNA extraction
包含详细文献引用
python skills/reagent-substitute-scout/scripts/main.py --reagent TRIzol --verbose
配置
配置文件路径:~/.config/reagent-substitute-scout/config.json
json
{
data_sources: {
pubmed: {
enabled: true,
apikey: yourncbiapikey
},
google_scholar: {
enabled: true,
apikey: yourscholarapikey
},
chembl: {
enabled: true
},
pubchem: {
enabled: true
}
},
scoring: {
citation_weight: 0.4,
recency_weight: 0.3,
similarity_weight: 0.3,
min_citations: 5
},
output: {
default_format: table,
default_limit: 5
}
}
输出格式
表格格式(默认)
┌────────────────────────┬─────────────┬────────────┬──────────────┬─────────────┐
│ 替代品 │ CAS │ 相似度 │ 引用次数 │ 可靠性 │
├────────────────────────┼─────────────┼────────────┼──────────────┼─────────────┤
│ QIAzol Lysis Reagent │ 104888-69-9 │ 0.92 │ 2,341 │ ★★★★★ │
│ TRI Reagent │ 93249-88-8 │ 0.89 │ 1,876 │ ★★★★★ │
│ RNAzol RT │ 105697-57-2 │ 0.85 │ 892 │ ★★★★☆ │
└────────────────────────┴─────────────┴────────────┴──────────────┴─────────────┘
JSON格式
json
{
query: {
reagent: TRIzol Reagent,
cas: 15596-18-2
},
results: [
{
name: QIAzol Lysis Reagent,
cas: 104888-69-9,
molecular_formula: C17H34N2O6P,
similarity_score: 0.92,
citation_count: 2341,
reliability_score: 4.8,
validated_applications: [RNA extraction, tissue homogenization],
literature_evidence: [
{
pmid: 30212345,
title: Comparison of RNA extraction methods,
year: 2019,
citation_count: 156
}
]
}
]
}
数据来源
- 1. PubMed/NCBI - 生物医学文献数据库
- Google Scholar - 学术引用数据
- ChEMBL - 生物活性数据
- PubChem - 化学结构信息
- 本地缓存 - 历史查询结果和离线数据
评分算法
替代品评分基于以下维度:
总分 = 引用分数 × 0.4 + 时效性分数 × 0.3 + 相似度分数 × 0.3
其中:
- - 引用分数 = log(该替代品引用次数) / log(最大引用次数)
- 时效性分数 = 近5年引用占比
- 相似度分数 = 化学结构相似度 + 功能特性匹配度
安装
text
安装依赖
pip install -r skills/reagent-substitute-scout/requirements.txt
配置API密钥
cp skills/reagent-substitute-scout/config.example.json ~/.config/reagent-substitute-scout/config.json
编辑配置文件并填入API密钥
局限性
- - 文献数据完整性取决于数据库API的可用性
- 化学结构相似度计算需要RDKit支持
- 某些专业试剂可能缺乏足够的公开文献数据
- 建议结合实际实验条件验证替代品
版本历史
- - v1.0.0 (2025-02-06) - 初始版本,支持基本查询和评分