swe-cli-skills

Provides expert CLI workflow guides covering 23 command-line tools across cloud, containers, and databases.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/lsongdev/skills --skill swe-cli-skills-lsongdev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: swe-cli-skills
Source: https://github.com/lsongdev/skills/tree/main/swe-cli-skills
Command: npx skills add https://github.com/lsongdev/skills --skill swe-cli-skills-lsongdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI coding agents generate CLI commands that look correct but fail in production due to flag ordering traps, missing safety checks, interactive prompts that hang without a TTY, and silent misconfigurations. This Skill encodes senior-engineer operational knowledge so agents execute CLI tasks safely and correctly. ## Core Features & Use Cases - 23 Expert CLI Guides: Covers AWS, gcloud, Azure, Terraform, Docker, kubectl, Helm, Git, GitHub CLI, jq, curl, SSH, sed, make, npm, pip/uv, psql, redis-cli, Stripe, Sentry, Vercel, Firebase, and flyctl across 9 categories. - Structured Guide Format: Each guide includes Setup & Auth, Core Workflows, Flag Gotchas, Error Patterns, Anti-Patterns, Composability, and Agent Constraints sections with wrong/right command markers. - Token-Efficient Loading: A category sub-index architecture lets the agent load only the single relevant guide (~200-400 lines) instead of the entire library. - Use Case: When an agent needs to sync files to S3, it loads the AWS guide and correctly orders --exclude "*" before --include "*.json", avoiding the silent data-loss bug caused by reversed filter order. ## Quick Start Ask your agent to perform a CLI task such as deploying with Terraform or debugging a Kubernetes pod, and it will load the matching guide from the skills directory before executing commands.

Frequently Asked Questions about swe-cli-skills

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

FAQPage Schema
How do I prevent AI agents from running dangerous CLI commands?▼

Load CLI workflow guides that encode safety guardrails, such as verifying kubectl context before apply, backing up Terraform state before import, and using dry-run flags before destructive S3 operations. Each guide lists anti-patterns with safe alternatives.

What CLIs does this skill cover?▼

It covers 23 CLIs across 9 categories: AWS, gcloud, Azure, Terraform, Docker, kubectl, Helm, Git, GitHub CLI, jq, curl, SSH, sed, make, npm, pip/uv, psql, redis-cli, Stripe, Sentry, Vercel, Firebase, and flyctl.

How do I run interactive CLI commands in an AI agent without a TTY?▼

Each guide includes an Agent Constraints section with non-interactive alternatives, such as GIT_SEQUENCE_EDITOR for rebase, BatchMode=yes for SSH, --quiet for gcloud, and token-based auth for gh instead of interactive login prompts.

Which AI coding agents support this skill?▼

Any agent supporting the SKILL.md standard works, including Claude Code, OpenAI Codex, Gemini CLI, GitHub Copilot, Cursor, Windsurf, AdaL, Aider, and OpenCode. Install by cloning the repo into the agent's skills directory.

Why does aws s3 sync upload nothing with include and exclude flags?▼

AWS applies filters left-to-right, so placing --include before --exclude "*" causes the exclude to override everything. Put --exclude "*" first, then --include patterns, and verify with --dryrun before syncing.