openshift-docs
20 / 100 · High risk
Only if you trust the author.
By openshift/agentic-skills (GitHub) · writing · 14 stars · scanned at commit 65b9aa3
Search and read OpenShift Container Platform documentation in markdown format. Use when the user asks about OpenShift features, configuration, installation, troubleshooting, or any OCP-specific topic — including operators, routes, services, oc, RBAC, networking, storage, or cluster administration.
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 46 places.
- documentation/openshift-docs/README.md, line 20
- [pandoc](https://pandoc.org/): `brew install pandoc` (macOS) or `apt install pandoc` (Linux) - documentation/openshift-docs/README.md, line 21
- pyyaml: `pip install -r requirements.txt` - documentation/openshift-docs/docs/4.22/applications/creating_applications/templates-using-ruby-on-rails.md, line 33
$ sudo yum install -y postgresql postgresql-server postgresql-devel
Show 17 more
- documentation/openshift-docs/docs/4.22/cicd/builds/creating-build-inputs.md, line 55
dockerfile: "FROM centos:7\nRUN yum install -y httpd" - documentation/openshift-docs/docs/4.22/cicd/builds/creating-build-inputs.md, line 80
dockerfile: "FROM centos:7\nRUN yum install -y httpd" - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 436
brew install bash-completion - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 438
brew install bash-completion@2 - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 2652
oc new-build -D $'FROM centos:7\nRUN yum install -y httpd' - documentation/openshift-docs/docs/4.22/hardware_enablement/kmm-kernel-module-management.md, line 898
RUN dnf update && dnf install -y kmod - documentation/openshift-docs/docs/4.22/hardware_enablement/kmm-kernel-module-management.md, line 1449
RUN yum -y install kmod && yum clean all - documentation/openshift-docs/docs/4.22/installing/install_config/installing-customizing.md, line 800
$ sudo yum install clevis - documentation/openshift-docs/docs/4.22/installing/installing_alibaba/installing-alibaba-assisted-installer.md, line 83
$ sudo dnf install -y qemu-img - documentation/openshift-docs/docs/4.22/installing/installing_ibm_cloud_classic/install-ibm-cloud-installation-workflow.md, line 62
$ sudo dnf install -y libvirt qemu-kvm mkisofs python3-devel jq ipmitool - documentation/openshift-docs/docs/4.22/installing/installing_ibm_cloud_classic/install-ibm-cloud-installation-workflow.md, line 265
$ sudo dnf install dnsmasq - documentation/openshift-docs/docs/4.22/installing/installing_openstack/installing-openstack-user.md, line 196
$ sudo dnf install ansible-collection-ansible-netcommon \ - documentation/openshift-docs/docs/4.22/installing/installing_openstack/uninstalling-cluster-openstack.md, line 26
- You installed the `core-installer` tool by entering the `sudo dnf install coreos-installer` command in your CLI. - documentation/openshift-docs/docs/4.22/installing/installing_openstack/uninstalling-openstack-user.md, line 62
$ sudo yum install python3-openstackclient ansible python3-openstacksdk - documentation/openshift-docs/docs/4.22/installing/installing_with_agent_based_installer/installing-using-iscsi.md, line 125
$ sudo dnf install /usr/bin/nmstatectl -y - documentation/openshift-docs/docs/4.22/installing/installing_with_agent_based_installer/installing-with-agent-based-installer.md, line 176
$ sudo dnf install /usr/bin/nmstatectl -y - documentation/openshift-docs/docs/4.22/installing/installing_with_agent_based_installer/prepare-pxe-assets-agent.md, line 87
$ sudo dnf install /usr/bin/nmstatectl -y
and 26 more places
Runs commands on your computer
The author does not mention this.
Found in 59 places.
- documentation/openshift-docs/SKILL.md, line 17
ls docs/ - documentation/openshift-docs/SKILL.md, line 26
cat docs/4.22/AGENTS.md - documentation/openshift-docs/convert.py, line 284
result = subprocess.run(
Show 17 more
- documentation/openshift-docs/convert.py, line 308
result = subprocess.run( - documentation/openshift-docs/docs/4.22/applications/pruning-objects.md, line 719
$ oc -n openshift-image-registry exec pod/image-registry-3-vhndw -- /bin/sh -c '/usr/bin/dockerregistry -prune=check' - documentation/openshift-docs/docs/4.22/applications/pruning-objects.md, line 725
$ oc -n openshift-image-registry exec pod/image-registry-3-vhndw -- /bin/sh -c 'REGISTRY_LOG_LEVEL=info /usr/bin/dockerregistry -prune=check' - documentation/openshift-docs/docs/4.22/applications/pruning-objects.md, line 757
$ oc -n openshift-image-registry exec pod/image-registry-3-vhndw -- /bin/sh -c '/usr/bin/dockerregistry -prune=delete' - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.md, line 1003
$ [[ -n $CA_CERT ]] && echo "$CA_CERT" | base64 -d | oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "cat > /tmp/your-cacert.txt" || echo "DPA BS - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.md, line 1023
$ oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "ls /tmp/your-cacert.txt" - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.md, line 783
$ [[ -n $CA_CERT ]] && echo "$CA_CERT" | base64 -d | oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "cat > /tmp/your-cacert.txt" || echo "DPA BS - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.md, line 803
$ oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "ls /tmp/your-cacert.txt" - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-gcp.md, line 496
$ [[ -n $CA_CERT ]] && echo "$CA_CERT" | base64 -d | oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "cat > /tmp/your-cacert.txt" || echo "DPA BS - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-gcp.md, line 516
$ oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "ls /tmp/your-cacert.txt" - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.md, line 425
$ [[ -n $CA_CERT ]] && echo "$CA_CERT" | base64 -d | oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "cat > /tmp/your-cacert.txt" || echo "DPA BS - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.md, line 445
$ oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "ls /tmp/your-cacert.txt" - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.md, line 384
$ [[ -n $CA_CERT ]] && echo "$CA_CERT" | base64 -d | oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "cat > /tmp/your-cacert.txt" || echo "DPA BS - documentation/openshift-docs/docs/4.22/backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.md, line 404
$ oc exec -n openshift-adp -i deploy/velero -c velero -- bash -c "ls /tmp/your-cacert.txt" - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 3519
oc set build-hook bc/mybuild --post-commit --command -- /bin/bash -c /var/lib/test-image.sh - documentation/openshift-docs/docs/4.22/edge_computing/image_based_upgrade/cnf-image-based-upgrade-base.md, line 548
$ unshare -m /bin/sh -c "mount -o remount,rw /sysroot && rm -rf /sysroot/ostree/deploy/${stateroot}" - documentation/openshift-docs/docs/4.22/edge_computing/image_based_upgrade/ztp-image-based-upgrade.md, line 958
$ unshare -m /bin/sh -c "mount -o remount,rw /sysroot && rm -rf /sysroot/ostree/deploy/${stateroot}"
and 39 more places
Sends data to these websites: repository.example.com, api.openshift.com, mirror.openshift.com, $(hostname, $thanos_querier_host
The author does not mention this.
Found in 189 places.
- documentation/openshift-docs/convert.py, line 715
' fetch(doc)\n' - documentation/openshift-docs/docs/4.22/ai_workloads/jobset_operator/managing-jobset.md, line 227
while ! curl -s "${COORDINATOR_ENDPOINT}:8080" | grep Welcome; do - documentation/openshift-docs/docs/4.22/applications/creating_applications/templates-using-ruby-on-rails.md, line 210
<% db_service = ENV.fetch("DATABASE_SERVICE_NAME","").upcase %>
Show 17 more
- documentation/openshift-docs/docs/4.22/cicd/builds/creating-build-inputs.md, line 1382
wget http://repository.example.com/app/app-$APP_VERSION.jar -O app.jar - documentation/openshift-docs/docs/4.22/cicd/builds/creating-build-inputs.md, line 1416
RUN wget http://repository.example.com/app/app-$APP_VERSION.jar -O app.jar - documentation/openshift-docs/docs/4.22/cicd/builds/triggering-builds-build-hooks.md, line 320
$ curl -H "X-GitHub-Event: push" -H "Content-Type: application/json" -k -X POST --data-binary @payload.json https://<openshift_api_host:port>/apis/build.openshi - documentation/openshift-docs/docs/4.22/cicd/builds/triggering-builds-build-hooks.md, line 404
$ curl -H "X-GitLab-Event: Push Hook" -H "Content-Type: application/json" -k -X POST --data-binary @payload.json https://<openshift_api_host:port>/apis/build.op - documentation/openshift-docs/docs/4.22/cicd/builds/triggering-builds-build-hooks.md, line 473
$ curl -H "X-Event-Key: repo:push" -H "Content-Type: application/json" -k -X POST --data-binary @payload.json https://<openshift_api_host:port>/apis/build.opens - documentation/openshift-docs/docs/4.22/cicd/builds/triggering-builds-build-hooks.md, line 521
$ curl -X POST -k https://<openshift_api_host:port>/apis/build.openshift.io/v1/namespaces/<namespace>/buildconfigs/<name>/webhooks/<secret>/generic - documentation/openshift-docs/docs/4.22/cicd/builds/triggering-builds-build-hooks.md, line 550
$ curl -H "Content-Type: application/yaml" --data-binary @payload_file.yaml -X POST -k https://<openshift_api_host:port>/apis/build.openshift.io/v1/namespaces/< - documentation/openshift-docs/docs/4.22/disconnected/updating/disconnected-update-osus.md, line 436
RUN curl -L -o cincinnati-graph-data.tar.gz https://api.openshift.com/api/upgrades_info/graph-data - documentation/openshift-docs/docs/4.22/edge_computing/policygenerator_for_ztp/ztp-talm-updating-managed-policies-pg.md, line 72
$ SIGNATURE_BASE64=$(curl -s "https://mirror.openshift.com/pub/openshift-v4/signatures/openshift/release/${DIGEST_ALGO}=${DIGEST_ENCODED}/signature-1" | base64 - documentation/openshift-docs/docs/4.22/edge_computing/policygenerator_for_ztp/ztp-talm-updating-managed-policies-pg.md, line 95
$ curl -s https://api.openshift.com/api/upgrades_info/v1/graph?channel=stable-4.17 -o ~/upgrade-graph_stable-4.17 - documentation/openshift-docs/docs/4.22/edge_computing/policygentemplate_for_ztp/ztp-talm-updating-managed-policies.md, line 91
$ SIGNATURE_BASE64=$(curl -s "https://mirror.openshift.com/pub/openshift-v4/signatures/openshift/release/${DIGEST_ALGO}=${DIGEST_ENCODED}/signature-1" | base64 - documentation/openshift-docs/docs/4.22/edge_computing/policygentemplate_for_ztp/ztp-talm-updating-managed-policies.md, line 114
$ curl -s https://api.openshift.com/api/upgrades_info/v1/graph?channel=stable-4.17 -o ~/upgrade-graph_stable-4.17 - documentation/openshift-docs/docs/4.22/edge_computing/ztp-deploying-far-edge-sites.md, line 1726
$ curl -sk $(oc get agentclusterinstall -n $CLUSTER $CLUSTER -o jsonpath='{.status.debugInfo.eventsURL}') | jq '.[-2,-1]' - documentation/openshift-docs/docs/4.22/edge_computing/ztp-preparing-the-hub-cluster.md, line 224
$ sudo wget https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.17/${OCP_VERSION}/${ISO_IMAGE_NAME} -O /var/www/html/${ISO_IMAGE_NAME} - documentation/openshift-docs/docs/4.22/edge_computing/ztp-preparing-the-hub-cluster.md, line 228
$ sudo wget https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.17/${OCP_VERSION}/${ROOTFS_IMAGE_NAME} -O /var/www/html/${ROOTFS_IMAGE_NAME} - documentation/openshift-docs/docs/4.22/edge_computing/ztp-preparing-the-hub-cluster.md, line 244
$ wget http://$(hostname)/${ISO_IMAGE_NAME} - documentation/openshift-docs/docs/4.22/etcd/etcd-performance.md, line 1582
curl -s -X GET -k -H "Authorization: Bearer $TOKEN" "https://$THANOS_QUERIER_HOST/api/v1/query?query=$encoded_query" | jq '.data.result[] | .metric.pod,.value[1
and 169 more places
Changes files outside its own folder
The author does not mention this.
Found in 109 places.
- documentation/openshift-docs/docs/4.22/architecture/architecture-rhcos.md, line 139
$ openshift-install create ignition-configs --dir $HOME/testconfig - documentation/openshift-docs/docs/4.22/backup_and_restore/control_plane_backup_and_restore/replacing-unhealthy-etcd-member.md, line 900
sh-4.2# mv /etc/kubernetes/manifests/etcd-pod.yaml /var/lib/etcd-backup/ - documentation/openshift-docs/docs/4.22/cicd/builds/build-strategies.md, line 508
mv /tmp/s2i/artifacts/* $HOME/.
Show 17 more
- documentation/openshift-docs/docs/4.22/cicd/builds/build-strategies.md, line 512
mv /tmp/s2i/src $HOME/src - documentation/openshift-docs/docs/4.22/cicd/builds/running-entitled-builds.md, line 165
RUN rm -rf /etc/rhsm-host - documentation/openshift-docs/docs/4.22/cicd/builds/running-entitled-builds.md, line 170
RUN ln -s /run/secrets/rhsm /etc/rhsm-host - documentation/openshift-docs/docs/4.22/cicd/builds/running-entitled-builds.md, line 289
RUN rm -rf /etc/rhsm-host - documentation/openshift-docs/docs/4.22/cicd/builds/running-entitled-builds.md, line 294
RUN ln -s /run/secrets/rhsm /etc/rhsm-host - documentation/openshift-docs/docs/4.22/cicd/builds/running-entitled-builds.md, line 453
RUN rm -rf /etc/rhsm-host - documentation/openshift-docs/docs/4.22/cicd/builds/running-entitled-builds.md, line 458
RUN ln -s /run/secrets/rhsm /etc/rhsm-host - documentation/openshift-docs/docs/4.22/cli_reference/hcp-cli-ref.md, line 60
$ sudo mv hcp /usr/local/bin/. - documentation/openshift-docs/docs/4.22/cli_reference/hcp-cli-ref.md, line 129
$ sudo mv hcp /usr/local/bin/. - documentation/openshift-docs/docs/4.22/cli_reference/hcp-cli-ref.md, line 196
$ sudo mv hcp /usr/local/bin/. - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/configuring-cli.md, line 44
$ sudo cp oc_bash_completion /etc/bash_completion.d/ - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/configuring-cli.md, line 82
$ cat >>~/.zshrc<<EOF - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 449
oc completion bash > ~/.kube/completion.bash.inc - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 453
" >> $HOME/.bash_profile - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 464
oc completion fish > ~/.config/fish/completions/oc.fish - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/extending-cli-plugins.md, line 100
$ sudo mv <plugin_file> /usr/local/bin/. - documentation/openshift-docs/docs/4.22/cli_reference/opm/cli-opm-install.md, line 72
$ sudo mv ./opm /usr/local/bin/
and 89 more places
Contains code that is hidden or hard to read
The author does not mention this.
Found in 1 place.
- documentation/openshift-docs/docs/4.22/architecture/architecture-rhcos.md, line 183
$ echo VGhpcyBpcyB0aGUgYm9vdHN0cmFwIG5vZGU7IGl0IHdpbGwgYmUgZGVzdHJveWVkIHdoZW4gdGhlIG1hc3RlciBpcyBmdWxseSB1cC4KClRoZSBwcmltYXJ5IHNlcnZpY2VzIGFyZSByZWxlYXNlLWltY
Reads your saved credentials, such as SSH keys or .env files
The author does not mention this.
Found in 60 places.
- documentation/openshift-docs/docs/4.22/cicd/builds/creating-build-inputs.md, line 970
--from-file=.dockerconfigjson=<path/to/.docker/config.json> \ - documentation/openshift-docs/docs/4.22/cicd/builds/creating-build-inputs.md, line 1236
--from-file=ssh-privatekey=<path/to/.ssh/id_rsa> \ - documentation/openshift-docs/docs/4.22/cicd/builds/creating-build-inputs.md, line 1496
--from-file=.dockerconfigjson=<path/to/.docker/config.json> \
Show 17 more
- documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 449
oc completion bash > ~/.kube/completion.bash.inc - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 745
oc config set-cluster e2e --embed-certs --certificate-authority=~/.kube/e2e/kubernetes.ca.crt - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 793
oc config set-credentials cluster-admin --client-key=~/.kube/admin.key - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 799
oc config set-credentials cluster-admin --client-certificate=~/.kube/admin.crt --embed-certs=true - documentation/openshift-docs/docs/4.22/cli_reference/openshift_cli/developer-cli-commands.md, line 1515
oc create secret docker-registry my-secret --from-file=path/to/.docker/config.json - documentation/openshift-docs/docs/4.22/disconnected/installing-mirroring-creating-registry.md, line 285
-k ~/.ssh/my_ssh_key \ - documentation/openshift-docs/docs/4.22/disconnected/installing-mirroring-creating-registry.md, line 351
$ ./mirror-registry upgrade -v --targetHostname <remote_host_url> --targetUsername <user_name> -k ~/.ssh/my_ssh_key - documentation/openshift-docs/docs/4.22/disconnected/installing-mirroring-creating-registry.md, line 360
$ ./mirror-registry upgrade -v --targetHostname <remote_host_url> --targetUsername <user_name> -k ~/.ssh/my_ssh_key --sqliteStorage <example_directory_name>/qua - documentation/openshift-docs/docs/4.22/edge_computing/ztp-precaching-tool.md, line 546
$ cp config.json /root/.docker/config.json - documentation/openshift-docs/docs/4.22/installing/installing_aws/ipi/ipi-aws-preparing-to-install.md, line 327
$ cat ~/.ssh/id_ed25519.pub - documentation/openshift-docs/docs/4.22/installing/installing_aws/upi/installing-aws-user-infra.md, line 83
INFO Credentials loaded from the "myprofile" profile in file "/home/myuser/.aws/credentials" - documentation/openshift-docs/docs/4.22/installing/installing_aws/upi/installing-restricted-networks-aws.md, line 110
INFO Credentials loaded from the "myprofile" profile in file "/home/myuser/.aws/credentials" - documentation/openshift-docs/docs/4.22/installing/installing_aws/upi/upi-aws-preparing-to-install.md, line 321
$ cat ~/.ssh/id_ed25519.pub - documentation/openshift-docs/docs/4.22/installing/installing_azure/ipi/installing-azure-preparing-ipi.md, line 74
$ cat ~/.ssh/id_ed25519.pub - documentation/openshift-docs/docs/4.22/installing/installing_azure/upi/installing-azure-preparing-upi.md, line 74
$ cat ~/.ssh/id_ed25519.pub - documentation/openshift-docs/docs/4.22/installing/installing_azure/upi/installing-azure-user-infra.md, line 1510
$ cat ~/.ssh/id_ed25519.pub - documentation/openshift-docs/docs/4.22/installing/installing_azure/upi/installing-azure-user-infra.md, line 1630
INFO Credentials loaded from the "myprofile" profile in file "/home/myuser/.aws/credentials"
and 40 more places
Safer alternatives
Low-risk skills in the same category (writing) that look related. Check that one does what you need.
- 100 Low riskred-hat-docsNeeeophytee/agent-stylebooks · 79 stars
- 100 Low riskgitlab-docsNeeeophytee/agent-stylebooks · 79 stars
- 95 Low riskcoralogix-docscoralogix/cx-cli · 243 stars
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'openshift-docs' ] || [ -L ~/.agents/skills/'openshift-docs' ]; then echo 'A skill folder named openshift-docs already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/openshift/agentic-skills' "$d" && git -C "$d" checkout --quiet '65b9aa344640c1a238206fe86dcc6719bb979cff' -- 'documentation/openshift-docs' && mkdir -p ~/.agents/skills && cp -R "$d"/'documentation/openshift-docs' ~/.agents/skills/'openshift-docs' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'openshift-docs' ~/.claude/skills/'openshift-docs' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for openshift/agentic-skills shows the score of its lowest-scoring skill.
[](https://zalavijaysinh.github.io/skilltrust/repos/openshift/agentic-skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-14 | 65b9aa3 | 20 |