lua

A guide for writing and changing Lua applets for ArduPilot, software that controls autonomous vehicles such as drones and other aircraft.

In plain words
What is it for?
Use it when creating, debugging, or modifying Lua scripts that run as ArduPilot applets.
Why use it?
It helps keep Lua scripts compatible with ArduPilot's scripting environment. The available description does not provide more specific behavior.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/fossuav/aap/lua
Any agent
npx skills add fossuav/aap --skill lua
Clone the repo
git clone --depth 1 https://github.com/fossuav/aap

Made for: Claude Code, Codex.

Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 426 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00031 $0.00426
Opus 5 $0.00015 $0.00213
Sonnet 5 $0.00006 $0.00085
Haiku 4.5 $0.00003 $0.00043

Measured 2d ago against content hash 04e0cfde5674, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lua 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 2d 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.

claude/skills/lua/SKILL.md · 40 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 2d ago First seen · 40 lines · 31 tokens per session scan A 04e0cfde5674

Subscribe to this mod's changes

lua is a skill published in the GitHub repository fossuav/aap (19 stars, last pushed 11d ago), licensed GPL-3.0. It adds 31 tokens to every session and 426 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

qiskit-to-cudaq

Use when porting Qiskit Python circuits to CUDA-Q kernels while preserving algorithms and validation fidelity.

NVIDIA/cuda-quantum · 28 tokens

pr-babysitter

Use when monitoring GitHub pull request CI, diagnosing failed checks, rebasing branches onto github/main, applying narrowly scoped fixes, and updating PRs until their latest checks are green or a human blocker is identified.

NVIDIA/TensorRT-Model-Connect · 48 tokens

debug-trt-mismatch

Use when TensorRT output diverges from a model reference, model-first validation fails, generated text or media is wrong, or a family change introduces a numerical mismatch. Routes the investigation by model modality and escalates from the first divergent boundary to the smallest responsible family-owned operation.

NVIDIA/TensorRT-Model-Connect · 61 tokens

fp16-trt-network

Use when adding, reviewing, or debugging FP16/BF16 precision in a family-owned, strongly typed TensorRT network. Covers dtype threading, explicit FP32 boundaries, typed constants, compact GQA/MQA state, bundle evidence, and low-precision validation.

NVIDIA/TensorRT-Model-Connect · 59 tokens

optimize-model-precision

Use when evaluating FP16, BF16, or supported quantization formats for a TensorRT-Model-Connect model. Establishes a model-owned correctness baseline, changes one effective build option at a time, detects ineffective precision, and retains comparable parity, memory, bundle, and performance evidence.

NVIDIA/TensorRT-Model-Connect · 64 tokens

profile-model

Use when diagnosing one model's runtime cost or producing comparable TensorRT-Model-Connect performance evidence. Routes quick investigation to the unified profiler and release or qualification claims to the checked-in performance matrix and model-owned performance contract.

NVIDIA/TensorRT-Model-Connect · 47 tokens