agx-arm-codegen

agx-arm-codegen is a skill for Claude Code, Codex from Clawland-AI/Clawarm. It costs 57 tokens per session (1,644 once invoked), scanned A, original, MIT.

A code-generation workflow for producing Python scripts that control AgileX NERO or Piper robotic arms through the pyAgxArm software library. It covers connection setup, safe mode changes, and waiting for motion to finish.

In plain words
What is it for?
Use it to generate runnable motion scripts for NERO or Piper arms, including connection configuration and sequences of joint or position movements.
Why use it?
It turns a plain-language movement request into code while preserving required enablement, timing, safety, and completion checks. The generated script must be run on a machine connected to the arm.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to generate runnable motion scripts for NERO or Piper arms, including connection configuration and sequences of joint or position movements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clawland-ai/clawarm/agx-arm-codegen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Clawland-AI/Clawarm --skill agx-arm-codegen
Clone the repo
git clone --depth 1 https://github.com/Clawland-AI/Clawarm

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agx-arm-codegen

README.md
[![agentmods](https://agentmods.dev/badge/skills/clawland-ai/clawarm/agx-arm-codegen.svg)](https://agentmods.dev/skills/clawland-ai/clawarm/agx-arm-codegen)
Your own site
<a href="https://agentmods.dev/skills/clawland-ai/clawarm/agx-arm-codegen"><img src="https://agentmods.dev/badge/skills/clawland-ai/clawarm/agx-arm-codegen.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,644 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01644
Opus 5 $0.00028 $0.00822
Sonnet 5 $0.00011 $0.00329
Haiku 4.5 $0.00006 $0.00164

Measured 8d ago against content hash 915442e5d204, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

agx-arm-codegen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agx-arm-codegen/SKILL.md · 195 lines

How it starts

The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

This skill generates runnable Python scripts that control AgileX robotic arms (NERO 7-DOF, Piper 6-DOF) using the pyAgxArm SDK. It does NOT execute motion directly — it produces code that the user runs on a machine with CAN connectivity to the arm.

When to Use

  • User says "write code to control the arm", "generate a script to move the arm", "make the arm do X"
  • User describes a motion sequence in natural language
  • User asks for a "runnable script" or "Python code" for arm control
  • User mentions NERO, Piper, or AgileX arm control

Code Generation Rules

1. Connection & Configuration

from pyAgxArm import create_agx_arm_config, AgxArmFactory

robot_cfg = create_agx_arm_config(
    robot="nero",       # "nero" (7-DOF) or "piper" (6-DOF)
    comm="can",
    channel="can0",
    interface="socketcan",
)
robot = AgxArmFactory.create_arm(robot_cfg)
robot.connect()

2. Enable Sequence

CRITICAL: The robot MUST be enabled BEFORE switching modes. If disabled, mode switches will fail.

import time

time.sleep(1)                    # 1s delay before mode switch
robot.set_normal_mode()
time.sleep(1)                    # 1s delay after mode switch

while not robot.enable():
    time.sleep(0.01)

robot.set_speed_percent(80)      # 0–100, start low for testing

3. Motion Modes

Set the motion mode explicitly before every move_* call:

Mode Constant Method Use Case
Joint position robot.MOTION_MODE.J robot.move_j([j1..jN]) Smooth joint-space motion
Joint fast robot.MOTION_MODE.JS robot.move_js([j1..jN]) No smoothing — use with caution
Point-to-point robot.MOTION_MODE.P robot.move_p([x,y,z,r,p,y]) Cartesian, non-linear path
Linear robot.MOTION_MODE.L robot.move_l([x,y,z,r,p,y]) Straight-line Cartesian path
Arc robot.MOTION_MODE.C robot.move_c(start, mid, end) Circular arc through 3 poses

Read the full file on GitHub · 195 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 195 lines · 57 tokens per session scan A 915442e5d204

Subscribe to this mod's changes

agx-arm-codegen is a skill published in the GitHub repository Clawland-AI/Clawarm (10 stars, last pushed 6mo ago), licensed MIT. It adds 57 tokens to every session and 1,644 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

voyager-new-app

Create or modify a standalone Python application using the Voyager SDK InferenceStream/createinferencestream API for Axelera AI Metis hardware. Use when the user explicitly asks for app code, monitoring, analytics, REST API, custom UI, multi-stream logic, alerts, or business logic around an existing/validated…

fxd0h/Axelera-Voyager-Local-Assistant · 98 tokens

cardputer-buddy

Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to…

anthropics/claude-plugins-official · 109 tokens

quantum-qiskit

Reference qiskit 2.x patterns for variational quantum machine learning. Covers data-encoding feature maps, variational quantum classifier (VQC) training, variational quantum eigensolver (VQE) for chemistry, matrix-product-state circuits, and noise model integration. Use when writing Python code that imports qiskit…

aiming-lab/AutoResearchClaw · 102 tokens

holoscan-install-wheel

Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.

NVIDIA/skills · 37 tokens

python-expert

Python expert for stdlib, packaging, type hints, async/await, and performance optimization.

RightNow-AI/openfang · 22 tokens

HA Integration Dev

Home Assistant custom integration development in Python. Covers customcomponents, DataUpdateCoordinator, configflow, OAuth2, conversation agent, HACS publishing, device registry, entity platforms, services, repair issues, diagnostics, Bluetooth integrations, and multi-coordinator patterns.

tonylofgren/aurora-smart-home · 55 tokens