swe-cli-skills

March 24, 2026 Β· View on GitHub

man pages for machines πŸ€–

Your agent knows the commands. We teach it the workflows.

swe-cli-skills is an open-source skill that gives AI coding agents senior-engineer-level CLI expertise. It covers 23 CLIs across 9 categories β€” not just flag syntax, but operational workflows, safety guardrails, gotchas, error recovery, and composition patterns.

One skill. Twenty-three CLIs. Every coding agent.


⚑ Install in 30 Seconds

npx (skills CLI)

npx skills add SylphAI-Inc/swe-cli-skills

Downloads and configures the skill for your AI agent. Works with AdaL, Claude Code, Codex, Gemini CLI, GitHub Copilot, Cursor, Windsurf, and more.

AdaL Plugin Marketplace

# Add the marketplace (one-time)
/plugin marketplace add SylphAI-Inc/swe-cli-skills

# Install the skill
/plugin install swe-cli-skills@swe-cli-skills

Manual Install (per agent)

AdaL
# Project-level (recommended)
git clone https://github.com/SylphAI-Inc/swe-cli-skills.git .adal/skills/swe-cli-skills

# Personal (available in all projects)
git clone https://github.com/SylphAI-Inc/swe-cli-skills.git ~/.adal/skills/swe-cli-skills
Claude Code
cd your-project
git clone https://github.com/SylphAI-Inc/swe-cli-skills.git .claude/skills/swe-cli-skills
Codex / OpenAI Agents
git clone https://github.com/SylphAI-Inc/swe-cli-skills.git .codex/skills/swe-cli-skills
Gemini CLI
git clone https://github.com/SylphAI-Inc/swe-cli-skills.git .gemini/skills/swe-cli-skills
GitHub Copilot
git clone https://github.com/SylphAI-Inc/swe-cli-skills.git .github/skills/swe-cli-skills
Cursor / Windsurf / Any SKILL.md Agent
git clone https://github.com/SylphAI-Inc/swe-cli-skills.git <agent-skills-dir>/swe-cli-skills

🎯 Why This Exists

AI coding agents generate CLI commands that look right but fail in production:

# Your agent generates this (WRONG):
aws s3 sync . s3://bucket --include "*.json" --exclude "*"
# Syncs NOTHING β€” filters are applied left-to-right

# With swe-cli-skills loaded, it generates this (CORRECT):
aws s3 sync . s3://bucket --exclude "*" --include "*.json"
# Your agent runs this (DANGEROUS):
terraform import aws_s3_bucket.logs my-app-logs
# No state backup, no lock, no plan after β€” drift goes undetected

# With swe-cli-skills loaded:
terraform state pull > backup-$(date +%Y%m%d).tfstate
terraform import -lock=true aws_s3_bucket.logs my-app-logs
terraform plan  # Always verify after import
# Your agent tries this (HANGS):
git rebase -i HEAD~3
# No TTY available β€” agent is stuck forever

# With swe-cli-skills loaded:
GIT_SEQUENCE_EDITOR="sed -i 's/pick/squash/2'" git rebase -i HEAD~3

The pattern: Models know CLI syntax. They don't know CLI wisdom.


πŸ“š What's Included

One SKILL.md entry point β†’ 9 categories β†’ 23 expert CLI guides:

☁️ Cloud

CLIGuideWhat You Get
AWS CLIskills/cloud/aws.mdS3 filter ordering, JMESPath queries, IAM auth, Lambda workflows
gcloudskills/cloud/gcloud.mdGCP project/config, GKE, Cloud Run, IAM, logging & monitoring
Azure CLIskills/cloud/azure.mdResource groups, AKS, App Service, RBAC, ARM deployments

πŸ—οΈ Infrastructure as Code

CLIGuideWhat You Get
Terraformskills/iac/terraform.mdSafe import, state management, plan-before-apply, workspace migration

🐳 Containers & Orchestration

CLIGuideWhat You Get
Dockerskills/containers/docker.mdBuild cache optimization, compose v2, cleanup, multi-arch builds
kubectlskills/containers/kubectl.mdContext safety, namespace gotchas, rollout/rollback, pod debugging
Helmskills/containers/helm.mdValues precedence, upgrade resets, release state, chart debugging

