Integrates and debugs cellular AT modems (Quectel, SIMCom, u-blox) over UART for registration, PDP context, TCP/UDP sockets, and URC parsing.
Ships in aix-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to drive a 2G/4G/NB-IoT/LTE-M cellular modem from an MCU over UART with the AT command set. The hard parts are parsing unsolicited result codes (URCs) that interleave with command responses on one serial line, choosing the right registration command per radio access technology, using the correct socket command set for the specific module family, and getting PWRKEY boot timing right before any AT works.
Use this skill when:
EC25, BG96, BC66), SIMCom (SIM7600, SIM800C, A7670), or u-blox (SARA-R4, SARA-R5) over UART.AT+CPIN?, AT+CSQ, AT+CREG?, AT+CGREG?, AT+CEREG?), APN/PDP (AT+CGDCONT, AT+CGATT, AT+CGACT), or sockets (AT+QIOPEN, AT+QISEND, AT+CIPSTART/AT+CIPOPEN, AT+USOCO).RING, +CMTI, or +QIURC corrupt command parsing, or power saving (AT+CPSMS, AT+CEDRXS) breaks reachability.Do not use this skill when the UART link itself is unproven; confirm the modem echoes AT with OK at the configured baud first.
Ask for:
ATI, AT+CGMR), and radio technology: 2G, LTE Cat-1, Cat-4, Cat-M1, or NB-IoT.PWRKEY/reset lines are MCU-controlled.<PDP_type>).Bring up the modem.
Assert PWRKEY for the module's specified pulse width, wait for boot (often signalled by an RDY URC), then confirm AT returns OK and disable echo with ATE0.
Unlock and check signal.
AT+CPIN? must return +CPIN: READY; AT+CSQ RSSI must be non-99 (0-31 valid). Set AT+CFUN=1 if radio is off.
Confirm registration on the right command.
Use AT+CREG? for 2G/CS registration, AT+CGREG? for GPRS/PS, and AT+CEREG? for LTE/Cat-M1/NB-IoT (EPS). <stat> must be 1 (home) or 5 (roaming).
Define and activate the PDP context.
AT+CGDCONT=1,"IP","<apn>", then AT+CGATT=1 to attach and AT+CGACT=1,1 to activate. Verify an assigned IP with AT+CGPADDR.
Open the socket with the correct vendor stack for the module family.
EC25/BG96/BC66): AT+QIOPEN, then AT+QISEND/AT+QIRD/AT+QICLOSE.SIM800-class): AT+CIPSTART, then AT+CIPSEND (write payload after >, terminate with Ctrl+Z 0x1A).SIM7600/A76XX-class): AT+NETOPEN first, then AT+CIPOPEN to open a socket and AT+CIPSEND to send (AT+CIPSEND=<link>,<len> takes an explicit length; no Ctrl+Z when a length is given). Read buffered data with AT+CIPRXGET; close with AT+CIPCLOSE/AT+NETCLOSE.SARA): AT+USOCR to create, AT+USOCO to connect, AT+USOWR to write, AT+USORD to read, AT+USOCL to close.Build a URC-aware parser.
Run a line-based state machine that classifies each line as echo, intermediate (>), final (OK/ERROR/+CME ERROR), or URC (RING, +CMTI:, +QIURC:), and route URCs to callbacks instead of the command waiter.
RDY URC or a fixed power-on delay elapses.AT+CREG? on an LTE-only module that only registers via +CEREG, so registration looks stuck at 0,2.AT+CFUN=0), locked SIM, or poor signal (+CSQ: 99,99).AT+CIPSTART to a SIM7600/A76XX module (which needs AT+NETOPEN+AT+CIPOPEN), or forgetting AT+NETOPEN before AT+CIPOPEN.AT+QIRD or a slow AT+COPS=? scan.+QIURC: "recv") arrives mid-response and the parser mistakes it for the command reply, causing a parse race.AT+CIPSEND on a SIM800-class module sent without the Ctrl+Z terminator, so the modem waits forever at the > prompt.AT+CPSMS/AT+CEDRXS the module sleeps and drops the socket; sending during PSM fails until wake and re-attach.Before claiming the link works:
+CPIN: READY, a valid +CSQ, and <stat>=1 or 5 on the correct CxREG.AT+CGPADDR shows an IP before opening any socket.+QIURC: "recv"/AT+QIRD, or +CIPRXGET, or +USORD).RING/+CMTI arriving during a command without desync.User:
BG96 用 AT+CEREG? 一直返回 0,2,连不上网,该怎么查?
Agent:
ATE0 set, then checks AT+CPIN? = READY and AT+CSQ is not 99.AT+CFUN=1 and the APN via AT+CGDCONT?; fixes APN if wrong for the IoT SIM.+CEREG: 0,1/0,5, then runs AT+CGACT=1,1 and AT+CGPADDR before opening a socket with AT+QIOPEN.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cellular-at-modem, modem-integration, uart, quectel, simcom, at-commands
76 skills in this plugin
/8051-mcu-debugUse when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures/avem-integrationUse when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application architecture/battery-charger-fuel-gauge-integrationUse when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumps/aix-skills:cellular-at-modem-integrationfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skillsOther plugins' skills for the same job