[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M737MEFAEMAK3R09VEBDYTFC":3,"skill-same:01M737MEFAEMAK3R09VEBDYTFC":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M737MEFAEMAK3R09VEBDYTFC","skill-047",null,"Techniques for anonymizing patient data in compliance with privacy regulations to ensure confidentiality during analysis. This skill focuses on methods to safeguard sensitive information while still allowing for useful data analysis.","legendtkl\u002Fagentic-skill-router","legendtkl","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2370761?v=4","01M71RR3WRQC40G964Q2GVDMND","01M737GJZQ9TF1VE3VM255EDAK",8,"MIT","https:\u002F\u002Fgithub.com\u002Flegendtkl\u002Fagentic-skill-router\u002Fblob\u002Fmain\u002Fexperiments\u002Fdci-compare\u002Fskillrouter-skills\u002Fskill-047\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: skill-047\ndescription: Techniques for anonymizing patient data in compliance with privacy regulations to ensure confidentiality during analysis. This skill focuses on methods to safeguard sensitive information while still allowing for useful data analysis.\n---\n\n# Patient Data Anonymization\n\n## Overview\n\nPatient Data Anonymization provides methods and practices for protecting patient identities while maintaining the usability of their data for research and analysis. In today’s data-driven healthcare environment, compliance with privacy regulations like HIPAA is crucial.\n\nThis skill covers:\n- **Data Masking**: Techniques to obscure sensitive patient information.\n- **Pseudonymization**: Replacing private identifiers with fake identifiers.\n- **Generalization**: Reducing the precision of data to protect individual identities.\n- **Data Aggregation**: Combining data in a way that individual patient identities cannot be determined.\n\n## When to Use This Skill\n\nUse this skill when:\n- Preparing patient data for research while ensuring compliance with privacy laws.\n- Sharing de-identified data with third parties.\n- Conducting analytics where patient identity must be protected.\n- Ensuring that sensitive information does not compromise patient confidentiality.\n\n## Anonymization Techniques\n\n### 1. Data Masking\nData masking involves altering sensitive information to prevent identification while retaining its analytical value. This technique can be applied to names, addresses, and other identifiable information.\n\n#### Example of Data Masking:\n```python\nimport pandas as pd\n\n# Sample patient data\npatients = pd.DataFrame({\n    'PatientID': [1, 2, 3],\n    'Name': ['Alice Smith', 'Bob Johnson', 'Charlie Brown']\n})\n\npatients['MaskedName'] = patients['Name'].apply(lambda x: 'Patient ' + str(patients.index[patients['Name'] == x][0] + 1))\nprint(patients)\n```\n\n### 2. Pseudonymization\nPseudonymization involves replacing private identifiers with a unique pseudonym.\n\n#### Example of Pseudonymization:\n```python\nimport uuid\n\n# Function to pseudonymize patient IDs\ndef pseudonymize_id():\n    return str(uuid.uuid4())\n\npatients['PseudonymID'] = patients['PatientID'].apply(lambda x: pseudonymize_id())\nprint(patients)\n```\n\n### 3. Generalization\nGeneralization reduces specificity of data. For example, converting exact ages into age ranges.\n\n#### Example of Generalization:\n```python\nage = 29\nage_range = f'{(age \u002F\u002F 10) * 10}-{(age \u002F\u002F 10) * 10 + 9}'\nprint(age_range)  # Outputs: '20-29'\n```\n\n### 4. Data Aggregation\nAggregating data to present it in summary form can help prevent re-identification of individuals.\n\n#### Example of Data Aggregation:\n```python\n# Sample data aggregation\nsummary = patients.groupby('MaskedName').size()\nprint(summary)\n```\n\n## Conclusion\n\nPatient Data Anonymization is essential for maintaining confidentiality while allowing healthcare analysts to use valuable patient information. The techniques outlined in this skill provide robust methods to safeguard patient identities in compliance with legal and ethical standards.","# Patient Data Anonymization\n\n## Overview\n\nPatient Data Anonymization provides methods and practices for protecting patient identities while maintaining the usability of their data for research and analysis. In today’s data-driven healthcare environment, compliance with privacy regulations like HIPAA is crucial.\n\nThis skill covers:\n- **Data Masking**: Techniques to obscure sensitive patient information.\n- **Pseudonymization**: Replacing private identifiers with fake identifiers.\n- **Generalization**: Reducing the precision of data to protect individual identities.\n- **Data Aggregation**: Combining data in a way that individual patient identities cannot be determined.\n\n## When to Use This Skill\n\nUse this skill when:\n- Preparing patient data for research while ensuring compliance with privacy laws.\n- Sharing de-identified data with third parties.\n- Conducting analytics where patient identity must be protected.\n- Ensuring that sensitive information does not compromise patient confidentiality.\n\n## Anonymization Techniques\n\n### 1. Data Masking\nData masking involves altering sensitive information to prevent identification while retaining its analytical value. This technique can be applied to names, addresses, and other identifiable information.\n\n#### Example of Data Masking:\n```python\nimport pandas as pd\n\n# Sample patient data\npatients = pd.DataFrame({\n    'PatientID': [1, 2, 3],\n    'Name': ['Alice Smith', 'Bob Johnson', 'Charlie Brown']\n})\n\npatients['MaskedName'] = patients['Name'].apply(lambda x: 'Patient ' + str(patients.index[patients['Name'] == x][0] + 1))\nprint(patients)\n```\n\n### 2. Pseudonymization\nPseudonymization involves replacing private identifiers with a unique pseudonym.\n\n#### Example of Pseudonymization:\n```python\nimport uuid\n\n# Function to pseudonymize patient IDs\ndef pseudonymize_id():\n    return str(uuid.uuid4())\n\npatients['PseudonymID'] = patients['PatientID'].apply(lambda x: pseudonymize_id())\nprint(patients)\n```\n\n### 3. Generalization\nGeneralization reduces specificity of data. For example, converting exact ages into age ranges.\n\n#### Example of Generalization:\n```python\nage = 29\nage_range = f'{(age \u002F\u002F 10) * 10}-{(age \u002F\u002F 10) * 10 + 9}'\nprint(age_range)  # Outputs: '20-29'\n```\n\n### 4. Data Aggregation\nAggregating data to present it in summary form can help prevent re-identification of individuals.\n\n#### Example of Data Aggregation:\n```python\n# Sample data aggregation\nsummary = patients.groupby('MaskedName').size()\nprint(summary)\n```\n\n## Conclusion\n\nPatient Data Anonymization is essential for maintaining confidentiality while allowing healthcare analysts to use valuable patient information. The techniques outlined in this skill provide robust methods to safeguard patient identities in compliance with legal and ethical standards.",{"name":5,"description":7},"main","160b30f0b67c923077f886376fdfae1016a70702","experiments\u002Fdci-compare\u002Fskillrouter-skills\u002Fskill-047",2,"https:\u002F\u002Fgithub.com\u002Flegendtkl\u002Fagentic-skill-router","https:\u002F\u002Flegendtkl.github.io\u002Fagentic-skill-router\u002F","https:\u002F\u002Fgithub.com\u002Flegendtkl","http:\u002F\u002Fwww.legendtkl.com","No secret before debugging.\r\n","2026-06-04 14:02:56",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add legendtkl\u002Fagentic-skill-router --skill skill-047",{"tool":39,"command":40},"bunx","bunx skills add legendtkl\u002Fagentic-skill-router --skill skill-047",{"tool":42,"command":43},"pnpm","pnpm dlx skills add legendtkl\u002Fagentic-skill-router --skill skill-047","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flegendtkl\u002Fagentic-skill-router\u002Fblob\u002Fmain\u002Fexperiments\u002Fdci-compare\u002Fskillrouter-skills\u002Fskill-047\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M7384EP28XVSR2R0YGRS0GK9","foo","A test skill named foo","https:\u002F\u002Fgithub.com\u002Flegendtkl\u002Fagentic-skill-router\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ffoo\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7384DECF306RRRC16PZJTQ5","bar","飞书 — bar with quoted Chinese","https:\u002F\u002Fgithub.com\u002Flegendtkl\u002Fagentic-skill-router\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fbar\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M738491441AQ85E7GD7VVDTA","agentic-skill-router","First use any clearly matching enabled local\u002Fuser Agent Skill. If none matches, prefer this router for skill-shaped requests involving a named tool, API, service, CLI, platform, file format, dataset, or domain workflow, including when a generic built-in skill such as browser, Chrome, or web search also seems applicable; use built-ins directly only when explicitly requested or when the task is primarily live browsing, logged-in page operation, clicking, screenshotting, or current webpage inspection. Also use directly to audit, slim, disable, restore, or route locally installed Agent Skills across supported hosts. Examples include Vercel, Netlify, Cloudflare, Render, Playwright, Sentry, Linear, GitHub, OpenAI APIs, PDF, DOCX, PPTX, and spreadsheets.","https:\u002F\u002Fgithub.com\u002Flegendtkl\u002Fagentic-skill-router\u002Fblob\u002Fmain\u002Fskills\u002Fagentic-skill-router\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M738475HF7SXTP4HCPZJVZ8E","syn-video-trim","Skill for trimming and cutting clips in the context of video files. Use when the user's task is specifically about trimming and cutting clips.","https:\u002F\u002Fgithub.com\u002Flegendtkl\u002Fagentic-skill-router\u002Fblob\u002Fmain\u002Fexperiments\u002Fdci-compare\u002Fsynthetic-skills\u002Fsyn-video-trim\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M73845F4RD2AA6YHS1E3VQRB","syn-video-transcode","Skill for transcoding codecs and resolutions in the context of video files. Use when the user's task is specifically about transcoding codecs and resolutions.","https:\u002F\u002Fgithub.com\u002Flegendtkl\u002Fagentic-skill-router\u002Fblob\u002Fmain\u002Fexperiments\u002Fdci-compare\u002Fsynthetic-skills\u002Fsyn-video-transcode\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M73842YN17QSJETPZX6Z9DAG","syn-video-thumbnail","Skill for extracting thumbnails and frames in the context of video files. Use when the user's task is specifically about extracting thumbnails and frames.","https:\u002F\u002Fgithub.com\u002Flegendtkl\u002Fagentic-skill-router\u002Fblob\u002Fmain\u002Fexperiments\u002Fdci-compare\u002Fsynthetic-skills\u002Fsyn-video-thumbnail\u002FSKILL.md",[],[]]