Radkit remote access

From automateyournetwork/netclaw · View interactive version

Radkit remote access is an AI agent skill from the GitHub repository automateyournetwork/netclaw. Cisco RADKit — cloud-relayed remote device access, CLI execution, SNMP polling, device inventory discovery, attribute inspection. Use when accessing remote network devices through a cloud relay, running CLI on air-gapped devices, polling SNMP metrics remotely, or discovering device inventory via RAD

How to use this skill

Skill file

RADKit Remote Device Access

MCP Server

How RADKit Works

RADKit provides a cloud-relayed path to on-premises devices:

NetClaw Agent  -->  RADKit Cloud  -->  RADKit Service (on-prem)  -->  Device (CLI/SNMP)

This is ideal for:

MCP Tools

| Tool | Parameters | What It Does |

|------|-----------|--------------|

| get_device_inventory_names | none | List all onboarded device names from the RADKit service |

| get_device_attributes | target_device | Retrieve device details in JSON: host, type, configs, SNMP/NETCONF status, capabilities |

| exec_cli_commands_in_device | target_device, commands, timeout?, max_lines? | Execute CLI commands on a device with timeout and line-limit controls |

| snmp_get | target_device, oid(s), timeout? | Perform SNMP GET operations without CLI execution |

| exec_command | target_device, commands | Structured command execution — returns dict/list with status and truncation info |

Tool Details

get_device_inventory_names

Discovers all devices onboarded to the RADKit service. Call this first to know what devices are available.

Returns a set of device names, e.g.: {"edge-rtr-01", "core-sw-01", "dc-fw-01"}

get_device_attributes

Retrieves detailed JSON attributes for a specific device:

Safe for parallel execution across multiple devices.

exec_cli_commands_in_device

Executes CLI commands on a device through the RADKit relay:

Use this for standard show commands, debug captures, and configuration inspection.

snmp_get

Performs SNMP GET without executing CLI:

Common OIDs:

| OID | Metric |

|-----|--------|

| 1.3.6.1.2.1.1.1.0 | System Description |

| 1.3.6.1.2.1.1.3.0 | System Uptime |

| 1.3.6.1.2.1.1.5.0 | System Name |

| 1.3.6.1.2.1.2.2.1.2 | Interface Description |

| 1.3.6.1.2.1.2.2.1.8 | Interface Operational Status |

exec_command

Structured command execution that returns a dictionary or list:

Workflow: Remote Device Discovery

When first connecting via RADKit:

  1. Inventory: get_device_inventory_names — what devices are available?
  2. Attributes: get_device_attributes for each device — type, platform, capabilities
  3. Quick health: snmp_get with sysUpTime (1.3.6.1.2.1.1.3.0) for each device
  4. Report: device inventory table with type, platform, and uptime

Workflow: Remote CLI Troubleshooting

When investigating an issue on a remote device:

  1. Identify device: get_device_inventory_names — find the target device name
  2. Check capabilities: get_device_attributes — confirm CLI access is available
  3. Execute commands: exec_cli_commands_in_device with timeout and max_lines
  1. Structured output: exec_command for commands needing programmatic parsing
  2. Report: troubleshooting findings with device state

Workflow: Remote SNMP Polling

When collecting metrics from remote devices:

  1. Inventory: get_device_inventory_names — target devices
  2. System info: snmp_get with sysDescr, sysName, sysUpTime
  3. Interface status: snmp_get with ifOperStatus for key interfaces
  4. Counters: snmp_get with ifInOctets, ifOutOctets for bandwidth tracking
  5. Report: SNMP metric summary with uptime and interface health

Workflow: Multi-Site Health Check via RADKit

When checking health across sites served by the RADKit service:

  1. Inventory: get_device_inventory_names — all devices across sites
  2. Attributes: get_device_attributes for each — group by type and site
  3. Health commands: exec_cli_commands_in_device per device:
  1. SNMP baseline: snmp_get for sysUpTime, interface counters
  2. Report: multi-site health dashboard with per-device status

Integration with Other Skills

| Skill | How They Work Together |

|-------|----------------------|

| pyats-network | RADKit for cloud-relayed access, pyATS for direct SSH — complementary paths to devices |

| pyats-health-check | RADKit provides remote device data; pyATS health-check procedures analyze it |

| pyats-troubleshoot | RADKit CLI exec for remote devices that pyATS can't reach directly |

| pyats-routing | Use RADKit to collect routing state from remote sites, analyze with routing skill |

| pyats-security | RADKit CLI for remote security audit commands (ACLs, AAA, CoPP) |

| meraki-monitoring | Meraki for cloud-managed devices, RADKit for on-prem devices behind Meraki MX |

| te-path-analysis | ThousandEyes external path + RADKit internal CLI for end-to-end troubleshooting |

| nso-device-ops | NSO for orchestrated config, RADKit for raw CLI access to same devices |

| gait-session-tracking | Record all RADKit remote access sessions in GAIT |

| servicenow-change-workflow | Gate any config changes through RADKit with ServiceNow CRs |

Important Rules

Environment Variables

Container/CI Deployment (base64-encoded credentials)

Local Development

For local use, RADKit auto-detects certificates in ~/.radkit/identities/ generated during the setup onboarding wizard (bash setup.sh in the cloned repo).

Failure Behavior

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.