/harness:manage-rolesfrom Harness DevOps
Manage Harness RBAC roles, assignments, permissions, and resource groups via MCP v2 tools. List, create, update, delete custom roles, and view assignments for users, groups, and service accounts.
Ships in Harness DevOps. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Manage Harness RBAC (Role-Based Access Control) via MCP v2 tools.
| Tool | Resource Type | Operations |
|---|---|---|
harness_list | role | List all roles |
harness_get | role | Get role details |
harness_create | role | Create custom role |
harness_update | role | Update custom role |
harness_delete | role | Delete custom role |
harness_list | role_assignment | List role assignments |
harness_get | role_assignment | Get assignment details |
harness_list | permission | List available permissions |
harness_get | permission | Get permission details |
harness_list | resource_group | List resource groups |
harness_get | resource_group | Get resource group details |
harness_describe | role | Discover role schema |
harness_search | -- | Search across role-related resources |
For built-in roles (account/org/project/module), resource groups, common permissions, and role assignment structure, consult references/builtin-roles.md.
Determine:
harness_list(
resource_type="role",
org_id="<org>", # optional
project_id="<project>", # optional
search_term="<keyword>" # optional
)
harness_list(
resource_type="role_assignment",
org_id="<org>",
project_id="<project>"
)
harness_list(resource_type="permission")
harness_create(
resource_type="role",
org_id="<org>",
project_id="<project>",
body={
"identifier": "custom_deployer",
"name": "Custom Deployer",
"description": "Can execute pipelines and view services",
"permissions": [
"core_pipeline_execute",
"core_pipeline_view",
"core_service_view",
"core_environment_view"
]
}
)
Identifier must match pattern: ^[a-zA-Z_][0-9a-zA-Z_]{0,127}$
harness_list(resource_type="resource_group", org_id="<org>", project_id="<project>")
/manage-roles
Show me all roles available in the payments project
/manage-roles
List all role assignments with admin privileges in the default org
/manage-roles
Create a custom role called "release-manager" that can execute pipelines,
view services and environments, but cannot edit anything
/manage-roles
What roles does [email protected] have across all projects?
/manage-roles
Show me all resource groups and what they include
{role}_{principal} for identifiers (e.g., deployer_ops_team)| Error | Cause | Solution |
|---|---|---|
| Role not found | Invalid role identifier | Built-in roles start with _ -- verify exact identifier |
| Resource group not found | Invalid resource group | Check harness_list(resource_type="resource_group") |
| Principal not found | User/group/SA does not exist | Verify the principal exists before assigning |
| Duplicate identifier | Role with same ID exists | Use a unique identifier or update the existing role |
| Permission denied | Caller lacks RBAC management permissions | Need core_role_view / core_role_edit permissions |
harness_get on the role)disabled: true_view permission is needed alongside _edit)core_role_edit to create/update rolescore_roleassignment_edit to manage assignmentsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
73 skills in this plugin
/ai-operationsConfigure Harness AI-powered operations (AIDA) via MCP. Set up predictive failure analysis with ML models for memory leaks, disk exhaustion, connection pool saturation, and latency degradation. Configure intelligent alert correlation and noise reduction to reduce alert volume. Use when asked to set up predictive failure analysis, configure AI-powered alerting, reduce alert noise, or enable ML-based anomaly detection. Do NOT use for pipeline debugging (use debug-pipeline instead) or SLO management (use manage-slos instead). Trigger phrases: AIDA, predictive failure, alert correlation, noise reduction, anomaly detection, AI ops, predictive analysis, alert fatigue, ML alerting, intelligent alerting./analyze-costsAnalyze cloud costs, find optimization opportunities, and track anomalies using Harness CCM via MCP. Use when user says "cloud costs", "analyze costs", "cost optimization", "reduce spending", "cost report", or asks about cloud bills./approve-exemptApprove pending Harness STO security exemptions (waivers) at their current scope or elevate them to Project, Org, or Account scope. Users say "approve" for both in-scope approval and higher-scope elevation — do not require the word "promote". Supports approving one exemption or a mixed list where each row has a different approval scope. Default workflow lists pending exemptions in chat (paginated preview) so the user picks by row number — no copying from the Harness UI. Use when a user wants to approve, sign off on, or clear pending exemptions, waive approvals, org-wide approval, or account-wide approval. Trigger phrases: approve exempt, approve exemption, approve waiver, sign off exemption, clear pending exemption, approve for org, approve for account, org-wide approval, account-wide approval, pending exemptions.npx claudepluginhub harness/harness-ai --plugin harnessOther plugins' skills for the same job