[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KDTJM32M0NEYCKPGM5ATFF":3,"skill-same:01M6KDTJM32M0NEYCKPGM5ATFF":67},{"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":22,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M6KDTJM32M0NEYCKPGM5ATFF","vulnerability-csv-reporting",null,"Generate structured CSV security audit reports from Trivy JSON vulnerability data with severity filtering and proper field mapping.","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\u002Fb1-one-shot-claude-sonnet-4-6\u002Fdependency-vulnerability-check\u002Fvulnerability-csv-reporting\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000004","电子表格","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"vulnerability csv reporting","csv","reporting","vulnerability","security audit","with","mapping","structured","reports","filtering","json","security","trivy","severity","data","audit","generate","2026-11-10 10:12:30",false,"---\nname: vulnerability-csv-reporting\ndescription: Generate structured CSV security audit reports from Trivy JSON vulnerability data with severity filtering and proper field mapping.\n---\n\n# Vulnerability CSV Reporting\n\n## CSV Schema\n\n```\nPackage,Version,CVE_ID,Severity,CVSS_Score,Fixed_Version,Title,Url\n```\n\n## Complete Report Generator\n\n```python\nimport json\nimport csv\n\ndef get_cvss_score(vuln):\n    cvss = vuln.get('CVSS', {})\n    for source in ['nvd', 'ghsa', 'redhat']:\n        if source in cvss:\n            score = cvss[source].get('V3Score')\n            if score is not None:\n                return score\n    return 'N\u002FA'\n\ndef generate_csv_report(json_input, csv_output, severity_filter=('HIGH', 'CRITICAL')):\n    with open(json_input, 'r', encoding='utf-8') as f:\n        data = json.load(f)\n\n    headers = [\"Package\", \"Version\", \"CVE_ID\", \"Severity\",\n               \"CVSS_Score\", \"Fixed_Version\", \"Title\", \"Url\"]\n\n    rows = []\n    for result in data.get('Results', []):\n        for vuln in result.get('Vulnerabilities', []):\n            if vuln.get('Severity') in severity_filter:\n                rows.append({\n                    \"Package\": vuln.get('PkgName', 'N\u002FA'),\n                    \"Version\": vuln.get('InstalledVersion', 'N\u002FA'),\n                    \"CVE_ID\": vuln.get('VulnerabilityID', 'N\u002FA'),\n                    \"Severity\": vuln.get('Severity', 'N\u002FA'),\n                    \"CVSS_Score\": get_cvss_score(vuln),\n                    \"Fixed_Version\": vuln.get('FixedVersion') or 'N\u002FA',\n                    \"Title\": vuln.get('Title', 'N\u002FA'),\n                    \"Url\": vuln.get('PrimaryURL', 'N\u002FA'),\n                })\n\n    with open(csv_output, 'w', newline='', encoding='utf-8') as f:\n        writer = csv.DictWriter(f, fieldnames=headers)\n        writer.writeheader()\n        writer.writerows(rows)\n\n    print(f\"[+] {len(rows)} vulnerabilities written to {csv_output}\")\n    return rows\n```\n\n## Key Notes\n\n- Use `newline=''` in `open()` to prevent extra blank lines on Windows\n- Use `or 'N\u002FA'` (not `.get(..., 'N\u002FA')`) for FixedVersion since it may be present but empty string\n- `csv.DictWriter` automatically handles quoting of fields containing commas\n","# Vulnerability CSV Reporting\n\n## CSV Schema\n\n```\nPackage,Version,CVE_ID,Severity,CVSS_Score,Fixed_Version,Title,Url\n```\n\n## Complete Report Generator\n\n```python\nimport json\nimport csv\n\ndef get_cvss_score(vuln):\n    cvss = vuln.get('CVSS', {})\n    for source in ['nvd', 'ghsa', 'redhat']:\n        if source in cvss:\n            score = cvss[source].get('V3Score')\n            if score is not None:\n                return score\n    return 'N\u002FA'\n\ndef generate_csv_report(json_input, csv_output, severity_filter=('HIGH', 'CRITICAL')):\n    with open(json_input, 'r', encoding='utf-8') as f:\n        data = json.load(f)\n\n    headers = [\"Package\", \"Version\", \"CVE_ID\", \"Severity\",\n               \"CVSS_Score\", \"Fixed_Version\", \"Title\", \"Url\"]\n\n    rows = []\n    for result in data.get('Results', []):\n        for vuln in result.get('Vulnerabilities', []):\n            if vuln.get('Severity') in severity_filter:\n                rows.append({\n                    \"Package\": vuln.get('PkgName', 'N\u002FA'),\n                    \"Version\": vuln.get('InstalledVersion', 'N\u002FA'),\n                    \"CVE_ID\": vuln.get('VulnerabilityID', 'N\u002FA'),\n                    \"Severity\": vuln.get('Severity', 'N\u002FA'),\n                    \"CVSS_Score\": get_cvss_score(vuln),\n                    \"Fixed_Version\": vuln.get('FixedVersion') or 'N\u002FA',\n                    \"Title\": vuln.get('Title', 'N\u002FA'),\n                    \"Url\": vuln.get('PrimaryURL', 'N\u002FA'),\n                })\n\n    with open(csv_output, 'w', newline='', encoding='utf-8') as f:\n        writer = csv.DictWriter(f, fieldnames=headers)\n        writer.writeheader()\n        writer.writerows(rows)\n\n    print(f\"[+] {len(rows)} vulnerabilities written to {csv_output}\")\n    return rows\n```\n\n## Key Notes\n\n- Use `newline=''` in `open()` to prevent extra blank lines on Windows\n- Use `or 'N\u002FA'` (not `.get(..., 'N\u002FA')`) for FixedVersion since it may be present but empty string\n- `csv.DictWriter` automatically handles quoting of fields containing commas\n",{"name":5,"description":7},"main","726e1f79b96b0cb3d729d0e55a1c847e0b5353ae","skills\u002Fb1-one-shot-claude-sonnet-4-6\u002Fdependency-vulnerability-check\u002Fvulnerability-csv-reporting",7,"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":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add cxcscmu\u002FSkillLearnBench --skill vulnerability-csv-reporting",{"tool":59,"command":60},"bunx","bunx skills add cxcscmu\u002FSkillLearnBench --skill vulnerability-csv-reporting",{"tool":62,"command":63},"pnpm","pnpm dlx skills add cxcscmu\u002FSkillLearnBench --skill vulnerability-csv-reporting","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb1-one-shot-claude-sonnet-4-6\u002Fdependency-vulnerability-check\u002Fvulnerability-csv-reporting\u002FSKILL.md",true,[],[68,84,108,126,145,157],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":77,"publishedAt":40},"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",[74],{"categoryNo":75,"categoryName":76,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000016","图像与多媒体",[78,79,80,81,82,83],"object counter","object","vision","computer","Computer Vision","image",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":93,"publishedAt":40},"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",[90],{"categoryNo":91,"categoryName":92,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[94,95,96,97,98,99,30,100,101,102,103,104,105,106,107],"workflow","planning","planning workflow","travel","travel planning","travel planning workflow","performing","plan","for","user","it","requirements","essential","itineraries",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":40},"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",[],[115,116,117,118,119,120,121,97,122,123,98,124,102,125,95],"search","tool","dataset","bundled dataset search tool","restaurants","Tools","up","look","flights","you","database",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":40},"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",[],[133,134,135,102,136,137,33,138,139,140,141,142,124,143,144],"glm output","output","glm","tasks","metrics","basics","guidance","matching","verifier","processing","root","calibration",{"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":152,"publishedAt":40},"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",[151],{"categoryNo":91,"categoryName":92,"taxonomyType":20,"taxonomyTypeDesc":21},[153,144,135,134,139,138,136,154,155,102,156],"glm calibration","setup","companion","metric",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":40},"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",[],[164,135,138,165,153,144,102,134,166,167,168,169,170,171,136],"glm basics","inspect","relevant","files","good","use","how","Evaluation"]