---
title: "Push to HCP Packer registry: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/hashicorp-push-to-registry/
description: "Pins HashiCorp's Packer skill for pushing build metadata to an HCP Packer bucket, including the environment variables the build expects."
---

# Push to HCP Packer registry: review, setup & limitations · Undominated.ai

> Pins HashiCorp's Packer skill for pushing build metadata to an HCP Packer bucket, including the environment variables the build expects.

[← Explore all skills](/skills/)

INFRASTRUCTURE DEVELOPMENT / HashiCorp

# Push to HCP Packer registry

Pins HashiCorp's Packer skill for pushing build metadata to an HCP Packer bucket, including the environment variables the build expects.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/hashicorp/agent-skills/tree/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/push-to-registry)

SOURCE REVIEW

 Reviewed 2026-10-15
 Evidence 4 linked sources
 Publisher HashiCorp
 Licence [MPL-2.0 ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE)
 Revision f706481af9b8
 [Read what was—and wasn’t—checked ↓](#review)

“Push Packer build metadata to HCP Packer registry for tracking and managing image lifecycle. …”

 [HashiCorp · upstream description ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/push-to-registry/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - The catalogue has HashiCorp's aws-ami-builder Packer skill and not this HCP Packer registry skill.
- The file is explicit that the registry push records metadata rather than uploading the image bytes, and that a failed metadata push fails the Packer build.

### A good fit for

 - Adding an hcp_packer_registry block to a Packer template that should track image metadata in one stable bucket
- Place per-build provenance in immutable build labels rather than mutable bucket labels.

### Weigh up before choosing

 - This review did not execute the resource.
- The file says HCP Packer is free for basic use and that the metadata push adds less than one minute. Neither claim was checked against HCP pricing or a build.
- The basic template declares image_name, while a later snippet and the GitHub Actions example refer to var.git_commit, which that template does not declare.
- The README's single-skill path examples name terraform-style-guide and aws-ami-builder, not this file.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - plugins/packer/skills/push-to-registry/SKILL.md
- README.md
- LICENSE

### Our findings

 - The skill says builds push metadata only, not the image, and that Packer fails immediately if it cannot push that metadata.
- It requires HCP_CLIENT_ID, HCP_CLIENT_SECRET, HCP_ORGANIZATION_ID, and HCP_PROJECT_ID, and it tells the reader to grant the service principal Contributor on the project.
- The GitHub Actions example uses hashicorp/setup-packer@main, so the action tracks a branch rather than a commit, and it passes a git_commit variable the shown template does not declare.
- The registry configuration distinguishes bucket labels updated on each build from build labels that become immutable when the build finishes.

### Not established by this review

 - The resource was not executed and its tools were not called.
- Packer was not run.
- No HCP API call was made.
- The HCP Packer documentation links were not opened.
- Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md)

DOCUMENTED COMMAND

 claude plugin install packer@hashicorp Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - The README's Claude Code section installs the Packer plugin with the command above after claude plugin marketplace add hashicorp/agent-skills.
- That bundle is the Packer plugin, not a one-skill flag for push-to-registry.
- The README says every supported path is listed in SKILLS.md, which this review did not open.

### Before you start

 - A host that can install the HashiCorp Packer plugin or copy the skill directory
- Packer, if the template is built
- HCP service-principal credentials, which this review did not create

### Compatibility

Claude Code · GitHub Copilot · Cursor · Opencode · IBM Bob

### Implementation

hcl

### Skill text plus optional HCP credentials

 - Read the skill
- Push Packer build metadata to HCP only if the operator exports the named HCP variables
- Read an HCP Packer artifact from Terraform only in a separate configuration that this review did not apply

### Cost model

MPL-2.0; the skill's free-for-basic-use sentence was not checked

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [push-to-registry SKILL.md ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/push-to-registry/SKILL.md) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/push-to-registry/SKILL.md Supports: metadata-only push, required HCP variables, and the git_commit snippet
- [Repository README ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md Supports: Packer plugin install line and MPL-2.0 statement
- [Repository LICENSE ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE Supports: Mozilla Public License Version 2.0
- [Pinned continuation review C2-W43 ↗](https://raw.githubusercontent.com/hashicorp/agent-skills/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/push-to-registry/SKILL.md) Checked 2026-10-15 https://raw.githubusercontent.com/hashicorp/agent-skills/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/push-to-registry/SKILL.md Supports: review.findings, bestFor, upstreamDescription

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### AWS AMI builder ↗ Builds an AMI with Packer's amazon-ebs builder, filters the source AMI instead of hardcoding one, and warns that the build spends AWS money.](/skills/hashicorp-aws-ami-builder/)[### Infisical Terraform Provider ↗ Infisical skill for the Infisical Terraform provider: provider authentication, ephemeral secret reads, data sources, project roles, access approval policies and Terraform Cloud OIDC.](/skills/infisical-terraform/)[### Provider actions ↗ Guides Terraform Plugin Framework action registration, configuration and lifecycle-trigger integration.](/skills/hashicorp-provider-actions/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
