skills/communication/SKILL.md
Monitor and analyze IBM i network and communication resources including TCP/IP connections, network interfaces, routing, HTTP servers, and DNS configuration via SQL services. Use when user asks about: (1) active network connections and traffic, (2) network interface status and IP addresses, (3) routing tables, (4) HTTP server configuration and status, (5) TCP/IP settings and hostname, (6) NTP/SNTP time synchronization, (7) network attributes, or (8) replacing NETSTAT, WRKTCPSTS, CFGTCP, WRKhttpsrvr commands.
npx skillsauth add ajshedivy/ibmi-agent-skills communicationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Monitor and analyze network and communication resources on IBM i using SQL services from QSYS2.
The ibmi CLI is the primary tool for executing network queries. Set SKILL_DIR to this skill's installed location (the directory containing this SKILL.md file):
# SKILL_DIR = directory containing this SKILL.md
# Examples: ./skills/communication, ~/.claude/skills/communication
ibmi tools --tools "$SKILL_DIR/tools/" --toolset communication_default
ibmi tool get_netstat_info --tools "$SKILL_DIR/tools/"
ibmi sql "SELECT * FROM QSYS2.NETSTAT_INFO WHERE TCP_STATE = 'ESTABLISHED' FETCH FIRST 20 ROWS ONLY"
Identify active network connections and top bandwidth consumers
Check interface status, routing, and connection states
Verify web server status and port assignments
Review TCP/IP settings, hostname, and DNS configuration
Check NTP/SNTP server connectivity and synchronization
Identify unexpected remote connections or open ports
| CL Command | SQL Service | |------------|-------------| | NETSTAT | NETSTAT_INFO + NETSTAT_INTERFACE_INFO | | WRKTCPSTS | NETSTAT_INFO + NETSTAT_JOB_INFO | | CFGTCP (display) | NETWORK_ATTRIBUTE_INFO + TCPIP_INFO | | WRKHTTPSRVR | HTTP_SERVER_INFO |
SELECT REMOTE_ADDRESS, REMOTE_PORT, LOCAL_PORT, BIND_USER,
BYTES_SENT_REMOTELY, BYTES_RECEIVED_LOCALLY
FROM QSYS2.NETSTAT_INFO
WHERE TCP_STATE = 'ESTABLISHED'
ORDER BY BYTES_SENT_REMOTELY DESC
FETCH FIRST 20 ROWS ONLY;
SELECT INTERNET_ADDRESS, LINE_DESCRIPTION, INTERFACE_STATUS
FROM QSYS2.NETSTAT_INTERFACE_INFO
ORDER BY INTERFACE_STATUS;
QSYS2.HTTP_SERVER_INFO is a performance-stats view — it returns per-server activity, not configuration.
SELECT SERVER_NAME, JOB_NAME, SERVER_ACTIVE_THREADS,
SERVER_TOTAL_REQUESTS, BYTES_SENT, BYTES_RECEIVED
FROM QSYS2.HTTP_SERVER_INFO
ORDER BY SERVER_NAME;
The tools/communication.yaml file provides 11 ready-to-use tools:
| Tool | Description |
|------|-------------|
| get_netstat_info | Active network connections with traffic |
| get_netstat_interface_info | Network interfaces and IP addresses |
| get_netstat_job_info | Network jobs and their connections |
| get_netstat_route_info | TCP/IP routing table |
| get_http_server_info | HTTP server instances and per-server request stats |
| get_tcpip_info | TCP/IP stack configuration |
| get_network_attribute_info | System network attributes |
| get_time_protocol_info | NTP/SNTP time server status |
| list_active_db_connections | Active DRDA/DDM database connections |
| get_rdb_entry_info | Relational database directory entries |
| dns_lookup | Resolve a hostname to IPv4/IPv6 addresses from the IBM i |
ibmi tool <tool_name> --tools "$SKILL_DIR/tools/" # Execute
ibmi tool <tool_name> --tools "$SKILL_DIR/tools/" --dry-run # Preview SQL
ibmi tools show <tool_name> --tools "$SKILL_DIR/tools/" # View details
tools
Query, monitor, and analyze jobs on IBM i using SQL table functions via the ibmi CLI. Use when user asks about: (1) finding jobs by status, user, subsystem, or type, (2) monitoring active job performance (CPU, I/O, memory), (3) detecting long-running SQL statements, (4) analyzing lock contention, (5) checking job queues, (6) scheduled jobs, (7) job logs, (8) replacing WRKACTJOB, WRKUSRJOB, WRKSBSJOB, WRKSBMJOB commands, or (9) any IBM i work management task.
testing
Monitor IBM i system health including CPU, memory, disk, ASPs, system limits, and network status via SQL services. Use when user asks about: (1) CPU utilization or system status, (2) memory pool sizes or page faults, (3) disk capacity or ASP usage, (4) system limits approaching thresholds, (5) TCP/IP connections and network status, (6) system activity overview, (7) replacing WRKSYSSTS, WRKDSKSTS, WRKTCPSTS commands, or (8) any system health monitoring task.
development
Monitor and analyze IBM i storage resources including ASPs, disk units, temporary storage, user storage consumption, and NVMe devices via SQL services. Use when user asks about: (1) ASP capacity, usage, or health, (2) disk unit status or I/O performance, (3) temporary storage consumption by jobs, (4) storage used per user profile, (5) NVMe device health, (6) IASP vary operations, or (7) replacing WRKDSKSTS, WRKSYSSTS storage info, or WRKSTG commands.
testing
Manage and analyze spooled files, output queues, and printer configurations on IBM i via SQL services. Use when user asks about: (1) listing or searching output queues, (2) viewing spooled file entries by queue, user, or status, (3) reading spool file content, (4) identifying top spool consumers or old spool files, (5) printer file definitions, (6) spool storage analysis, (7) replacing WRKSPLF, WRKOUTQ, WRKOBJLCK commands, or (8) any spool file management task.