πŸ”€ Git & Version Control

CLIGuideWhat You Get
Gitskills/git-vcs/git.mdNon-interactive rebase/merge, conflict resolution, TTY workarounds
GitHub CLIskills/git-vcs/gh.mdPR workflows, issue management, releases, Actions inspection

πŸ› οΈ Dev Tools

CLIGuideWhat You Get
jqskills/dev-tools/jq.mdselect vs map, array ops, shell variable injection, composition
curlskills/dev-tools/curl.mdAuth headers, multipart uploads, response debugging, API patterns
SSH/SCPskills/dev-tools/ssh.mdTunnel direction, ProxyJump, key management, BatchMode for agents
sedskills/dev-tools/sed.mdStream editing, in-place substitution, macOS vs Linux portability
makeskills/dev-tools/make.mdBuild automation, Makefile patterns, phony targets, tab-vs-spaces

πŸ“¦ Package Managers

CLIGuideWhat You Get
npmskills/package-managers/npm.mdDependency management, scripts, workspaces, publishing, lockfiles
pip & uvskills/package-managers/pip-uv.mdVirtual envs, dependency resolution, uv acceleration, constraints

πŸ—„οΈ Databases

CLIGuideWhat You Get
psqlskills/databases/psql.mdConnection strings, non-interactive queries, backup/restore, meta-commands
redis-cliskills/databases/redis.mdConnection, key operations, debugging, persistence, cluster management

πŸš€ Platforms & Services

CLIGuideWhat You Get
Stripe CLIskills/platforms/stripe.mdWebhook testing, API debugging, fixtures, payment flow testing
Sentry CLIskills/platforms/sentry.mdRelease management, sourcemap uploads, deploy tracking
Vercel CLIskills/platforms/vercel.mdDeployments, env vars, serverless functions, domains
Firebase CLIskills/platforms/firebase.mdHosting deploy, Firestore rules, auth emulators, Cloud Functions
flyctlskills/platforms/fly.mdApp deployment, scaling, secrets, regions, Machines API

Each guide follows a consistent structure:

  1. Setup & Auth β€” Installation and credential configuration
  2. Core Workflows β€” The 20% of commands covering 80% of usage
  3. Flag Gotchas β€” Ordering traps, version quirks, surprising defaults
  4. Error Patterns β€” Real error messages β†’ real fixes
  5. Anti-Patterns β€” "Never do X because Y" with safe alternatives
  6. Composability β€” How to pipe this CLI with others (aws β†’ jq β†’ xargs)
  7. Agent Constraints β€” Non-interactive alternatives, TTY workarounds

🧠 How It Works

This repo is a single skill following the Agent Skills spec:

swe-cli-skills/
β”œβ”€β”€ SKILL.md                      ← Agent reads this first (index + quick reference)
└── skills/
    β”œβ”€β”€ cloud/
    β”‚   β”œβ”€β”€ INDEX.md              ← Category index
    β”‚   β”œβ”€β”€ aws.md
    β”‚   β”œβ”€β”€ gcloud.md
    β”‚   └── azure.md
    β”œβ”€β”€ iac/
    β”‚   β”œβ”€β”€ INDEX.md
    β”‚   └── terraform.md
    β”œβ”€β”€ containers/
    β”‚   β”œβ”€β”€ INDEX.md
    β”‚   β”œβ”€β”€ docker.md
    β”‚   β”œβ”€β”€ kubectl.md
    β”‚   └── helm.md
    β”œβ”€β”€ git-vcs/
    β”‚   β”œβ”€β”€ INDEX.md
    β”‚   β”œβ”€β”€ git.md
    β”‚   └── gh.md
    β”œβ”€β”€ dev-tools/
    β”‚   β”œβ”€β”€ INDEX.md
    β”‚   β”œβ”€β”€ jq.md
    β”‚   β”œβ”€β”€ curl.md
    β”‚   β”œβ”€β”€ ssh.md
    β”‚   β”œβ”€β”€ sed.md
    β”‚   └── make.md
    β”œβ”€β”€ package-managers/
    β”‚   β”œβ”€β”€ INDEX.md
    β”‚   β”œβ”€β”€ npm.md
    β”‚   └── pip-uv.md
    β”œβ”€β”€ databases/
    β”‚   β”œβ”€β”€ INDEX.md
    β”‚   β”œβ”€β”€ psql.md
    β”‚   └── redis.md
    └── platforms/
        β”œβ”€β”€ INDEX.md
        β”œβ”€β”€ stripe.md
        β”œβ”€β”€ sentry.md
        β”œβ”€β”€ vercel.md
        β”œβ”€β”€ firebase.md
        └── fly.md
  1. Your agent sees swe-cli-skills in its skill index (name + description)
  2. When a CLI task comes up, it reads SKILL.md (lightweight β€” just the index)
  3. It loads the specific CLI guide it needs (e.g., skills/iac/terraform.md)
  4. It executes with expert-level knowledge

