← 返回 Skills 市场
theresayao0614-sudo

Arrive Guideline Architect

作者 Theresa · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
237
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install arrive-guideline-architect-2
功能描述
Generate ARRIVE 2.0 compliant animal research protocols with structured experimental design, sample size calculations, and reporting checklists. Ensures tran...
使用说明 (SKILL.md)

ARRIVE Guideline Architect

Overview

AI-powered protocol design tool that creates publication-ready animal research protocols compliant with ARRIVE 2.0 guidelines (Animal Research: Reporting of In Vivo Experiments). Generates structured documentation for ethical review, transparent reporting, and reproducible science.

Key Capabilities:

  • Protocol Generation: Complete ARRIVE 2.0 compliant study protocols
  • Sample Size Calculator: Statistical power analysis with justification
  • Compliance Checker: Validate existing protocols against ARRIVE standards
  • Randomization Schemes: Generate and document allocation strategies
  • Ethics Support: IACUC protocol templates and animal welfare documentation
  • Reporting Templates: Manuscript preparation with required elements

When to Use

✅ Use this skill when:

  • Designing new animal studies requiring ethical approval
  • Preparing IACUC (Institutional Animal Care and Use Committee) applications
  • Writing manuscripts for journals requiring ARRIVE compliance (PLOS, Nature, etc.)
  • Validating existing protocols for transparency and completeness
  • Training researchers on animal research best practices
  • Planning multi-site studies requiring standardized protocols
  • Reviewing protocols for grant applications

❌ Do NOT use when:

  • Human clinical trials → Use clinical-protocol-designer
  • In vitro studies (cell culture only) → No ARRIVE requirements apply
  • Field studies on wild animals → Use specialized wildlife research guidelines
  • Veterinary clinical cases → Use veterinary case report standards
  • Systematic reviews/meta-analyses → Use PRISMA guidelines

Integration:

  • Upstream: sample-size-power-calculator (statistical design)
  • Downstream: iacuc-protocol-drafter (ethics submission), manuscript-prep-assistant (publication)

Core Capabilities

1. ARRIVE 2.0 Protocol Builder

Generate complete protocols covering all Essential 10 items:

from scripts.arrive_builder import ARRIVEBuilder

builder = ARRIVEBuilder()

# Generate full protocol
protocol = builder.generate_protocol(
    title="Efficacy of Compound X in Type 2 Diabetes Mouse Model",
    species="Mus musculus",
    strain="db/db",
    groups=[
        {"name": "Control", "n": 15, "treatment": "Vehicle"},
        {"name": "Low Dose", "n": 15, "treatment": "10 mg/kg"},
        {"name": "High Dose", "n": 15, "treatment": "50 mg/kg"}
    ],
    primary_endpoint="Fasting blood glucose reduction",
    duration_days=28
)

protocol.save("protocol.md")

Generates:

  1. Study Design: Experimental groups, timelines, endpoints
  2. Sample Size: Power calculations with justification
  3. Inclusion/Exclusion: Animal selection criteria
  4. Randomization: Allocation method (software/hardware)
  5. Blinding: Who, when, how blinding implemented
  6. Outcome Measures: Primary, secondary, exploratory endpoints
  7. Statistical Methods: Analysis plan, software, significance level
  8. Experimental Animals: Species, strain, sex, age, weight, source
  9. Experimental Procedures: Detailed methods with timing
  10. Results Reporting: Data presentation templates

2. Sample Size Calculator

Statistical power analysis with ARRIVE-compliant justification:

from scripts.sample_size import SampleSizeCalculator

calc = SampleSizeCalculator()

# Calculate with effect size
result = calc.calculate(
    test_type="two_sample_t_test",
    effect_size=0.8,  # Cohen's d
    alpha=0.05,
    power=0.80,
    expected_dropout=0.10  # 10% attrition
)

# Output: n=26 per group (total 78, accounting for 10% dropout)

Features:

  • Effect Size Selection: Cohen's d, odds ratio, hazard ratio
  • Multiple Comparisons: Bonferroni, FDR corrections
  • Dropout Adjustment: Account for expected attrition
  • Justification Text: Auto-generate sample size rationale
  • Power Curves: Generate power calculations for various sample sizes

3. Compliance Validator

Check existing protocols against ARRIVE 2.0:

python scripts/validate.py --input my_protocol.md --format markdown

Output:

✅ Essential 10: 10/10 complete
⚠️  Recommended Set: 8/15 complete
   Missing: Data sharing statement, Conflict of interest

