/harness:template-usagefrom Harness DevOps
Tracks Harness template dependencies, usage, and adoption via MCP v2 tools. Finds which pipelines reference a template, analyzes update impact, identifies unused templates, and compares version adoption across projects.
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.
Track template dependencies and usage across Harness via MCP v2 tools.
| Tool | Resource Type | Purpose |
|---|---|---|
harness_search | template | Find templates by keyword across orgs/projects |
harness_list | template | List templates, filter by scope |
harness_get | template | Get template details, versions, and usage references |
harness_describe | template | Discover template resource schema and fields |
Templates are managed via harness_list and harness_get only. For creating or updating templates, use the /create-template skill.
| Type | Description |
|---|---|
Step | Single step definition (build, test, deploy actions) |
Stage | Complete stage with steps (CI stage, CD stage, approval) |
Pipeline | Full pipeline definition |
StepGroup | Group of related steps bundled together |
| Scope | Visibility | Query Parameters |
|---|---|---|
| Account | All orgs and projects | No org_id, no project_id |
| Organization | All projects in the org | org_id only |
| Project | Only within the project | org_id + project_id |
Search by name or keyword:
harness_search(
query="docker-build-push",
resource_types=["template"],
max_per_type=10,
compact=true
)
Or list templates in a specific scope:
harness_list(
resource_type="template",
org_id="<org>",
project_id="<project>",
search_term="docker"
)
harness_get(
resource_type="template",
resource_id="<template_identifier>",
org_id="<org>",
project_id="<project>"
)
This returns the template definition, version history, and metadata.
harness_get(
resource_type="template",
resource_id="<template_identifier>",
org_id="<org>",
project_id="<project>"
)
Parse the response for referredEntities or usage data. The response includes which pipelines and other templates reference this template.
Organize findings into a report.
For report templates (Usage Report, Impact Analysis, Unused Templates), consult references/report-templates.md.
/template-usage
Which pipelines are using the docker-build-push template?
/template-usage
I want to make a breaking change to the k8s-deploy template. Show me what will be affected.
/template-usage
Which templates in our account have no references? I want to clean up.
/template-usage
Which version of the ci-stage template are different projects using?
/template-usage
Show me all usages of account-level templates across all projects
/template-usage
Show me the full dependency chain for the release-pipeline template --
what does it reference and what references it?
| Error | Cause | Solution |
|---|---|---|
| Template not found | Wrong identifier or scope | Verify identifier and use correct org_id/project_id for the template's scope |
| No usage data | Template genuinely unused or scope mismatch | Search at broader scope; account templates may be used in any project |
| Empty search results | No templates match query | Try broader search terms or list all templates |
harness_search with broader terms to find the template firstpage until all results are retrieved^[a-zA-Z_][0-9a-zA-Z_]{0,127}$What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub harness/harness-ai --plugin harness73 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.Other plugins' skills for the same job