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.
Purpose
This skill helps researchers, CROs, and medical institutions create patient recruitment advertisements that meet Institutional Review Board (IRB) / Ethics Committee (EC) requirements while being accessible and encouraging to potential participants.
Key Compliance Requirements
Essential Elements (IRB/EC Standards)
Trial Identity
Study title or identifier
Sponsor information (if required)
Purpose Statement
Clear description of the research
Why the study is being conducted
Eligibility Criteria
Inclusion criteria (who can participate)
Exclusion criteria (who cannot participate)
Study Procedures
What participants will do
Time commitment required
Number of visits
Risks and Benefits
Potential risks/discomforts
Potential benefits (direct and societal)
Statement that benefits are not guaranteed
Confidentiality
How personal information is protected
Regulatory oversight mention
Voluntary Participation
Right to withdraw at any time
No penalty for withdrawal
No impact on regular medical care
Contact Information
Principal Investigator
Study coordinator
IRB/EC contact for questions about rights
Prohibited Content
Promises of cure or guaranteed benefits
Undue influence (excessive payment, coercion)
Misleading language ("free treatment" when experimental)
Stigmatizing terms ("sufferers," "victims")
Pressure tactics (limited spots, urgency)
Usage
Input Parameters
{
"disease_condition": str, # Target disease/condition
"study_phase": str, # Phase I/II/III/IV
"intervention_type": str, # Drug, device, procedure, etc.
"target_population": str, # Demographics, age range
"study_duration": str, # Expected time commitment
"site_location": str, # Study site location
"compensation": Optional[str], # Participant payment (if any)
"pi_name": str, # Principal Investigator
"contact_info": str, # Phone/email for inquiries
"irb_reference": str # IRB/EC approval number
}
Example
python /Users/z04030865/.openclaw/workspace/skills/patient-recruitment-ad-gen/scripts/main.py \
--disease "Type 2 Diabetes" \
--phase "Phase II" \
--intervention "Investigational oral medication" \
--population "Adults 18-65 with T2DM" \
--duration "12 weeks, 6 clinic visits" \
--location "City Medical Center, Building C" \
--pi "Dr. Sarah Chen" \
--contact "(555) 123-4567 or [email protected]" \
--irb "IRB-2024-001"
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 patient-recruitment-ad-gen 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:
patient-recruitment-ad-gen only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
Response Template
Use the following fixed structure for non-trivial requests:
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.