Detailed Report:
- Item 1 (Study Design): Complete
- Item 2 (Sample Size): Complete  
- Item 3 (Inclusion Criteria): Missing - add exclusion criteria
- ...

Validation Levels:

  • Essential 10: Required for all publications
  • Recommended Set: Required by top-tier journals
  • Journal-Specific: Custom checks for specific publishers

4. Randomization & Blinding Generator

Create allocation schemes with documentation:

from scripts.randomization import RandomizationGenerator

gen = RandomizationGenerator()

# Generate allocation
allocation = gen.generate(
    n_animals=45,
    n_groups=3,
    method="block_randomization",  # or "simple", "stratified"
    block_size=6,
    seed=42  # For reproducibility
)

# Output allocation table
allocation.save("allocation_table.csv")
allocation.generate_blinding_key("blinding_key.xlsx")

Methods Supported:

  • Simple randomization
  • Block randomization (fixed/random block sizes)
  • Stratified randomization (by sex, age, baseline)
  • Covariate-adaptive minimization

Common Patterns

Pattern 1: Drug Efficacy Study

Template for therapeutic intervention studies:

{
  "study_type": "efficacy",
  "species": "Mus musculus",
  "model": "Disease model (e.g., db/db diabetic mice)",
  "intervention": "Test compound",
  "groups": [
    "Sham control",
    "Disease control (vehicle)",
    "Positive control (reference drug)",
    "Test compound (low dose)",
    "Test compound (high dose)"
  ],
  "primary_endpoint": "Disease biomarker",
  "secondary_endpoints": ["Safety markers", "Histopathology"],
  "sampling_timepoints": ["Baseline", "Week 2", "Week 4"]
}

Key Considerations:

  • Include positive control for assay validation
  • Multiple doses to establish dose-response
  • Power calculation based on expected effect size
  • Sample size accounts for disease variability

Pattern 2: Toxicology Study

Template for safety assessment:

{
  "study_type": "toxicology",
  "species": "Rat",
  "duration": "28-day repeat dose",
  "dose_levels": ["Vehicle", "Low", "Mid", "High", "Limit"],
  "endpoints": [
    "Clinical observations (daily)",
    "Body weight (twice weekly)",
    "Food consumption",
    "Clinical pathology (hematology, chemistry)",
    "Necropsy and organ weights",
    "Histopathology"
  ],
  "recovery_groups": true  # 14-day recovery period
}

Key Considerations:

  • Dose selection based on MTD (maximum tolerated dose)
  • Recovery groups for reversibility assessment
  • Comprehensive clinical pathology panels
  • Histopathology on all high-dose and control animals

Pattern 3: Behavioral Study

Template for neuroscience/behavioral research:

{
  "study_type": "behavioral",
  "species": "C57BL/6 mice",
  "tests": [
    "Open field (anxiety/locomotion)",
    "Elevated plus maze (anxiety)",
    "Novel object recognition (memory)",
    "Fear conditioning (learning)"
  ],
  "controls": [
    "Positive pharmacological control",
    "Negative control (vehicle)"
  ],
  "blinding": "Video analysis performed blinded",
  "randomization": "Latin square design for test order"
}

Key Considerations:

  • Counterbalance test order (learning effects)
  • Blind video analysis to prevent bias
  • Standardized testing environment (lighting, noise)
  • Experimenter training and reliability testing

Pattern 4: Surgical Model Study

Template for procedure-based research:

{
  "study_type": "surgical",
  "procedure": "Myocardial infarction (LAD ligation)",
  "species": "Sprague-Dawley rats",
  "sham_control": true,
  "perioperative_care": {
    "analgesia": "Buprenorphine SR",
    "antibiotics": "Enrofloxacin",
    "monitoring": "Temperature, respiration, pain scoring"
  },
  "outcome_measures": [
    "Survival rate",
    "Echocardiography",
    "Histological infarct size"
  ],
  "humane_endpoints": ["Severe distress", "Inability to ambulate"]
}

Key Considerations:

  • Detailed surgical protocol with timing
  • Comprehensive perioperative care
  • Clear humane endpoints (refinement)
  • Sham surgery controls for procedure effects
  • Pain management per IACUC guidelines

Complete Workflow Example

From study concept to IACUC submission:

# Step 1: Create study brief
cat > study_brief.json \x3C\x3C EOF
{
  "title": "Novel Compound X in Diabetic Nephropathy",
  "species": "Mouse",
  "strain": "db/db",
  "groups": 4,
  "primary_endpoint": "Albuminuria reduction",
  "duration_weeks": 12
}
EOF