Token-efficient by design β€” the agent only loads one guide (~200-400 lines) instead of the entire library.


πŸ”₯ Critical Gotchas Cheat Sheet

The highest-impact mistakes agents make β€” a taste of what's inside:

CLIGotchaImpact
AWS--include before --exclude = nothing syncedSilent data loss
Terraformterraform import without plan afterUndetected drift
DockerCOPY . . before RUN pip installCache busted every build
kubectlkubectl apply without context checkWrong cluster deployment
Helmhelm upgrade without --reuse-valuesConfig silently reset
Gitgit rebase -i in agent contextAgent hangs forever
SSHssh user@server without BatchMode=yesPassword prompt hang
jqselect() on array instead of map(select())Empty/wrong output
curl-d without -H "Content-Type: application/json"Sent as form data
ghgh pr create without --title/--body flagsInteractive prompt hang
psqlScript without -v ON_ERROR_STOP=1Errors silently ignored
RedisKEYS * in productionServer blocked, outage
gcloudNo --project in automationWrong project targeted
npmnpm install in CI/CDNon-reproducible builds
sedsed -i on macOS vs LinuxDifferent syntax, silent failure
makeSpaces instead of tabs in MakefileCryptic "missing separator" error
Stripestripe listen webhook secret changes on restartWebhook verification fails
SentrySourcemap --url-prefix mismatchSourcemaps silently don't apply
Vercelvercel without --prodDeploys preview, not production
Firebasefirebase deploy without --onlyDeploys everything at once
Fly.iofly secrets set one at a timeTriggers N redeploys instead of 1

🀝 Compatible Agents

Works with any agent that supports the SKILL.md standard:


πŸ“– Philosophy

  1. Workflows over reference β€” "Here's how to deploy safely" not "here's every flag"
  2. Opinionated β€” We encode senior engineer judgment, not neutral docs
  3. Agent-first, human-readable β€” Written for LLMs to parse, useful for humans too
  4. Composability-aware β€” Skills show how CLIs work together
  5. Version-tagged β€” Each guide declares which CLI version it targets
  6. Battle-tested patterns β€” Real gotchas from real production incidents

πŸ—ΊοΈ Roadmap

  • v0.1 β€” Core 10 CLIs (aws, terraform, docker, kubectl, helm, git, gh, jq, curl, ssh)
  • v0.2 β€” 16 CLIs with category sub-indexes (gcloud, azure, npm, pip/uv, psql, redis-cli)
  • v0.3 β€” 23 CLIs with platforms & expanded dev-tools (stripe, sentry, vercel, firebase, fly.io, sed, make)
  • v0.4 β€” rsync, mysql, mongo, yarn/pnpm, cargo, go, poetry, openssl
  • v1.0 β€” 30+ CLIs, community contributions, CI validation
  • Future β€” Version-specific skill variants, auto-update from changelogs

🀲 Contributing

Every skill you add helps thousands of AI agents operate more safely and effectively.

See CONTRIBUTING.md for the full guide.

Quick version:

  1. Create skills/<category>/your-cli.md following the guide structure
  2. Add an entry to the category INDEX.md
  3. Add an entry to SKILL.md and this README
  4. Open a PR

What makes a great skill: Opinionated workflows, real gotchas you've been burned by, actual error messages with actual fixes, and non-interactive alternatives for every interactive command.


πŸ“„ License

MIT β€” use these skills in any project, commercial or open-source.


⭐ Star this repo if your agent has ever kubectl apply'd to the wrong cluster.

Built by SylphAI β€” the team behind AdaL