{"skills":[{"name":"Screen research abstracts against stated inclusion criteria","description":"Prepare a first-pass screening list that keeps ambiguous records for full-text review and records the reason for clear exclusions.","content":"# Screen research abstracts against stated inclusion criteria\n\nPrepare a first-pass screening list that keeps ambiguous records for full-text review and records the reason for clear exclusions.\n\n## When to use this skill\n\n- A reviewer has exported search results with titles and abstracts and wants a first-pass screen against the protocol's inclusion criteria.\n- A team wants an independent set of screening decisions to compare with its own before resolving disagreements.\n- Someone suspects that a conference abstract and a journal article in the set report the same trial.\n\n## When not to use it\n\n- Final eligibility decisions. Those need the full text and, under Cochrane methods, two people working independently with an agreed way of resolving disagreement.\n- Writing or changing the eligibility criteria. They belong in the protocol, and any change should be recorded as an amendment.\n- Assessing risk of bias or extracting results from included studies.\n\n## What you need\n\n- Predefined population, study design and intervention criteria; numbered titles and abstracts.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What are the protocol's eligibility criteria: population, intervention or exposure, comparator, outcomes, study design and any date, language or setting limits? Screening without them invents criteria.\n- Should this pass be over-inclusive, as Cochrane recommends at title and abstract stage, or does the protocol set a different rule? This decides what happens to borderline records.\n- Will a second person screen the same records, and how will disagreements be resolved? The decisions should be laid out so they can be compared.\n\n## Method\n\n1. Turn the protocol into explicit include and exclude rules before reading any abstract, one rule per criterion, in order of importance. Keep any rule change out of the current pass and record it as a protocol amendment.\n2. Remove exact duplicate records of the same report first and keep a count. A conference abstract and a journal article are different reports, not duplicates.\n3. For each record, look first for an explicit exclusion: a stated population, design or intervention that fails a rule. Exclude only on that evidence and give the first criterion it fails as the reason.\n4. If the record shows every criterion is met, advance it. If no criterion is explicitly failed but at least one fact is missing or ambiguous, mark it unclear and keep it for full-text retrieval. Wrongly retrieving a report costs time; wrongly excluding one loses a study.\n5. Judge design from what the investigators did, not from the topic or labels. Allocation by lottery or coin toss is random assignment even if the word 'randomised' is absent. A review of randomised trials is not itself a trial.\n6. Quote the shortest passage that supports each decision. Keep this preliminary screen separate from full-text decisions and from reconciliation with a second reviewer.\n7. Link reports that appear to describe the same study using trial registration number, authors, setting, recruitment dates and participant numbers. Keep every eligible report for the next stage, and group reports for study-level counts only when the link is supported.\n\n## Checks before you deliver\n\n- An unreported age range should not silently exclude a potentially eligible study.\n- An abstract and a later paper may describe the same trial.\n- Excluding on a criterion the protocol does not contain, such as sample size or publication type.\n- Excluding a record because its abstract does not mention an outcome. Abstracts often omit outcomes that the full text reports, so this is 'unclear' unless the protocol makes the outcome an eligibility criterion.\n- Counting reports as studies. PRISMA 2020 screens records, assesses reports and includes studies, and one study can have several reports.\n\n## How to present the result\n\nStart with the counts: records screened, advanced, unclear and excluded. Then give a table with one row per record: ID, decision, the criterion that decided it and the supporting quote. List unclear records with the fact to check in the full text, and suspected linked reports with the evidence for each link. End with any criterion that proved ambiguous, as a question for the review team.\n\n## Worked example\n\n**Request:** Screen for randomised studies in adults only.\n\n**Supplied material:**\n\n```text\nA: randomly assigned adults aged 20 to 40. B: randomly assigned volunteers, ages unreported. C: randomised primary school pupils aged 7.\n```\n\n**Answer:** Retrieve A. Keep B in the retrieval queue and check the participants\u2019 ages in the full text. Exclude C on age: its participants were seven. The available abstracts establish eligibility for A only.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn three arrays of record IDs in input order: advance (all required facts established), unclear (no explicit exclusion but at least one fact missing), exclude (explicitly fails a rule). If asked to group reports by confirmed trial identifier, also return linked_reports as an object mapping each repeated identifier to its record IDs in input order.\n\n## Sources\n\n- [Cochrane Handbook, chapter 4: Searching for and selecting studies](https:\/\/www.cochrane.org\/authors\/handbooks-and-manuals\/handbook\/current\/chapter-04): Section 4.6.2 lists features for linking reports of the same study, such as trial registration numbers, authors, setting, dates and participant numbers. Section 4.6.3 says screeners should be over-inclusive at title and abstract stage, and 4.6.4 asks for two people working independently to make final eligibility decisions.\n- [PRISMA 2020 statement (Page et al., BMJ 2021)](https:\/\/pmc.ncbi.nlm.nih.gov\/articles\/PMC8005924\/): Item 8 asks a review to report how many reviewers screened each record and report and whether they worked independently. Box 1 defines records, reports and studies, which is why the skill keeps report-level and study-level counts apart.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/abstract-screening-list\n","scope":"contextual","trigger_keywords":["Screen research abstracts against stated inclusion criteria","abstract-screening-list","abstract screening list","Which of these abstracts meet my review\u2019s inclusion criteria?","Which of these abstracts meet my review\u2019s inclusion criteria","screen these abstracts","screen abstracts against","abstract screening"],"is_private":true,"is_active":true,"scripts":[{"name":"abstract-screening-list-check","description":"Compare a saved JSON answer with a published test. Pass tests\/case-1\/expected.json (or another case) and the path to your answer.","language":"python","filename":"abstract-screening-list-check.py","content":"from pathlib import Path\nimport runpy\n\nrunpy.run_path(str(Path(__file__).parent \/ 'tests' \/ 'check.py'), run_name='__main__')\n","supporting_files":[{"path":"SKILL.md","content":"---\nname: abstract-screening-list\ndescription: \"Sort titles and abstracts for a systematic or scoping review into advance, unclear and exclude against the protocol's eligibility criteria, with the reason and quote behind each decision. Use when someone has a batch of search results to screen or wants a first-pass screen checked.\"\nlicense: CC-BY-4.0\nmetadata:\n  author: Raq.com\n  version: \"2026-11-22\"\n  homepage: https:\/\/skills.raq.com\/skills\/abstract-screening-list\n---\n\n# Screen research abstracts against stated inclusion criteria\n\nPrepare a first-pass screening list that keeps ambiguous records for full-text review and records the reason for clear exclusions.\n\n## When to use this skill\n\n- A reviewer has exported search results with titles and abstracts and wants a first-pass screen against the protocol's inclusion criteria.\n- A team wants an independent set of screening decisions to compare with its own before resolving disagreements.\n- Someone suspects that a conference abstract and a journal article in the set report the same trial.\n\n## When not to use it\n\n- Final eligibility decisions. Those need the full text and, under Cochrane methods, two people working independently with an agreed way of resolving disagreement.\n- Writing or changing the eligibility criteria. They belong in the protocol, and any change should be recorded as an amendment.\n- Assessing risk of bias or extracting results from included studies.\n\n## What you need\n\n- Predefined population, study design and intervention criteria; numbered titles and abstracts.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What are the protocol's eligibility criteria: population, intervention or exposure, comparator, outcomes, study design and any date, language or setting limits? Screening without them invents criteria.\n- Should this pass be over-inclusive, as Cochrane recommends at title and abstract stage, or does the protocol set a different rule? This decides what happens to borderline records.\n- Will a second person screen the same records, and how will disagreements be resolved? The decisions should be laid out so they can be compared.\n\n## Method\n\n1. Turn the protocol into explicit include and exclude rules before reading any abstract, one rule per criterion, in order of importance. Keep any rule change out of the current pass and record it as a protocol amendment.\n2. Remove exact duplicate records of the same report first and keep a count. A conference abstract and a journal article are different reports, not duplicates.\n3. For each record, look first for an explicit exclusion: a stated population, design or intervention that fails a rule. Exclude only on that evidence and give the first criterion it fails as the reason.\n4. If the record shows every criterion is met, advance it. If no criterion is explicitly failed but at least one fact is missing or ambiguous, mark it unclear and keep it for full-text retrieval. Wrongly retrieving a report costs time; wrongly excluding one loses a study.\n5. Judge design from what the investigators did, not from the topic or labels. Allocation by lottery or coin toss is random assignment even if the word 'randomised' is absent. A review of randomised trials is not itself a trial.\n6. Quote the shortest passage that supports each decision. Keep this preliminary screen separate from full-text decisions and from reconciliation with a second reviewer.\n7. Link reports that appear to describe the same study using trial registration number, authors, setting, recruitment dates and participant numbers. Keep every eligible report for the next stage, and group reports for study-level counts only when the link is supported.\n\n## Checks before you deliver\n\n- An unreported age range should not silently exclude a potentially eligible study.\n- An abstract and a later paper may describe the same trial.\n- Excluding on a criterion the protocol does not contain, such as sample size or publication type.\n- Excluding a record because its abstract does not mention an outcome. Abstracts often omit outcomes that the full text reports, so this is 'unclear' unless the protocol makes the outcome an eligibility criterion.\n- Counting reports as studies. PRISMA 2020 screens records, assesses reports and includes studies, and one study can have several reports.\n\n## How to present the result\n\nStart with the counts: records screened, advanced, unclear and excluded. Then give a table with one row per record: ID, decision, the criterion that decided it and the supporting quote. List unclear records with the fact to check in the full text, and suspected linked reports with the evidence for each link. End with any criterion that proved ambiguous, as a question for the review team.\n\n## Worked example\n\n**Request:** Screen for randomised studies in adults only.\n\n**Supplied material:**\n\n```text\nA: randomly assigned adults aged 20 to 40. B: randomly assigned volunteers, ages unreported. C: randomised primary school pupils aged 7.\n```\n\n**Answer:** Retrieve A. Keep B in the retrieval queue and check the participants\u2019 ages in the full text. Exclude C on age: its participants were seven. The available abstracts establish eligibility for A only.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn three arrays of record IDs in input order: advance (all required facts established), unclear (no explicit exclusion but at least one fact missing), exclude (explicitly fails a rule). If asked to group reports by confirmed trial identifier, also return linked_reports as an object mapping each repeated identifier to its record IDs in input order.\n\n## Sources\n\n- [Cochrane Handbook, chapter 4: Searching for and selecting studies](https:\/\/www.cochrane.org\/authors\/handbooks-and-manuals\/handbook\/current\/chapter-04): Section 4.6.2 lists features for linking reports of the same study, such as trial registration numbers, authors, setting, dates and participant numbers. Section 4.6.3 says screeners should be over-inclusive at title and abstract stage, and 4.6.4 asks for two people working independently to make final eligibility decisions.\n- [PRISMA 2020 statement (Page et al., BMJ 2021)](https:\/\/pmc.ncbi.nlm.nih.gov\/articles\/PMC8005924\/): Item 8 asks a review to report how many reviewers screened each record and report and whether they worked independently. Box 1 defines records, reports and studies, which is why the skill keeps report-level and study-level counts apart.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/abstract-screening-list\n"},{"path":"LICENSE.txt","content":"Original Raq.com instructions and synthetic examples: CC BY 4.0.\nhttps:\/\/creativecommons.org\/licenses\/by\/4.0\/\nAttribution: Raq.com, https:\/\/skills.raq.com\/skills\/abstract-screening-list\nReferenced third-party materials retain their own terms.\n"},{"path":"examples\/worked-example.md","content":"# Missing age range\n\nScreen for randomised studies in adults only.\n\n## Supplied material\n\nA: randomly assigned adults aged 20 to 40. B: randomly assigned volunteers, ages unreported. C: randomised primary school pupils aged 7.\n\n## Worked answer\n\nRetrieve A. Keep B in the retrieval queue and check the participants\u2019 ages in the full text. Exclude C on age: its participants were seven. The available abstracts establish eligibility for A only.\n\n## Reasoning\n\nAn unknown age range stays open while an explicitly ineligible group can be excluded.\n"},{"path":"tests\/check.py","content":"\"\"\"Check a saved agent answer locally with Python 3 (standard library only).\"\"\"\nimport json\nimport math\nimport sys\nfrom pathlib import Path\n\n\ndef compare(expected, actual, path=\"$\", accepted=None):\n    if isinstance(expected, bool) or isinstance(actual, bool):\n        if expected is not actual:\n            yield path\n    elif isinstance(expected, (int, float)) and isinstance(actual, (int, float)):\n        if not math.isclose(expected, actual, rel_tol=0, abs_tol=1e-8):\n            yield path\n    elif isinstance(expected, dict) and isinstance(actual, dict):\n        for key in sorted(set(expected) | set(actual)):\n            if key not in expected or key not in actual:\n                yield f\"{path}.{key}\"\n            elif not any(\n                not list(compare(option, actual[key]))\n                for option in (accepted or {}).get(key, [])\n            ):\n                yield from compare(expected[key], actual[key], f\"{path}.{key}\")\n    elif isinstance(expected, list) and isinstance(actual, list):\n        if len(expected) != len(actual):\n            yield f\"{path} (length)\"\n        for i, (left, right) in enumerate(zip(expected, actual)):\n            yield from compare(left, right, f\"{path}[{i}]\")\n    elif type(expected) != type(actual) or expected != actual:\n        yield path\n\n\ndef main():\n    if len(sys.argv) != 3:\n        raise SystemExit(\"Usage: python3 check.py expected.json answer.json\")\n    try:\n        expected, actual = [json.loads(Path(p).read_text(encoding=\"utf-8\")) for p in sys.argv[1:]]\n        alternatives = Path(sys.argv[1]).with_name(\"accepted.json\")\n        accepted = json.loads(alternatives.read_text(encoding=\"utf-8\")) if alternatives.is_file() else {}\n    except (ValueError, OSError) as error:\n        raise SystemExit(str(error))\n    differences = list(compare(expected, actual, accepted=accepted))\n    if differences:\n        raise SystemExit(\"Different fields: \" + \", \".join(differences))\n    print(\"Pass\")\n\n\nif __name__ == \"__main__\":\n    main()\n"},{"path":"tests\/README.md","content":"Give your agent SKILL.md and one request.txt in a fresh session. Keep the expected answer aside. Save the reply as answer.json, then run this from the tests folder:\n\n    python3 check.py case-1\/expected.json answer.json\n\nEach case also has an explanation. Where accepted.json exists, the checker accepts the alternatives listed there.\n"},{"path":"tests\/case-1\/request.txt","content":"Screen for randomised studies in adults only.\nReturn only the JSON specified in SKILL.md for this test.\n\nA: randomly assigned adults aged 20 to 40. B: randomly assigned volunteers, ages unreported. C: randomised primary school pupils aged 7.\n"},{"path":"tests\/case-1\/expected.json","content":"{\n    \"advance\": [\n        \"A\"\n    ],\n    \"unclear\": [\n        \"B\"\n    ],\n    \"exclude\": [\n        \"C\"\n    ]\n}\n"},{"path":"tests\/case-1\/explanation.txt","content":"An unknown age range stays open while an explicitly ineligible group can be excluded.\n"},{"path":"tests\/case-2\/request.txt","content":"Screen for primary randomised studies in adults only.\nReturn only the JSON specified in SKILL.md for this test.\n\nX: review of fifteen adult randomised studies. Y: adults were assigned by lottery to two schedules, original participant results.\n"},{"path":"tests\/case-2\/expected.json","content":"{\n    \"advance\": [\n        \"Y\"\n    ],\n    \"unclear\": [],\n    \"exclude\": [\n        \"X\"\n    ]\n}\n"},{"path":"tests\/case-2\/explanation.txt","content":"The design of included studies does not make the review itself a trial.\n"},{"path":"tests\/case-3\/request.txt","content":"Screen primary randomised trials in adults and group reports by confirmed trial identifier.\nReturn only the JSON specified in SKILL.md for this test.\n\nC: conference results from adults randomly assigned, registration TR-18. J: article reports the same TR-18 adult randomised trial. X: unrelated cohort followed adults who chose their treatment.\n"},{"path":"tests\/case-3\/expected.json","content":"{\n    \"advance\": [\n        \"C\",\n        \"J\"\n    ],\n    \"unclear\": [],\n    \"exclude\": [\n        \"X\"\n    ],\n    \"linked_reports\": {\n        \"TR-18\": [\n            \"C\",\n            \"J\"\n        ]\n    }\n}\n"},{"path":"tests\/case-3\/explanation.txt","content":"Both reports advance. Their explicit shared registration supports one underlying trial. X fails the design criterion.\n"}],"is_active":true,"is_approved":false}]}]}