# Step 2: Generate protocol
python scripts/main.py \
  --input study_brief.json \
  --output protocol.md \
  --include-checklist

# Step 3: Calculate sample size
python scripts/sample_size.py \
  --test t_test \
  --effect-size 0.8 \
  --alpha 0.05 \
  --power 0.80 \
  --dropout 0.10

# Step 4: Generate randomization
python scripts/randomize.py \
  --n-total 64 \
  --n-groups 4 \
  --method block \
  --output allocation.csv

# Step 5: Validate ARRIVE compliance
python scripts/validate.py \
  --input protocol.md \
  --format pdf \
  --output compliance_report.pdf

Output Files:

output/
├── protocol.md                    # Complete ARRIVE protocol
├── sample_size_justification.txt  # Statistical rationale
├── allocation.csv                 # Randomization table
├── blinding_key.xlsx             # Blinding documentation
├── compliance_report.pdf         # ARRIVE checklist
└├── iacuc_supplemental.pdf       # Ethics committee materials

Quality Checklist

Pre-Study:

  • CRITICAL: IACUC approval obtained before starting
  • Sample size adequately powered (≥80%)
  • Randomization method documented and reproducible
  • Blinding plan clear for all assessors
  • Humane endpoints defined with clear criteria
  • Inclusion/exclusion criteria prespecified

During Study:

  • Randomization followed without deviations
  • Blinding maintained (unblinding only for safety)
  • All animals accounted for (CONSORT-style flow diagram)
  • Adverse events documented and reported to IACUC
  • Sample collection at predetermined timepoints

Reporting:

  • All Essential 10 items addressed in manuscript
  • CONSORT-style flow diagram for animal studies
  • Raw data available (or sharing statement)
  • Conflict of interest disclosed
  • Funding sources acknowledged

Common Pitfalls

Design Issues:

  • Inadequate controls → Cannot distinguish treatment from confounding effects

    • ✅ Always include appropriate controls (vehicle, positive, sham)
  • Convenience sampling → Selection bias

    • ✅ Random allocation to treatment groups
  • Unblinded assessment → Observer bias

    • ✅ Blinded outcome assessment whenever possible

Sample Size Issues:

  • No power calculation → Underpowered study, false negatives

    • ✅ Calculate sample size a priori with justification
  • Ignoring dropout → Final sample too small

    • ✅ Account for expected attrition (typically 10-20%)

Reporting Issues:

  • Selective outcome reporting → Publication bias

    • ✅ Pre-register primary and secondary endpoints
  • Missing animal numbers → Transparency concerns

    • ✅ Report n for every analysis

References

Available in references/ directory:

  • arrive_2.0_guidelines.md - Official ARRIVE 2.0 checklist and explanations
  • sample_size_guidelines.md - Statistical methods for animal studies
  • species_specific_requirements.md - Mouse, rat, zebrafish considerations
  • journal_compliance.md - Requirements by publisher (Nature, Science, Cell)
  • statistical_methods.md - Analysis approaches for common designs
  • iacuc_templates.md - Ethics committee application templates
  • example_protocols.md - Published compliant protocols as examples

Scripts

Located in scripts/ directory:

  • main.py - Protocol generation CLI
  • arrive_builder.py - Core protocol builder
  • sample_size.py - Power analysis calculator
  • randomization.py - Allocation scheme generator
  • validate.py - ARRIVE compliance checker
  • checklist_generator.py - Interactive checklist tool
  • export.py - Multi-format output (PDF, Word, Markdown)

Limitations

  • Template-Based: Generates standard protocols; highly specialized studies may need customization
  • No Statistical Analysis: Calculates sample size but does not perform analysis
  • No Real-Time Monitoring: Protocol generation only; does not track actual experiments
  • Species Coverage: Optimized for mice and rats; other species may need adaptation
  • Regulatory Variation: IACUC requirements vary by institution; may need local customization

🐾 Remember: The 3Rs (Replacement, Reduction, Refinement) are ethical imperatives. This tool supports Reduction (optimal sample sizes) and Refinement (better experimental design), but consider Replacement alternatives (in vitro, in silico) whenever possible.

Parameters

Parameter Type Default Description
--interactive flag - Interactive mode: Run wizard with guided prompts (uses input() for user interaction). Recommended for first-time users or complex study designs.
--input str Required Input JSON file path (batch/automation mode)
--output str "protocol.md" Output file path
--validate str Required Validate existing protocol file
--checklist str Required Generate ARRIVE 2.0 checklist
--format str "markdown" Output format: markdown, pdf, or docx

