技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
research-article-weekly【数据与研究】Generates a weekly academic literature report based on keywords using PubMed. Use when the user wants to track recent research progress on a specific topic, automatically retrieving, classifying, and summarizing relevant papers from the last 7 days.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill generates a weekly report of academic literature for a given keyword. It searches PubMed for articles published in the last 7 days, classifies them into generic research categories (Fundamental, Applied, Methodology, Review, Other), and produces a summarized report. This tool is domain-agnostic and adapts to any research field indexed in PubMed.
scripts/pubmed_search.py is the most direct path to complete the request.research-article-weekly package behavior rather than a generic answer.scripts/pubmed_search.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/Evidence Insight/research-article-weekly"
python -m py_compile scripts/pubmed_search.py
python scripts/pubmed_search.py --help
Example run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/pubmed_search.py with the validated inputs.See ## Workflow above for related details.
scripts/pubmed_search.py.keywords: The search term(s) for the literature (e.g., "lung cancer", "CRISPR", "machine learning", "climate change").Search & Generate Draft Report: The skill executes the bundled Python script to search PubMed and generate a draft Markdown report using rule-based classification. This provides an immediate, usable output even without LLM processing.
python scripts/pubmed_search.py --keywords "{keywords}" --days 7 --limit 20 --format markdown
Refine Report (Optional - AI Enhanced):
If an AI environment is available, the Agent can take the raw JSON output (by running with --format json) or the draft Markdown report and refine it using the advanced logic below for better summarization and topic extraction.
Classification Logic (for AI Refinement): For each retrieved article (Title + Abstract), classify it using the following logic:
System Prompt:
Act as a versatile research analyst. Your task is to categorize the research article based on its title and abstract in relation to the user's keyword: "{keywords}".
Research Types:
- Fundamental Research: Theoretical studies, mechanisms, basic science, discovery, or foundational work.
- Applied Research: Practical applications, clinical trials, engineering implementations, case studies, or field deployments.
- Methodology & Tools: New algorithms, techniques, software, instruments, or experimental frameworks.
- Review & Survey: Literature reviews, meta-analyses, systematic reviews, or perspectives.
- Other: Education, policy, news, editorials, or papers that do not fit the above.
- Irrelevant: Not related to the keyword.
Task:
- Assign the most appropriate Research Type from the list above.
- Extract a specific Topic Tag (1-3 words) representing the core subject (e.g., "Deep Learning", "Gene Editing", "Market Analysis").
Output Format: Return a valid JSON object:
{"type": "Research Type Name", "topic": "Topic Tag"}. Do not output anything else.
Generate Final Report (for AI Refinement): Group the articles by their assigned Research Type. For each type that contains articles, generate a summary section.
System Prompt:
Act as a comprehensive research summarizer compiling a "Weekly Research Update".
Input: A list of research papers (Title, Journal, Abstract, Topic Tag) belonging to the Research Type: "{category}".
Task: Write a concise, engaging summary for this research type.
- Synthesize: Group papers with similar Topic Tags and summarize their collective contribution.
- Highlight: Identify the most significant findings or innovations.
- Tone: Professional, objective, and adapted to the specific domain of the papers (e.g., formal for physics, analytical for social science). Avoid generic "excitement" unless warranted by a major breakthrough.
- Reference: List the papers with their Titles and Journals.
Format:
{Category Name}
[General Summary Paragraph highlighting key themes]
Key Updates:
- [Topic Tag]: [Summary of findings from related papers]. Refs: [Title] (Journal)
- ...
(If a paper stands alone, list it individually)
Final Output: Combine all sections into a single Markdown document titled "Weekly Research Report: {keywords}". Add a brief "Executive Summary" at the top highlighting the distribution of papers (e.g., "This week saw a focus on Applied Research in [Topic]...").
pubmed_search.py script. Do not hallucinate papers.