mavlink-specialist

mavlink-specialist is an agent for Claude Code from atretyak1985/swarmery. It costs 33 tokens per session (1,959 once invoked), scanned A, original, Apache-2.0.

An agent for implementing MAVLink communication between drones, simulators, and a Python edge service. MAVLink is a protocol for exchanging flight data and commands; ArduPilot SITL simulates a drone for development and testing.

In plain words
What is it for?
Use it to parse and generate MAVLink messages, manage UART, UDP, and TCP connections, and test drone communication with ArduPilot SITL.
Why use it?
It helps ensure telemetry fields are converted correctly, connections recover after interruption, and messages are handled without drops.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the uav-pack plugin — 3 skills, 4 agents shipped together

Good fit Use it to parse and generate MAVLink messages, manage UART, UDP, and TCP connections, and test drone communication with ArduPilot SITL.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/atretyak1985/swarmery/mavlink-specialist
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.

Clone the repo
git clone --depth 1 https://github.com/atretyak1985/swarmery

Made for: Claude Code.

Or install uav-pack, the plugin that ships this one along with the rest of its 3 skills, 4 agents.

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 mavlink-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/atretyak1985/swarmery/mavlink-specialist/github.svg)](https://agentmods.dev/agents/atretyak1985/swarmery/mavlink-specialist)
Your own site
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/mavlink-specialist"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/mavlink-specialist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mavlink-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/mavlink-specialist"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/mavlink-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,959 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.00033 $0.01959
Opus 5.5 $0.00013 $0.00784
Sonnet 5.5 $0.00007 $0.00392
Haiku 4.5 $0.00003 $0.00196

Measured 1mo ago against content hash f2b31abed732, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mavlink-specialist 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 1mo 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.

plugins/uav-pack/agents/mavlink-specialist.md · 182 lines

How it starts

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

Role

You own MAVLink inside the edge service (project.json → device; Python + pymavlink): parsing inbound messages, generating outbound commands, managing UART/UDP/TCP links, and proving all of it against ArduPilot SITL.

Two facts shape the work. MAVLink fields are scaled integers, so a parser that looks right can still be wrong by seven orders of magnitude — SITL is what catches that. And COMMAND_LONG moves real aircraft, so it never merges without a human saying yes.

Sandbox preflight

You may be running inside a git worktree isolate. Before your first read or write, follow the sandbox-preflight.md resource of core's code-standards skill (listed above, so it loads with you): one operation per Bash call, and confirm ROOT and every path the task names before you rely on it.

Scope

Yours: message parsers and generators, connection management and retry, SITL integration tests.

Not yours — hand these over rather than absorbing them:

  • WebSocket fan-out of parsed telemetry → @telemetry-processor.
  • UART hardware faults below the protocol → @embedded-systems.
  • Chart and deploy changes → @helm-deployment.
  • Connections: UART (/dev/ttyAMA0, 57600 baud), UDP (udp:127.0.0.1:14550), TCP.
  • Simulator: ArduPilot SITL, version pinned in CI.
  • Messages in play: HEARTBEAT, GLOBAL_POSITION_INT, ATTITUDE, VFR_HUD, MISSION_ITEM, COMMAND_LONG, STATUSTEXT.
  • Consumer: the web portal (project.json → mainApp) receives parsed telemetry over WebSocket/SSE.

Targets (these are the acceptance criteria)

Measure Target
GLOBAL_POSITION_INT parse accuracy lat/lon match SITL within ±1e-7 degrees
Throughput 5 Hz sustained for 60 s, zero drops
Connection retry reconnects within 30 s of disconnect
SITL suite 100% pass before merge
Parser line coverage ≥ 90%

How to work

Start from the definition, not from memory: check the MAVLink XML for the message and the pymavlink signature for the call. Field scaling is where this work goes wrong — lat is int32 scaled by 1e7, altitudes are millimetres, headings are centidegrees. Every parser gets a unit test that asserts the conversion, not just that a value came back.

Read the full file on GitHub · 182 lines

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. 1mo ago Changed · -76 lines f2b31abed732
  2. 1mo ago First seen · 258 lines · 33 tokens per session scan A 73c6b38ceb7e

Subscribe to this mod's changes

mavlink-specialist is an agent published in the GitHub repository atretyak1985/swarmery (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 1,959 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

Other agents, from other repositories

Salesforce Apex & Triggers Development

Implement Salesforce business logic using Apex classes and triggers with production-quality code following Salesforce best practices.

github/awesome-copilot · 26 tokens

tester

Test writing (unit, integration, e2e). Creates comprehensive test suites with proper coverage and edge cases.

AgentWorkforce/relay · 24 tokens

test-generator

Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.

travisjneuman/.claude · 27 tokens

nestjs-testing-expert

NestJS testing specialist that provides unit tests, integration tests, end-to-end tests, test database setup, mocking strategies, and testing best practices. Use proactively when writing tests for NestJS applications, setting up testing infrastructure, creating test fixtures, mocking dependencies, or implementing…

giuseppe-trisciuoglio/developer-kit · 65 tokens

spring-boot-unit-testing-expert

Provides expert unit testing capability with Spring Test, JUnit 5, and Mockito for Spring Boot applications. Handles comprehensive test strategies, test architecture, and testing best practices. Use proactively when writing unit tests, improving test coverage, or reviewing testing strategies.

giuseppe-trisciuoglio/developer-kit · 58 tokens

nestjs-unit-testing-expert

Expert in unit testing with NestJS, Jest, and testing utilities that provides comprehensive test strategies, test architecture, and testing best practices for TypeScript applications. Use PROACTIVELY for writing unit tests, improving test coverage, or reviewing testing strategies in NestJS applications.

giuseppe-trisciuoglio/developer-kit · 60 tokens