技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
meta-feasibility-analyzer【数据与研究】Analyzes the feasibility of a proposed Meta-analysis topic by searching for existing Meta-analyses and Clinical Trials on PubMed/ClinicalTrials.gov. Use when you need to evaluate if a topic is viable for a new Meta-analysis.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill evaluates the feasibility of conducting a new Meta-analysis on a given topic (title). It checks for existing Meta-analyses and available Clinical Trials to determine if there is a gap or sufficient new evidence.
scripts/feasibility_ops.py is the most direct path to complete the request.meta-feasibility-analyzer package behavior rather than a generic answer.scripts/feasibility_ops.py.Python: 3.10+. Repository baseline for current packaged skills.Third-party packages: not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.cd "20260316/scientific-skills/Data Analytics/meta-feasibility-analyzer"
python -m py_compile scripts/feasibility_ops.py
python scripts/feasibility_ops.py --help
Example run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/feasibility_ops.py with the validated inputs.See ## Workflow above for related details.
scripts/feasibility_ops.py.Follow these steps to perform the analysis.
First, analyze the user's proposed title to generate a valid PubMed search query.
Prompt for LLM:
Role: Medical Search Expert
Task: Extract keywords from the following title and create a PubMed search query.
Title: "{{input_the_title}}"
Rules:
1. Extract keywords (Disease, Intervention, Outcome).
2. Convert to standard MeSH terms if possible.
3. Combine with AND/OR.
4. Enclose the final query in braces {}.
5. Do NOT include "meta analysis" in the query.
Example Output:
{(ovarian cancer) AND (chemotherapy) AND (bevacizumab)}
Run the extraction script to get the clean query string.
python scripts/feasibility_ops.py extract --text "{{llm_output}}"
Store the output as {{search_query}}.
Search for Clinical Trials via the PubMed API.
python scripts/feasibility_ops.py search --query "{{search_query}}" --type clinical
Store the result JSON as {{clinical_json}}.
Format the clinical trial results and check the count.
python scripts/feasibility_ops.py clinical --json '{{clinical_json}}' --query "{{search_query}}"
Parse the output JSON to get:
clinical_count: Number of trials found.clinical_summary: Formatted summary string.If clinical_count == 0:
If clinical_count > 0:
Search for existing Meta-analyses via the PubMed API using the same query.
python scripts/feasibility_ops.py search --query "{{search_query}}" --type meta
Store the result JSON as {{meta_json}}.
Format the meta-analysis results.
python scripts/feasibility_ops.py meta --json '{{meta_json}}'
Parse the output JSON to get:
meta_summary: Formatted summary string.Analyze the results to determine final feasibility.
Prompt for LLM:
Role: Clinical Research Expert
Task: Assess Meta-analysis feasibility.
Input:
Title: "{{input_the_title}}"
Existing Meta-Analyses:
{{meta_summary}}
Existing Clinical Trials:
{{clinical_summary}}
Logic:
1. If NO existing Meta-analyses + YES Clinical Trials -> ✅ FEASIBLE.
2. If YES existing Meta-analyses:
- Check the dates. Are there new Clinical Trials published AFTER the latest Meta-analysis?
- If YES new trials -> ✅ FEASIBLE (Update is possible).
- If NO new trials -> ⚠️ NOT FEASIBLE (Already covered).
Output Format:
"{{input_the_title}}"
[Conclusion: ✅ Feasible / ⚠️ Not Feasible]
Reason: [Explain based on the logic above]
Present the final analysis to the user.