Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问clear审计异常

argocdcommandargocdcommand 命令行

Agent Skill

argocdcommand 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,032

周安装

43

GitHub Stars

61

下载量

344
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:argocdcommand(argocdcommand 命令行)
来源仓库:https://github.com/julianobarbosa/claude-code-skills
仓库路径:skills/argocdcommand
安装命令:
npx skills add https://github.com/julianobarbosa/claude-code-skills --skill ArgoCdCommand
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/julianobarbosa/claude-code-skills --skill ArgoCdCommand

简介

argocdcommand 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 提供 cafehyna-hub 集群的完整 ArgoCD CLI 交互能力,支持 port-forward 和 kubeconfig 设置。
  • 包含常用别名和命令速查,简化多环境操作复杂度。
  • 安装命令为 npx skills add https://github.com/julianobarbosa/claude-code-skills --skill ArgoCdCommand。
  • 需设置正确的 KUBECONFIG 路径,否则可能导致认证失败或操作错误集群。

SKILL.md

ArgoCdCommand

Complete ArgoCD CLI interaction skill for the cafehyna-hub cluster at argocd.cafehyna.com.br or via port-forward at localhost:8080.

Cluster Configuration

SettingValue
Kubeconfig~/.kube/aks-rg-hypera-cafehyna-hub-config
ArgoCD Serverargocd.cafehyna.com.br
ArgoCD Namespaceargocd
Port-Forwardlocalhost:8080

Environment Setup

# Set kubeconfig for cafehyna-hub
export KUBECONFIG=~/.kube/aks-rg-hypera-cafehyna-hub-config

# Or use --kubeconfig flag
kubectl --kubeconfig ~/.kube/aks-rg-hypera-cafehyna-hub-config get pods -n argocd

Aliases (Recommended)

# Add to ~/.bashrc or ~/.zshrc
alias k-hub='kubectl --kubeconfig ~/.kube/aks-rg-hypera-cafehyna-hub-config'
alias argocd-hub='KUBECONFIG=~/.kube/aks-rg-hypera-cafehyna-hub-config argocd'

Connection Modes

ModeServerUse Case
Productionargocd.cafehyna.com.brDirect access to ArgoCD
Port-Forwardlocalhost:8080Local development/debugging

Workflow Routing

WorkflowTriggerFile
Login"login to argocd", "authenticate"Workflows/Login.md
AppManage"create app", "delete app", "sync app", "app status"Workflows/AppManage.md
AppSetManage"create applicationset", "appset", "generate apps"Workflows/AppSetManage.md
ClusterManage"add cluster", "list clusters", "remove cluster"Workflows/ClusterManage.md
RepoManage"add repo", "list repos", "remove repository"Workflows/RepoManage.md
ProjectManage"create project", "list projects", "project settings"Workflows/ProjectManage.md
Troubleshoot"app logs", "diff", "rollback", "history"Workflows/Troubleshoot.md

Quick Reference

Authentication

# Login to production (with kubeconfig set)
export KUBECONFIG=~/.kube/aks-rg-hypera-cafehyna-hub-config
argocd login argocd.cafehyna.com.br --sso

# Login via port-forward
kubectl --kubeconfig ~/.kube/aks-rg-hypera-cafehyna-hub-config port-forward svc/argocd-server -n argocd 8080:443 &
argocd login localhost:8080 --insecure

Common Operations

# List applications
argocd app list

# Sync application
argocd app sync <app-name>

# Get app details
argocd app get <app-name>

# List applicationsets
argocd appset list

kubectl Commands (cafehyna-hub)

# Get ArgoCD pods
kubectl --kubeconfig ~/.kube/aks-rg-hypera-cafehyna-hub-config get pods -n argocd

# Get applications (CRD)
kubectl --kubeconfig ~/.kube/aks-rg-hypera-cafehyna-hub-config get applications -n argocd

# Get applicationsets (CRD)
kubectl --kubeconfig ~/.kube/aks-rg-hypera-cafehyna-hub-config get applicationsets -n argocd

# Get ArgoCD server logs
kubectl --kubeconfig ~/.kube/aks-rg-hypera-cafehyna-hub-config logs -n argocd -l app.kubernetes.io/name=argocd-server -f

Tools

ToolPurposeFile
ArgoCdCliExecute argocd commands with connection handlingTools/ArgoCdCli.ts

Examples

Example 1: Sync an application

User: "Sync the grafana application in ArgoCD"
→ Invokes AppManage workflow
→ Runs: argocd app sync grafana
→ Reports sync status and health

Example 2: Create ApplicationSet

User: "Create an applicationset for the monitoring stack"
→ Invokes AppSetManage workflow
→ Guides through appset creation with multi-source pattern
→ Applies via: argocd appset create -f appset.yaml

Example 3: Check application logs

User: "Show me logs for the failing defectdojo app"
→ Invokes Troubleshoot workflow
→ Runs: argocd app logs defectdojo --follow
→ Displays pod logs for debugging

Example 4: Add new cluster

User: "Register the new dev cluster with ArgoCD"
→ Invokes ClusterManage workflow
→ Runs: argocd cluster add <context-name>
→ Confirms cluster registration

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.85%
按下载量换算96

OpenCode

24.04%
按下载量换算83

Gemini CLI

18.29%
按下载量换算63

Antigravity

11.19%
按下载量换算38

Codex

7.12%
按下载量换算24

Cursor

3.21%
按下载量换算11

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills