connectivity-ip
Helps configure and optimize network stacks for Zephyr RTOS-based IoT devices.
Install
mkdir -p .claude/skills/connectivity-ip && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17124" && unzip -o skill.zip -d .claude/skills/connectivity-ip && rm skill.zipInstalls to .claude/skills/connectivity-ip
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
IP networking fundamentals for Zephyr RTOS. Covers IoT protocol selection (LwM2M, CoAP, MQTT), IP stack configuration and trimming (IPv4/IPv6, UDP/TCP), and professional SDK integration as Zephyr modules using West manifests. Trigger when building cloud-connected applications, optimizing network memory usage, or integrating external cloud SDKs.Key capabilities
- →Choose IoT protocols like LwM2M, CoAP, or MQTT
- →Configure the Zephyr networking stack for memory efficiency
- →Integrate external cloud SDKs as Zephyr modules
- →Disable TCP and IPv6 to reduce RAM footprint
- →Use `west.yml` to control vendor module cloning
- →Utilize asynchronous DNS resolver to prevent blocking
How it works
This skill guides the selection and configuration of IoT protocols and the Zephyr IP stack to build memory-efficient, cloud-connected applications.
Inputs & outputs
When to use connectivity-ip
- →Configure CoAP for Zephyr
- →Reduce network memory footprint
- →Integrate cloud SDKs
About this skill
Zephyr Connectivity: IP Networking
Build memory-efficient, cloud-connected applications using Zephyr's modular IP stack and industry-standard IoT protocols.
Core Workflows
1. Protocol Selection
Choose the right protocol (LwM2M, CoAP, MQTT) based on your device's power and management needs.
- Reference: protocol_selection.md
- Key Tools:
CONFIG_COAP,CONFIG_LWM2M,CONFIG_MQTT_LIB.
2. IP Stack Configuration
Tune the networking stack to save Flash and RAM while ensuring reliable communication.
- Reference: ip_stack_config.md
- Key Tools:
CONFIG_NET_IPV4,CONFIG_NET_BUF_RX_COUNT, DNS resolver.
3. SDK & Module Integration
Integrate external cloud SDKs and libraries as first-class Zephyr modules.
- Reference: sdk_module_integration.md
- Key Tools:
west.yml,zephyr/module.yml,name-allowlist.
Quick Start (Kconfig for CoAP)
# Minimal stack for CoAP over UDP
CONFIG_NETWORKING=y
CONFIG_NET_UDP=y
CONFIG_NET_IPV4=y
CONFIG_COAP=y
CONFIG_DNS_RESOLVER=y
Professional Patterns (Cloud Connectivity)
- Extreme Trimming: Disable TCP and IPv6 if not strictly required to reclaim 10KB+ of RAM.
- Manifest Control: Use an
allow-listin yourwest.ymlto prevent cloning hundreds of megabytes of unused vendor modules. - Async DNS: Use the asynchronous DNS resolver to prevent blocking the main application thread during host lookup.
Automation Tools
- net_config_audit.py: Audit
prj.confnetworking flags for protocol/profile consistency.
Examples & Templates
- prj_minimal_coap.conf: Starter footprint-trimmed CoAP-over-UDP configuration.
Validation Checklist
- Device obtains network connectivity and resolves DNS for the configured backend.
- Selected protocol path (CoAP, MQTT, or LwM2M) completes connect and message exchange.
- Disabled stack features (for example IPv6 or TCP) are absent from final
.configwhen trimmed. - RAM/Flash footprint meets the expected optimization target after stack tuning.
Resources
- References:
protocol_selection.md: LwM2M vs CoAP vs MQTT.ip_stack_config.md: Optimizing buffers and disabling unused protocols.sdk_module_integration.md: West manifest management and SDK modules.
- Scripts:
net_config_audit.py: Quick audit helper for IP stack Kconfig flags.
- Assets:
prj_minimal_coap.conf: Baseline minimal IP profile template.
When not to use it
- →When the user needs to use TCP or IPv6, as disabling them saves memory
- →When the user needs to clone all vendor modules, as `allow-list` prevents this
- →When the user needs to perform synchronous DNS lookups
Limitations
- →This skill is specific to Zephyr RTOS
- →This skill focuses on IoT protocols LwM2M, CoAP, and MQTT
- →This skill's recommendations are for optimizing network memory usage
How it compares
This workflow provides specific Zephyr RTOS configurations for IoT networking, optimizing for memory and protocol choice, unlike general network setup.
Compared to similar skills
connectivity-ip side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| connectivity-ip (this skill) | 0 | 3mo | Review | Advanced |
| home-assistant-manager | 9 | 8mo | Review | Advanced |
| observability-engineer | 12 | 4mo | No flags | Advanced |
| prometheus-configuration | 6 | 3mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by beriberikix
View all by beriberikix →You might also like
home-assistant-manager
komal-SkyNET
Expert-level Home Assistant configuration management with efficient deployment workflows (git and rapid scp iteration), remote CLI access via SSH and hass-cli, automation verification protocols, log analysis, reload vs restart optimization, and comprehensive Lovelace dashboard management for tablet-optimized UIs. Includes template patterns, card types, debugging strategies, and real-world examples.
observability-engineer
sickn33
Build production-ready monitoring, logging, and tracing systems. Implements comprehensive observability strategies, SLI/SLO management, and incident response workflows. Use PROACTIVELY for monitoring infrastructure, performance optimization, or production reliability.
prometheus-configuration
wshobson
Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.
mlops-engineer
sickn33
Build comprehensive ML pipelines, experiment tracking, and model registries with MLflow, Kubeflow, and modern MLOps tools. Implements automated training, deployment, and monitoring across cloud platforms. Use PROACTIVELY for ML infrastructure, experiment management, or pipeline automation.
network-info
UKGovernmentBEIS
Gather network configuration and connectivity information including interfaces, routes, and DNS
senior-devops
davila7
Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup, infrastructure as code, deployment automation, and monitoring. Use when setting up pipelines, deploying applications, managing infrastructure, implementing monitoring, or optimizing deployment processes.