ELN Template Creator
ID: 139
Generate standardized experiment record templates for Electronic Laboratory Notebooks (ELN).
Description
This Skill is used to generate standardized experiment record templates that comply with laboratory specifications, supporting multiple experiment types and custom fields.
Usage
CODEBLOCK0
Parameters
| Parameter | Type | Default | Required | Description |
|---|
| INLINECODE0 | string | - | Yes | Experiment type (general, molecular-biology, chemistry, cell-culture, animal-study) |
| INLINECODE1 , INLINECODE2 |
string | stdout | No | Output file path |
|
--title | string | - | No | Experiment title |
|
--researcher | string | - | No | Researcher name |
|
--date | string | - | No | Experiment date (YYYY-MM-DD) |
|
--project | string | - | No | Project name/number |
Supported Experiment Types
- 1. general - General experiment template
- molecular-biology - Molecular biology experiments (PCR, cloning, electrophoresis, etc.)
- chemistry - Chemical synthesis experiments
- cell-culture - Cell culture experiments
- animal-study - Animal experiments
Output Format
Generated templates are in Markdown format, containing the following standard sections:
- - Basic experiment information
- Experiment purpose
- Experiment materials and reagents
- Experiment equipment
- Experiment procedures
- Results recording
- Data analysis
- Conclusions and discussion
- Attachments and raw data
Requirements
Author
OpenClaw
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
No additional Python packages required.
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
ELN 模板创建器
ID: 139
为电子实验室笔记本(ELN)生成标准化的实验记录模板。
描述
该技能用于生成符合实验室规范的标准化实验记录模板,支持多种实验类型和自定义字段。
使用方法
bash
生成分子生物学实验模板
python scripts/main.py --type molecular-biology --output experiment_template.md
生成化学合成实验模板
python scripts/main.py --type chemistry --output chemistry_template.md
生成细胞培养实验模板
python scripts/main.py --type cell-culture --output cell
culturetemplate.md
生成通用实验模板
python scripts/main.py --type general --output general_template.md
自定义模板参数
python scripts/main.py --type general --title 蛋白质纯化实验 --researcher 张三 --output protein_purification.md
参数
| 参数 | 类型 | 默认值 | 必填 | 描述 |
|---|
| --type | 字符串 | - | 是 | 实验类型(general, molecular-biology, chemistry, cell-culture, animal-study) |
| --output, -o |
字符串 | stdout | 否 | 输出文件路径 |
| --title | 字符串 | - | 否 | 实验标题 |
| --researcher | 字符串 | - | 否 | 研究人员姓名 |
| --date | 字符串 | - | 否 | 实验日期(YYYY-MM-DD) |
| --project | 字符串 | - | 否 | 项目名称/编号 |
支持的实验类型
- 1. general - 通用实验模板
- molecular-biology - 分子生物学实验(PCR、克隆、电泳等)
- chemistry - 化学合成实验
- cell-culture - 细胞培养实验
- animal-study - 动物实验
输出格式
生成的模板采用Markdown格式,包含以下标准章节:
- - 实验基本信息
- 实验目的
- 实验材料与试剂
- 实验设备
- 实验步骤
- 结果记录
- 数据分析
- 结论与讨论
- 附件与原始数据
要求
作者
OpenClaw
风险评估
| 风险指标 | 评估 | 等级 |
|---|
| 代码执行 | 本地执行Python/R脚本 | 中 |
| 网络访问 |
无外部API调用 | 低 |
| 文件系统访问 | 读取输入文件,写入输出文件 | 中 |
| 指令篡改 | 标准提示词指南 | 低 |
| 数据泄露 | 输出文件保存到工作区 | 低 |
安全检查清单
- - [ ] 无硬编码的凭据或API密钥
- [ ] 无未经授权的文件系统访问(../)
- [ ] 输出不泄露敏感信息
- [ ] 已实施提示注入保护
- [ ] 已验证输入文件路径(无../遍历)
- [ ] 输出目录限制在工作区内
- [ ] 在沙盒环境中执行脚本
- [ ] 错误消息已清理(不暴露堆栈跟踪)
- [ ] 已审计依赖项
前提条件
无需额外的Python包。
评估标准
成功指标
- - [ ] 成功执行主要功能
- [ ] 输出符合质量标准
- [ ] 优雅处理边界情况
- [ ] 性能可接受
测试用例
- 1. 基本功能:标准输入 → 预期输出
- 边界情况:无效输入 → 优雅的错误处理
- 性能:大数据集 → 可接受的处理时间
生命周期状态
- - 当前阶段:草稿
- 下次审核日期:2026-03-06
- 已知问题:无
- 计划改进:
- 性能优化
- 增加更多功能支持