[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B594QPSYZ86VJ7N1WJSX7A":3,"skill-same:01M7B594QPSYZ86VJ7N1WJSX7A":98},{"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":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":13,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M7B594QPSYZ86VJ7N1WJSX7A","building-role-mining-for-rbac-optimization",null,"Apply bottom-up and top-down role mining techniques, including clustering algorithms and formal concept analysis, to discover optimal RBAC roles from existing user-permission assignments, consolidating overlapping roles and enforcing least privilege. Use when an identity program needs to reduce role explosion or redesign its RBAC role set from access data.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: building-role-mining-for-rbac-optimization\ndescription: Apply bottom-up and top-down role mining techniques, including clustering\n  algorithms and formal concept analysis, to discover optimal RBAC roles from existing\n  user-permission assignments, consolidating overlapping roles and enforcing least\n  privilege. Use when an identity program needs to reduce role explosion or redesign\n  its RBAC role set from access data.\ndomain: cybersecurity\nsubdomain: identity-access-management\ntags:\n- rbac\n- role-mining\n- identity-governance\n- access-control\n- least-privilege\n- clustering\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.AA-01\n- PR.AA-02\n- PR.AA-05\n- PR.AA-06\nmitre_attack:\n- T1078\n- T1098\n- T1069\n---\n\n# Building Role Mining for RBAC Optimization\n\n## Overview\n\nRole mining is the process of analyzing existing user-permission assignments to discover optimal roles for a Role-Based Access Control (RBAC) system. Organizations accumulate excessive permissions over time through job changes, project assignments, and ad-hoc access grants, leading to \"role explosion\" where thousands of granular roles exist with significant overlap. Role mining uses data analysis -- including clustering algorithms, formal concept analysis, and graph-based methods -- to consolidate permissions into a minimal set of roles that accurately represent business functions while enforcing least privilege.\n\n\n## When to Use\n\n- When deploying or configuring building role mining for rbac optimization capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Export of current user-permission assignments (CSV\u002Fdatabase)\n- Identity governance platform or directory service access\n- Python 3.9+ with pandas, scikit-learn, numpy\n- Understanding of organizational structure and job functions\n- Stakeholder access for role validation workshops\n\n## Core Concepts\n\n### Role Mining Approaches\n\n| Approach | Description | Best For |\n|----------|-------------|----------|\n| Bottom-Up | Analyze existing permissions to discover common patterns | Large datasets with organic permission growth |\n| Top-Down | Design roles from business requirements and job descriptions | Greenfield RBAC or organizational restructuring |\n| Hybrid | Combine bottom-up analysis with top-down business validation | Most production environments |\n\n### Role Mining Algorithms\n\n**1. Permission Clustering**: Group users with similar permission sets using k-means or hierarchical clustering. Users in the same cluster share a common role.\n\n**2. Formal Concept Analysis (FCA)**: Mathematical framework that identifies complete set of concepts (user groups sharing exact permission sets) from a binary user-permission matrix.\n\n**3. Graph-Based Mining**: Model users and permissions as a bipartite graph, then find dense subgraphs representing candidate roles.\n\n**4. Boolean Matrix Decomposition**: Decompose the user-permission matrix U into U ≈ R × P where R maps users to roles and P maps roles to permissions.\n\n### Role Mining Metrics\n\n| Metric | Formula | Target |\n|--------|---------|--------|\n| Role Count | Total distinct roles after mining | Minimize |\n| Coverage | Permissions explained by mined roles \u002F Total permissions | > 95% |\n| Weighted Structural Complexity (WSC) | Sum of role-user + role-permission assignments | Minimize |\n| Deviation | Extra permissions not covered by assigned roles | \u003C 5% |\n\n## Workflow\n\n### Step 1: Extract User-Permission Data\n\nCollect the current access state from all identity sources:\n\n```python\nimport pandas as pd\nimport numpy as np\n\n# Load user-permission assignments\n# Format: user_id, permission_id (one row per assignment)\nassignments = pd.read_csv(\"user_permissions.csv\")\n\n# Create binary user-permission matrix (UPA matrix)\nupa_matrix = assignments.pivot_table(\n    index=\"user_id\",\n    columns=\"permission_id\",\n    aggfunc=\"size\",\n    fill_value=0\n)\nupa_matrix = (upa_matrix > 0).astype(int)\n\nprint(f\"Users: {upa_matrix.shape[0]}\")\nprint(f\"Permissions: {upa_matrix.shape[1]}\")\nprint(f\"Assignments: {assignments.shape[0]}\")\nprint(f\"Density: {upa_matrix.values.sum() \u002F upa_matrix.size:.2%}\")\n```\n\n### Step 2: Bottom-Up Role Discovery Using Clustering\n\n```python\nfrom sklearn.cluster import AgglomerativeClustering\nfrom sklearn.metrics import silhouette_score\n\ndef find_optimal_clusters(matrix, max_k=50):\n    \"\"\"Find optimal number of roles using silhouette analysis.\"\"\"\n    scores = []\n    for k in range(2, min(max_k, matrix.shape[0])):\n        clustering = AgglomerativeClustering(\n            n_clusters=k, metric=\"jaccard\", linkage=\"average\"\n        )\n        labels = clustering.fit_predict(matrix)\n        score = silhouette_score(matrix, labels, metric=\"jaccard\")\n        scores.append((k, score))\n\n    optimal_k = max(scores, key=lambda x: x[1])[0]\n    return optimal_k, scores\n\ndef mine_roles_clustering(upa_matrix, n_clusters):\n    \"\"\"Mine roles using hierarchical clustering on Jaccard distance.\"\"\"\n    clustering = AgglomerativeClustering(\n        n_clusters=n_clusters, metric=\"jaccard\", linkage=\"average\"\n    )\n    user_matrix = upa_matrix.values\n    labels = clustering.fit_predict(user_matrix)\n\n    roles = {}\n    for cluster_id in range(n_clusters):\n        cluster_users = upa_matrix.index[labels == cluster_id]\n        cluster_permissions = upa_matrix.loc[cluster_users]\n\n        # Core role = permissions held by >80% of cluster members\n        permission_frequency = cluster_permissions.mean()\n        core_permissions = permission_frequency[permission_frequency >= 0.8].index.tolist()\n\n        roles[f\"Role_{cluster_id}\"] = {\n            \"permissions\": core_permissions,\n            \"user_count\": len(cluster_users),\n            \"users\": cluster_users.tolist(),\n            \"coverage\": permission_frequency[permission_frequency >= 0.8].mean()\n        }\n\n    return roles, labels\n```\n\n### Step 3: Formal Concept Analysis\n\n```python\ndef mine_roles_fca(upa_matrix, min_support=3):\n    \"\"\"Mine roles using Formal Concept Analysis (frequent closed itemsets).\"\"\"\n    from itertools import combinations\n\n    users = upa_matrix.index.tolist()\n    permissions = upa_matrix.columns.tolist()\n\n    concepts = []\n\n    # Find all maximal permission sets shared by at least min_support users\n    for size in range(len(permissions), 0, -1):\n        for perm_combo in combinations(permissions, size):\n            perm_set = set(perm_combo)\n            # Find users who have ALL permissions in this set\n            matching_users = []\n            for user in users:\n                user_perms = set(upa_matrix.columns[upa_matrix.loc[user] == 1])\n                if perm_set.issubset(user_perms):\n                    matching_users.append(user)\n\n            if len(matching_users) >= min_support:\n                # Check if this is a closed concept (no superset with same extent)\n                is_closed = True\n                for concept in concepts:\n                    if set(matching_users) == set(concept[\"users\"]) and \\\n                       perm_set.issubset(set(concept[\"permissions\"])):\n                        is_closed = False\n                        break\n\n                if is_closed:\n                    concepts.append({\n                        \"permissions\": list(perm_set),\n                        \"users\": matching_users,\n                        \"support\": len(matching_users)\n                    })\n\n        if len(concepts) > 100:  # Limit for performance\n            break\n\n    return concepts\n```\n\n### Step 4: Evaluate and Select Roles\n\n```python\ndef evaluate_role_set(roles, upa_matrix):\n    \"\"\"Evaluate the quality of a mined role set.\"\"\"\n    total_assignments = upa_matrix.values.sum()\n    covered_assignments = 0\n    extra_assignments = 0\n\n    for role_name, role_data in roles.items():\n        role_perms = set(role_data[\"permissions\"])\n        for user in role_data[\"users\"]:\n            user_perms = set(upa_matrix.columns[upa_matrix.loc[user] == 1])\n            covered = role_perms.intersection(user_perms)\n            extra = role_perms - user_perms\n            covered_assignments += len(covered)\n            extra_assignments += len(extra)\n\n    metrics = {\n        \"total_roles\": len(roles),\n        \"total_assignments\": total_assignments,\n        \"covered_assignments\": covered_assignments,\n        \"coverage_rate\": covered_assignments \u002F total_assignments if total_assignments else 0,\n        \"extra_permissions\": extra_assignments,\n        \"deviation_rate\": extra_assignments \u002F (covered_assignments + extra_assignments) if (covered_assignments + extra_assignments) else 0,\n        \"avg_role_size\": np.mean([len(r[\"permissions\"]) for r in roles.values()]),\n        \"avg_users_per_role\": np.mean([r[\"user_count\"] for r in roles.values()]),\n    }\n    return metrics\n```\n\n### Step 5: Business Validation\n\nAfter mining candidate roles:\n\n1. Map mined roles to business functions (department, job title)\n2. Conduct workshops with business unit managers to validate role definitions\n3. Identify outlier permissions that indicate misconfiguration\n4. Refine roles based on feedback and re-evaluate metrics\n5. Document role definitions with business justification\n\n## Validation Checklist\n\n- [ ] User-permission matrix extracted from all identity sources\n- [ ] Multiple mining algorithms compared (clustering, FCA)\n- [ ] Optimal role count determined via silhouette analysis or WSC\n- [ ] Coverage rate exceeds 95% of existing assignments\n- [ ] Deviation rate below 5% (minimal extra permissions)\n- [ ] Mined roles validated with business stakeholders\n- [ ] Role hierarchy defined (parent-child inheritance)\n- [ ] Exception\u002Foutlier permissions documented\n- [ ] Migration plan created for transitioning to new role model\n- [ ] Ongoing role governance process defined\n\n## References\n\n- [Role Mining: Optimizing RBAC - NIST](https:\u002F\u002Fcsrc.nist.gov\u002Fprojects\u002Frole-based-access-control)\n- [RBAC Standard - ANSI\u002FINCITS 359-2012](https:\u002F\u002Fwww.incits.org\u002F)\n- [Formal Concept Analysis for Role Engineering](https:\u002F\u002Flink.springer.com\u002Fchapter\u002F10.1007\u002F978-3-540-73070-6_7)\n- [scikit-learn Clustering Documentation](https:\u002F\u002Fscikit-learn.org\u002Fstable\u002Fmodules\u002Fclustering.html)\n","# Building Role Mining for RBAC Optimization\n\n## Overview\n\nRole mining is the process of analyzing existing user-permission assignments to discover optimal roles for a Role-Based Access Control (RBAC) system. Organizations accumulate excessive permissions over time through job changes, project assignments, and ad-hoc access grants, leading to \"role explosion\" where thousands of granular roles exist with significant overlap. Role mining uses data analysis -- including clustering algorithms, formal concept analysis, and graph-based methods -- to consolidate permissions into a minimal set of roles that accurately represent business functions while enforcing least privilege.\n\n\n## When to Use\n\n- When deploying or configuring building role mining for rbac optimization capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Export of current user-permission assignments (CSV\u002Fdatabase)\n- Identity governance platform or directory service access\n- Python 3.9+ with pandas, scikit-learn, numpy\n- Understanding of organizational structure and job functions\n- Stakeholder access for role validation workshops\n\n## Core Concepts\n\n### Role Mining Approaches\n\n| Approach | Description | Best For |\n|----------|-------------|----------|\n| Bottom-Up | Analyze existing permissions to discover common patterns | Large datasets with organic permission growth |\n| Top-Down | Design roles from business requirements and job descriptions | Greenfield RBAC or organizational restructuring |\n| Hybrid | Combine bottom-up analysis with top-down business validation | Most production environments |\n\n### Role Mining Algorithms\n\n**1. Permission Clustering**: Group users with similar permission sets using k-means or hierarchical clustering. Users in the same cluster share a common role.\n\n**2. Formal Concept Analysis (FCA)**: Mathematical framework that identifies complete set of concepts (user groups sharing exact permission sets) from a binary user-permission matrix.\n\n**3. Graph-Based Mining**: Model users and permissions as a bipartite graph, then find dense subgraphs representing candidate roles.\n\n**4. Boolean Matrix Decomposition**: Decompose the user-permission matrix U into U ≈ R × P where R maps users to roles and P maps roles to permissions.\n\n### Role Mining Metrics\n\n| Metric | Formula | Target |\n|--------|---------|--------|\n| Role Count | Total distinct roles after mining | Minimize |\n| Coverage | Permissions explained by mined roles \u002F Total permissions | > 95% |\n| Weighted Structural Complexity (WSC) | Sum of role-user + role-permission assignments | Minimize |\n| Deviation | Extra permissions not covered by assigned roles | \u003C 5% |\n\n## Workflow\n\n### Step 1: Extract User-Permission Data\n\nCollect the current access state from all identity sources:\n\n```python\nimport pandas as pd\nimport numpy as np\n\n# Load user-permission assignments\n# Format: user_id, permission_id (one row per assignment)\nassignments = pd.read_csv(\"user_permissions.csv\")\n\n# Create binary user-permission matrix (UPA matrix)\nupa_matrix = assignments.pivot_table(\n    index=\"user_id\",\n    columns=\"permission_id\",\n    aggfunc=\"size\",\n    fill_value=0\n)\nupa_matrix = (upa_matrix > 0).astype(int)\n\nprint(f\"Users: {upa_matrix.shape[0]}\")\nprint(f\"Permissions: {upa_matrix.shape[1]}\")\nprint(f\"Assignments: {assignments.shape[0]}\")\nprint(f\"Density: {upa_matrix.values.sum() \u002F upa_matrix.size:.2%}\")\n```\n\n### Step 2: Bottom-Up Role Discovery Using Clustering\n\n```python\nfrom sklearn.cluster import AgglomerativeClustering\nfrom sklearn.metrics import silhouette_score\n\ndef find_optimal_clusters(matrix, max_k=50):\n    \"\"\"Find optimal number of roles using silhouette analysis.\"\"\"\n    scores = []\n    for k in range(2, min(max_k, matrix.shape[0])):\n        clustering = AgglomerativeClustering(\n            n_clusters=k, metric=\"jaccard\", linkage=\"average\"\n        )\n        labels = clustering.fit_predict(matrix)\n        score = silhouette_score(matrix, labels, metric=\"jaccard\")\n        scores.append((k, score))\n\n    optimal_k = max(scores, key=lambda x: x[1])[0]\n    return optimal_k, scores\n\ndef mine_roles_clustering(upa_matrix, n_clusters):\n    \"\"\"Mine roles using hierarchical clustering on Jaccard distance.\"\"\"\n    clustering = AgglomerativeClustering(\n        n_clusters=n_clusters, metric=\"jaccard\", linkage=\"average\"\n    )\n    user_matrix = upa_matrix.values\n    labels = clustering.fit_predict(user_matrix)\n\n    roles = {}\n    for cluster_id in range(n_clusters):\n        cluster_users = upa_matrix.index[labels == cluster_id]\n        cluster_permissions = upa_matrix.loc[cluster_users]\n\n        # Core role = permissions held by >80% of cluster members\n        permission_frequency = cluster_permissions.mean()\n        core_permissions = permission_frequency[permission_frequency >= 0.8].index.tolist()\n\n        roles[f\"Role_{cluster_id}\"] = {\n            \"permissions\": core_permissions,\n            \"user_count\": len(cluster_users),\n            \"users\": cluster_users.tolist(),\n            \"coverage\": permission_frequency[permission_frequency >= 0.8].mean()\n        }\n\n    return roles, labels\n```\n\n### Step 3: Formal Concept Analysis\n\n```python\ndef mine_roles_fca(upa_matrix, min_support=3):\n    \"\"\"Mine roles using Formal Concept Analysis (frequent closed itemsets).\"\"\"\n    from itertools import combinations\n\n    users = upa_matrix.index.tolist()\n    permissions = upa_matrix.columns.tolist()\n\n    concepts = []\n\n    # Find all maximal permission sets shared by at least min_support users\n    for size in range(len(permissions), 0, -1):\n        for perm_combo in combinations(permissions, size):\n            perm_set = set(perm_combo)\n            # Find users who have ALL permissions in this set\n            matching_users = []\n            for user in users:\n                user_perms = set(upa_matrix.columns[upa_matrix.loc[user] == 1])\n                if perm_set.issubset(user_perms):\n                    matching_users.append(user)\n\n            if len(matching_users) >= min_support:\n                # Check if this is a closed concept (no superset with same extent)\n                is_closed = True\n                for concept in concepts:\n                    if set(matching_users) == set(concept[\"users\"]) and \\\n                       perm_set.issubset(set(concept[\"permissions\"])):\n                        is_closed = False\n                        break\n\n                if is_closed:\n                    concepts.append({\n                        \"permissions\": list(perm_set),\n                        \"users\": matching_users,\n                        \"support\": len(matching_users)\n                    })\n\n        if len(concepts) > 100:  # Limit for performance\n            break\n\n    return concepts\n```\n\n### Step 4: Evaluate and Select Roles\n\n```python\ndef evaluate_role_set(roles, upa_matrix):\n    \"\"\"Evaluate the quality of a mined role set.\"\"\"\n    total_assignments = upa_matrix.values.sum()\n    covered_assignments = 0\n    extra_assignments = 0\n\n    for role_name, role_data in roles.items():\n        role_perms = set(role_data[\"permissions\"])\n        for user in role_data[\"users\"]:\n            user_perms = set(upa_matrix.columns[upa_matrix.loc[user] == 1])\n            covered = role_perms.intersection(user_perms)\n            extra = role_perms - user_perms\n            covered_assignments += len(covered)\n            extra_assignments += len(extra)\n\n    metrics = {\n        \"total_roles\": len(roles),\n        \"total_assignments\": total_assignments,\n        \"covered_assignments\": covered_assignments,\n        \"coverage_rate\": covered_assignments \u002F total_assignments if total_assignments else 0,\n        \"extra_permissions\": extra_assignments,\n        \"deviation_rate\": extra_assignments \u002F (covered_assignments + extra_assignments) if (covered_assignments + extra_assignments) else 0,\n        \"avg_role_size\": np.mean([len(r[\"permissions\"]) for r in roles.values()]),\n        \"avg_users_per_role\": np.mean([r[\"user_count\"] for r in roles.values()]),\n    }\n    return metrics\n```\n\n### Step 5: Business Validation\n\nAfter mining candidate roles:\n\n1. Map mined roles to business functions (department, job title)\n2. Conduct workshops with business unit managers to validate role definitions\n3. Identify outlier permissions that indicate misconfiguration\n4. Refine roles based on feedback and re-evaluate metrics\n5. Document role definitions with business justification\n\n## Validation Checklist\n\n- [ ] User-permission matrix extracted from all identity sources\n- [ ] Multiple mining algorithms compared (clustering, FCA)\n- [ ] Optimal role count determined via silhouette analysis or WSC\n- [ ] Coverage rate exceeds 95% of existing assignments\n- [ ] Deviation rate below 5% (minimal extra permissions)\n- [ ] Mined roles validated with business stakeholders\n- [ ] Role hierarchy defined (parent-child inheritance)\n- [ ] Exception\u002Foutlier permissions documented\n- [ ] Migration plan created for transitioning to new role model\n- [ ] Ongoing role governance process defined\n\n## References\n\n- [Role Mining: Optimizing RBAC - NIST](https:\u002F\u002Fcsrc.nist.gov\u002Fprojects\u002Frole-based-access-control)\n- [RBAC Standard - ANSI\u002FINCITS 359-2012](https:\u002F\u002Fwww.incits.org\u002F)\n- [Formal Concept Analysis for Role Engineering](https:\u002F\u002Flink.springer.com\u002Fchapter\u002F10.1007\u002F978-3-540-73070-6_7)\n- [scikit-learn Clustering Documentation](https:\u002F\u002Fscikit-learn.org\u002Fstable\u002Fmodules\u002Fclustering.html)\n",{"name":5,"tags":24,"author":31,"domain":32,"license":14,"version":33,"nist_csf":34,"subdomain":39,"description":7,"mitre_attack":40},[25,26,27,28,29,30],"rbac","role-mining","identity-governance","access-control","least-privilege","clustering","mahipal","cybersecurity","1.0",[35,36,37,38],"PR.AA-01","PR.AA-02","PR.AA-05","PR.AA-06","identity-access-management",[41,42,43],"T1078","T1098","T1069","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill building-role-mining-for-rbac-optimization",{"tool":56,"command":57},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill building-role-mining-for-rbac-optimization",{"tool":59,"command":60},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill building-role-mining-for-rbac-optimization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization\u002FSKILL.md",true,[64,70,74,80,84,88,94],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"assets\u002Ftemplate.md","ASSET","资产文件",1364,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization\u002Fassets\u002Ftemplate.md",{"path":71,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fapi-reference.md","REFERENCE","参考文档",1745,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization\u002Freferences\u002Fapi-reference.md",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fstandards.md",1686,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization\u002Freferences\u002Fstandards.md",{"path":85,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fworkflows.md",3002,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization\u002Freferences\u002Fworkflows.md",{"path":89,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fagent.py","SCRIPT","脚本",6539,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization\u002Fscripts\u002Fagent.py",{"path":95,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Fprocess.py",9486,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-role-mining-for-rbac-optimization\u002Fscripts\u002Fprocess.py",[99,107,114,121,128,135],{"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":103,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]