Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Red Hat Diagnostics

ASecurity

Explain how to gather diagnostic information for Red Hat products (RHEL, OpenShift, Ansible Automation Platform, Satellite) to share with Red Hat Technical Support.

36 stars
0 votes
0 copies
0 views
Added 9/22/2026
devopsbashapidocumentation

Works with

api

Security Analysis

A100/100

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add NVlabs/Skill2Env --skill red-hat-diagnostics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Red Hat Diagnostics?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Red Hat Diagnostics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nvlabs-red-hat-diagnostics/badge)](https://www.skillsdirectory.com/skills/nvlabs-red-hat-diagnostics)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: red-hat-diagnostics
description: Explain how to gather diagnostic information for Red Hat products (RHEL, OpenShift, Ansible Automation Platform, Satellite) to share with Red Hat Technical Support.
license: Apache-2.0
user_invocable: true
model: inherit
color: cyan
allowed-tools:
---

# Red Hat Diagnostic Information Gathering

Identify product and deployment type. If unclear, ask. Provide specific commands and upload instructions. If product not listed, use `WebFetch` on Red Hat docs -- `sos report` covers most RHEL-based products through plugins.

## Prerequisites

None.

## When to Use This Skill

When the user needs to collect diagnostic data for a Red Hat support case.

## Workflow

1. Identify product and deployment type from the user message.
2. Provide the correct diagnostic collection commands.
3. Warn the user about sensitive data in the archive before sharing.
4. Explain how to upload the resulting archive to Red Hat Support.

## Dependencies

None — all commands reference standard Red Hat tooling available on target systems.

## RHEL

```bash
dnf install sos
sos report
```

Output: `.tar.xz` in `/var/tmp/`. Specific subsystems: `sos report --only-plugins networking,storage`

## OpenShift Container Platform (OCP)

```bash
oc adm must-gather --dest-dir ./must-gather
tar cvaf must-gather.tar.gz ./must-gather*/
```

Specific operators: `oc adm must-gather --image=<component-must-gather-image> --dest-dir ./must-gather`

If `registry.redhat.io` unavailable: `oc adm inspect <resource-type>/<resource-name>`

## Ansible Automation Platform (AAP)

Ask deployment type if not specified -- tool differs significantly.

VM/RPM-based: `sos report` (includes AAP plugins automatically)

Containerized:
```bash
ansible-playbook -i <path_to_inventory> ansible.containerized_installer.log_gathering \
  -e 'target_sos_directory=/tmp/aap-logs' \
  -e 'case_number=<your_case_number>' \
  -e 'clean=true' \
  -e 'upload=true'
```
Omit `upload=true` to collect locally first.

OCP-based (Operator):
```bash
# AAP 2.6
oc adm must-gather \
  --image=registry.redhat.io/ansible-automation-platform-26/aap-must-gather-rhel9 \
  --dest-dir ./must-gather \
  -- /usr/bin/ns-gather <namespace>

# AAP 2.5
oc adm must-gather \
  --image=registry.redhat.io/ansible-automation-platform-25/aap-must-gather-rhel8 \
  --dest-dir ./must-gather \
  -- /usr/bin/ns-gather <namespace>
```
Then: `tar cvaf aap-must-gather.tar.gz ./must-gather*/`

## Red Hat Satellite

```bash
sos report
foreman-debug -d /tmp/foreman-debug
```

`sos report` includes the satellite plugin automatically. `foreman-debug` provides deeper Foreman/Katello data.

## Sharing with Red Hat Support

**Important:** Diagnostic archives (sos reports, must-gather bundles) collect comprehensive system data including configuration files, logs, and network details. Review the archive contents before sharing and redact any secrets or sensitive data you do not want to expose to a third party.

Attach archives at [access.redhat.com/support](https://access.redhat.com/support). Large files: `ftp://dropbox.redhat.com` or Customer Portal file upload API.

## Reference Docs

- AAP troubleshooting: `WebFetch` -> `https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/troubleshooting_ansible_automation_platform/diagnosing-the-problem`
- OCP must-gather: `WebFetch` -> `https://docs.redhat.com/en/documentation/openshift_container_platform/4.17/html/support/gathering-cluster-data`
- sos tool: `WebFetch` -> `https://access.redhat.com/solutions/3592`

Attribution

NVlabsNVlabs
View sourceMore from NVlabs →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Terraform Module Library

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

397921 votes

sematext-otel

Wire a service's OpenTelemetry output to Sematext Cloud. Walks through region, App-type, instrumentation flow (managed OTLP endpoint vs Sematext Agent), and signal selection (traces/metrics/logs), then produces the exact env-var block and points at a runnable reference example in this repo. Invoke when instrumenting a new app for Sematext.

01 votes

Deployment Patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

2648130 votes

Babysit

Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.

945230 votes

V7 Roster

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

813270 votes
View all in devops →