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
| CLI | Guide | What You Get |
|---|---|---|
| AWS CLI | skills/cloud/aws.md | S3 filter ordering, JMESPath queries, IAM auth, Lambda workflows |
| gcloud | skills/cloud/gcloud.md | GCP project/config, GKE, Cloud Run, IAM, logging & monitoring |
| Azure CLI | skills/cloud/azure.md | Resource groups, AKS, App Service, RBAC, ARM deployments |
ποΈ Infrastructure as Code
| CLI | Guide | What You Get |
|---|---|---|
| Terraform | skills/iac/terraform.md | Safe import, state management, plan-before-apply, workspace migration |
π³ Containers & Orchestration
| CLI | Guide | What You Get |
|---|---|---|
| Docker | skills/containers/docker.md | Build cache optimization, compose v2, cleanup, multi-arch builds |
| kubectl | skills/containers/kubectl.md | Context safety, namespace gotchas, rollout/rollback, pod debugging |
| Helm | skills/containers/helm.md | Values precedence, upgrade resets, release state, chart debugging |
π Git & Version Control
| CLI | Guide | What You Get |
|---|---|---|
| Git | skills/git-vcs/git.md | Non-interactive rebase/merge, conflict resolution, TTY workarounds |
| GitHub CLI | skills/git-vcs/gh.md | PR workflows, issue management, releases, Actions inspection |
π οΈ Dev Tools
| CLI | Guide | What You Get |
|---|---|---|
| jq | skills/dev-tools/jq.md | select vs map, array ops, shell variable injection, composition |
| curl | skills/dev-tools/curl.md | Auth headers, multipart uploads, response debugging, API patterns |
| SSH/SCP | skills/dev-tools/ssh.md | Tunnel direction, ProxyJump, key management, BatchMode for agents |
| sed | skills/dev-tools/sed.md | Stream editing, in-place substitution, macOS vs Linux portability |
| make | skills/dev-tools/make.md | Build automation, Makefile patterns, phony targets, tab-vs-spaces |
π¦ Package Managers
| CLI | Guide | What You Get |
|---|---|---|
| npm | skills/package-managers/npm.md | Dependency management, scripts, workspaces, publishing, lockfiles |
| pip & uv | skills/package-managers/pip-uv.md | Virtual envs, dependency resolution, uv acceleration, constraints |
ποΈ Databases
| CLI | Guide | What You Get |
|---|---|---|
| psql | skills/databases/psql.md | Connection strings, non-interactive queries, backup/restore, meta-commands |
| redis-cli | skills/databases/redis.md | Connection, key operations, debugging, persistence, cluster management |
π Platforms & Services
| CLI | Guide | What You Get |
|---|---|---|
| Stripe CLI | skills/platforms/stripe.md | Webhook testing, API debugging, fixtures, payment flow testing |
| Sentry CLI | skills/platforms/sentry.md | Release management, sourcemap uploads, deploy tracking |
| Vercel CLI | skills/platforms/vercel.md | Deployments, env vars, serverless functions, domains |
| Firebase CLI | skills/platforms/firebase.md | Hosting deploy, Firestore rules, auth emulators, Cloud Functions |
| flyctl | skills/platforms/fly.md | App deployment, scaling, secrets, regions, Machines API |
Each guide follows a consistent structure:
- Setup & Auth β Installation and credential configuration
- Core Workflows β The 20% of commands covering 80% of usage
- Flag Gotchas β Ordering traps, version quirks, surprising defaults
- Error Patterns β Real error messages β real fixes
- Anti-Patterns β "Never do X because Y" with safe alternatives
- Composability β How to pipe this CLI with others (aws β jq β xargs)
- 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
- Your agent sees
swe-cli-skillsin its skill index (name + description) - When a CLI task comes up, it reads
SKILL.md(lightweight β just the index) - It loads the specific CLI guide it needs (e.g.,
skills/iac/terraform.md) - 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:
| CLI | Gotcha | Impact |
|---|---|---|
| AWS | --include before --exclude = nothing synced | Silent data loss |
| Terraform | terraform import without plan after | Undetected drift |
| Docker | COPY . . before RUN pip install | Cache busted every build |
| kubectl | kubectl apply without context check | Wrong cluster deployment |
| Helm | helm upgrade without --reuse-values | Config silently reset |
| Git | git rebase -i in agent context | Agent hangs forever |
| SSH | ssh user@server without BatchMode=yes | Password prompt hang |
| jq | select() on array instead of map(select()) | Empty/wrong output |
| curl | -d without -H "Content-Type: application/json" | Sent as form data |
| gh | gh pr create without --title/--body flags | Interactive prompt hang |
| psql | Script without -v ON_ERROR_STOP=1 | Errors silently ignored |
| Redis | KEYS * in production | Server blocked, outage |
| gcloud | No --project in automation | Wrong project targeted |
| npm | npm install in CI/CD | Non-reproducible builds |
| sed | sed -i on macOS vs Linux | Different syntax, silent failure |
| make | Spaces instead of tabs in Makefile | Cryptic "missing separator" error |
| Stripe | stripe listen webhook secret changes on restart | Webhook verification fails |
| Sentry | Sourcemap --url-prefix mismatch | Sourcemaps silently don't apply |
| Vercel | vercel without --prod | Deploys preview, not production |
| Firebase | firebase deploy without --only | Deploys everything at once |
| Fly.io | fly secrets set one at a time | Triggers N redeploys instead of 1 |
π€ Compatible Agents
Works with any agent that supports the SKILL.md standard:
- AdaL β Project/personal/plugin skills
- Claude Code β Plugin marketplace
- OpenAI Codex β Skills directory
- Gemini CLI β Agent skills
- GitHub Copilot β .github/skills
- Cursor β Custom instructions
- Windsurf β Agent skills
- Aider β Convention files
- OpenCode β Skills support
- Any agent that reads markdown instruction files
π Philosophy
- Workflows over reference β "Here's how to deploy safely" not "here's every flag"
- Opinionated β We encode senior engineer judgment, not neutral docs
- Agent-first, human-readable β Written for LLMs to parse, useful for humans too
- Composability-aware β Skills show how CLIs work together
- Version-tagged β Each guide declares which CLI version it targets
- 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:
- Create
skills/<category>/your-cli.mdfollowing the guide structure - Add an entry to the category
INDEX.md - Add an entry to
SKILL.mdand this README - 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