[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QQJTJXXXKEA8X07TX388H0":3,"skill-same:01M6QQJTJXXXKEA8X07TX388H0":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":14,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6QQJTJXXXKEA8X07TX388H0","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. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","Tashima-Tarsh\u002FDisha6.6","Tashima-Tarsh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269906498?v=4","01M6PBH98X03XERH0HFT4PFB1P","NITISH KUMAR","01M6PBH9DA0M6KM3Z12P848F0K",0,"MIT","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"grill","variant","for","links","reading","plain-language","curriculum","course","input","grouping","docx","use","list","consensus","Rules","learning","checkpoint","search","create","2026-11-10 10:12:30",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. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus 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 scripts\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: check zip integrity with `python3 -c \"import zipfile,sys; zipfile.ZipFile(sys.argv[1]).testzip()\" \u003Cdocx>` (no output = intact), then confirm the required sections are present\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` (maintainer-local draft spec — gitignored, not present in the public repository)\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 scripts\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: check zip integrity with `python3 -c \"import zipfile,sys; zipfile.ZipFile(sys.argv[1]).testzip()\" \u003Cdocx>` (no output = intact), then confirm the required sections are present\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` (maintainer-local draft spec — gitignored, not present in the public repository)\n**Build pattern:** Path B (direct conversion). Bundled-JS-DOCX-generator variant.\n",{"name":5,"license":15,"metadata":43,"description":7},{"version":44,"source_spec":45,"build_pattern":46,"research_pack_convention":47},"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","0da4485785ee599388900be50db1635489d53056",".agents\u002Fskills\u002Fsyllabus","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6","https:\u002F\u002Fdisha6.6.thenitishkr.in\u002F","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh","www.thenitishkr","thenitishkr | AI • Cyber-security • Research\r\n","2026-11-08 03:33:25",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add Tashima-Tarsh\u002FDisha6.6 --skill syllabus",{"tool":63,"command":64},"bunx","bunx skills add Tashima-Tarsh\u002FDisha6.6 --skill syllabus",{"tool":66,"command":67},"pnpm","pnpm dlx skills add Tashima-Tarsh\u002FDisha6.6 --skill syllabus","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsyllabus\u002FSKILL.md",true,[],[72,96,120,143,168,191],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":38},"01M6QRD07D4TGNDK6VJ4EHF8BV","youtube-full","Use when the user needs YouTube transcripts, video search, channel browsing, playlist extraction, or content monitoring. Trigger phrases: 'get the transcript for', 'search YouTube for', 'what are the latest videos on', 'list this playlist', 'monitor this channel', or any request involving a YouTube URL, video ID, or @handle. Do NOT use for downloading video or audio files, YouTube engagement data (likes, comments), or private\u002Fage-restricted videos.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fyoutube-full\u002FSKILL.md",[],[79,80,81,82,36,83,84,85,86,31,87,88,89,90,91,92,21,93,94,95],"youtube full","youtube","full","transcript","monitoring","data","Video","Audio","files","do","get","age","trigger","URL","browsing","request","youtube transcripts",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":38},"01M6QRCJ3112VYPA97YG7KGMC2","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[103,104,105,106,36,107,108,109,110,111,112,113,114,115,30,116,117,118,119,21],"twitter","x twitter growth","growth","research","content","engineering","plan","web search","competitors","analyze","engine","write","strategy","platform","grow","posting","competitive",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":38},"01M6QRBN3EHQNJY42RERP7A149","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, build, or author a new skill.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[],[127,114,128,37,129,130,131,132,30,133,134,48,135,136,137,138,139,140,141,142],"write a skill","github","https","productivity","matt pocock","direct","example","build","new skill","structure","new agent","resources","with","tree","progressive disclosure","author",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":38},"01M6QRB6G8P33PNGAF9Y69EJ9T","wrap-up","Close out a launched Claude Managed Agent — recap every primitive the founder now owns, regenerate the single-file overview page, and suggest the next 1-2 upgrades. Use when the user says \"wrap up\", \"close this out\", \"what do I own now\", \"give me the summary\", \"recap the agent\", or when the orchestrator routes phase=wrap-up. primitives_inventory.py tables everything owned (agent, environment, session, memory, outcome, deployment); overview_page.py regenerates a self-contained .\u002Fmy-agent\u002Fagent-overview.html; upgrade_suggester.py ranks the next moves from recorded deferrals plus standing hardening steps. Companion to run-without-you; the last stop before phase=done.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrap-up\u002FSKILL.md",[],[150,151,152,153,154,155,156,157,158,30,159,88,160,161,162,163,164,165,166,167],"wrap up","up","wrap","gemini","deployment","run","file","hardening","closeout","stop","upgrade","founder","close","companion","you","tables","directions","phase",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":38},"01M6QRA5AYC1RBFZ39GTWGS3N8","workflow-builder","Design and write deterministic multi-agent workflow scripts (.js files in .claude\u002Fworkflows\u002F) for Claude Code's Workflow tool. Use when a user wants to build, create, author, scaffold, or run a custom Claude Code workflow, orchestrate sub-agents (fan-out, pipeline, loop, judge-panel), or automate a repeatable multi-step task across fresh-context agents.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow-builder\u002FSKILL.md",[],[175,176,177,178,179,37,155,180,181,182,183,184,114,185,87,186,187,188,189,190],"workflow","workflow builder","builder","design","workflows","code","orchestrate","pipeline","loop","multi-agent","context","across","fresh","scripts","judge","claude code workflow",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":38},"01M6QR7QMCZESKQA0ERW1E657M","weekly-review","Use when someone wants to run a weekly review, close open loops, audit stalled projects and commitments, get their system back to trusted, restart a lapsed review habit, or says \"\u002Fcs:weekly-review\". Walks David Allen's three-phase loop — GET CLEAR, GET CURRENT, GET CREATIVE — with deterministic scripts that inventory open loops, gate the checklist with named gaps, and score commitment health 0-100.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[198,199,200,201,202,203,204,205,206,183,207,208,209,210,211,212,89,213,214,167],"review","weekly review","weekly","deterministic scripts","reflect","feeds","inventory","open","team","projects","project-management","scanner","conversation","back","project","sprint","cadence"]