agentctl-cli

Manage AgentStack resources via a Cobra-based Go CLI with Viper configuration.

2|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/raphaelmansuy/k8s-agent-stack --skill agentctl-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentctl-cli
Source: https://github.com/raphaelmansuy/k8s-agent-stack/tree/main/archive/skills/agentctl-cli
Command: npx skills add https://github.com/raphaelmansuy/k8s-agent-stack --skill agentctl-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Build and maintain a robust command-line interface to manage authentication, projects, agents, and evaluations on AgentStack.

Core Features & Use Cases

  • CLI scaffolding: Structure with commands, subcommands, and flags.
  • Interactive prompts: Guided configuration and workflows.
  • Use Case: Automate frequent admin tasks (login, list agents, deploy) from a single CLI.

Quick Start

Run agentctl to authenticate, list projects, and manage agents from the terminal.

Frequently Asked Questions about agentctl-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a CLI tool in Go with Cobra and Viper?

Cobra provides command, subcommand, and flag scaffolding; Viper handles persistent configuration loading across sessions. Together they form the foundation for structured CLI applications with grouped commands and automatic config management.

Can I automate agent and project management from the terminal?

Yes. agentctl-cli exposes login, listing, creation, deployment, and evaluation workflows as terminal commands, letting you automate frequent admin tasks across local development and CI pipelines without manual intervention.

What output formats does a Go CLI support for agent data?

The CLI supports table, JSON, and YAML output formats, allowing you to parse agent and project information programmatically in pipelines or read it as human-friendly tables in interactive sessions.

How do I structure interactive prompts into a Go CLI workflow?

Interactive prompts guide users through configuration and decision trees within the CLI. Combined with command grouping and persistent flags, they enable both guided workflows and scriptable automation in the same tool.

Does a Go CLI handle authentication and session state?

Yes. agentctl-cli manages login workflows and persists authentication state via Viper's configuration layer, so credentials and tokens persist across CLI invocations without re-entering them each time.

Can I use progress indicators and error handling in a terminal CLI?

Yes. Go CLIs integrate progress indicators for long-running operations and structured error handling to surface clear failure messages, improving visibility in both interactive and CI automation contexts.