Headless Codex CLI Automation
XiaomiMiMo/MiMo-Code
Runs OpenAI Codex CLI as a non-interactive worker for CI, Docker, Kubernetes or remote servers, with sandbox modes and JSONL-friendly output.
Master defensive Bash programming techniques for production-grade scripts.
$ npx skills add promovaweb/setupvibe --skill bash-defensive-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install promovaweb/setupvibe bash-defensive-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/promovaweb/setupvibe.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/bash-defensive-patterns .claude/skills/bash-defensive-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "bash-defensive-patterns" agent skill from https://github.com/promovaweb/setupvibe/tree/main/.codex/skills/bash-defensive-patterns into .claude/skills/bash-defensive-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bash-defensive-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/promovaweb/setupvibe/tree/main/.codex/skills/bash-defensive-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add promovaweb/setupvibe --skill bash-defensive-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install promovaweb/setupvibe bash-defensive-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/promovaweb/setupvibe.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/bash-defensive-patterns .agents/skills/bash-defensive-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "bash-defensive-patterns" agent skill from https://github.com/promovaweb/setupvibe/tree/main/.codex/skills/bash-defensive-patterns into .agents/skills/bash-defensive-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bash-defensive-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add promovaweb/setupvibe --skill bash-defensive-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install promovaweb/setupvibe bash-defensive-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/promovaweb/setupvibe.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/bash-defensive-patterns .cursor/skills/bash-defensive-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "bash-defensive-patterns" agent skill from https://github.com/promovaweb/setupvibe/tree/main/.codex/skills/bash-defensive-patterns into .cursor/skills/bash-defensive-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bash-defensive-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/promovaweb/setupvibe.git --path .codex/skills/bash-defensive-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add promovaweb/setupvibe --skill bash-defensive-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install promovaweb/setupvibe bash-defensive-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/promovaweb/setupvibe.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/bash-defensive-patterns .gemini/skills/bash-defensive-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "bash-defensive-patterns" agent skill from https://github.com/promovaweb/setupvibe/tree/main/.codex/skills/bash-defensive-patterns into .gemini/skills/bash-defensive-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bash-defensive-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install promovaweb/setupvibe bash-defensive-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add promovaweb/setupvibe --skill bash-defensive-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/promovaweb/setupvibe.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/bash-defensive-patterns .github/skills/bash-defensive-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "bash-defensive-patterns" agent skill from https://github.com/promovaweb/setupvibe/tree/main/.codex/skills/bash-defensive-patterns into .github/skills/bash-defensive-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bash-defensive-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add promovaweb/setupvibe --skill bash-defensive-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install promovaweb/setupvibe bash-defensive-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/promovaweb/setupvibe.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/bash-defensive-patterns .opencode/skills/bash-defensive-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "bash-defensive-patterns" agent skill from https://github.com/promovaweb/setupvibe/tree/main/.codex/skills/bash-defensive-patterns into .opencode/skills/bash-defensive-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bash-defensive-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
bash-defensive-patternsMaster defensive Bash programming techniques for production-grade scripts.
Bash Defensive Patterns is an agent skill from promovaweb/setupvibe. Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.
Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `resources/implementation-playbook.md`).
It sits in DevOps & Cloud, covering Shell scripting and CI/CD. It works with Bash. The repository describes itself as: O script definitivo de configuração de ambiente de desenvolvimento multiplataforma. The licence is GPL-3.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e86a16d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Bash Defensive Patterns loads about 572 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 260 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from promovaweb/setupvibe at commit e86a16d, republished under its GPL-3.0 licence (© promovaweb). 260 words, ~572 tokens.
.claude/skills/bash-defensive-patterns/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Comprehensive guidance for writing production-ready Bash scripts using defensive programming techniques, error handling, and safety best practices to prevent common pitfalls and ensure reliability.
This is the Codex version of the skill.
rg and sed for repository inspection.apply_patch for manual script edits.exec_command for ShellCheck, syntax checks, and targeted script runs..claude/skills/bash-defensive-patterns.Refer to resources/implementation-playbook.md for detailed patterns, checklists, and templates.
resources/implementation-playbook.md for detailed patterns, checklists, and templates.Ao criar ou modificar qualquer arquivo .md, você DEVE invocar a skill /markdown-format antes de concluir a tarefa. As regras de formatação estão em MARKDOWN.md. Esta regra é inegociável e se aplica a qualquer skill, independente do seu escopo.
© promovaweb, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .codex/skills/bash-defensive-patterns of promovaweb/setupvibe.
Open the folder on GitHubat commit e86a16d
We found 30 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 13 other GitHub owners. This page covers the copy in promovaweb/setupvibe, which our catalogue first saw on October 7, 2026.
Bash Defensive Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Bash Defensive Patterns this skillpromovaweb/setupvibe | 101 | 13 repos | ~572 | Automated safety check: Pass | GPL-3.0 | |
| Headless Codex CLI AutomationXiaomiMiMo/MiMo-Code | 14k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Bats Shell Testing Patternswshobson/agents | 40k | 11 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Shell Scriptingancoleman/ai-design-components | 526 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Shellpproenca/dot-skills | 214 | — | ~1.9k | Automated safety check: Pass | MIT | |
| ShellCheck Configurationwshobson/agents | 40k | 10 repos | ~403 | Automated safety check: Pass | MIT |
XiaomiMiMo/MiMo-Code
Runs OpenAI Codex CLI as a non-interactive worker for CI, Docker, Kubernetes or remote servers, with sandbox modes and JSONL-friendly output.
wshobson/agents
Writes unit tests for shell scripts with Bats: error-condition tests, fixtures and mocks, cross-shell checks, parallel runs, helper files and CI integration.
ancoleman/ai-design-components
Write robust, portable shell scripts with proper error handling, argument parsing, and testing.
pproenca/dot-skills
Shell scripting best practices for writing safe, portable, and maintainable bash/sh scripts.
wshobson/agents
Master ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or…
PackmindHub/packmind
Diagnose a failed, stuck, or never-triggered CI run on a GitHub PR, apply a local fix if possible, push it, and document the result in a single running PR comment.
promovaweb/setupvibe
Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.
promovaweb/setupvibe
Master of defensive Bash scripting for production automation, CI/CD pipelines, and system utilities.
promovaweb/setupvibe
Enforce and apply SetupVibe Markdown formatting standards when creating or editing any .md file in the repository.
promovaweb/setupvibe
Workflow mestre para gestão de documentação do SetupVibe. An agent skill from promovaweb/setupvibe.
promovaweb/setupvibe
Workflow mestre para gestão de documentação do SetupVibe. An agent skill from promovaweb/setupvibe.
promovaweb/setupvibe
Gerencia entradas no CHANGELOG.md seguindo Keep a Changelog.
Works with
Categories
Master defensive Bash programming techniques for production-grade scripts. Bash Defensive Patterns is an agent skill from promovaweb/setupvibe. Master defensive Bash programming techniques for production-grade scripts.
Bash Defensive Patterns fits situations like: writing robust shell scripts; CI/CD pipelines; system utilities requiring fault tolerance and safety.
Run `npx skills add promovaweb/setupvibe --skill bash-defensive-patterns -a claude-code`. Or copy the skill folder (.codex/skills/bash-defensive-patterns in promovaweb/setupvibe) into .claude/skills/bash-defensive-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add promovaweb/setupvibe --skill bash-defensive-patterns -a codex`. Or copy the skill folder (.codex/skills/bash-defensive-patterns in promovaweb/setupvibe) into .agents/skills/bash-defensive-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add promovaweb/setupvibe --skill bash-defensive-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bash-defensive-patterns, .gemini/skills/bash-defensive-patterns, .github/skills/bash-defensive-patterns and .opencode/skills/bash-defensive-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Bash Defensive Patterns is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Bash Defensive Patterns is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 572 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Bash Defensive Patterns: Headless Codex CLI Automation (XiaomiMiMo/MiMo-Code, 14k stars), Bats Shell Testing Patterns (wshobson/agents, 40k stars), Shell Scripting (ancoleman/ai-design-components, 526 stars) and Shell (pproenca/dot-skills, 214 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
promovaweb (a GitHub organization) maintains it in promovaweb/setupvibe, which has 101 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on August 21, 2026.
Source: promovaweb/setupvibe on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.