[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M770BJ30NGDZGCB7NWTJ81QP":3,"skill-same:01M770BJ30NGDZGCB7NWTJ81QP":56},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M770BJ30NGDZGCB7NWTJ81QP","curriculum-generator",null,"Intelligent educational curriculum generation system with strict step enforcement and human escalation policies","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftarasinghrajput\u002Fcurriculum-generator\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: curriculum-generator\ndescription: Intelligent educational curriculum generation system with strict step enforcement and human escalation policies\nmetadata:\n  openclaw:\n    requires:\n      bins: [\"node\"]\n      env: []\n      config: []\n    version: \"1.0.0\"\n    author: \"Apni Pathshala\"\n---\n\n## DEBUG MODE\n\nWhen the user includes \"debug mode\" or \"show searches\" in their curriculum request:\n\n**Enable verbose output:**\n- Print every neo-ddg-search query before executing\n- Print number of results returned\n- Print first 2-3 URLs extracted\n- Print resource assignment: \"Assigning to {topic}: {url}\"\n\n**Example debug output:**\n```\n[DEBUG] Executing neo-ddg-search(\"Python basics tutorial for beginners\")\n[DEBUG] Search returned 10 results\n[DEBUG] Extracting URLs...\n[DEBUG] Found: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=rfscVS0vtbw\n[DEBUG] Found: https:\u002F\u002Fwww.freecodecamp.org\u002Flearn\u002Fscientific-computing-with-python\u002F\n[DEBUG] Assigning to \"Python Basics\": https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=rfscVS0vtbw\n```\n\n\n## Dependencies\n\n### Required Skills\nThis skill requires the following other skills to be installed:\n\n- **neo-ddg-search**: For web searching educational resources\n  - Install: `clawhub install neobotjan2026\u002Fneo-ddg-search`\n  - Verify: Check if neo-ddg-search skill exists in skills directory\n\n### Dependency Verification\n\nAt the start of curriculum generation, verify neo-ddg-search is available:\n```\nIF neo-ddg-search skill NOT found:\n   🚨 DEPENDENCY MISSING\n   \n   The curriculum generator requires the neo-ddg-search skill for finding educational resources.\n   \n   Please install it:\n   clawhub install neobotjan2026\u002Fneo-ddg-search\n   \n   Then restart this process.\n   \n   ⚠️ GENERATION CANNOT PROCEED without search capability\n   \n   STOP\n```\n\n### Search Tool Health Check\n\nBefore starting resource research, perform a test search:\n```\nTest: neo-ddg-search(\"Python tutorial test\")\n\nIF successful:\n   ✅ Search tool operational\n   Proceeding with resource research...\n   \nIF failed:\n   🚨 SEARCH TOOL ERROR\n   \n   neo-ddg-search is installed but not responding correctly.\n   \n   Error: {error_details}\n   \n   Please check:\n   • neo-ddg-search skill is properly installed\n   • Internet connection is available\n   • No firewall blocking DuckDuckGo\n   \n   ⚠️ Cannot proceed with resource research\n   \n   ESCALATE\n```\n\n# Curriculum Generator Skill\n\n## Purpose\nThis skill helps generate customized educational curricula for PODs (Points of Delivery) through a structured, step-enforced process with mandatory human escalation when needed.\n\n## Core Capabilities\n- Guided requirement gathering via structured questionnaire\n- Research-based curriculum design or assessment\n- Excel (.xlsx) output generation\n- Local memory storage for continuous improvement\n- Background task execution\n- Strict human escalation policy enforcement\n\n## Storage Locations\n- **Memory**: `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Fmemory\u002F`\n- **Outputs**: `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Foutputs\u002F`\n- **Templates**: `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Ftemplates\u002F`\n\n## Activation Triggers\nThis skill activates when the user:\n- Says \"create curriculum\", \"design curriculum\", or \"assess curriculum\"\n- Says \"curriculum help\" or \"start curriculum process\"\n- Explicitly requests curriculum generation for a POD\n\n## CRITICAL RULES (NON-NEGOTIABLE)\n\n### Core Principle\nYou MUST ask a human whenever you are forced to guess, infer, or trade off risk.\nIf a wrong decision could affect students, teachers, or POD operations, escalation is MANDATORY.\n\n### Hard-Stop Escalation Triggers\nYou MUST stop and escalate to human if ANY of these occur:\n\n**A. Missing or Ambiguous Inputs**\n- Target age\u002Fgrade level is unclear\n- Teacher availability or capability is unknown\n- Daily lab hours are not specified\n- Infrastructure reliability (computers\u002Finternet\u002Felectricity) is unclear\n- Whether existing curriculum exists is not confirmed\n\n**B. Teacher Capability Risk**\n- Teachers cannot operate computers independently\n- Teachers lack experience running labs\n- Teachers cannot manage lab discipline or session flow\n\n**C. Operational Infeasibility**\n- Curriculum hours exceed available lab hours\n- Sessions per week exceed teacher capacity\n- Student-to-computer ratio is unsafe\n- Infrastructure cannot support planned activities\n\n**D. High-Risk Curriculum Changes**\n- Removing major learning outcomes\n- Changing curriculum duration significantly\n- Shifting learning area (e.g., digital literacy → employment readiness)\n- Introducing new tools\u002Fplatforms not previously used\n\n**E. Contradictory Stakeholder Signals**\n- Teachers say curriculum is too hard, students say too easy\n- POD leader priorities conflict with feasibility\n- Feedback loops contradict assessment data\n\n### Escalation Format (MANDATORY)\nWhen escalating, use this EXACT format:\n```\n🚨 HUMAN INPUT REQUIRED\n\nReason: [specific trigger]\nImpact if Unresolved: [clear consequence]\nOptions (if any):\n1. [option 1]\n2. [option 2]\n\nAwaiting Decision From: [POD Leader \u002F Curriculum Owner]\n```\n\n## PROCESS FLOW\n\n### STEP 0: SCENARIO IDENTIFICATION (MANDATORY)\nBefore anything else, determine:\n- **Scenario A**: Assessment of existing curriculum\n- **Scenario B**: Design of new curriculum\n\nIf unclear, STOP and ask user to confirm. Do NOT proceed without classification.\n\n---\n\n### SCENARIO A: ASSESSING EXISTING CURRICULUM\n\n#### STEP A1: Gather Basic Information\nCollect ALL of the following using the structured form:\n\n**Section 0: Request Metadata**\n- Request ID (auto-generate using timestamp)\n- Date of Request (auto-capture)\n- Requested By (Name + Role)\n- POD Name (REQUIRED)\n- Scenario Type (must be selected)\n\n⚠️ If Scenario Type not selected → HARD STOP\n\n**Section 1: Target Audience Profile (MANDATORY)**\n1. Primary Student Group:\n   - Age range\n   - Grade\u002FEducation level\n2. Student Background (check all that apply):\n   - First-time computer users\n   - Basic exposure (mouse, keyboard)\n   - Prior digital lab experience\n   - Mixed levels\n3. Language Comfort:\n   - Medium of instruction\n   - English proficiency (Low\u002FMedium\u002FHigh)\n4. Special Constraints:\n   - Learning disabilities\n   - Attendance inconsistency\n   - Social\u002Feconomic limitations\n\n⚠️ If age\u002Fgrade missing → HARD STOP and escalate\n\n**Section 2: POD & Infrastructure Details (MANDATORY)**\n1. Lab Infrastructure:\n   - Number of computers\n   - Average students per session\n   - Internet availability (Reliable\u002FUnstable\u002FNone)\n   - Power backup (Yes\u002FNo)\n2. Daily Lab Usage:\n   - Available hours per day\n   - Days per week lab is operational\n3. Existing Tools\u002FPlatforms:\n   - Operating System\n   - Software already installed\n   - Internet restrictions\n\n⚠️ If lab hours or computer count missing → HARD STOP and escalate\n\n**Section 3: Teacher Capability & Availability (MANDATORY)**\n1. Number of Teachers Assigned\n2. Teacher Availability:\n   - Days per week\n   - Hours per day\n3. Teacher Capability Assessment:\n   - Can operate computers independently? (Yes\u002FNo)\n   - Comfortable managing digital labs? (Yes\u002FNo)\n   - Prior experience with similar programs? (Yes\u002FNo)\n4. Training Requirement:\n   - No training needed\n   - Short training needed\n   - Extensive training needed\n\n⚠️ Any \"No\" in capability assessment → Potential escalation\n\n#### STEP A2: Stakeholder Inputs (Structured Summary)\nSimulate structured stakeholder inputs based on provided data:\n- **POD Leader**: Effectiveness, challenges, change needs\n- **Teachers**: Teaching experience, curriculum gaps, student progress\n- **Students**: Difficulty level, engagement, relevance\n\nThen perform Teacher Capability Assessment:\n- Can teachers operate computers independently?\n- Can they run the lab as per curriculum?\n- Can they manage discipline, safety, and session flow?\n- Identify training gaps (if any)\n\n#### STEP A3: Curriculum Evaluation\nEvaluate curriculum on these dimensions:\n- Relevance to student needs\n- Alignment with industry\u002Fdigital literacy goals\n- Flexibility for varied learning speeds\n- Outcome clarity and measurability\n- Technology integration quality\n\nThen perform Operational Feasibility Check:\n- Lab schedule feasibility\n- Teacher sufficiency\n- Infrastructure readiness (computers, internet, electricity)\n\n#### STEP A4: Recommendations\n- Clearly state whether modification is required or optional\n- If required, propose specific, actionable changes\n- Flag risks explicitly\n\nEnd with:\n**Status: Draft Assessment – Pending Human Review**\n\n---\n\n### SCENARIO B: DESIGNING A NEW CURRICULUM\n\n#### STEP B1: Define Curriculum Foundation\nExplicitly define:\n- **Learning Areas**: Digital Literacy \u002F Academic Empowerment \u002F Skill Development \u002F Employment Readiness\n- **Target Audience**: Grade, background\n- **Clear, measurable Learning Outcomes** (no vague outcomes allowed)\n\n#### STEP B2: Develop Course Structure\nGenerate:\n- Modules and sub-topics\n- Weekly lesson breakdown\n- Learning objective per lesson\n- Program duration (e.g., 3 months \u002F 6 months)\n- Class frequency\n\n**Lab Planning (Mandatory)**:\n- Daily lab operating hours\n- Sessions per week\n- Max students per session\n\n**END OF STEP B2 - MANDATORY ACTION BEFORE PROCEEDING:**\n```\nBEFORE moving to Step B3, execute this command sequence:\n\n1. Review the curriculum structure you just created\n2. Identify ALL topics that will appear in the final output\n3. For EACH topic, RIGHT NOW, execute:\n   \n   neo-ddg-search(\"{topic} tutorial for beginners\")\n   \n4. Extract the first valid educational URL from results\n5. Store it in a resource_map dictionary:\n   \n   resource_map[\"{topic}\"] = \"https:\u002F\u002F...\"\n\n6. Verify resource_map has entries for ALL topics\n7. Only then proceed to Step B3\n\nExample:\nTopic: \"Python Lists\"\nExecute: neo-ddg-search(\"Python Lists tutorial for beginners\")\nResult: Found https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc\nStore: resource_map[\"Python Lists\"] = \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc\"\n\nDO NOT SKIP THIS. DO NOT PROCEED WITHOUT COMPLETING THIS.\n```\n```\n\n## **Step 5: Create a Simpler Test in Telegram**\n\nNow test with very explicit instructions. In Telegram, send:\n```\nCreate a tiny test curriculum:\n- Topic: HTML Basics  \n- Duration: 1 week only\n- 2 lessons total\n\nIMPORTANT INSTRUCTIONS:\n1. After creating the structure, use neo-ddg-search to find resources for EACH lesson\n2. Before generating the CSV file, verify ALL resource links are real URLs\n3. Show me each search you perform\n4. If ANY resource link is empty or \"TBD\", STOP and search for it immediately\n\nStart now.\n\n**MANDATORY: End of Step B2 Resource Collection**\n\nBefore proceeding to Step B3, you MUST complete this:\n```\nSTOP HERE.\n\nBefore moving to Step B3, execute this sequence:\n\n1. List all topics you just created: [topic1, topic2, topic3, ...]\n\n2. Create an empty dictionary: resource_links = {}\n\n3. FOR EACH topic:\n   a. Execute: result = neo-ddg-search(\"{topic} tutorial for beginners\")\n   b. Look at the result text\n   c. Find all text that starts with \"https:\u002F\u002F\"\n   d. Extract the complete URL\n   e. Store: resource_links[topic] = that_url\n   f. Print: \"Stored for {topic}: {that_url}\"\n\n4. Verify resource_links has ALL topics\n\n5. Print the complete resource_links dictionary\n\n6. ONLY THEN proceed to Step B3\n\nExample for \"HTML Basics\":\n   Execute: neo-ddg-search(\"HTML Basics tutorial for beginners\")\n   Result contains: \"...https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg...\"\n   Extract: \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg\"\n   Store: resource_links[\"HTML Basics\"] = \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg\"\n   Print: \"Stored for HTML Basics: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg\"\n\nDO THIS FOR EVERY SINGLE TOPIC BEFORE MOVING ON.\n```\n\n\n**END OF STEP B2 - RESOURCE COLLECTION (MANDATORY)**\n```\nYOU MUST NOW COLLECT RESOURCES BEFORE PROCEEDING.\n\nExecute this EXACT sequence:\n\n1. Create empty dictionary: resource_links = {}\n\n2. List all topics from Step B2\n\n3. For EACH topic, execute:\n   \n   bash_tool: python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"{topic} tutorial for beginners\" 5\n   \n4. From the output, find all text starting with \"https:\u002F\u002F\"\n\n5. Take the first URL that contains \"youtube.com\", or if none, the first URL\n\n6. Store it: resource_links[topic] = that_url\n\n7. Print: \"Collected for {topic}: {that_url}\"\n\n8. After ALL topics are done, print the complete resource_links dictionary\n\n9. Verify every topic has a URL\n\n10. ONLY THEN create the CSV using URLs from resource_links\n\nDO NOT WRITE \"TBD\" IN THE CSV.\nUSE THE URLS FROM resource_links DICTIONARY.\n\nIf you cannot find a URL for a topic, STOP and ESCALATE.\nDo not proceed to CSV generation without URLs for all topics.\n```\n```\n\n## **Save and Test**\n\nSave the file, then in Telegram:\n```\nreload skills\n```\n\nThen test with a VERY simple example:\n```\nCreate curriculum:\n- Topic: HTML only\n- 1 lesson total\n- Show me EVERY step\n\nAfter you build the structure:\n1. Search for HTML resources using: python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"HTML tutorial for beginners\" 5\n2. Show me the raw output\n3. Extract the URLs\n4. Show me what URL you extracted\n5. Show me the CSV content BEFORE writing it\n6. If Resource Link shows \"TBD\", STOP immediately\n\nStart.\n```\n\n## **What to Watch For**\n\nYou should see output like:\n```\n✅ Course structure complete\n\n🔍 Starting resource search...\n\nTopic: HTML Basics\nExecuting: python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"HTML Basics tutorial for beginners\" 5\n\n[Results shown]\n[1] HTML Tutorial | https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n[2] Learn HTML | https:\u002F\u002Fwww.w3schools.com\u002Fhtml\u002F\n\nFound 2 URLs\nSelected: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n✅ Stored for HTML Basics: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n\nResource Links Dictionary:\n  HTML Basics: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n\n📋 CSV Preview:\nCovered Topics           | Resource Link\nHTML Basics             | https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n\nWriting file...\n\n\n#### STEP B2.5: RESOURCE LINK POPULATION (SIMPLIFIED)\n\n**After completing Step B2 structure, execute this EXACT process:**\n\n### Simple 3-Step Process Per Topic\n\n**For EACH topic:**\n\n**STEP 1: Search**\n```bash\npython3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"{topic} tutorial for beginners\" 5\n```\n\n**STEP 2: Look at output and extract FIRST URL**\n- Scan the output line by line\n- When you see `https:\u002F\u002F` → copy everything from `https:\u002F\u002F` until the next space\n- That's your URL\n\n**STEP 3: Store it**\n```\nresource_links[\"{topic}\"] = \"the_url_you_found\"\n```\n\n**Then IMMEDIATELY move to next topic. Do NOT do additional searches unless the first one returns ZERO results.**\n\n### Hard Limit: 1 Search Per Topic\n\n**RULE**: Execute ONE search per topic. Extract ONE URL. Move on.\n\nDo NOT:\n- ❌ Execute multiple searches for the same topic\n- ❌ Try to find \"better\" resources\n- ❌ Analyze quality extensively\n- ❌ Wait or pause\n\nDO:\n- ✅ Search once\n- ✅ Grab first URL\n- ✅ Move to next topic\n- ✅ Complete all topics quickly\n\n### Exact Execution Template\n```\nPrint: \"🔍 Resource Research Starting...\"\nPrint: \"\"\n\nresource_links = {}\ntopics = [list of all topics from Step B2]\n\nFor topic in topics:\n    Print: f\"Topic: {topic}\"\n    \n    # Execute search (ONE TIME ONLY)\n    result = bash_tool(f'python3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"{topic} tutorial\" 5')\n    \n    # Extract first URL (simple method)\n    url = None\n    for line in result.split('\\n'):\n        if 'https:\u002F\u002F' in line:\n            start = line.find('https:\u002F\u002F')\n            end_of_line = line[start:]\n            # Get URL until space or end\n            space_index = end_of_line.find(' ')\n            if space_index > 0:\n                url = end_of_line[:space_index]\n            else:\n                url = end_of_line.strip()\n            break  # Take FIRST URL and stop\n    \n    if url:\n        resource_links[topic] = url\n        Print: f\"  ✅ {url}\"\n    else:\n        resource_links[topic] = \"MANUAL_RESEARCH_NEEDED\"\n        Print: f\"  ⚠️ No URL found - marked for manual research\"\n    \n    # IMMEDIATELY continue to next topic\n    \nPrint: \"\"\nPrint: \"✅ Resource research complete\"\nPrint: f\"Collected {len(resource_links)} resource links\"\nPrint: \"\"\n```\n\n### Time Limit\n\n**Maximum time for resource research: 2 minutes total**\n\nIf you're taking longer than 2 minutes for resource collection, you're doing something wrong. This should be fast:\n- 5 seconds per search\n- 2 topics = 10 seconds\n- 10 topics = 50 seconds\n\n### What Gets Stored\n```python\n# Good examples:\nresource_links[\"Python Basics\"] = \"https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\"\nresource_links[\"HTML Intro\"] = \"https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_variables.asp\"\n\n# Acceptable if no URL found:\nresource_links[\"Obscure Topic\"] = \"MANUAL_RESEARCH_NEEDED\"\n\n# NEVER acceptable:\nresource_links[\"Topic\"] = \"TBD\"  # ❌\nresource_links[\"Topic\"] = \"\"     # ❌\n```\n\n### After Collection: Immediate CSV Generation\n\n**Do NOT pause or wait. Immediately proceed to CSV generation.**\n```\nPrint: \"📄 Generating CSV with collected resources...\"\n\ncsv_data = []\n\nfor topic in curriculum_structure:\n    resource_url = resource_links.get(topic, \"MANUAL_RESEARCH_NEEDED\")\n    \n    csv_row = {\n        \"Curriculum ID\": curriculum_id,\n        \"File Name\": file_name,\n        \"Target POD Type\": pod_type,\n        \"Clusters\": clusters,\n        \"Content Type\": content_type,\n        \"Covered Topics\": topic,\n        \"Owner\": owner,\n        \"Resource Link\": resource_url,  # ← Use collected URL\n        \"Document Creation Date\": date,\n        \"Last Updated On\": date\n    }\n    csv_data.append(csv_row)\n\nwrite_csv(csv_data)\nPrint: \"✅ CSV file generated\"\n```\n\n### Example: Complete 2-Topic Execution\n\n**Topics**: [\"Python Basics\", \"Python Functions\"]\n```\n🔍 Resource Research Starting...\n\nTopic: Python Basics\n  Executing search...\n  [Results received]\n  Found URL: https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\n  ✅ https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\n\nTopic: Python Functions  \n  Executing search...\n  [Results received]\n  Found URL: https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_functions.asp\n  ✅ https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_functions.asp\n\n✅ Resource research complete\nCollected 2 resource links\n\n📄 Generating CSV with collected resources...\n✅ CSV file generated: Python_Basics_v1.0.csv\n```\n\n**Total time**: ~15 seconds\n\n### No Escalation for \"Imperfect\" Resources\n\n**Accept whatever URL you find in the first search.**\n\nPriority is:\n1. Speed ✅\n2. Completion ✅\n3. Perfect resources ⚠️ (nice to have, not required)\n\nIf the first search returns W3Schools instead of YouTube, that's FINE. Use it and move on.\n\n### Escalation Only For Zero Results\n\n**Only escalate if:**\n- ❌ Search returns absolutely no results\n- ❌ Search returns results but contains ZERO URLs\n- ❌ Search tool completely fails\n\n**Do NOT escalate if:**\n- ✅ URL is from W3Schools instead of YouTube (still good!)\n- ✅ URL is from a lesser-known educational site (acceptable!)\n- ✅ URL is documentation instead of video (perfectly fine!)\n\n### Debug Output (When Requested)\n\nIf user requests DEBUG MODE:\n```\n[DEBUG] Topic: Python Basics\n[DEBUG] Command: python3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"Python Basics tutorial\" 5\n[DEBUG] Results: 5 entries returned\n[DEBUG] Extracting URLs...\n[DEBUG] Line 1: Contains 'https:\u002F\u002Fdatascientest.com\u002F...'\n[DEBUG] Extracted: https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\n[DEBUG] Storing: resource_links[\"Python Basics\"] = \"https:\u002F\u002Fdatascientest.com\u002F...\"\n[DEBUG] ✅ Complete - moving to next topic\n```\n\n**MANDATORY: After Step B2, execute resource collection IMMEDIATELY**\n```\nAfter completing Step B2 course structure:\n\n1. DO NOT pause\n2. DO NOT ask for confirmation\n3. IMMEDIATELY start resource collection\n4. Use the Simple 3-Step Process above\n5. Complete ALL topics within 2 minutes\n6. Then IMMEDIATELY generate CSV\n7. Do NOT wait between steps\n\nThis should be ONE CONTINUOUS FLOW:\nStep B2 → Resource Collection → CSV Generation → Done\n\nNo breaks. No pauses. No waiting.\n```\n\n\n### Implementation in Curriculum Generation\n\n**After Step B2 (course structure), do this:**\n```\nPrint: \"🔍 Starting resource search for all topics...\"\nPrint: \"\"\n\nInitialize: resource_links = {}\n\nFor each topic in curriculum:\n    Print: \"Topic: {topic}\"\n    \n    # Execute search\n    command = f\"python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \\\"{topic} tutorial for beginners\\\" 5\"\n    result = execute_bash(command)\n    \n    # Extract URLs (look for https:\u002F\u002F)\n    lines = result.split('\\n')\n    urls = []\n    for line in lines:\n        if 'https:\u002F\u002F' in line:\n            # Extract the URL part\n            start = line.find('https:\u002F\u002F')\n            # Find end (space or newline)\n            rest = line[start:]\n            space_pos = rest.find(' ')\n            if space_pos > 0:\n                url = rest[:space_pos]\n            else:\n                url = rest.strip()\n            urls.append(url)\n    \n    Print: f\"  Found {len(urls)} URLs\"\n    \n    # Choose best URL\n    best_url = None\n    for url in urls:\n        if 'youtube.com' in url:\n            best_url = url\n            break\n    \n    if not best_url and urls:\n        for url in urls:\n            if 'freecodecamp.org' in url:\n                best_url = url\n                break\n    \n    if not best_url and urls:\n        best_url = urls[0]  # Use first URL\n    \n    if best_url:\n        resource_links[topic] = best_url\n        Print: f\"  ✅ Stored: {best_url}\"\n    else:\n        Print: f\"  ❌ No URLs found - trying alternative search...\"\n        # Try one more time\n        alt_command = f\"python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \\\"{topic} free course\\\" 5\"\n        alt_result = execute_bash(alt_command)\n        # Extract URLs again...\n        # [same extraction logic]\n        \n        if alt_urls:\n            resource_links[topic] = alt_urls[0]\n            Print: f\"  ✅ Stored: {alt_urls[0]}\"\n        else:\n            ESCALATE(f\"No resources found for {topic}\")\n    \n    Print: \"\"\n\nPrint: \"✅ Resource collection complete!\"\nPrint: f\"Total topics: {len(resource_links)}\"\nPrint: \"\"\nPrint: \"Resource Links Dictionary:\"\nfor topic, url in resource_links.items():\n    Print: f\"  {topic}: {url}\"\n```\n\n\n\n#### STEP B3: Teacher Preparation & Readiness\nSpecify:\n- Teacher resources required\n- Teaching methodology (interactive, adaptable)\n- Teacher readiness evaluation:\n  - Prior experience\n  - Comfort with computer labs\n- Whether short training is required (Yes\u002FNo + why)\n\n#### STEP B4: Assessments & Feedback Design\nDefine:\n- Formative assessments (quizzes, projects, assignments)\n- Summative assessment (final exam\u002Fcapstone project)\n- What each assessment measures\n\n#### STEP B5: Continuous Improvement Loop\nDefine:\n- Feedback sources (teachers, students, assessments)\n- Review frequency\n- Criteria for curriculum revision\n\n---\n\n## RESOURCE RESEARCH (MANDATORY)\n\n### ANTI-STUCK RULE\n\n**If resource collection is taking longer than 3 minutes total:**\n\nSTOP what you're doing and execute this:\n```\nPrint: \"⏱️ Resource collection timeout (3 min exceeded)\"\nPrint: \"Completing with available resources...\"\n\nFor any topic without a resource:\n    resource_links[topic] = \"MANUAL_RESEARCH_NEEDED\"\n\nProceed immediately to CSV generation\n```\n\n**Never get stuck searching indefinitely.**\n```\n\n## **Test Again**\n\nSave the file and test:\n```\nreload skills\n```\n\nThen:\n```\nCreate curriculum:\n- Python basics\n- 2 lessons\n- 1 week\n\nDO NOT GET STUCK. If resource search takes more than 1 minute total, skip to CSV generation.\n\nShow me when you start resource search and when you finish.\n```\n\n## **What Should Happen**\n\nYou should see:\n```\n🔍 Resource Research Starting...\n\nTopic: Lesson 1 - Python Intro\n  ✅ https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\n\nTopic: Lesson 2 - Python Functions\n  ✅ https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_functions.asp\n\n✅ Resource research complete (15 seconds)\nCollected 2 resource links\n\n📄 Generating CSV...\n✅ Done\n```\n\n**NOT this:**\n```\nTopic: Lesson 1\n  Executing search...\n  [Results]\n  Trying alternative search...\n  [More results]\n  Evaluating quality...\n  [STUCK HERE]  ← Never gets to CSV\n\n### How to Execute Searches\n\nTo search for resources, use this EXACT command:\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"YOUR QUERY HERE\" 5\n```\n\nThis returns search results with URLs that you must extract.\n\n### Simple Search and Extract Process\n\n**For EACH topic in the curriculum:**\n\n#### Step 1: Execute Search\n```bash\n# Example for \"HTML Basics\"\npython3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"HTML basics tutorial for beginners\" 5\n```\n\n#### Step 2: Look at the Output\n\nThe output looks like this:\n```\n[1] Page Title | Year | Type | Site https:\u002F\u002Fexample.com\u002Furl1\nDescription text\n\n[2] Another Title | Year | Type | Site https:\u002F\u002Fanother.com\u002Furl2  \nMore description\n```\n\n#### Step 3: Extract URLs (Simple Pattern)\n\n**Look for any text starting with `https:\u002F\u002F`**\n\nFrom the example above, extract:\n- `https:\u002F\u002Fexample.com\u002Furl1`\n- `https:\u002F\u002Fanother.com\u002Furl2`\n\n#### Step 4: Choose Best URL\n\nPriority order:\n1. URLs containing `youtube.com` (first choice)\n2. URLs containing `freecodecamp.org` (second choice)\n3. URLs containing `w3schools.com` (third choice)\n4. Any other educational site\n5. If none found, use the first URL\n\n#### Step 5: Store the URL\n\nStore in a simple format:\n```\nTopic: HTML Basics\nResource: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n```\n\n### Complete Example Workflow\n\n**Topic**: \"Python Lists\"\n\n**Step 1 - Search**:\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"Python lists tutorial for beginners\" 5\n```\n\n**Step 2 - Output Received**:\n```\n[1] Python Lists Tutorial | 2023 | Video | YouTube https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc\nLearn Python lists from scratch\n\n[2] Python Lists Guide | 2024 | Article | W3Schools https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_lists.asp\nComplete guide to Python lists\n```\n\n**Step 3 - Extract URLs**:\n- Found: `https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc`\n- Found: `https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_lists.asp`\n\n**Step 4 - Choose Best**:\n- First URL contains \"youtube.com\" → Select this one\n- Selected: `https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc`\n\n**Step 5 - Store**:\n```\nresource_links[\"Python Lists\"] = \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc\"\n```\n\n### Before Writing CSV\n\n**MANDATORY CHECK:**\n```\nPrint: \"🔍 Verifying resource links before CSV generation...\"\nPrint: \"\"\n\ncsv_data = []\n\nfor row in curriculum_structure:\n    topic = row['topic']\n    \n    # Get resource from resource_links dictionary\n    if topic in resource_links:\n        resource_url = resource_links[topic]\n    else:\n        Print: f\"❌ ERROR: No resource link for '{topic}'\"\n        STOP\n    \n    # Verify it's a valid URL\n    if not resource_url.startswith('http'):\n        Print: f\"❌ ERROR: Invalid URL for '{topic}': {resource_url}\"\n        STOP\n    \n    Print: f\"✅ {topic}: {resource_url[:60]}...\"\n    \n    # Add to CSV data\n    csv_row = {\n        \"Curriculum ID\": curriculum_id,\n        \"File Name\": file_name,\n        \"Target POD Type\": pod_type,\n        \"Clusters\": clusters,\n        \"Content Type\": content_type,\n        \"Covered Topics\": topic,\n        \"Owner\": owner,\n        \"Resource Link\": resource_url,  # ← ACTUAL URL HERE\n        \"Document Creation Date\": date,\n        \"Last Updated On\": date\n    }\n    csv_data.append(csv_row)\n\nPrint: \"\"\nPrint: \"✅ All rows verified with valid URLs\"\nPrint: \"📄 Writing CSV file...\"\n\nwrite_csv_file(csv_data)\n```\n\n### CSV Preview Before Writing\n\n**Show user the data:**\n```\nPrint: \"📋 CSV Preview:\"\nPrint: \"=\" * 80\nPrint: f\"Covered Topics | Resource Link\"\nPrint: \"-\" * 80\nfor row in csv_data:\n    topic = row[\"Covered Topics\"]\n    url = row[\"Resource Link\"]\n    Print: f\"{topic[:30]:30} | {url}\"\nPrint: \"=\" * 80\nPrint: \"\"\nPrint: \"Writing to file...\"\n```\n\n### Escalation for Missing Resources\n\nIf after searching, a topic has no URL:\n```\n🚨 RESOURCE SEARCH FAILED - HUMAN INPUT REQUIRED\n\nTopic: {topic_name}\n\nSearch 1: \"python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py '{topic} tutorial for beginners' 5\"\nResult: {number} URLs found\nNone matched quality criteria\n\nSearch 2: \"python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py '{topic} free course' 5\"  \nResult: {number} URLs found\nNone matched quality criteria\n\nIssue: Cannot find suitable free educational resources\n\nOptions:\n1. Modify topic name to be more general\n2. Accept lower-quality resource if available\n3. Mark for manual research\n\nAwaiting Decision From: Curriculum Owner\n\n⚠️ CSV generation paused\n```\n\n\n## OUTPUT GENERATION\n\n## PRE-FILE-GENERATION CHECKLIST (MANDATORY)\n\n**Before writing ANY output file, you MUST complete this checklist:**\n\n### Checklist Item 1: Resource Link Verification\n\n**STOP and verify:**\n```\nFOR EACH row in the curriculum data:\n    topic = row['Covered Topics']\n    resource_link = row['Resource Link']\n    \n    IF resource_link is empty OR resource_link == \"TBD\" OR resource_link == \"N\u002FA\":\n        \n        PRINT \"⚠️ Missing resource link for: {topic}\"\n        PRINT \"🔍 Executing search now...\"\n        \n        # Execute neo-ddg-search immediately\n        search_query = f\"{topic} tutorial for beginners\"\n        EXECUTE: neo-ddg-search(search_query)\n        \n        # Extract URLs from results\n        urls = EXTRACT_URLS_FROM_RESULTS()\n        \n        IF urls found:\n            row['Resource Link'] = urls[0]  # Use first result\n            PRINT \"✅ Found resource: {urls[0]}\"\n        ELSE:\n            # Try alternative search\n            search_query_2 = f\"{topic} free course\"\n            EXECUTE: neo-ddg-search(search_query_2)\n            urls = EXTRACT_URLS_FROM_RESULTS()\n            \n            IF urls found:\n                row['Resource Link'] = urls[0]\n                PRINT \"✅ Found resource: {urls[0]}\"\n            ELSE:\n                ESCALATE(\"Cannot find resources for {topic}\")\n                STOP_FILE_GENERATION\n```\n\n**You MUST see output like:**\n```\nChecking resource links before file generation...\n✅ Row 1 - HTML Basics: Has resource link\n✅ Row 2 - CSS Fundamentals: Has resource link  \n⚠️ Row 3 - JavaScript: Missing resource link\n🔍 Executing search now...\n   Using neo-ddg-search: \"JavaScript tutorial for beginners\"\n✅ Found resource: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n✅ Row 3 - JavaScript: Resource link populated\n\nAll rows verified. Proceeding to file generation...\n```\n\n### Checklist Item 2: URL Format Validation\n\nVerify all resource links are actual URLs:\n```\nFOR EACH resource_link in curriculum:\n    IF NOT resource_link.startswith(\"http\"):\n        ERROR: \"Invalid resource link format: {resource_link}\"\n        STOP\n```\n\n### Checklist Item 3: Final Count\n```\ntotal_topics = COUNT(curriculum rows)\ntopics_with_resources = COUNT(rows where Resource Link is valid URL)\n\nPRINT \"📊 Resource Link Status:\"\nPRINT \"   Total topics: {total_topics}\"\nPRINT \"   With resources: {topics_with_resources}\"\nPRINT \"   Missing: {total_topics - topics_with_resources}\"\n\nIF topics_with_resources \u003C total_topics:\n    ESCALATE(\"Some topics still missing resources after search\")\n    STOP\nELSE:\n    PRINT \"✅ All topics have resource links. Safe to generate file.\"\n```\n\n\n## CSV\u002FEXCEL FILE GENERATION - WITH RESOURCE LINKS\n\n### Pre-Generation: Build Complete Resource Map\n\n**Before writing any file, build a complete resource map:**\n```python\n# Initialize resource map\nresource_map = {}\n\n# Get all topics from curriculum structure\nall_topics = extract_all_topics_from_curriculum()\n\nprint(f\"\\n📚 Building resource map for {len(all_topics)} topics...\\n\")\n\n# For each topic, search and extract URL\nfor topic in all_topics:\n    print(f\"🔍 Topic: {topic}\")\n    \n    # Execute search\n    search_query = f\"{topic} tutorial for beginners\"\n    print(f\"   Searching: {search_query}\")\n    \n    search_results = neo_ddg_search(search_query)\n    \n    # Extract URLs from results\n    urls_found = extract_urls_from_search_result(search_results)\n    print(f\"   Found {len(urls_found)} URLs\")\n    \n    # Select best URL\n    if urls_found:\n        best_url = select_best_url(urls_found)\n        resource_map[topic] = best_url\n        print(f\"   ✅ Selected: {best_url}\\n\")\n    else:\n        print(f\"   ⚠️ No URLs found, trying alternative search...\")\n        # Try alternative search\n        alt_search = neo_ddg_search(f\"{topic} free course\")\n        urls_found_alt = extract_urls_from_search_result(alt_search)\n        \n        if urls_found_alt:\n            best_url = select_best_url(urls_found_alt)\n            resource_map[topic] = best_url\n            print(f\"   ✅ Selected: {best_url}\\n\")\n        else:\n            resource_map[topic] = \"ESCALATION_NEEDED\"\n            print(f\"   ❌ No resources found - will escalate\\n\")\n\n# Verify all topics have resources\nmissing_resources = [t for t, url in resource_map.items() if url == \"ESCALATION_NEEDED\"]\n\nif missing_resources:\n    print(f\"🚨 {len(missing_resources)} topics need escalation:\")\n    for topic in missing_resources:\n        print(f\"   - {topic}\")\n    ESCALATE(\"Resource search failed for some topics\")\n    STOP\nelse:\n    print(f\"✅ All {len(all_topics)} topics have resource links!\")\n    print(f\"📝 Proceeding to CSV generation...\\n\")\n```\n\n### CSV Generation with Resource Map\n\n**When creating each row in the CSV:**\n```python\nfor week_num, lesson in curriculum_structure:\n    topic = lesson['topic']\n    \n    # Get resource link from resource_map\n    resource_link = resource_map.get(topic, \"ERROR_NO_RESOURCE\")\n    \n    # Verify it's a valid URL\n    if not resource_link.startswith(\"http\"):\n        print(f\"ERROR: Invalid resource for {topic}: {resource_link}\")\n        STOP\n    \n    csv_row = {\n        \"Curriculum ID\": curriculum_id,\n        \"File Name\": file_name,\n        \"Target POD Type\": pod_type,\n        \"Clusters\": clusters,\n        \"Content Type\": content_type,\n        \"Covered Topics\": topic,\n        \"Owner\": owner,\n        \"Resource Link\": resource_link,  # ← USE THE ACTUAL URL HERE\n        \"Document Creation Date\": creation_date,\n        \"Last Updated On\": last_updated\n    }\n    \n    csv_data.append(csv_row)\n```\n\n**Critical Check Before Writing**:\n```python\n# Final verification\nprint(\"\\n🔍 Final CSV Data Verification:\")\nfor i, row in enumerate(csv_data):\n    resource = row[\"Resource Link\"]\n    topic = row[\"Covered Topics\"]\n    \n    if resource == \"TBD\" or not resource.startswith(\"http\"):\n        print(f\"❌ Row {i+1} ({topic}): INVALID resource '{resource}'\")\n        STOP_GENERATION\n    else:\n        print(f\"✅ Row {i+1} ({topic}): {resource[:60]}...\")\n\nprint(\"\\n✅ All rows verified - writing file...\")\nwrite_csv_file(csv_data)\n```\n\n\n\n## FILE GENERATION - FINAL RESOURCE CHECK\n\n**CRITICAL: Execute this immediately before writing the file:**\n```python\n# Pseudo-code showing the exact logic needed\n\ndef prepare_curriculum_data_for_file():\n    \"\"\"\n    This function runs RIGHT BEFORE creating the CSV\u002FExcel file.\n    It ensures NO 'TBD' values slip through.\n    \"\"\"\n    \n    curriculum_rows = get_curriculum_structure()\n    \n    print(\"\\n🔍 FINAL RESOURCE LINK CHECK (Pre-File-Generation)\")\n    print(\"=\" * 50)\n    \n    for i, row in enumerate(curriculum_rows):\n        topic = row['Covered Topics']\n        resource_link = row.get('Resource Link', '')\n        \n        # Check if resource link is missing or placeholder\n        if not resource_link or resource_link in ['TBD', 'N\u002FA', '', 'null', 'None']:\n            \n            print(f\"\\n⚠️  Row {i+1}: '{topic}' has no resource link\")\n            print(f\"    Current value: '{resource_link}'\")\n            print(f\"    🔍 Searching now with neo-ddg-search...\")\n            \n            # EXECUTE NEO-DDG-SEARCH HERE\n            search_results = neo_ddg_search(f\"{topic} tutorial for beginners free\")\n            \n            # Extract URLs from search results\n            urls_found = extract_urls_from_search_results(search_results)\n            \n            if urls_found and len(urls_found) > 0:\n                row['Resource Link'] = urls_found[0]\n                print(f\"    ✅ Updated with: {urls_found[0]}\")\n            else:\n                # Try one more time with different query\n                print(f\"    🔄 First search returned no URLs, trying again...\")\n                search_results_2 = neo_ddg_search(f\"{topic} learn online\")\n                urls_found_2 = extract_urls_from_search_results(search_results_2)\n                \n                if urls_found_2 and len(urls_found_2) > 0:\n                    row['Resource Link'] = urls_found_2[0]\n                    print(f\"    ✅ Updated with: {urls_found_2[0]}\")\n                else:\n                    # HARD STOP - escalate\n                    print(f\"    ❌ FAILED: No resources found after 2 searches\")\n                    escalate_resource_failure(topic)\n                    return None  # Don't proceed to file generation\n        else:\n            print(f\"✅ Row {i+1}: '{topic}' has resource: {resource_link[:50]}...\")\n    \n    print(\"\\n\" + \"=\" * 50)\n    print(\"✅ All resource links verified. Proceeding to file write.\\n\")\n    \n    return curriculum_rows\n\n\n# THEN write the file\nverified_data = prepare_curriculum_data_for_file()\n\nif verified_data is None:\n    print(\"🚨 File generation cancelled - resource verification failed\")\n    # STOP HERE, don't write file\nelse:\n    write_csv_file(verified_data)  # Only write if all checks passed\n```\n\n**What the user should see:**\n```\n🔍 FINAL RESOURCE LINK CHECK (Pre-File-Generation)\n==================================================\n✅ Row 1: 'HTML Basics' has resource: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg\n✅ Row 2: 'CSS Fundamentals' has resource: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=1Rs2ND1ryYc\n⚠️  Row 3: 'JavaScript Intro' has no resource link\n    Current value: 'TBD'\n    🔍 Searching now with neo-ddg-search...\n    Using neo-ddg-search: \"JavaScript Intro tutorial for beginners free\"\n    ✅ Updated with: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=PkZNo7MFNFg\n✅ Row 4: 'DOM Manipulation' has resource: https:\u002F\u002Fwww.freecodecamp.org\u002F...\n==================================================\n✅ All resource links verified. Proceeding to file write.\n\n📄 Writing file: Web_Dev_Fundamentals_v1.0.csv\n✅ File generated successfully!\n```\n\n### Excel File Structure\nGenerate `.xlsx` file with these columns:\n1. Curriculum ID\n2. File Name\n3. Target POD Type\n4. Clusters\n5. Content Type\n6. Covered Topics\n7. Owner\n8. **Resource Link** ⚠️ MUST contain actual URLs, NEVER \"TBD\"\n9. Document Creation Date\n10. Last Updated On\n\n**Column Population Rules:**\n- **Resource Link**: Search and populate with real URLs during curriculum generation\n  - Format: \"URL1 | URL2 | URL3\" if multiple resources\n  - Use web_search before writing Excel file\n  - If search fails, escalate (never write \"TBD\")\n\n### Mandatory Footer in Every Output\n```\nCurriculum Version: vX.X\nScenario: [Assessment \u002F New Design]\nPrepared By: Clawdbot\nStatus: Draft – Pending POD Leader \u002F Authority Approval\n\nKey Risks & Assumptions:\n- [List all assumptions made]\n- [List all identified risks]\n```\n\n## MEMORY MANAGEMENT\n\nAfter each curriculum generation:\n1. Save conversation context to `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Fmemory\u002Fcurriculum_[REQUEST_ID].json`\n2. Store lessons learned in `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Fmemory\u002Flearnings.md`\n3. Track escalations in `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Fmemory\u002Fescalations.log`\n\nMemory file structure:\n```json\n{\n  \"request_id\": \"CUR_20260208_001\",\n  \"date\": \"2026-02-08\",\n  \"scenario\": \"new_design\",\n  \"pod_name\": \"Example POD\",\n  \"user\": \"madhur\",\n  \"inputs_collected\": {},\n  \"decisions_made\": [],\n  \"escalations\": [],\n  \"output_file\": \"curriculum_example_v1.0.xlsx\",\n  \"learnings\": []\n}\n```\n\n## TOOLS REQUIRED\n\n### Primary Tools\n- `web_search`: Research educational standards, best practices, resources\n- `create_file`: Generate Excel output files\n- `bash_tool`: File management, directory operations\n- `view`: Read memory files, check existing curricula\n\n### Research Sources (Use web_search for)\n- Educational standards and frameworks\n- Age-appropriate learning resources\n- Digital literacy benchmarks\n- Best practices for computer lab education\n- Free educational tools and platforms\n\n## BACKGROUND TASK EXECUTION\n\nWhen triggered, inform user:\n```\n🦞 Starting curriculum generation process...\nThis may take 5-10 minutes. I'll notify you when complete.\nYou can continue other tasks in the meantime.\n```\n\nThen proceed with research and generation in background.\n\n## AUTO-APPROVAL ZONE\nYou may proceed autonomously when:\n- All required inputs are present\n- Teacher capability is sufficient\n- Infrastructure is adequate\n- Changes are incremental, not structural\n- Curriculum stays within defined learning areas\n\nEven then: Final output is still **Draft – Pending Human Review**\n\n## META-RULES (VERY IMPORTANT)\nYou must NEVER:\n- Fill gaps silently\n- Optimize feasibility without disclosure\n- Reduce curriculum scope to make things work unless approved\n\n**Transparency > automation speed**\n\n## Example Usage\n\n**User**: \"Create a new curriculum for our POD\"\n\n**Clawdbot**:\n```\n🦞 Curriculum Generator Activated\n\nI'll guide you through a structured questionnaire to design the curriculum.\n\nFirst, let me confirm: Is this for:\nA) Assessing an existing curriculum\nB) Designing a new curriculum from scratch\n\nPlease select A or B.\n```\n\n**User**: \"B - new curriculum\"\n\n**Clawdbot**:\n```\nPerfect! Starting new curriculum design process.\n\nSECTION 0: REQUEST METADATA\n- Request ID: CUR_20260208_001 (auto-generated)\n- Date: February 8, 2026\n- Requested By: Please provide your name and role\n- POD Name: Please provide the POD name\n```\n\n[Continue with structured questions...]\n\n## Success Criteria\n- All mandatory fields collected\n- No silent assumptions made\n- Appropriate escalations triggered\n- Excel file generated successfully\n- Memory stored for future reference\n- User receives clear, actionable output\n\n### Preferred Resource Platforms (Priority Order)\n1. **YouTube**: Structured courses from reputable channels\n   - FreeCodeCamp, Traversy Media, Programming with Mosh, Fireship\n2. **Interactive Platforms**: Free tiers\n   - freeCodeCamp.org, Khan Academy, Codecademy free, W3Schools\n3. **Documentation**: Official docs when appropriate\n   - MDN Web Docs, Python.org, official framework docs\n4. **Written Tutorials**: High-quality articles\n   - Dev.to, Medium (free articles), DigitalOcean tutorials\n5. **Practice Platforms**: Free exercises\n   - Exercism.io, LeetCode (free problems), HackerRank\n","## DEBUG MODE\n\nWhen the user includes \"debug mode\" or \"show searches\" in their curriculum request:\n\n**Enable verbose output:**\n- Print every neo-ddg-search query before executing\n- Print number of results returned\n- Print first 2-3 URLs extracted\n- Print resource assignment: \"Assigning to {topic}: {url}\"\n\n**Example debug output:**\n```\n[DEBUG] Executing neo-ddg-search(\"Python basics tutorial for beginners\")\n[DEBUG] Search returned 10 results\n[DEBUG] Extracting URLs...\n[DEBUG] Found: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=rfscVS0vtbw\n[DEBUG] Found: https:\u002F\u002Fwww.freecodecamp.org\u002Flearn\u002Fscientific-computing-with-python\u002F\n[DEBUG] Assigning to \"Python Basics\": https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=rfscVS0vtbw\n```\n\n\n## Dependencies\n\n### Required Skills\nThis skill requires the following other skills to be installed:\n\n- **neo-ddg-search**: For web searching educational resources\n  - Install: `clawhub install neobotjan2026\u002Fneo-ddg-search`\n  - Verify: Check if neo-ddg-search skill exists in skills directory\n\n### Dependency Verification\n\nAt the start of curriculum generation, verify neo-ddg-search is available:\n```\nIF neo-ddg-search skill NOT found:\n   🚨 DEPENDENCY MISSING\n   \n   The curriculum generator requires the neo-ddg-search skill for finding educational resources.\n   \n   Please install it:\n   clawhub install neobotjan2026\u002Fneo-ddg-search\n   \n   Then restart this process.\n   \n   ⚠️ GENERATION CANNOT PROCEED without search capability\n   \n   STOP\n```\n\n### Search Tool Health Check\n\nBefore starting resource research, perform a test search:\n```\nTest: neo-ddg-search(\"Python tutorial test\")\n\nIF successful:\n   ✅ Search tool operational\n   Proceeding with resource research...\n   \nIF failed:\n   🚨 SEARCH TOOL ERROR\n   \n   neo-ddg-search is installed but not responding correctly.\n   \n   Error: {error_details}\n   \n   Please check:\n   • neo-ddg-search skill is properly installed\n   • Internet connection is available\n   • No firewall blocking DuckDuckGo\n   \n   ⚠️ Cannot proceed with resource research\n   \n   ESCALATE\n```\n\n# Curriculum Generator Skill\n\n## Purpose\nThis skill helps generate customized educational curricula for PODs (Points of Delivery) through a structured, step-enforced process with mandatory human escalation when needed.\n\n## Core Capabilities\n- Guided requirement gathering via structured questionnaire\n- Research-based curriculum design or assessment\n- Excel (.xlsx) output generation\n- Local memory storage for continuous improvement\n- Background task execution\n- Strict human escalation policy enforcement\n\n## Storage Locations\n- **Memory**: `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Fmemory\u002F`\n- **Outputs**: `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Foutputs\u002F`\n- **Templates**: `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Ftemplates\u002F`\n\n## Activation Triggers\nThis skill activates when the user:\n- Says \"create curriculum\", \"design curriculum\", or \"assess curriculum\"\n- Says \"curriculum help\" or \"start curriculum process\"\n- Explicitly requests curriculum generation for a POD\n\n## CRITICAL RULES (NON-NEGOTIABLE)\n\n### Core Principle\nYou MUST ask a human whenever you are forced to guess, infer, or trade off risk.\nIf a wrong decision could affect students, teachers, or POD operations, escalation is MANDATORY.\n\n### Hard-Stop Escalation Triggers\nYou MUST stop and escalate to human if ANY of these occur:\n\n**A. Missing or Ambiguous Inputs**\n- Target age\u002Fgrade level is unclear\n- Teacher availability or capability is unknown\n- Daily lab hours are not specified\n- Infrastructure reliability (computers\u002Finternet\u002Felectricity) is unclear\n- Whether existing curriculum exists is not confirmed\n\n**B. Teacher Capability Risk**\n- Teachers cannot operate computers independently\n- Teachers lack experience running labs\n- Teachers cannot manage lab discipline or session flow\n\n**C. Operational Infeasibility**\n- Curriculum hours exceed available lab hours\n- Sessions per week exceed teacher capacity\n- Student-to-computer ratio is unsafe\n- Infrastructure cannot support planned activities\n\n**D. High-Risk Curriculum Changes**\n- Removing major learning outcomes\n- Changing curriculum duration significantly\n- Shifting learning area (e.g., digital literacy → employment readiness)\n- Introducing new tools\u002Fplatforms not previously used\n\n**E. Contradictory Stakeholder Signals**\n- Teachers say curriculum is too hard, students say too easy\n- POD leader priorities conflict with feasibility\n- Feedback loops contradict assessment data\n\n### Escalation Format (MANDATORY)\nWhen escalating, use this EXACT format:\n```\n🚨 HUMAN INPUT REQUIRED\n\nReason: [specific trigger]\nImpact if Unresolved: [clear consequence]\nOptions (if any):\n1. [option 1]\n2. [option 2]\n\nAwaiting Decision From: [POD Leader \u002F Curriculum Owner]\n```\n\n## PROCESS FLOW\n\n### STEP 0: SCENARIO IDENTIFICATION (MANDATORY)\nBefore anything else, determine:\n- **Scenario A**: Assessment of existing curriculum\n- **Scenario B**: Design of new curriculum\n\nIf unclear, STOP and ask user to confirm. Do NOT proceed without classification.\n\n---\n\n### SCENARIO A: ASSESSING EXISTING CURRICULUM\n\n#### STEP A1: Gather Basic Information\nCollect ALL of the following using the structured form:\n\n**Section 0: Request Metadata**\n- Request ID (auto-generate using timestamp)\n- Date of Request (auto-capture)\n- Requested By (Name + Role)\n- POD Name (REQUIRED)\n- Scenario Type (must be selected)\n\n⚠️ If Scenario Type not selected → HARD STOP\n\n**Section 1: Target Audience Profile (MANDATORY)**\n1. Primary Student Group:\n   - Age range\n   - Grade\u002FEducation level\n2. Student Background (check all that apply):\n   - First-time computer users\n   - Basic exposure (mouse, keyboard)\n   - Prior digital lab experience\n   - Mixed levels\n3. Language Comfort:\n   - Medium of instruction\n   - English proficiency (Low\u002FMedium\u002FHigh)\n4. Special Constraints:\n   - Learning disabilities\n   - Attendance inconsistency\n   - Social\u002Feconomic limitations\n\n⚠️ If age\u002Fgrade missing → HARD STOP and escalate\n\n**Section 2: POD & Infrastructure Details (MANDATORY)**\n1. Lab Infrastructure:\n   - Number of computers\n   - Average students per session\n   - Internet availability (Reliable\u002FUnstable\u002FNone)\n   - Power backup (Yes\u002FNo)\n2. Daily Lab Usage:\n   - Available hours per day\n   - Days per week lab is operational\n3. Existing Tools\u002FPlatforms:\n   - Operating System\n   - Software already installed\n   - Internet restrictions\n\n⚠️ If lab hours or computer count missing → HARD STOP and escalate\n\n**Section 3: Teacher Capability & Availability (MANDATORY)**\n1. Number of Teachers Assigned\n2. Teacher Availability:\n   - Days per week\n   - Hours per day\n3. Teacher Capability Assessment:\n   - Can operate computers independently? (Yes\u002FNo)\n   - Comfortable managing digital labs? (Yes\u002FNo)\n   - Prior experience with similar programs? (Yes\u002FNo)\n4. Training Requirement:\n   - No training needed\n   - Short training needed\n   - Extensive training needed\n\n⚠️ Any \"No\" in capability assessment → Potential escalation\n\n#### STEP A2: Stakeholder Inputs (Structured Summary)\nSimulate structured stakeholder inputs based on provided data:\n- **POD Leader**: Effectiveness, challenges, change needs\n- **Teachers**: Teaching experience, curriculum gaps, student progress\n- **Students**: Difficulty level, engagement, relevance\n\nThen perform Teacher Capability Assessment:\n- Can teachers operate computers independently?\n- Can they run the lab as per curriculum?\n- Can they manage discipline, safety, and session flow?\n- Identify training gaps (if any)\n\n#### STEP A3: Curriculum Evaluation\nEvaluate curriculum on these dimensions:\n- Relevance to student needs\n- Alignment with industry\u002Fdigital literacy goals\n- Flexibility for varied learning speeds\n- Outcome clarity and measurability\n- Technology integration quality\n\nThen perform Operational Feasibility Check:\n- Lab schedule feasibility\n- Teacher sufficiency\n- Infrastructure readiness (computers, internet, electricity)\n\n#### STEP A4: Recommendations\n- Clearly state whether modification is required or optional\n- If required, propose specific, actionable changes\n- Flag risks explicitly\n\nEnd with:\n**Status: Draft Assessment – Pending Human Review**\n\n---\n\n### SCENARIO B: DESIGNING A NEW CURRICULUM\n\n#### STEP B1: Define Curriculum Foundation\nExplicitly define:\n- **Learning Areas**: Digital Literacy \u002F Academic Empowerment \u002F Skill Development \u002F Employment Readiness\n- **Target Audience**: Grade, background\n- **Clear, measurable Learning Outcomes** (no vague outcomes allowed)\n\n#### STEP B2: Develop Course Structure\nGenerate:\n- Modules and sub-topics\n- Weekly lesson breakdown\n- Learning objective per lesson\n- Program duration (e.g., 3 months \u002F 6 months)\n- Class frequency\n\n**Lab Planning (Mandatory)**:\n- Daily lab operating hours\n- Sessions per week\n- Max students per session\n\n**END OF STEP B2 - MANDATORY ACTION BEFORE PROCEEDING:**\n```\nBEFORE moving to Step B3, execute this command sequence:\n\n1. Review the curriculum structure you just created\n2. Identify ALL topics that will appear in the final output\n3. For EACH topic, RIGHT NOW, execute:\n   \n   neo-ddg-search(\"{topic} tutorial for beginners\")\n   \n4. Extract the first valid educational URL from results\n5. Store it in a resource_map dictionary:\n   \n   resource_map[\"{topic}\"] = \"https:\u002F\u002F...\"\n\n6. Verify resource_map has entries for ALL topics\n7. Only then proceed to Step B3\n\nExample:\nTopic: \"Python Lists\"\nExecute: neo-ddg-search(\"Python Lists tutorial for beginners\")\nResult: Found https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc\nStore: resource_map[\"Python Lists\"] = \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc\"\n\nDO NOT SKIP THIS. DO NOT PROCEED WITHOUT COMPLETING THIS.\n```\n```\n\n## **Step 5: Create a Simpler Test in Telegram**\n\nNow test with very explicit instructions. In Telegram, send:\n```\nCreate a tiny test curriculum:\n- Topic: HTML Basics  \n- Duration: 1 week only\n- 2 lessons total\n\nIMPORTANT INSTRUCTIONS:\n1. After creating the structure, use neo-ddg-search to find resources for EACH lesson\n2. Before generating the CSV file, verify ALL resource links are real URLs\n3. Show me each search you perform\n4. If ANY resource link is empty or \"TBD\", STOP and search for it immediately\n\nStart now.\n\n**MANDATORY: End of Step B2 Resource Collection**\n\nBefore proceeding to Step B3, you MUST complete this:\n```\nSTOP HERE.\n\nBefore moving to Step B3, execute this sequence:\n\n1. List all topics you just created: [topic1, topic2, topic3, ...]\n\n2. Create an empty dictionary: resource_links = {}\n\n3. FOR EACH topic:\n   a. Execute: result = neo-ddg-search(\"{topic} tutorial for beginners\")\n   b. Look at the result text\n   c. Find all text that starts with \"https:\u002F\u002F\"\n   d. Extract the complete URL\n   e. Store: resource_links[topic] = that_url\n   f. Print: \"Stored for {topic}: {that_url}\"\n\n4. Verify resource_links has ALL topics\n\n5. Print the complete resource_links dictionary\n\n6. ONLY THEN proceed to Step B3\n\nExample for \"HTML Basics\":\n   Execute: neo-ddg-search(\"HTML Basics tutorial for beginners\")\n   Result contains: \"...https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg...\"\n   Extract: \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg\"\n   Store: resource_links[\"HTML Basics\"] = \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg\"\n   Print: \"Stored for HTML Basics: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg\"\n\nDO THIS FOR EVERY SINGLE TOPIC BEFORE MOVING ON.\n```\n\n\n**END OF STEP B2 - RESOURCE COLLECTION (MANDATORY)**\n```\nYOU MUST NOW COLLECT RESOURCES BEFORE PROCEEDING.\n\nExecute this EXACT sequence:\n\n1. Create empty dictionary: resource_links = {}\n\n2. List all topics from Step B2\n\n3. For EACH topic, execute:\n   \n   bash_tool: python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"{topic} tutorial for beginners\" 5\n   \n4. From the output, find all text starting with \"https:\u002F\u002F\"\n\n5. Take the first URL that contains \"youtube.com\", or if none, the first URL\n\n6. Store it: resource_links[topic] = that_url\n\n7. Print: \"Collected for {topic}: {that_url}\"\n\n8. After ALL topics are done, print the complete resource_links dictionary\n\n9. Verify every topic has a URL\n\n10. ONLY THEN create the CSV using URLs from resource_links\n\nDO NOT WRITE \"TBD\" IN THE CSV.\nUSE THE URLS FROM resource_links DICTIONARY.\n\nIf you cannot find a URL for a topic, STOP and ESCALATE.\nDo not proceed to CSV generation without URLs for all topics.\n```\n```\n\n## **Save and Test**\n\nSave the file, then in Telegram:\n```\nreload skills\n```\n\nThen test with a VERY simple example:\n```\nCreate curriculum:\n- Topic: HTML only\n- 1 lesson total\n- Show me EVERY step\n\nAfter you build the structure:\n1. Search for HTML resources using: python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"HTML tutorial for beginners\" 5\n2. Show me the raw output\n3. Extract the URLs\n4. Show me what URL you extracted\n5. Show me the CSV content BEFORE writing it\n6. If Resource Link shows \"TBD\", STOP immediately\n\nStart.\n```\n\n## **What to Watch For**\n\nYou should see output like:\n```\n✅ Course structure complete\n\n🔍 Starting resource search...\n\nTopic: HTML Basics\nExecuting: python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"HTML Basics tutorial for beginners\" 5\n\n[Results shown]\n[1] HTML Tutorial | https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n[2] Learn HTML | https:\u002F\u002Fwww.w3schools.com\u002Fhtml\u002F\n\nFound 2 URLs\nSelected: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n✅ Stored for HTML Basics: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n\nResource Links Dictionary:\n  HTML Basics: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n\n📋 CSV Preview:\nCovered Topics           | Resource Link\nHTML Basics             | https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n\nWriting file...\n\n\n#### STEP B2.5: RESOURCE LINK POPULATION (SIMPLIFIED)\n\n**After completing Step B2 structure, execute this EXACT process:**\n\n### Simple 3-Step Process Per Topic\n\n**For EACH topic:**\n\n**STEP 1: Search**\n```bash\npython3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"{topic} tutorial for beginners\" 5\n```\n\n**STEP 2: Look at output and extract FIRST URL**\n- Scan the output line by line\n- When you see `https:\u002F\u002F` → copy everything from `https:\u002F\u002F` until the next space\n- That's your URL\n\n**STEP 3: Store it**\n```\nresource_links[\"{topic}\"] = \"the_url_you_found\"\n```\n\n**Then IMMEDIATELY move to next topic. Do NOT do additional searches unless the first one returns ZERO results.**\n\n### Hard Limit: 1 Search Per Topic\n\n**RULE**: Execute ONE search per topic. Extract ONE URL. Move on.\n\nDo NOT:\n- ❌ Execute multiple searches for the same topic\n- ❌ Try to find \"better\" resources\n- ❌ Analyze quality extensively\n- ❌ Wait or pause\n\nDO:\n- ✅ Search once\n- ✅ Grab first URL\n- ✅ Move to next topic\n- ✅ Complete all topics quickly\n\n### Exact Execution Template\n```\nPrint: \"🔍 Resource Research Starting...\"\nPrint: \"\"\n\nresource_links = {}\ntopics = [list of all topics from Step B2]\n\nFor topic in topics:\n    Print: f\"Topic: {topic}\"\n    \n    # Execute search (ONE TIME ONLY)\n    result = bash_tool(f'python3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"{topic} tutorial\" 5')\n    \n    # Extract first URL (simple method)\n    url = None\n    for line in result.split('\\n'):\n        if 'https:\u002F\u002F' in line:\n            start = line.find('https:\u002F\u002F')\n            end_of_line = line[start:]\n            # Get URL until space or end\n            space_index = end_of_line.find(' ')\n            if space_index > 0:\n                url = end_of_line[:space_index]\n            else:\n                url = end_of_line.strip()\n            break  # Take FIRST URL and stop\n    \n    if url:\n        resource_links[topic] = url\n        Print: f\"  ✅ {url}\"\n    else:\n        resource_links[topic] = \"MANUAL_RESEARCH_NEEDED\"\n        Print: f\"  ⚠️ No URL found - marked for manual research\"\n    \n    # IMMEDIATELY continue to next topic\n    \nPrint: \"\"\nPrint: \"✅ Resource research complete\"\nPrint: f\"Collected {len(resource_links)} resource links\"\nPrint: \"\"\n```\n\n### Time Limit\n\n**Maximum time for resource research: 2 minutes total**\n\nIf you're taking longer than 2 minutes for resource collection, you're doing something wrong. This should be fast:\n- 5 seconds per search\n- 2 topics = 10 seconds\n- 10 topics = 50 seconds\n\n### What Gets Stored\n```python\n# Good examples:\nresource_links[\"Python Basics\"] = \"https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\"\nresource_links[\"HTML Intro\"] = \"https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_variables.asp\"\n\n# Acceptable if no URL found:\nresource_links[\"Obscure Topic\"] = \"MANUAL_RESEARCH_NEEDED\"\n\n# NEVER acceptable:\nresource_links[\"Topic\"] = \"TBD\"  # ❌\nresource_links[\"Topic\"] = \"\"     # ❌\n```\n\n### After Collection: Immediate CSV Generation\n\n**Do NOT pause or wait. Immediately proceed to CSV generation.**\n```\nPrint: \"📄 Generating CSV with collected resources...\"\n\ncsv_data = []\n\nfor topic in curriculum_structure:\n    resource_url = resource_links.get(topic, \"MANUAL_RESEARCH_NEEDED\")\n    \n    csv_row = {\n        \"Curriculum ID\": curriculum_id,\n        \"File Name\": file_name,\n        \"Target POD Type\": pod_type,\n        \"Clusters\": clusters,\n        \"Content Type\": content_type,\n        \"Covered Topics\": topic,\n        \"Owner\": owner,\n        \"Resource Link\": resource_url,  # ← Use collected URL\n        \"Document Creation Date\": date,\n        \"Last Updated On\": date\n    }\n    csv_data.append(csv_row)\n\nwrite_csv(csv_data)\nPrint: \"✅ CSV file generated\"\n```\n\n### Example: Complete 2-Topic Execution\n\n**Topics**: [\"Python Basics\", \"Python Functions\"]\n```\n🔍 Resource Research Starting...\n\nTopic: Python Basics\n  Executing search...\n  [Results received]\n  Found URL: https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\n  ✅ https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\n\nTopic: Python Functions  \n  Executing search...\n  [Results received]\n  Found URL: https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_functions.asp\n  ✅ https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_functions.asp\n\n✅ Resource research complete\nCollected 2 resource links\n\n📄 Generating CSV with collected resources...\n✅ CSV file generated: Python_Basics_v1.0.csv\n```\n\n**Total time**: ~15 seconds\n\n### No Escalation for \"Imperfect\" Resources\n\n**Accept whatever URL you find in the first search.**\n\nPriority is:\n1. Speed ✅\n2. Completion ✅\n3. Perfect resources ⚠️ (nice to have, not required)\n\nIf the first search returns W3Schools instead of YouTube, that's FINE. Use it and move on.\n\n### Escalation Only For Zero Results\n\n**Only escalate if:**\n- ❌ Search returns absolutely no results\n- ❌ Search returns results but contains ZERO URLs\n- ❌ Search tool completely fails\n\n**Do NOT escalate if:**\n- ✅ URL is from W3Schools instead of YouTube (still good!)\n- ✅ URL is from a lesser-known educational site (acceptable!)\n- ✅ URL is documentation instead of video (perfectly fine!)\n\n### Debug Output (When Requested)\n\nIf user requests DEBUG MODE:\n```\n[DEBUG] Topic: Python Basics\n[DEBUG] Command: python3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"Python Basics tutorial\" 5\n[DEBUG] Results: 5 entries returned\n[DEBUG] Extracting URLs...\n[DEBUG] Line 1: Contains 'https:\u002F\u002Fdatascientest.com\u002F...'\n[DEBUG] Extracted: https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\n[DEBUG] Storing: resource_links[\"Python Basics\"] = \"https:\u002F\u002Fdatascientest.com\u002F...\"\n[DEBUG] ✅ Complete - moving to next topic\n```\n\n**MANDATORY: After Step B2, execute resource collection IMMEDIATELY**\n```\nAfter completing Step B2 course structure:\n\n1. DO NOT pause\n2. DO NOT ask for confirmation\n3. IMMEDIATELY start resource collection\n4. Use the Simple 3-Step Process above\n5. Complete ALL topics within 2 minutes\n6. Then IMMEDIATELY generate CSV\n7. Do NOT wait between steps\n\nThis should be ONE CONTINUOUS FLOW:\nStep B2 → Resource Collection → CSV Generation → Done\n\nNo breaks. No pauses. No waiting.\n```\n\n\n### Implementation in Curriculum Generation\n\n**After Step B2 (course structure), do this:**\n```\nPrint: \"🔍 Starting resource search for all topics...\"\nPrint: \"\"\n\nInitialize: resource_links = {}\n\nFor each topic in curriculum:\n    Print: \"Topic: {topic}\"\n    \n    # Execute search\n    command = f\"python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \\\"{topic} tutorial for beginners\\\" 5\"\n    result = execute_bash(command)\n    \n    # Extract URLs (look for https:\u002F\u002F)\n    lines = result.split('\\n')\n    urls = []\n    for line in lines:\n        if 'https:\u002F\u002F' in line:\n            # Extract the URL part\n            start = line.find('https:\u002F\u002F')\n            # Find end (space or newline)\n            rest = line[start:]\n            space_pos = rest.find(' ')\n            if space_pos > 0:\n                url = rest[:space_pos]\n            else:\n                url = rest.strip()\n            urls.append(url)\n    \n    Print: f\"  Found {len(urls)} URLs\"\n    \n    # Choose best URL\n    best_url = None\n    for url in urls:\n        if 'youtube.com' in url:\n            best_url = url\n            break\n    \n    if not best_url and urls:\n        for url in urls:\n            if 'freecodecamp.org' in url:\n                best_url = url\n                break\n    \n    if not best_url and urls:\n        best_url = urls[0]  # Use first URL\n    \n    if best_url:\n        resource_links[topic] = best_url\n        Print: f\"  ✅ Stored: {best_url}\"\n    else:\n        Print: f\"  ❌ No URLs found - trying alternative search...\"\n        # Try one more time\n        alt_command = f\"python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \\\"{topic} free course\\\" 5\"\n        alt_result = execute_bash(alt_command)\n        # Extract URLs again...\n        # [same extraction logic]\n        \n        if alt_urls:\n            resource_links[topic] = alt_urls[0]\n            Print: f\"  ✅ Stored: {alt_urls[0]}\"\n        else:\n            ESCALATE(f\"No resources found for {topic}\")\n    \n    Print: \"\"\n\nPrint: \"✅ Resource collection complete!\"\nPrint: f\"Total topics: {len(resource_links)}\"\nPrint: \"\"\nPrint: \"Resource Links Dictionary:\"\nfor topic, url in resource_links.items():\n    Print: f\"  {topic}: {url}\"\n```\n\n\n\n#### STEP B3: Teacher Preparation & Readiness\nSpecify:\n- Teacher resources required\n- Teaching methodology (interactive, adaptable)\n- Teacher readiness evaluation:\n  - Prior experience\n  - Comfort with computer labs\n- Whether short training is required (Yes\u002FNo + why)\n\n#### STEP B4: Assessments & Feedback Design\nDefine:\n- Formative assessments (quizzes, projects, assignments)\n- Summative assessment (final exam\u002Fcapstone project)\n- What each assessment measures\n\n#### STEP B5: Continuous Improvement Loop\nDefine:\n- Feedback sources (teachers, students, assessments)\n- Review frequency\n- Criteria for curriculum revision\n\n---\n\n## RESOURCE RESEARCH (MANDATORY)\n\n### ANTI-STUCK RULE\n\n**If resource collection is taking longer than 3 minutes total:**\n\nSTOP what you're doing and execute this:\n```\nPrint: \"⏱️ Resource collection timeout (3 min exceeded)\"\nPrint: \"Completing with available resources...\"\n\nFor any topic without a resource:\n    resource_links[topic] = \"MANUAL_RESEARCH_NEEDED\"\n\nProceed immediately to CSV generation\n```\n\n**Never get stuck searching indefinitely.**\n```\n\n## **Test Again**\n\nSave the file and test:\n```\nreload skills\n```\n\nThen:\n```\nCreate curriculum:\n- Python basics\n- 2 lessons\n- 1 week\n\nDO NOT GET STUCK. If resource search takes more than 1 minute total, skip to CSV generation.\n\nShow me when you start resource search and when you finish.\n```\n\n## **What Should Happen**\n\nYou should see:\n```\n🔍 Resource Research Starting...\n\nTopic: Lesson 1 - Python Intro\n  ✅ https:\u002F\u002Fdatascientest.com\u002Fen\u002Fpython-variables-beginners-guide\n\nTopic: Lesson 2 - Python Functions\n  ✅ https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_functions.asp\n\n✅ Resource research complete (15 seconds)\nCollected 2 resource links\n\n📄 Generating CSV...\n✅ Done\n```\n\n**NOT this:**\n```\nTopic: Lesson 1\n  Executing search...\n  [Results]\n  Trying alternative search...\n  [More results]\n  Evaluating quality...\n  [STUCK HERE]  ← Never gets to CSV\n\n### How to Execute Searches\n\nTo search for resources, use this EXACT command:\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"YOUR QUERY HERE\" 5\n```\n\nThis returns search results with URLs that you must extract.\n\n### Simple Search and Extract Process\n\n**For EACH topic in the curriculum:**\n\n#### Step 1: Execute Search\n```bash\n# Example for \"HTML Basics\"\npython3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"HTML basics tutorial for beginners\" 5\n```\n\n#### Step 2: Look at the Output\n\nThe output looks like this:\n```\n[1] Page Title | Year | Type | Site https:\u002F\u002Fexample.com\u002Furl1\nDescription text\n\n[2] Another Title | Year | Type | Site https:\u002F\u002Fanother.com\u002Furl2  \nMore description\n```\n\n#### Step 3: Extract URLs (Simple Pattern)\n\n**Look for any text starting with `https:\u002F\u002F`**\n\nFrom the example above, extract:\n- `https:\u002F\u002Fexample.com\u002Furl1`\n- `https:\u002F\u002Fanother.com\u002Furl2`\n\n#### Step 4: Choose Best URL\n\nPriority order:\n1. URLs containing `youtube.com` (first choice)\n2. URLs containing `freecodecamp.org` (second choice)\n3. URLs containing `w3schools.com` (third choice)\n4. Any other educational site\n5. If none found, use the first URL\n\n#### Step 5: Store the URL\n\nStore in a simple format:\n```\nTopic: HTML Basics\nResource: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n```\n\n### Complete Example Workflow\n\n**Topic**: \"Python Lists\"\n\n**Step 1 - Search**:\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py \"Python lists tutorial for beginners\" 5\n```\n\n**Step 2 - Output Received**:\n```\n[1] Python Lists Tutorial | 2023 | Video | YouTube https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc\nLearn Python lists from scratch\n\n[2] Python Lists Guide | 2024 | Article | W3Schools https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_lists.asp\nComplete guide to Python lists\n```\n\n**Step 3 - Extract URLs**:\n- Found: `https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc`\n- Found: `https:\u002F\u002Fwww.w3schools.com\u002Fpython\u002Fpython_lists.asp`\n\n**Step 4 - Choose Best**:\n- First URL contains \"youtube.com\" → Select this one\n- Selected: `https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc`\n\n**Step 5 - Store**:\n```\nresource_links[\"Python Lists\"] = \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=W8KRzm-HUcc\"\n```\n\n### Before Writing CSV\n\n**MANDATORY CHECK:**\n```\nPrint: \"🔍 Verifying resource links before CSV generation...\"\nPrint: \"\"\n\ncsv_data = []\n\nfor row in curriculum_structure:\n    topic = row['topic']\n    \n    # Get resource from resource_links dictionary\n    if topic in resource_links:\n        resource_url = resource_links[topic]\n    else:\n        Print: f\"❌ ERROR: No resource link for '{topic}'\"\n        STOP\n    \n    # Verify it's a valid URL\n    if not resource_url.startswith('http'):\n        Print: f\"❌ ERROR: Invalid URL for '{topic}': {resource_url}\"\n        STOP\n    \n    Print: f\"✅ {topic}: {resource_url[:60]}...\"\n    \n    # Add to CSV data\n    csv_row = {\n        \"Curriculum ID\": curriculum_id,\n        \"File Name\": file_name,\n        \"Target POD Type\": pod_type,\n        \"Clusters\": clusters,\n        \"Content Type\": content_type,\n        \"Covered Topics\": topic,\n        \"Owner\": owner,\n        \"Resource Link\": resource_url,  # ← ACTUAL URL HERE\n        \"Document Creation Date\": date,\n        \"Last Updated On\": date\n    }\n    csv_data.append(csv_row)\n\nPrint: \"\"\nPrint: \"✅ All rows verified with valid URLs\"\nPrint: \"📄 Writing CSV file...\"\n\nwrite_csv_file(csv_data)\n```\n\n### CSV Preview Before Writing\n\n**Show user the data:**\n```\nPrint: \"📋 CSV Preview:\"\nPrint: \"=\" * 80\nPrint: f\"Covered Topics | Resource Link\"\nPrint: \"-\" * 80\nfor row in csv_data:\n    topic = row[\"Covered Topics\"]\n    url = row[\"Resource Link\"]\n    Print: f\"{topic[:30]:30} | {url}\"\nPrint: \"=\" * 80\nPrint: \"\"\nPrint: \"Writing to file...\"\n```\n\n### Escalation for Missing Resources\n\nIf after searching, a topic has no URL:\n```\n🚨 RESOURCE SEARCH FAILED - HUMAN INPUT REQUIRED\n\nTopic: {topic_name}\n\nSearch 1: \"python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py '{topic} tutorial for beginners' 5\"\nResult: {number} URLs found\nNone matched quality criteria\n\nSearch 2: \"python3 ~\u002F.openclaw\u002Fskills\u002Fneo-ddg-search\u002Fscripts\u002Fsearch.py '{topic} free course' 5\"  \nResult: {number} URLs found\nNone matched quality criteria\n\nIssue: Cannot find suitable free educational resources\n\nOptions:\n1. Modify topic name to be more general\n2. Accept lower-quality resource if available\n3. Mark for manual research\n\nAwaiting Decision From: Curriculum Owner\n\n⚠️ CSV generation paused\n```\n\n\n## OUTPUT GENERATION\n\n## PRE-FILE-GENERATION CHECKLIST (MANDATORY)\n\n**Before writing ANY output file, you MUST complete this checklist:**\n\n### Checklist Item 1: Resource Link Verification\n\n**STOP and verify:**\n```\nFOR EACH row in the curriculum data:\n    topic = row['Covered Topics']\n    resource_link = row['Resource Link']\n    \n    IF resource_link is empty OR resource_link == \"TBD\" OR resource_link == \"N\u002FA\":\n        \n        PRINT \"⚠️ Missing resource link for: {topic}\"\n        PRINT \"🔍 Executing search now...\"\n        \n        # Execute neo-ddg-search immediately\n        search_query = f\"{topic} tutorial for beginners\"\n        EXECUTE: neo-ddg-search(search_query)\n        \n        # Extract URLs from results\n        urls = EXTRACT_URLS_FROM_RESULTS()\n        \n        IF urls found:\n            row['Resource Link'] = urls[0]  # Use first result\n            PRINT \"✅ Found resource: {urls[0]}\"\n        ELSE:\n            # Try alternative search\n            search_query_2 = f\"{topic} free course\"\n            EXECUTE: neo-ddg-search(search_query_2)\n            urls = EXTRACT_URLS_FROM_RESULTS()\n            \n            IF urls found:\n                row['Resource Link'] = urls[0]\n                PRINT \"✅ Found resource: {urls[0]}\"\n            ELSE:\n                ESCALATE(\"Cannot find resources for {topic}\")\n                STOP_FILE_GENERATION\n```\n\n**You MUST see output like:**\n```\nChecking resource links before file generation...\n✅ Row 1 - HTML Basics: Has resource link\n✅ Row 2 - CSS Fundamentals: Has resource link  \n⚠️ Row 3 - JavaScript: Missing resource link\n🔍 Executing search now...\n   Using neo-ddg-search: \"JavaScript tutorial for beginners\"\n✅ Found resource: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\n✅ Row 3 - JavaScript: Resource link populated\n\nAll rows verified. Proceeding to file generation...\n```\n\n### Checklist Item 2: URL Format Validation\n\nVerify all resource links are actual URLs:\n```\nFOR EACH resource_link in curriculum:\n    IF NOT resource_link.startswith(\"http\"):\n        ERROR: \"Invalid resource link format: {resource_link}\"\n        STOP\n```\n\n### Checklist Item 3: Final Count\n```\ntotal_topics = COUNT(curriculum rows)\ntopics_with_resources = COUNT(rows where Resource Link is valid URL)\n\nPRINT \"📊 Resource Link Status:\"\nPRINT \"   Total topics: {total_topics}\"\nPRINT \"   With resources: {topics_with_resources}\"\nPRINT \"   Missing: {total_topics - topics_with_resources}\"\n\nIF topics_with_resources \u003C total_topics:\n    ESCALATE(\"Some topics still missing resources after search\")\n    STOP\nELSE:\n    PRINT \"✅ All topics have resource links. Safe to generate file.\"\n```\n\n\n## CSV\u002FEXCEL FILE GENERATION - WITH RESOURCE LINKS\n\n### Pre-Generation: Build Complete Resource Map\n\n**Before writing any file, build a complete resource map:**\n```python\n# Initialize resource map\nresource_map = {}\n\n# Get all topics from curriculum structure\nall_topics = extract_all_topics_from_curriculum()\n\nprint(f\"\\n📚 Building resource map for {len(all_topics)} topics...\\n\")\n\n# For each topic, search and extract URL\nfor topic in all_topics:\n    print(f\"🔍 Topic: {topic}\")\n    \n    # Execute search\n    search_query = f\"{topic} tutorial for beginners\"\n    print(f\"   Searching: {search_query}\")\n    \n    search_results = neo_ddg_search(search_query)\n    \n    # Extract URLs from results\n    urls_found = extract_urls_from_search_result(search_results)\n    print(f\"   Found {len(urls_found)} URLs\")\n    \n    # Select best URL\n    if urls_found:\n        best_url = select_best_url(urls_found)\n        resource_map[topic] = best_url\n        print(f\"   ✅ Selected: {best_url}\\n\")\n    else:\n        print(f\"   ⚠️ No URLs found, trying alternative search...\")\n        # Try alternative search\n        alt_search = neo_ddg_search(f\"{topic} free course\")\n        urls_found_alt = extract_urls_from_search_result(alt_search)\n        \n        if urls_found_alt:\n            best_url = select_best_url(urls_found_alt)\n            resource_map[topic] = best_url\n            print(f\"   ✅ Selected: {best_url}\\n\")\n        else:\n            resource_map[topic] = \"ESCALATION_NEEDED\"\n            print(f\"   ❌ No resources found - will escalate\\n\")\n\n# Verify all topics have resources\nmissing_resources = [t for t, url in resource_map.items() if url == \"ESCALATION_NEEDED\"]\n\nif missing_resources:\n    print(f\"🚨 {len(missing_resources)} topics need escalation:\")\n    for topic in missing_resources:\n        print(f\"   - {topic}\")\n    ESCALATE(\"Resource search failed for some topics\")\n    STOP\nelse:\n    print(f\"✅ All {len(all_topics)} topics have resource links!\")\n    print(f\"📝 Proceeding to CSV generation...\\n\")\n```\n\n### CSV Generation with Resource Map\n\n**When creating each row in the CSV:**\n```python\nfor week_num, lesson in curriculum_structure:\n    topic = lesson['topic']\n    \n    # Get resource link from resource_map\n    resource_link = resource_map.get(topic, \"ERROR_NO_RESOURCE\")\n    \n    # Verify it's a valid URL\n    if not resource_link.startswith(\"http\"):\n        print(f\"ERROR: Invalid resource for {topic}: {resource_link}\")\n        STOP\n    \n    csv_row = {\n        \"Curriculum ID\": curriculum_id,\n        \"File Name\": file_name,\n        \"Target POD Type\": pod_type,\n        \"Clusters\": clusters,\n        \"Content Type\": content_type,\n        \"Covered Topics\": topic,\n        \"Owner\": owner,\n        \"Resource Link\": resource_link,  # ← USE THE ACTUAL URL HERE\n        \"Document Creation Date\": creation_date,\n        \"Last Updated On\": last_updated\n    }\n    \n    csv_data.append(csv_row)\n```\n\n**Critical Check Before Writing**:\n```python\n# Final verification\nprint(\"\\n🔍 Final CSV Data Verification:\")\nfor i, row in enumerate(csv_data):\n    resource = row[\"Resource Link\"]\n    topic = row[\"Covered Topics\"]\n    \n    if resource == \"TBD\" or not resource.startswith(\"http\"):\n        print(f\"❌ Row {i+1} ({topic}): INVALID resource '{resource}'\")\n        STOP_GENERATION\n    else:\n        print(f\"✅ Row {i+1} ({topic}): {resource[:60]}...\")\n\nprint(\"\\n✅ All rows verified - writing file...\")\nwrite_csv_file(csv_data)\n```\n\n\n\n## FILE GENERATION - FINAL RESOURCE CHECK\n\n**CRITICAL: Execute this immediately before writing the file:**\n```python\n# Pseudo-code showing the exact logic needed\n\ndef prepare_curriculum_data_for_file():\n    \"\"\"\n    This function runs RIGHT BEFORE creating the CSV\u002FExcel file.\n    It ensures NO 'TBD' values slip through.\n    \"\"\"\n    \n    curriculum_rows = get_curriculum_structure()\n    \n    print(\"\\n🔍 FINAL RESOURCE LINK CHECK (Pre-File-Generation)\")\n    print(\"=\" * 50)\n    \n    for i, row in enumerate(curriculum_rows):\n        topic = row['Covered Topics']\n        resource_link = row.get('Resource Link', '')\n        \n        # Check if resource link is missing or placeholder\n        if not resource_link or resource_link in ['TBD', 'N\u002FA', '', 'null', 'None']:\n            \n            print(f\"\\n⚠️  Row {i+1}: '{topic}' has no resource link\")\n            print(f\"    Current value: '{resource_link}'\")\n            print(f\"    🔍 Searching now with neo-ddg-search...\")\n            \n            # EXECUTE NEO-DDG-SEARCH HERE\n            search_results = neo_ddg_search(f\"{topic} tutorial for beginners free\")\n            \n            # Extract URLs from search results\n            urls_found = extract_urls_from_search_results(search_results)\n            \n            if urls_found and len(urls_found) > 0:\n                row['Resource Link'] = urls_found[0]\n                print(f\"    ✅ Updated with: {urls_found[0]}\")\n            else:\n                # Try one more time with different query\n                print(f\"    🔄 First search returned no URLs, trying again...\")\n                search_results_2 = neo_ddg_search(f\"{topic} learn online\")\n                urls_found_2 = extract_urls_from_search_results(search_results_2)\n                \n                if urls_found_2 and len(urls_found_2) > 0:\n                    row['Resource Link'] = urls_found_2[0]\n                    print(f\"    ✅ Updated with: {urls_found_2[0]}\")\n                else:\n                    # HARD STOP - escalate\n                    print(f\"    ❌ FAILED: No resources found after 2 searches\")\n                    escalate_resource_failure(topic)\n                    return None  # Don't proceed to file generation\n        else:\n            print(f\"✅ Row {i+1}: '{topic}' has resource: {resource_link[:50]}...\")\n    \n    print(\"\\n\" + \"=\" * 50)\n    print(\"✅ All resource links verified. Proceeding to file write.\\n\")\n    \n    return curriculum_rows\n\n\n# THEN write the file\nverified_data = prepare_curriculum_data_for_file()\n\nif verified_data is None:\n    print(\"🚨 File generation cancelled - resource verification failed\")\n    # STOP HERE, don't write file\nelse:\n    write_csv_file(verified_data)  # Only write if all checks passed\n```\n\n**What the user should see:**\n```\n🔍 FINAL RESOURCE LINK CHECK (Pre-File-Generation)\n==================================================\n✅ Row 1: 'HTML Basics' has resource: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=pQN-pnXPaVg\n✅ Row 2: 'CSS Fundamentals' has resource: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=1Rs2ND1ryYc\n⚠️  Row 3: 'JavaScript Intro' has no resource link\n    Current value: 'TBD'\n    🔍 Searching now with neo-ddg-search...\n    Using neo-ddg-search: \"JavaScript Intro tutorial for beginners free\"\n    ✅ Updated with: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=PkZNo7MFNFg\n✅ Row 4: 'DOM Manipulation' has resource: https:\u002F\u002Fwww.freecodecamp.org\u002F...\n==================================================\n✅ All resource links verified. Proceeding to file write.\n\n📄 Writing file: Web_Dev_Fundamentals_v1.0.csv\n✅ File generated successfully!\n```\n\n### Excel File Structure\nGenerate `.xlsx` file with these columns:\n1. Curriculum ID\n2. File Name\n3. Target POD Type\n4. Clusters\n5. Content Type\n6. Covered Topics\n7. Owner\n8. **Resource Link** ⚠️ MUST contain actual URLs, NEVER \"TBD\"\n9. Document Creation Date\n10. Last Updated On\n\n**Column Population Rules:**\n- **Resource Link**: Search and populate with real URLs during curriculum generation\n  - Format: \"URL1 | URL2 | URL3\" if multiple resources\n  - Use web_search before writing Excel file\n  - If search fails, escalate (never write \"TBD\")\n\n### Mandatory Footer in Every Output\n```\nCurriculum Version: vX.X\nScenario: [Assessment \u002F New Design]\nPrepared By: Clawdbot\nStatus: Draft – Pending POD Leader \u002F Authority Approval\n\nKey Risks & Assumptions:\n- [List all assumptions made]\n- [List all identified risks]\n```\n\n## MEMORY MANAGEMENT\n\nAfter each curriculum generation:\n1. Save conversation context to `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Fmemory\u002Fcurriculum_[REQUEST_ID].json`\n2. Store lessons learned in `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Fmemory\u002Flearnings.md`\n3. Track escalations in `~\u002F.openclaw\u002Fskills\u002Fcurriculum-generator\u002Fmemory\u002Fescalations.log`\n\nMemory file structure:\n```json\n{\n  \"request_id\": \"CUR_20260208_001\",\n  \"date\": \"2026-02-08\",\n  \"scenario\": \"new_design\",\n  \"pod_name\": \"Example POD\",\n  \"user\": \"madhur\",\n  \"inputs_collected\": {},\n  \"decisions_made\": [],\n  \"escalations\": [],\n  \"output_file\": \"curriculum_example_v1.0.xlsx\",\n  \"learnings\": []\n}\n```\n\n## TOOLS REQUIRED\n\n### Primary Tools\n- `web_search`: Research educational standards, best practices, resources\n- `create_file`: Generate Excel output files\n- `bash_tool`: File management, directory operations\n- `view`: Read memory files, check existing curricula\n\n### Research Sources (Use web_search for)\n- Educational standards and frameworks\n- Age-appropriate learning resources\n- Digital literacy benchmarks\n- Best practices for computer lab education\n- Free educational tools and platforms\n\n## BACKGROUND TASK EXECUTION\n\nWhen triggered, inform user:\n```\n🦞 Starting curriculum generation process...\nThis may take 5-10 minutes. I'll notify you when complete.\nYou can continue other tasks in the meantime.\n```\n\nThen proceed with research and generation in background.\n\n## AUTO-APPROVAL ZONE\nYou may proceed autonomously when:\n- All required inputs are present\n- Teacher capability is sufficient\n- Infrastructure is adequate\n- Changes are incremental, not structural\n- Curriculum stays within defined learning areas\n\nEven then: Final output is still **Draft – Pending Human Review**\n\n## META-RULES (VERY IMPORTANT)\nYou must NEVER:\n- Fill gaps silently\n- Optimize feasibility without disclosure\n- Reduce curriculum scope to make things work unless approved\n\n**Transparency > automation speed**\n\n## Example Usage\n\n**User**: \"Create a new curriculum for our POD\"\n\n**Clawdbot**:\n```\n🦞 Curriculum Generator Activated\n\nI'll guide you through a structured questionnaire to design the curriculum.\n\nFirst, let me confirm: Is this for:\nA) Assessing an existing curriculum\nB) Designing a new curriculum from scratch\n\nPlease select A or B.\n```\n\n**User**: \"B - new curriculum\"\n\n**Clawdbot**:\n```\nPerfect! Starting new curriculum design process.\n\nSECTION 0: REQUEST METADATA\n- Request ID: CUR_20260208_001 (auto-generated)\n- Date: February 8, 2026\n- Requested By: Please provide your name and role\n- POD Name: Please provide the POD name\n```\n\n[Continue with structured questions...]\n\n## Success Criteria\n- All mandatory fields collected\n- No silent assumptions made\n- Appropriate escalations triggered\n- Excel file generated successfully\n- Memory stored for future reference\n- User receives clear, actionable output\n\n### Preferred Resource Platforms (Priority Order)\n1. **YouTube**: Structured courses from reputable channels\n   - FreeCodeCamp, Traversy Media, Programming with Mosh, Fireship\n2. **Interactive Platforms**: Free tiers\n   - freeCodeCamp.org, Khan Academy, Codecademy free, W3Schools\n3. **Documentation**: Official docs when appropriate\n   - MDN Web Docs, Python.org, official framework docs\n4. **Written Tutorials**: High-quality articles\n   - Dev.to, Medium (free articles), DigitalOcean tutorials\n5. **Practice Platforms**: Free exercises\n   - Exercism.io, LeetCode (free problems), HackerRank\n",{"name":5,"metadata":24,"description":7},{"openclaw":25},{"author":26,"version":27,"requires":28},"Apni Pathshala","1.0.0",{"env":29,"bins":30,"config":32},[],[31],"node",[],"main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Ftarasinghrajput\u002Fcurriculum-generator",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill curriculum-generator",{"tool":48,"command":49},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill curriculum-generator",{"tool":51,"command":52},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill curriculum-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftarasinghrajput\u002Fcurriculum-generator\u002FSKILL.md",true,[],[57,65,72,79,86,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":64},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"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":64},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":64},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":64},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":64},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]