← ClaudeAtlas

chef-clilisted

Perform Chef configuration management operations using the knife and chef CLI tools. Use for inspecting nodes, cookbooks, roles, and environments on a Chef server.
abdullahkhawer/devops-skills · ★ 7 · DevOps & Infrastructure · score 78
Install: claude install-skill abdullahkhawer/devops-skills
# Chef CLI Skill Use the server/organization table and rules below when constructing all `knife`/`chef` commands. ## Configuration Update the table below with your Chef server organizations before using this skill: | Environment | Chef Server URL | Organization | Config File | |---|---|---|---| | Production | `<your-prod-chef-server-url>` | `<your-prod-org>` | `~/.chef/prod_knife.rb` | | Staging / Non-Prod | `<your-nonprod-chef-server-url>` | `<your-nonprod-org>` | `~/.chef/staging_knife.rb` | If the target environment is unclear, ask the user before running any command. ### Prerequisites (one-time setup by user) If `knife`/`chef` is not installed or no config exists, inform the user that setup is required and ask them to complete the following steps manually. Do not perform these steps yourself. ```bash brew install --cask chef-workstation knife configure --config-file <config-file> ``` ## Command Format Always pass `--config` explicitly — never rely on the default `~/.chef/knife.rb`, which may point to the wrong organization: ```bash knife <command> --config <config-file> [options] ``` ### Examples ```bash # Non-Prod knife node list --config ~/.chef/staging_knife.rb knife node show <node-name> --config ~/.chef/staging_knife.rb ``` ## Available Commands ### Read-only (safe, no confirmation needed) | Command | Description | |---|---| | `knife node list` / `knife node show <name>` | List or show node details | | `knife cookbook list` / `knife cookbook show <nam