[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KJT5TKXDPJMX7HCZ4WEZ49":3,"skill-same:01M6KJT5TKXDPJMX7HCZ4WEZ49":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6KJT5TKXDPJMX7HCZ4WEZ49","glm-config-management",null,"Managing and modifying GLM configuration files (glm3.nml) for calibration. Use this skill whenever you need to safely update GLM parameters, preserve non-calibration settings, validate configuration syntax, or manage multiple parameter sets. Essential for iterative calibration workflows where parameters must change reliably without corrupting the config.","cxcscmu\u002FSkillLearnBench","cxcscmu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142838272?v=4","01M6KCQDFQWPDSN0MKZY96MSQP","01M6KCQDM7G70TKJ28NTSQC0RZ",93,"MIT","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-haiku-4-5\u002Ftemperature-simulation\u002Fglm-config-management\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"glm config management","config","management","glm","config management","manage","calibration","preserve","for","you","essential","configuration","workflows","files","use","settings","syntax","update","validate","change","2026-11-10 10:12:30",false,"---\nname: glm-config-management\ndescription: Managing and modifying GLM configuration files (glm3.nml) for calibration. Use this skill whenever you need to safely update GLM parameters, preserve non-calibration settings, validate configuration syntax, or manage multiple parameter sets. Essential for iterative calibration workflows where parameters must change reliably without corrupting the config.\n---\n\n# GLM Configuration File Management\n\n## Configuration File Format\n\nGLM uses Fortran namelist format (`.nml` files). Structure:\n```\n&section_name\n  parameter1 = value1\n  parameter2 = value2\n\u002F\n```\n\nKey rules:\n- Sections delimited by `&section_name` (start) and `\u002F` (end)\n- Each parameter on its own line\n- Values must match Fortran types (reals for decimals, integers for ints, strings in quotes, logicals .true.\u002F.false.)\n- Commas optional but allow consistency\n- Comments not allowed in namelist sections\n\n## Calibration-Safe Parameter Updates\n\n### Parameters You CAN Modify\n\nIn `&light`:\n- `Kw`: Real number, currently ~0.3\n\nIn `&mixing`:\n- `coef_mix_hyp`: Real number, currently ~0.5\n\nIn `&meteorology`:\n- `wind_factor`: Real number, currently ~1.0\n- `lw_factor`: Real number, currently ~1.0\n- `ch`: Real number, currently ~0.0013\n\n### Parameters You MUST NOT MODIFY\n\n**&meteorology:**\n- `sw_factor` (solar shortwave multiplier)\n- `cd` (drag coefficient)\n- `ce` (evaporation coefficient)\n\n**&init_profiles:**\n- `the_depths` (initial depth levels)\n- `the_temps` (initial temperatures)\n- `the_sals` (initial salinities)\n\n**All other sections:**\n- Time period, morphometry, inflows, outflows, etc.\n\n## Safe Update Procedure\n\n### Python Method (Recommended)\n\n```python\nimport re\n\ndef update_glm_parameter(nml_file, section, param, value):\n    \"\"\"\n    Update a single parameter in GLM config, preserving all else.\n\n    Args:\n        nml_file: Path to glm3.nml\n        section: Section name (e.g., 'light', 'mixing', 'meteorology')\n        param: Parameter name (e.g., 'Kw', 'wind_factor')\n        value: New value (will be formatted appropriately)\n    \"\"\"\n    with open(nml_file, 'r') as f:\n        content = f.read()\n\n    # Build regex pattern for the parameter line\n    # Matches: param = value (with possible whitespace, commas)\n    pattern = rf'({param}\\s*=\\s*)[-+]?\\d*\\.?\\d+([eE][-+]?\\d+)?'\n\n    # Format value\n    if isinstance(value, float):\n        replacement = rf'\\g\u003C1>{value}'\n    else:\n        replacement = rf'\\g\u003C1>{value}'\n\n    # Replace only first occurrence (assumes one per section)\n    content_new = re.sub(pattern, replacement, content, count=1)\n\n    # Verify replacement happened\n    if content == content_new:\n        raise ValueError(f\"Parameter {param} not found in &{section}\")\n\n    # Write back\n    with open(nml_file, 'w') as f:\n        f.write(content_new)\n\n    print(f\"Updated {section}.{param} to {value}\")\n\n# Usage:\nupdate_glm_parameter('\u002Froot\u002Fglm3.nml', 'light', 'Kw', 0.35)\nupdate_glm_parameter('\u002Froot\u002Fglm3.nml', 'mixing', 'coef_mix_hyp', 0.45)\n```\n\n### Bash Method (Using sed)\n\n```bash\n# Update Kw in &light section\nsed -i 's\u002FKw = [0-9.e]*\u002FKw = 0.35\u002F' \u002Froot\u002Fglm3.nml\n\n# Verify update\ngrep -A 5 '&light' \u002Froot\u002Fglm3.nml | grep Kw\n```\n\n**Warning**: Bash sed is fragile with Fortran format. Use Python for safety.\n\n## Validation Procedures\n\n### Syntax Check (Python)\n```python\nimport f90wrap  # or similar parser\n# Can validate Fortran namelist format\n# OR simply run: glm --help (if supported)\n```\n\n### Functional Check\n```bash\ncd \u002Froot\nglm  # Will fail with clear error if config is invalid\n# If GLM runs without error, config is OK\n```\n\n### Diff Before\u002FAfter\n```bash\ndiff -u glm3.nml.backup glm3.nml\n```\n\n## Parameter Ranges and Defaults\n\n| Parameter | Section | Min | Default | Max | Type |\n|-----------|---------|-----|---------|-----|------|\n| Kw | light | 0.1 | 0.3 | 0.5 | real |\n| coef_mix_hyp | mixing | 0.3 | 0.5 | 0.7 | real |\n| wind_factor | meteorology | 0.7 | 1.0 | 1.3 | real |\n| lw_factor | meteorology | 0.7 | 1.0 | 1.3 | real |\n| ch | meteorology | 0.0005 | 0.0013 | 0.002 | real |\n| sw_factor | meteorology | - | 0.95 | - | (locked) |\n| cd | meteorology | - | 0.0013 | - | (locked) |\n| ce | meteorology | - | 0.0013 | - | (locked) |\n\n## Backup Strategy\n\nBefore starting calibration:\n```bash\ncp \u002Froot\u002Fglm3.nml \u002Froot\u002Fglm3.nml.backup\n```\n\nIf config becomes corrupted, restore:\n```bash\ncp \u002Froot\u002Fglm3.nml.backup \u002Froot\u002Fglm3.nml\n```\n\n## Multi-Iteration Record\n\nFor tracking iterations, use a log:\n```json\n{\n  \"iteration\": 1,\n  \"parameters\": {\n    \"Kw\": 0.30,\n    \"coef_mix_hyp\": 0.50,\n    \"wind_factor\": 1.0,\n    \"lw_factor\": 1.0,\n    \"ch\": 0.0013\n  },\n  \"rmse\": {\n    \"overall\": 1.82,\n    \"annual_deep\": 1.90,\n    \"summer_deep\": 1.95\n  },\n  \"timestamp\": \"2024-03-23T10:30:00Z\"\n}\n```\n\nThis allows retracing steps if needed.\n","# GLM Configuration File Management\n\n## Configuration File Format\n\nGLM uses Fortran namelist format (`.nml` files). Structure:\n```\n&section_name\n  parameter1 = value1\n  parameter2 = value2\n\u002F\n```\n\nKey rules:\n- Sections delimited by `&section_name` (start) and `\u002F` (end)\n- Each parameter on its own line\n- Values must match Fortran types (reals for decimals, integers for ints, strings in quotes, logicals .true.\u002F.false.)\n- Commas optional but allow consistency\n- Comments not allowed in namelist sections\n\n## Calibration-Safe Parameter Updates\n\n### Parameters You CAN Modify\n\nIn `&light`:\n- `Kw`: Real number, currently ~0.3\n\nIn `&mixing`:\n- `coef_mix_hyp`: Real number, currently ~0.5\n\nIn `&meteorology`:\n- `wind_factor`: Real number, currently ~1.0\n- `lw_factor`: Real number, currently ~1.0\n- `ch`: Real number, currently ~0.0013\n\n### Parameters You MUST NOT MODIFY\n\n**&meteorology:**\n- `sw_factor` (solar shortwave multiplier)\n- `cd` (drag coefficient)\n- `ce` (evaporation coefficient)\n\n**&init_profiles:**\n- `the_depths` (initial depth levels)\n- `the_temps` (initial temperatures)\n- `the_sals` (initial salinities)\n\n**All other sections:**\n- Time period, morphometry, inflows, outflows, etc.\n\n## Safe Update Procedure\n\n### Python Method (Recommended)\n\n```python\nimport re\n\ndef update_glm_parameter(nml_file, section, param, value):\n    \"\"\"\n    Update a single parameter in GLM config, preserving all else.\n\n    Args:\n        nml_file: Path to glm3.nml\n        section: Section name (e.g., 'light', 'mixing', 'meteorology')\n        param: Parameter name (e.g., 'Kw', 'wind_factor')\n        value: New value (will be formatted appropriately)\n    \"\"\"\n    with open(nml_file, 'r') as f:\n        content = f.read()\n\n    # Build regex pattern for the parameter line\n    # Matches: param = value (with possible whitespace, commas)\n    pattern = rf'({param}\\s*=\\s*)[-+]?\\d*\\.?\\d+([eE][-+]?\\d+)?'\n\n    # Format value\n    if isinstance(value, float):\n        replacement = rf'\\g\u003C1>{value}'\n    else:\n        replacement = rf'\\g\u003C1>{value}'\n\n    # Replace only first occurrence (assumes one per section)\n    content_new = re.sub(pattern, replacement, content, count=1)\n\n    # Verify replacement happened\n    if content == content_new:\n        raise ValueError(f\"Parameter {param} not found in &{section}\")\n\n    # Write back\n    with open(nml_file, 'w') as f:\n        f.write(content_new)\n\n    print(f\"Updated {section}.{param} to {value}\")\n\n# Usage:\nupdate_glm_parameter('\u002Froot\u002Fglm3.nml', 'light', 'Kw', 0.35)\nupdate_glm_parameter('\u002Froot\u002Fglm3.nml', 'mixing', 'coef_mix_hyp', 0.45)\n```\n\n### Bash Method (Using sed)\n\n```bash\n# Update Kw in &light section\nsed -i 's\u002FKw = [0-9.e]*\u002FKw = 0.35\u002F' \u002Froot\u002Fglm3.nml\n\n# Verify update\ngrep -A 5 '&light' \u002Froot\u002Fglm3.nml | grep Kw\n```\n\n**Warning**: Bash sed is fragile with Fortran format. Use Python for safety.\n\n## Validation Procedures\n\n### Syntax Check (Python)\n```python\nimport f90wrap  # or similar parser\n# Can validate Fortran namelist format\n# OR simply run: glm --help (if supported)\n```\n\n### Functional Check\n```bash\ncd \u002Froot\nglm  # Will fail with clear error if config is invalid\n# If GLM runs without error, config is OK\n```\n\n### Diff Before\u002FAfter\n```bash\ndiff -u glm3.nml.backup glm3.nml\n```\n\n## Parameter Ranges and Defaults\n\n| Parameter | Section | Min | Default | Max | Type |\n|-----------|---------|-----|---------|-----|------|\n| Kw | light | 0.1 | 0.3 | 0.5 | real |\n| coef_mix_hyp | mixing | 0.3 | 0.5 | 0.7 | real |\n| wind_factor | meteorology | 0.7 | 1.0 | 1.3 | real |\n| lw_factor | meteorology | 0.7 | 1.0 | 1.3 | real |\n| ch | meteorology | 0.0005 | 0.0013 | 0.002 | real |\n| sw_factor | meteorology | - | 0.95 | - | (locked) |\n| cd | meteorology | - | 0.0013 | - | (locked) |\n| ce | meteorology | - | 0.0013 | - | (locked) |\n\n## Backup Strategy\n\nBefore starting calibration:\n```bash\ncp \u002Froot\u002Fglm3.nml \u002Froot\u002Fglm3.nml.backup\n```\n\nIf config becomes corrupted, restore:\n```bash\ncp \u002Froot\u002Fglm3.nml.backup \u002Froot\u002Fglm3.nml\n```\n\n## Multi-Iteration Record\n\nFor tracking iterations, use a log:\n```json\n{\n  \"iteration\": 1,\n  \"parameters\": {\n    \"Kw\": 0.30,\n    \"coef_mix_hyp\": 0.50,\n    \"wind_factor\": 1.0,\n    \"lw_factor\": 1.0,\n    \"ch\": 0.0013\n  },\n  \"rmse\": {\n    \"overall\": 1.82,\n    \"annual_deep\": 1.90,\n    \"summer_deep\": 1.95\n  },\n  \"timestamp\": \"2024-03-23T10:30:00Z\"\n}\n```\n\nThis allows retracing steps if needed.\n",{"name":5,"description":7},"main","726e1f79b96b0cb3d729d0e55a1c847e0b5353ae","skills\u002Fb4-skill-creator-claude-haiku-4-5\u002Ftemperature-simulation\u002Fglm-config-management",8,"https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench","https:\u002F\u002Fcxcscmu.github.io\u002FSkillLearnBench","https:\u002F\u002Fgithub.com\u002Fcxcscmu","2026-10-02 22:55:36",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add cxcscmu\u002FSkillLearnBench --skill glm-config-management",{"tool":57,"command":58},"bunx","bunx skills add cxcscmu\u002FSkillLearnBench --skill glm-config-management",{"tool":60,"command":61},"pnpm","pnpm dlx skills add cxcscmu\u002FSkillLearnBench --skill glm-config-management","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-haiku-4-5\u002Ftemperature-simulation\u002Fglm-config-management\u002FSKILL.md",true,[],[66,79,99,116,134,145],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":38},"01M6KM5KH175P5ABP5JMX2SBDQ","object_counter","Count occurrences of an object in the image using computer vision algorithm.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Fvideo-object-counting\u002Fobject_counter\u002FSKILL.md",[],[73,74,75,76,77,78],"object counter","object","vision","computer","Computer Vision","image",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":38},"01M6KM51TMVXG79MMPCS6Y8G86","travel-planning-workflow","Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Ftravel-planning-workflow\u002FSKILL.md",[],[86,87,88,89,90,91,92,93,94,26,95,96,97,28,98],"workflow","planning","planning workflow","travel","travel planning","travel planning workflow","structured","performing","plan","user","it","requirements","itineraries",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":38},"01M6KM4DY820XHS9YTSK5QP5HD","bundled-dataset-search-tool","invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Fbundled-dataset-search-tool\u002FSKILL.md",[],[106,107,108,109,110,111,112,89,113,114,90,27,26,115,87],"search","tool","dataset","bundled dataset search tool","restaurants","Tools","up","look","flights","database",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":38},"01M6KM465BB9PQ0B548HQSVAWZ","glm-output","Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final \u002Froot\u002Fmetrics.json.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-output\u002FSKILL.md",[],[123,124,21,26,125,126,127,128,129,130,131,132,27,133,24],"glm output","output","tasks","metrics","json","basics","guidance","matching","verifier","processing","root",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":38},"01M6KM40KY3QWDW5W97S39R2BC","glm-calibration","Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-calibration\u002FSKILL.md",[],[141,24,21,124,129,128,125,142,143,26,144],"glm calibration","setup","companion","metric",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":38},"01M6KM3VHHVSGMGHJQB3PPT6YG","glm-basics","A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-basics\u002FSKILL.md",[],[152,21,128,153,141,24,26,124,154,31,155,32,156,157,125],"glm basics","inspect","relevant","good","how","Evaluation"]