Agent skill
ip
Network diagnostics and IP geolocation query. Core Scenario: When AI needs to query local network configuration or geographic info of remote server IPs.
Install this agent skill to your Project
npx add-skill https://github.com/x-cmd/skill/tree/main/data/x-cmd/ip
SKILL.md
x ip - Network Diagnostics & Geolocation (AI Optimized)
The x ip module provides a concise interface for querying IP-related information, covering both local NIC configurations and global IP geographic data.
When to Activate
- When retrieving the local public IP or internal network interface addresses.
- When querying geographic location, ISP, or other info for a specific IP.
- When scanning active hosts or open ports in a subnet (network diagnostics).
Core Principles & Rules
- Non-interactive First: Avoid interactive configurations; retrieve data directly via subcommands.
- Structured Thinking: Use subcommands like
geolitefor detailed geographic insights.
Patterns & Examples
Query Local Public IP and Location
# Get detailed geographic info for the current public IP
x ip geolite
Query Geolocation for a Specific IP
# Query detailed location info for 8.8.8.8
x ip geolite 8.8.8.8
List All Local Interface Addresses
# Get a list of all IP addresses on the machine (non-interactive)
x ip ls
Network Scanning (Diagnostics)
# Scan active hosts in a subnet (may require privileges)
x ip map 192.168.1.0/24
# Quickly scan common ports for a specific IP
x ip tps 127.0.0.1
Checklist
- Confirm whether querying a specific IP or the local egress IP.
- Check privilege requirements before running scan tasks.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
pufferlib
High-performance reinforcement learning framework optimized for speed and scale. Use when you need fast parallel training, vectorized environments, multi-agent systems, or integration with game environments (Atari, Procgen, NetHack). Achieves 2-10x speedups over standard implementations. For quick prototyping or standard algorithm implementations with extensive documentation, use stable-baselines3 instead.
fluidsim
Framework for computational fluid dynamics simulations using Python. Use when running fluid dynamics simulations including Navier-Stokes equations (2D/3D), shallow water equations, stratified flows, or when analyzing turbulence, vortex dynamics, or geophysical flows. Provides pseudospectral methods with FFT, HPC support, and comprehensive output analysis.
metabolomics-workbench-database
Access NIH Metabolomics Workbench via REST API (4,200+ studies). Query metabolites, RefMet nomenclature, MS/NMR data, m/z searches, study metadata, for metabolomics and biomarker discovery.
geniml
This skill should be used when working with genomic interval data (BED files) for machine learning tasks. Use for training region embeddings (Region2Vec, BEDspace), single-cell ATAC-seq analysis (scEmbed), building consensus peaks (universes), or any ML-based analysis of genomic regions. Applies to BED file collections, scATAC-seq data, chromatin accessibility datasets, and region-based genomic feature learning.
zinc-database
Access ZINC (230M+ purchasable compounds). Search by ZINC ID/SMILES, similarity searches, 3D-ready structures for docking, analog discovery, for virtual screening and drug discovery.
astropy
Comprehensive Python library for astronomy and astrophysics. This skill should be used when working with astronomical data including celestial coordinates, physical units, FITS files, cosmological calculations, time systems, tables, world coordinate systems (WCS), and astronomical data analysis. Use when tasks involve coordinate transformations, unit conversions, FITS file manipulation, cosmological distance calculations, time scale conversions, or astronomical data processing.
Didn't find tool you were looking for?