[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76S8VB9Q65XVZXC99QVF20M":3,"skill-same:01M76S8VB9Q65XVZXC99QVF20M":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M76S8VB9Q65XVZXC99QVF20M","syllabus",null,"Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Triggers whenever a user uploads a syllabus, course outline, or curriculum document and wants supplementary readings. Also triggers on: 'syllabus reading list', 'find papers for my course', 'create a reading list from this syllabus', 'recent research for my class', 'supplementary readings', 'find journal articles for these topics', 'what recent papers cover this material', 'any new research on these course topics', 'update my syllabus with recent papers'. Even casual mentions when a syllabus is attached should trigger this skill.","msm47\u002FGitskil","msm47","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F288053465?v=4","01M754J0R2V3Q31DD8BV9CCDEN","01M754J0S8Q6Y7P0S3AYCY0YQ5",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: syllabus\ndescription: \"Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Triggers whenever a user uploads a syllabus, course outline, or curriculum document and wants supplementary readings. Also triggers on: 'syllabus reading list', 'find papers for my course', 'create a reading list from this syllabus', 'recent research for my class', 'supplementary readings', 'find journal articles for these topics', 'what recent papers cover this material', 'any new research on these course topics', 'update my syllabus with recent papers'. Even casual mentions when a syllabus is attached should trigger this skill.\"\nlicense: MIT\nmetadata:\n  source_spec: \"megaprompts\u002F10-syllabus-megaprompt.md\"\n  build_pattern: \"Path B (direct conversion)\"\n  research_pack_convention: \"Agent Integrity Rules verbatim per PR #657 audit; bundled-JS-DOCX-generator variant\"\n  version: 1.0.0\n---\n\n# Syllabus — Course Supplementary Reading List\n\n> **Portability:** Requires a Consensus MCP connection, Node.js with `docx` package, and file reading capability for the syllabus. Works in Claude Code CLI natively. In Claude.ai with Consensus MCP + Code Execution + file upload, the workflow is supported.\n\nFor an instructor or student with a course syllabus, produce a professional supplementary reading list as `.docx` containing recent peer-reviewed papers per course section.\n\n## Architectural Pattern: Bundled Script\n\nThis skill uses a **bundled JavaScript helper script** for DOCX generation rather than inlining the 300+ lines of layout code:\n\n- DOCX generation logic is reusable + complex\n- Better separation of concerns: skill = orchestration + intelligence; script = mechanical document assembly\n- Token-efficient: skill doesn't re-derive layout each run\n- Easier to maintain and version\n\nThe bundled script is at `scripts\u002Fgenerate_reading_list.js`. The skill orchestrates the pipeline + invokes the script with JSON input.\n\n## Agent Integrity Rules (Research-Pack Convention)\n\nLocked verbatim per PR #657 audit.\n\n- **Only use what Consensus returns.** Every paper title, author, journal, year, URL must come from this session's tool calls. Training-knowledge papers labeled `[Not from Consensus — model knowledge]` and excluded.\n- **Confirm before moving on.** A search isn't complete until response received and inspected.\n- **Track three counts.** Queries sent \u002F papers received \u002F papers cited. Surface in audit summary.\n- **Surface gaps, don't fill them.** Section with one paper + note about limited results > section padded with fabrications.\n\n## Phase 0: Grill-Me Intake (3 forcing questions)\n\n### Q1 (root) — Syllabus input\n\n> **Provide the syllabus — pick one:**\n>\n> 1. File path (PDF, DOCX, text) — I'll read it\n> 2. Pasted content — paste below\n> 3. Image of a printed syllabus — attach the image\n>\n> *Why I'm asking:* Each format needs a different reader (PDF \u002F DOCX parser \u002F vision). Picking upfront prevents wasted attempts.\n\nForcing choice. Refuse to start without a syllabus.\n\n### Q2 (depends on Q1) — Course audience\n\n> **Course audience — pick one:**\n>\n> 1. Undergraduate (intro level)\n> 2. Undergraduate (advanced \u002F upper division)\n> 3. Graduate (Masters \u002F early PhD)\n> 4. Graduate (doctoral \u002F advanced)\n> 5. Professional \u002F continuing education\n> 6. Mixed\n>\n> *Why I'm asking:* Audience dictates summary jargon level and discussion-question complexity. Undergrad summaries define every term; grad summaries assume technical fluency. Discussion questions for undergrads test analysis; for grads test critique and extension.\n\nSee [`references\u002Faudience_calibration.md`](references\u002Faudience_calibration.md) for the canon.\n\n### Q3 (depends on Q1) — Year range\n\n> **Year range for papers — pick one:**\n>\n> 1. Last 1 year (most recent only)\n> 2. Last 2 years (default — recent + a year of context)\n> 3. Last 5 years (broader, includes foundational recent work)\n>\n> *Why I'm asking:* Reading lists go stale fast. 1-year filters keep things fresh; 5-year filters surface foundational recent work that's already standard. Drives the year_min parameter on every Consensus search.\n\nForcing choice with default (last 2 years).\n\n**Stop condition:** 3 questions max before Phase 1. The post-Phase-2 group-and-confirm checkpoint is its own grill-me moment.\n\n## Phase 1: Parse the Syllabus\n\nPer Q1 input format:\n\n- **PDF**: use PDF reader; extract text\n- **DOCX**: use pandoc or DOCX parser; extract text\n- **Text\u002Fpasted**: read directly\n- **Image**: use vision; extract text\n\nFrom extracted text:\n1. Course title + instructor + term\n2. Topic list (lecture titles, week-by-week breakdown, etc.)\n3. Learning outcomes (if explicit; if missing, infer 3-5 from description)\n\nMark inferred learning outcomes as `[inferred]` in the DOCX.\n\n## Phase 2: Group Topics + Confirm with User\n\n### Group via topic_grouper.py\n\nUse `scripts\u002Ftopic_grouper.py` to cluster related topics into 6-12 sections. Heuristic: closely-related topics merge; cross-cutting topics get their own section.\n\n### Group-and-Confirm Checkpoint (Forcing Options)\n\nAfter grouping, present:\n\n> **Proposed sections: [list with item counts]. Pick one:**\n>\n> 1. \"Looks good — proceed with these sections\"\n> 2. \"Merge sections [X] and [Y]\"\n> 3. \"Split section [X] into two\"\n> 4. \"Add a section for [topic]\"\n> 5. \"Remove section [X]\"\n>\n> *Why I'm asking:* Grouping drives search allocation. Wrong grouping wastes the search budget on bad clusters. This is the **last cheap moment** to correct course before searches consume Consensus calls.\n\n**Refuse to start Phase 3 without explicit user choice.**\n\n## Phase 3: Search Consensus per Section\n\nSequential, 1 q\u002Fsec. 1-2 queries per section.\n\n### Applied-Domain Weaving (Critical)\n\nDon't just search the topic — **search the topic + applied domain**:\n\n| ❌ Generic | ✅ Applied-domain |\n|---|---|\n| \"enzyme kinetics\" | \"enzyme kinetics food processing applications\" |\n| \"machine learning\" | \"machine learning clinical decision support\" |\n| \"thermodynamics\" | \"thermodynamics renewable energy systems\" |\n| \"social network analysis\" | \"social network analysis public health interventions\" |\n\nBoosts paper relevance dramatically. See [`references\u002Fapplied_domain_weaving.md`](references\u002Fapplied_domain_weaving.md) for the canon.\n\n### Per-Section Pattern\n\n```\nFor each section:\n  1. Construct query: \"{topic-keywords} {applied-domain-angle}\" + year_min from Q3\n  2. Submit to Consensus (sequential, 1 q\u002Fsec gap enforced by citation_tracker)\n  3. Receive results\n  4. (If thin) submit one fallback query without applied-domain angle\n  5. Select 1-3 papers per section (15-25 total across all sections)\n```\n\n### Selection Priorities\n\n1. **Relevance** — paper directly addresses the section topic\n2. **Reviews \u002F meta-analyses** — synthesize the field\n3. **Citation count** — established work\n4. **Applied-domain connection** — tied to the course's domain (e.g., engineering vs theory)\n\n## Phase 4: Write Summaries + Discussion Questions\n\n### Summary writing\n\nPer paper:\n- Plain language (calibrated to audience from Q2)\n- 2-3 sentences\n- Define jargon if undergraduate audience; assume fluency if graduate\n\n### Quality bars\n\n| ✅ Good summary | ❌ Bad summary |\n|---|---|\n| \"This review maps how different diets — Mediterranean, Nordic, vegetarian — reshape the types of fat molecules circulating in your blood, with implications for heart disease risk.\" | \"This paper reviews lipidomic profiles across dietary interventions and their cardiometabolic implications.\" |\n\n### Discussion question writing\n\nPer paper:\n- Bloom **higher-order** (apply \u002F analyze \u002F evaluate)\n- Tied to a specific course learning outcome\n- Promotes discussion, not just recall\n\n| ✅ Good question | ❌ Bad question |\n|---|---|\n| \"If dietary fat quality can reshape your lipoprotein lipidome, what does this suggest about the biochemical basis for dietary guidelines recommending unsaturated over saturated fats?\" | \"What did the authors find?\" (Just recall) |\n\nUse `scripts\u002Fdiscussion_question_validator.py` to flag recall-only questions.\n\n## Phase 5: Generate .docx via Bundled Script\n\n```bash\nnode ..\u002Fscripts\u002Fgenerate_reading_list.js \\\n  --input \u002Ftmp\u002Fsyllabus_data.json \\\n  --output \u002Fpath\u002Fto\u002Freading_list_\u003Ccourse>_\u003Cdate>.docx\n```\n\nThe script accepts JSON with this schema:\n\n```json\n{\n  \"courseTitle\": \"string\",\n  \"courseSubtitle\": \"string\",\n  \"generatedDate\": \"string\",\n  \"yearRange\": \"string\",\n  \"introText\": \"string\",\n  \"learningOutcomes\": [\"string\", ...],\n  \"sections\": [\n    {\n      \"heading\": \"string\",\n      \"papers\": [\n        {\n          \"title\": \"string\",\n          \"authors\": \"string\",\n          \"journal\": \"string\",\n          \"year\": number,\n          \"url\": \"string\",\n          \"summary\": \"string\",\n          \"question\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"auditLog\": {\n    \"totalQueriesSent\": number,\n    \"totalPapersReceived\": number,\n    \"totalPapersCited\": number,\n    \"toolConstraints\": \"string\",\n    \"searchDetails\": [\n      {\n        \"section\": \"string\",\n        \"query\": \"string\",\n        \"papersReturned\": number,\n        \"papersSelected\": number,\n        \"status\": \"string\"\n      }\n    ],\n    \"failures\": []\n  }\n}\n```\n\nThe script handles:\n- `docx` package require with multi-location fallback\n- Title page, intro with Consensus link, learning outcomes box, numbered papers per section\n- `ExternalHyperlink` with full Consensus URLs (never truncated)\n- `LevelFormat.BULLET` for lists (not unicode bullets)\n- Footer with generation metadata\n- Input validation (missing fields → graceful error)\n\nSee [`references\u002Fbundled_script_pattern.md`](references\u002Fbundled_script_pattern.md) for why bundled vs inline.\n\n## Phase 6: Deliver\n\n- File path\n- Audit summary in chat: \"Saved {file}. {N} sections × {M} papers \u002F {K} cited. Plan tier: {tier}.\"\n- Validate: `python scripts\u002Foffice\u002Fvalidate.py \u003Cdocx>`\n\n## Tooling\n\n| Script | Role |\n|---|---|\n| `scripts\u002Fcitation_tracker.py` | Consensus three-count audit + 1s sequential discipline at `~\u002F.syllabus_sessions\u002F\u003Csession>.json` |\n| `scripts\u002Ftopic_grouper.py` | Heuristic 6-12 section grouping from extracted topics |\n| `scripts\u002Fdiscussion_question_validator.py` | Bloom higher-order quality check; flags recall-only questions |\n| `scripts\u002Fgenerate_reading_list.js` | **Bundled Node.js DOCX generator** — JSON input → .docx output |\n\n## References\n\n- [`references\u002Fapplied_domain_weaving.md`](references\u002Fapplied_domain_weaving.md) — search-quality canon (7+ sources)\n- [`references\u002Faudience_calibration.md`](references\u002Faudience_calibration.md) — undergrad vs grad summary jargon (7+ sources)\n- [`references\u002Fbundled_script_pattern.md`](references\u002Fbundled_script_pattern.md) — why bundle vs inline (7+ sources)\n\n## Error Handling\n\n| Failure | Behavior |\n|---|---|\n| Consensus rate-limit hit | Wait 3s, retry once, log |\n| Search returns 0 for a section | Note section as \"limited results — consider manual supplementation\" |\n| 3 consecutive failures | Stop, alert user, share collected so far |\n| `docx` package not installed | Script attempts `npm install`; if still failing, fail with clear message |\n| DOCX validation fails | Unpack XML, log issue, ask user to retry |\n| Syllabus format unsupported | List supported formats, ask user to convert |\n| Learning outcomes can't be extracted | Infer 3-5 from course description; mark as inferred in document |\n\n## Anti-Patterns To Reject\n\n- Parallelizing Consensus calls (rate limit)\n- Searching topics without applied-domain angle (poor relevance)\n- Padding sections with fabricated entries when Consensus returns thin\n- Generic discussion questions (\"What did the authors find?\")\n- Jargon-heavy summaries unsuitable for the course's audience level\n- Skipping the group-and-confirm step (wastes searches)\n- Truncating Consensus URLs in hyperlinks\n- Inlining 300 lines of docx-generation JavaScript in the skill body (use bundled script)\n\n---\n\n**Version:** 1.0.0\n**Source spec:** [`megaprompts\u002F10-syllabus-megaprompt.md`](..\u002F..\u002F..\u002F..\u002Fmegaprompts\u002F10-syllabus-megaprompt.md)\n**Build pattern:** Path B (direct conversion). Bundled-JS-DOCX-generator variant.\n","# Syllabus — Course Supplementary Reading List\n\n> **Portability:** Requires a Consensus MCP connection, Node.js with `docx` package, and file reading capability for the syllabus. Works in Claude Code CLI natively. In Claude.ai with Consensus MCP + Code Execution + file upload, the workflow is supported.\n\nFor an instructor or student with a course syllabus, produce a professional supplementary reading list as `.docx` containing recent peer-reviewed papers per course section.\n\n## Architectural Pattern: Bundled Script\n\nThis skill uses a **bundled JavaScript helper script** for DOCX generation rather than inlining the 300+ lines of layout code:\n\n- DOCX generation logic is reusable + complex\n- Better separation of concerns: skill = orchestration + intelligence; script = mechanical document assembly\n- Token-efficient: skill doesn't re-derive layout each run\n- Easier to maintain and version\n\nThe bundled script is at `scripts\u002Fgenerate_reading_list.js`. The skill orchestrates the pipeline + invokes the script with JSON input.\n\n## Agent Integrity Rules (Research-Pack Convention)\n\nLocked verbatim per PR #657 audit.\n\n- **Only use what Consensus returns.** Every paper title, author, journal, year, URL must come from this session's tool calls. Training-knowledge papers labeled `[Not from Consensus — model knowledge]` and excluded.\n- **Confirm before moving on.** A search isn't complete until response received and inspected.\n- **Track three counts.** Queries sent \u002F papers received \u002F papers cited. Surface in audit summary.\n- **Surface gaps, don't fill them.** Section with one paper + note about limited results > section padded with fabrications.\n\n## Phase 0: Grill-Me Intake (3 forcing questions)\n\n### Q1 (root) — Syllabus input\n\n> **Provide the syllabus — pick one:**\n>\n> 1. File path (PDF, DOCX, text) — I'll read it\n> 2. Pasted content — paste below\n> 3. Image of a printed syllabus — attach the image\n>\n> *Why I'm asking:* Each format needs a different reader (PDF \u002F DOCX parser \u002F vision). Picking upfront prevents wasted attempts.\n\nForcing choice. Refuse to start without a syllabus.\n\n### Q2 (depends on Q1) — Course audience\n\n> **Course audience — pick one:**\n>\n> 1. Undergraduate (intro level)\n> 2. Undergraduate (advanced \u002F upper division)\n> 3. Graduate (Masters \u002F early PhD)\n> 4. Graduate (doctoral \u002F advanced)\n> 5. Professional \u002F continuing education\n> 6. Mixed\n>\n> *Why I'm asking:* Audience dictates summary jargon level and discussion-question complexity. Undergrad summaries define every term; grad summaries assume technical fluency. Discussion questions for undergrads test analysis; for grads test critique and extension.\n\nSee [`references\u002Faudience_calibration.md`](references\u002Faudience_calibration.md) for the canon.\n\n### Q3 (depends on Q1) — Year range\n\n> **Year range for papers — pick one:**\n>\n> 1. Last 1 year (most recent only)\n> 2. Last 2 years (default — recent + a year of context)\n> 3. Last 5 years (broader, includes foundational recent work)\n>\n> *Why I'm asking:* Reading lists go stale fast. 1-year filters keep things fresh; 5-year filters surface foundational recent work that's already standard. Drives the year_min parameter on every Consensus search.\n\nForcing choice with default (last 2 years).\n\n**Stop condition:** 3 questions max before Phase 1. The post-Phase-2 group-and-confirm checkpoint is its own grill-me moment.\n\n## Phase 1: Parse the Syllabus\n\nPer Q1 input format:\n\n- **PDF**: use PDF reader; extract text\n- **DOCX**: use pandoc or DOCX parser; extract text\n- **Text\u002Fpasted**: read directly\n- **Image**: use vision; extract text\n\nFrom extracted text:\n1. Course title + instructor + term\n2. Topic list (lecture titles, week-by-week breakdown, etc.)\n3. Learning outcomes (if explicit; if missing, infer 3-5 from description)\n\nMark inferred learning outcomes as `[inferred]` in the DOCX.\n\n## Phase 2: Group Topics + Confirm with User\n\n### Group via topic_grouper.py\n\nUse `scripts\u002Ftopic_grouper.py` to cluster related topics into 6-12 sections. Heuristic: closely-related topics merge; cross-cutting topics get their own section.\n\n### Group-and-Confirm Checkpoint (Forcing Options)\n\nAfter grouping, present:\n\n> **Proposed sections: [list with item counts]. Pick one:**\n>\n> 1. \"Looks good — proceed with these sections\"\n> 2. \"Merge sections [X] and [Y]\"\n> 3. \"Split section [X] into two\"\n> 4. \"Add a section for [topic]\"\n> 5. \"Remove section [X]\"\n>\n> *Why I'm asking:* Grouping drives search allocation. Wrong grouping wastes the search budget on bad clusters. This is the **last cheap moment** to correct course before searches consume Consensus calls.\n\n**Refuse to start Phase 3 without explicit user choice.**\n\n## Phase 3: Search Consensus per Section\n\nSequential, 1 q\u002Fsec. 1-2 queries per section.\n\n### Applied-Domain Weaving (Critical)\n\nDon't just search the topic — **search the topic + applied domain**:\n\n| ❌ Generic | ✅ Applied-domain |\n|---|---|\n| \"enzyme kinetics\" | \"enzyme kinetics food processing applications\" |\n| \"machine learning\" | \"machine learning clinical decision support\" |\n| \"thermodynamics\" | \"thermodynamics renewable energy systems\" |\n| \"social network analysis\" | \"social network analysis public health interventions\" |\n\nBoosts paper relevance dramatically. See [`references\u002Fapplied_domain_weaving.md`](references\u002Fapplied_domain_weaving.md) for the canon.\n\n### Per-Section Pattern\n\n```\nFor each section:\n  1. Construct query: \"{topic-keywords} {applied-domain-angle}\" + year_min from Q3\n  2. Submit to Consensus (sequential, 1 q\u002Fsec gap enforced by citation_tracker)\n  3. Receive results\n  4. (If thin) submit one fallback query without applied-domain angle\n  5. Select 1-3 papers per section (15-25 total across all sections)\n```\n\n### Selection Priorities\n\n1. **Relevance** — paper directly addresses the section topic\n2. **Reviews \u002F meta-analyses** — synthesize the field\n3. **Citation count** — established work\n4. **Applied-domain connection** — tied to the course's domain (e.g., engineering vs theory)\n\n## Phase 4: Write Summaries + Discussion Questions\n\n### Summary writing\n\nPer paper:\n- Plain language (calibrated to audience from Q2)\n- 2-3 sentences\n- Define jargon if undergraduate audience; assume fluency if graduate\n\n### Quality bars\n\n| ✅ Good summary | ❌ Bad summary |\n|---|---|\n| \"This review maps how different diets — Mediterranean, Nordic, vegetarian — reshape the types of fat molecules circulating in your blood, with implications for heart disease risk.\" | \"This paper reviews lipidomic profiles across dietary interventions and their cardiometabolic implications.\" |\n\n### Discussion question writing\n\nPer paper:\n- Bloom **higher-order** (apply \u002F analyze \u002F evaluate)\n- Tied to a specific course learning outcome\n- Promotes discussion, not just recall\n\n| ✅ Good question | ❌ Bad question |\n|---|---|\n| \"If dietary fat quality can reshape your lipoprotein lipidome, what does this suggest about the biochemical basis for dietary guidelines recommending unsaturated over saturated fats?\" | \"What did the authors find?\" (Just recall) |\n\nUse `scripts\u002Fdiscussion_question_validator.py` to flag recall-only questions.\n\n## Phase 5: Generate .docx via Bundled Script\n\n```bash\nnode ..\u002Fscripts\u002Fgenerate_reading_list.js \\\n  --input \u002Ftmp\u002Fsyllabus_data.json \\\n  --output \u002Fpath\u002Fto\u002Freading_list_\u003Ccourse>_\u003Cdate>.docx\n```\n\nThe script accepts JSON with this schema:\n\n```json\n{\n  \"courseTitle\": \"string\",\n  \"courseSubtitle\": \"string\",\n  \"generatedDate\": \"string\",\n  \"yearRange\": \"string\",\n  \"introText\": \"string\",\n  \"learningOutcomes\": [\"string\", ...],\n  \"sections\": [\n    {\n      \"heading\": \"string\",\n      \"papers\": [\n        {\n          \"title\": \"string\",\n          \"authors\": \"string\",\n          \"journal\": \"string\",\n          \"year\": number,\n          \"url\": \"string\",\n          \"summary\": \"string\",\n          \"question\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"auditLog\": {\n    \"totalQueriesSent\": number,\n    \"totalPapersReceived\": number,\n    \"totalPapersCited\": number,\n    \"toolConstraints\": \"string\",\n    \"searchDetails\": [\n      {\n        \"section\": \"string\",\n        \"query\": \"string\",\n        \"papersReturned\": number,\n        \"papersSelected\": number,\n        \"status\": \"string\"\n      }\n    ],\n    \"failures\": []\n  }\n}\n```\n\nThe script handles:\n- `docx` package require with multi-location fallback\n- Title page, intro with Consensus link, learning outcomes box, numbered papers per section\n- `ExternalHyperlink` with full Consensus URLs (never truncated)\n- `LevelFormat.BULLET` for lists (not unicode bullets)\n- Footer with generation metadata\n- Input validation (missing fields → graceful error)\n\nSee [`references\u002Fbundled_script_pattern.md`](references\u002Fbundled_script_pattern.md) for why bundled vs inline.\n\n## Phase 6: Deliver\n\n- File path\n- Audit summary in chat: \"Saved {file}. {N} sections × {M} papers \u002F {K} cited. Plan tier: {tier}.\"\n- Validate: `python scripts\u002Foffice\u002Fvalidate.py \u003Cdocx>`\n\n## Tooling\n\n| Script | Role |\n|---|---|\n| `scripts\u002Fcitation_tracker.py` | Consensus three-count audit + 1s sequential discipline at `~\u002F.syllabus_sessions\u002F\u003Csession>.json` |\n| `scripts\u002Ftopic_grouper.py` | Heuristic 6-12 section grouping from extracted topics |\n| `scripts\u002Fdiscussion_question_validator.py` | Bloom higher-order quality check; flags recall-only questions |\n| `scripts\u002Fgenerate_reading_list.js` | **Bundled Node.js DOCX generator** — JSON input → .docx output |\n\n## References\n\n- [`references\u002Fapplied_domain_weaving.md`](references\u002Fapplied_domain_weaving.md) — search-quality canon (7+ sources)\n- [`references\u002Faudience_calibration.md`](references\u002Faudience_calibration.md) — undergrad vs grad summary jargon (7+ sources)\n- [`references\u002Fbundled_script_pattern.md`](references\u002Fbundled_script_pattern.md) — why bundle vs inline (7+ sources)\n\n## Error Handling\n\n| Failure | Behavior |\n|---|---|\n| Consensus rate-limit hit | Wait 3s, retry once, log |\n| Search returns 0 for a section | Note section as \"limited results — consider manual supplementation\" |\n| 3 consecutive failures | Stop, alert user, share collected so far |\n| `docx` package not installed | Script attempts `npm install`; if still failing, fail with clear message |\n| DOCX validation fails | Unpack XML, log issue, ask user to retry |\n| Syllabus format unsupported | List supported formats, ask user to convert |\n| Learning outcomes can't be extracted | Infer 3-5 from course description; mark as inferred in document |\n\n## Anti-Patterns To Reject\n\n- Parallelizing Consensus calls (rate limit)\n- Searching topics without applied-domain angle (poor relevance)\n- Padding sections with fabricated entries when Consensus returns thin\n- Generic discussion questions (\"What did the authors find?\")\n- Jargon-heavy summaries unsuitable for the course's audience level\n- Skipping the group-and-confirm step (wastes searches)\n- Truncating Consensus URLs in hyperlinks\n- Inlining 300 lines of docx-generation JavaScript in the skill body (use bundled script)\n\n---\n\n**Version:** 1.0.0\n**Source spec:** [`megaprompts\u002F10-syllabus-megaprompt.md`](..\u002F..\u002F..\u002F..\u002Fmegaprompts\u002F10-syllabus-megaprompt.md)\n**Build pattern:** Path B (direct conversion). Bundled-JS-DOCX-generator variant.\n",{"name":5,"license":14,"metadata":23,"description":7},{"version":24,"source_spec":25,"build_pattern":26,"research_pack_convention":27},"1.0.0","megaprompts\u002F10-syllabus-megaprompt.md","Path B (direct conversion)","Agent Integrity Rules verbatim per PR #657 audit; bundled-JS-DOCX-generator variant","main","56d41613d1ca1e2b0614a19c3816ec97a6159ec2","research\u002Fsyllabus\u002Fskills\u002Fsyllabus","https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil","https:\u002F\u002Fgithub.com\u002Fmsm47","2026-06-22 18:36:50",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add msm47\u002FGitskil --skill syllabus",{"tool":40,"command":41},"bunx","bunx skills add msm47\u002FGitskil --skill syllabus",{"tool":43,"command":44},"pnpm","pnpm dlx skills add msm47\u002FGitskil --skill syllabus","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",true,[48,54,58,62,68,72,76],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fapplied_domain_weaving.md","REFERENCE","参考文档",8232,"https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Freferences\u002Fapplied_domain_weaving.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Faudience_calibration.md",10240,"https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Freferences\u002Faudience_calibration.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fbundled_script_pattern.md",7280,"https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Freferences\u002Fbundled_script_pattern.md",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fcitation_tracker.py","SCRIPT","脚本",8343,"https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Fscripts\u002Fcitation_tracker.py",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Fdiscussion_question_validator.py",8866,"https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Fscripts\u002Fdiscussion_question_validator.py",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fgenerate_reading_list.js",13810,"https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Fscripts\u002Fgenerate_reading_list.js",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Ftopic_grouper.py",7125,"https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Fscripts\u002Ftopic_grouper.py",[81,88,95,102,109,116],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M76S8K8X17M3CV7RENS6KA32","research","Default entry point for any research request — a hybrid router that classifies the question deterministically and either delegates to a specialist research skill (pulse for trends\u002Fsentiment, grants for NIH funding, litreview for academic literature, syllabus for course reading, patent for prior-art + IP landscape, dossier for entity research) or runs its own plan-decompose-multi-source-search-synthesize-cite fallback workflow when no specialist matches. Always surfaces the routing decision so users can override. Triggers — \"research [topic]\", \"look into [topic]\", \"what do we know about [topic]\", \"investigate [topic]\", \"find me information on [topic]\", \"do some research on [topic]\", \"I need to understand [topic]\", or any research request that doesn't obviously match a more-specific specialist skill. Output is a markdown briefing (default) or .docx document (on request) with full citations and an audit log.","https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fresearch\u002Fskills\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M76S8AZCNS7Q5M4G1SBQ8HDV","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Triggers: 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]', or any variation requesting multi-source recency intelligence on a topic. Also use for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M76S7YVS0NHD51AFTZM5965R","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Triggers: 'prior art search for [invention]', 'patent search on [topic]', 'freedom to operate analysis', 'FTO for [product]', 'patent landscape for [field]', 'is [invention] novel', 'patents on [topic]', 'competitive patent analysis', 'prior art for litigation', 'patent diligence on [company]'. Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":18},"01M76S7MQDZR49Y3DRXF394R2F","notebooklm","Browser automation skill for controlling Google's NotebookLM. Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio Overview, infographics, slide decks, study guides, briefing docs, mind maps, timelines, FAQs), and creating new notebooks. Triggers on any phrase involving NotebookLM — 'open NotebookLM', 'check my [name] notebook', 'pull info from NotebookLM', 'ask my notebook about X', 'add [source] to NotebookLM', 'create an infographic in NotebookLM', 'use NotebookLM Studio', 'generate a slide deck from my notebook', or any variation where the goal involves NotebookLM. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":18},"01M76S78K1ZJ092YYRKX0KBTYJ","litreview","Academic literature orientation skill that searches papers via Consensus, builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a professionally formatted Word document (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — not a finished review, but an orientation guide that lets a researcher dive in confidently. Triggers: 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'. Do NOT trigger for single one-off paper searches where the user just wants a quick list — that's a plain Consensus search.","https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":18},"01M76S70CRXWVJCQWGZ49AYCE0","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Triggers: 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research', or any grant-related request. NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fmsm47\u002FGitskil\u002Fblob\u002Fmain\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]