Usage Modes:

  • Automation Mode (Recommended for CI/CD): Use --input with JSON configuration file
  • Interactive Mode: Use --interactive for guided setup via prompts

Example - Automation Mode:

# Create JSON config
cat > study_config.json \x3C\x3C 'EOF'
{
  "title": "Diabetes Drug Study",
  "species": "Mus musculus",
  "strain": "db/db",
  "groups": 4,
  "animals_per_group": 15
}
EOF

# Generate protocol
python scripts/main.py --input study_config.json --output protocol.md

Example - Interactive Mode:

# Launch interactive wizard
python scripts/main.py --interactive
安全使用建议
This skill appears coherent with its stated purpose, but follow these precautions before running it: 1) Inspect the full scripts (scripts/main.py) yourself to confirm there are no unexpected network calls, subprocess calls, or environment access not visible in the snippets. 2) Run the code in an isolated environment (virtualenv/containers) if you plan to execute it, especially because SKILL.md allows Bash (which could run arbitrary commands). 3) Treat outputs as drafts — verify sample size calculations and ethical/ IACUC language with qualified statisticians and institutional review boards before using in real approvals. 4) Ensure you have appropriate institutional/ethical approvals for generating or implementing animal protocols; this tool does not replace required regulatory review.
功能分析
Type: OpenClaw Skill Name: arrive-guideline-architect-2 Version: 0.1.1 The skill bundle is a legitimate tool designed to assist researchers in creating animal research protocols compliant with ARRIVE 2.0 guidelines. The core logic in `scripts/main.py` provides a standard CLI for data entry, protocol generation, and basic keyword-based validation without any evidence of malicious intent, data exfiltration, or unauthorized execution. All files, including the instructions in `SKILL.md` and the example data, are consistent with the stated purpose of promoting ethical and transparent scientific reporting.
能力评估
Purpose & Capability
Name/description (ARRIVE protocol generation, sample‑size calc, validation) match the included files (SKILL.md, checklist, examples, and a Python script implementing interactive design, validation, and calculators). No unrelated credentials, binaries, or cloud access are requested.
Instruction Scope
SKILL.md instructs running local Python scripts (generate/validate/checklist). Allowed-tools lists Read/Write/Bash/Edit — broader than strictly necessary (Bash allows arbitrary shell execution), but the provided instructions and files show only local file I/O and interactive prompts, not any instructions to read unrelated system files or exfiltrate data.
Install Mechanism
No install spec is present (instruction‑only plus local scripts). No downloads or external package installs are declared, so nothing is being pulled from remote URLs during install.
Credentials
The skill declares no required environment variables, credentials, or config paths. The functionality (statistics, document generation) does not appear to require secrets or external service tokens.
Persistence & Privilege
always is false and the skill does not request system‑wide configuration changes. It writes local protocol/checklist files as expected for its purpose and does not claim permanent elevated presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install arrive-guideline-architect-2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /arrive-guideline-architect-2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Initial sample data and documentation added: includes ARRIVE checklist, example protocol, and study brief files. - Introduced primary script (`scripts/main.py`) to support protocol generation or workflow tasks. - No changes to the core skill logic; this update focuses on supplementary examples and startup resources.
v0.1.0
Initial release of ARRIVE Guideline Architect for animal research protocol generation. - Generate ARRIVE 2.0 compliant in vivo study protocols with structured experimental design. - Includes sample size calculator with statistical power analysis and justification. - Validate protocols for transparency and completeness according to ARRIVE standards. - Automated generation of randomization schemes, blinding documentation, and compliance checklists. - Supports ethics documentation, IACUC protocol templates, and manuscript reporting elements.
元数据
Slug arrive-guideline-architect-2
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Arrive Guideline Architect 是什么?

Generate ARRIVE 2.0 compliant animal research protocols with structured experimental design, sample size calculations, and reporting checklists. Ensures tran... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 237 次。

如何安装 Arrive Guideline Architect?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install arrive-guideline-architect-2」即可一键安装,无需额外配置。

Arrive Guideline Architect 是免费的吗?

是的,Arrive Guideline Architect 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Arrive Guideline Architect 支持哪些平台?

Arrive Guideline Architect 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Arrive Guideline Architect?

由 Theresa(@theresayao0614-sudo)开发并维护,当前版本 v0.1.1。

💬 留言讨论