manage-artifacts
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "manage-artifacts":https://skillpi.com/zh/skills/deepskill-4bd64d1204d9b8d37c5e73143eae6c80d947b6be8d59268b563b9beaa6678598。安装前核对上游来源和版本:https://github.com/harness/harness-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
通过 MCP 管理 Harness 制品仓库(AR):配置 Docker、Helm、Maven、npm 和 PyPI 的私有仓库,设置上游代理缓存公共镜像,配置 RBAC 和跨区域复制,并定义制品安全扫描策略(包括 CVE 阈值和许可证合规检查)。用于设置制品仓库或配置制品安全与复制。不要用于创建外部仓库连接器。
介绍来源: third_party · harness · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 来源文档未说明。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: manage-artifacts
description: >-
Manage Harness Artifact Registry (AR) via MCP. Configure private registries for Docker, Helm,
Maven, npm, and PyPI artifacts, set up upstream proxies for caching public images, configure
RBAC and cross-region replication, and define security scanning policies with CVE thresholds
and license compliance checks. Use when asked to set up an artifact registry, configure Docker
or Helm repositories, manage artifact security scanning, or set up replication. Do NOT use
for creating connectors to external registries (use create-connector instead). Trigger phrases:
artifact registry, docker registry, helm repository, artifact security, image scanning,
private registry, artifact replication, CVE threshold, license compliance, SBOM.
metadata:
author: Harness
version: 1.0.0
mcp-server: harness-mcp-v2
license: Apache-2.0
compatibility: Requires Harness MCP v2 server (harness-mcp-v2)Manage Artifacts
Configure private artifact registries, security scanning policies, and cross-region replication in Harness Artifact Registry.
Instructions
Step 1: Establish Scope
Confirm the user's org, project, and artifact format requirements.
Call MCP tool: harness_list
Parameters:
resource_type: "project"
org_id: "<organization>"
Step 2: Identify the AR Task
Determine which workflow the user needs:
- Private Registry Setup -- Docker, Helm, Maven, npm, PyPI repositories with RBAC
- Security Scanning Policy -- Vulnerability scanning with CVE thresholds and license checks
Step 3: Configure Private Registry
Gather from the user:
- Artifact formats to support (Docker, Helm, Maven, npm, PyPI)
- Upstream proxy preferences (Docker Hub, ECR Public, GCR)
- Image signing requirements (Cosign, Notary, none)
- Multi-architecture support needs
Docker Registry:
- Repository name and upstream proxy configuration
- Image signing with Cosign or Notary v2
- Multi-arch support (amd64 + arm64)
Helm Chart Repository:
- Chart validation on push
- Dependency resolution enabled
Additional Formats (Maven, npm, PyPI):
- Separate repositories per format
- Snapshot/release policies
- Upstream proxies for public registries
Access Controls:
- Read access: all developers in the org scope
- Push access: CI/CD service accounts only (no personal credentials)
- Admin: platform team
- LDAP/SAML integration with identity provider
Replication:
- Primary region with replication to secondary regions
- Configurable sync interval (real-time, 15 minutes, hourly, daily)
Step 4: Configure Security Scanning Policies
Gather from the user:
- Artifact types to scan
- Security scanner (Aqua Trivy, Snyk, Grype, Prisma Cloud)
- CVE severity thresholds (block on CRITICAL and HIGH above N)
Configure scanning policies:
- Scan on push and periodic rescans for stored artifacts
- Block download if critical or high CVE count exceeds thresholds
- License compliance: block artifacts with disallowed licenses (GPL-3.0, AGPL)
- SBOM generation: auto-generate CycloneDX or SPDX on every scan
- Exemption workflow: security team can approve specific CVEs with expiry dates
Call MCP tool: harness_create
Parameters:
resource_type: "pipeline"
org_id: "<organization>"
project_id: "<project>"
body:
pipeline:
name: "artifact-security-scan"
identifier: "artifact_security_scan"
stages:
- stage:
name: Scan
type: SecurityTests
spec:
# vulnerability scanning step
- stage:
name: Policy Gate
type: Approval
spec:
# block if thresholds exceeded
Examples
- "Set up a private Docker registry for our team" -- Configure Docker repository with upstream proxy and RBAC
- "Add Helm chart repository to our artifact registry" -- Configure Helm repo with chart validation
- "Configure vulnerability scanning for our container images" -- Set up scanning with CVE thresholds and license checks
- "Set up cross-region replication for our artifacts" -- Configure primary and replica regions with sync interval
- "Block images with critical CVEs from being deployed" -- Create security scanning policy with severity gates
Performance Notes
- Upstream proxies significantly reduce build times by caching public images locally -- enable for all formats.
- Security scanning on push adds latency to the push operation -- consider async scanning for large images.
- Cross-region replication increases storage costs linearly -- only replicate to regions where artifacts are consumed.
- Image signing adds a verification step to every pull -- ensure signing infrastructure is highly available.
Troubleshooting
Push Rejected by Security Policy
- Check the scan results for specific CVEs that triggered the block
- Use the exemption workflow to approve known false positives
- Verify the CVE threshold is not set too low for the artifact's dependency tree
Replication Lag
- Check network connectivity between primary and replica regions
- Verify the sync interval is appropriate for the artifact volume
- Large artifacts (multi-GB images) may need a longer sync window
Registry Authentication Failures
- Verify the service account has push permissions in the target repository
- Check that LDAP/SAML integration is syncing correctly
- Ensure Docker login credentials are not expired
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 企业级制品仓库全生命周期管理能力
- 支持多格式(Docker/Helm/Maven/npm/PyPI)与高级特性(安全扫描/RBAC/跨区域复制)
- 面向 DevOps 高频刚需场景,显著提升制品治理效率
亮点
- 触发描述完整覆盖核心场景与边界
- 10个精准触发短语,边界清晰不易误触
- 明确排除 create-connector 相关功能
亮点
- 四步式清晰执行流程(Scope→Task→Config→Policy)
- 包含5个典型端到端示例
- frontmatter 完整,文档结构规范
亮点
- MCP工具调用规范,参数结构正确
- Troubleshooting覆盖主要异常场景
- 安全策略具备豁免审批机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 68, 143 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。