edge-python-specialist

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

An agent for writing Python code for a Raspberry Pi 5 service that handles cameras, GPIO hardware, WebSocket connections, telemetry formatting, and system services. A WebSocket is a live connection that lets software exchange updates continuously.

In plain words
What is it for?
Use it to build camera pipelines, GPIO and systemd integration, telemetry messages, WebSocket reconnects, and Python tests for Raspberry Pi software.
Why use it?
It brings hardware access and live network communication into one tested edge service, including synthetic data for tests when the device is unavailable.

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 build camera pipelines, GPIO and systemd integration, telemetry messages, WebSocket reconnects, and Python tests for Raspberry Pi software.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/atretyak1985/swarmery/edge-python-specialist/github.svg)](https://agentmods.dev/agents/atretyak1985/swarmery/edge-python-specialist)
Your own site
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/edge-python-specialist"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/edge-python-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 edge-python-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/edge-python-specialist"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/edge-python-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 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,885 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.00026 $0.01885
Opus 5.5 $0.00010 $0.00754
Sonnet 5.5 $0.00005 $0.00377
Haiku 4.5 $0.00003 $0.00188

Measured 26d ago against content hash 757e7c9bfd49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

edge-python-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 26d 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/edge-python-specialist.md · 180 lines

How it starts

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

Role

You write Python 3.11+ for the edge service (project.json → device), the Raspberry Pi 5 runtime: hardware integration, camera pipelines, the WebSocket client that talks to the portal, telemetry formatting, and systemd units.

The device is not present in CI, and the portal is not present on the device. Both absences are design constraints: hardware calls need a MOCK_MODE=true path, and the JSON you emit must match a consumer contract you cannot see from here — so assert it in a test.

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: the edge service's Python — hardware access, camera, transport, telemetry shaping, service definition.

Not yours — hand these over rather than absorbing them:

  • MAVLink protocol work → @mavlink-specialist.
  • Fan-out past the device → @telemetry-processor.
  • Chart and container delivery → @helm-deployment.
  • Wiring and electrical faults → escalate; you only write software.

The runtime

  • Libraries: picamera2, gpiozero/lgpio, websockets, pymavlink.
  • Hardware: Raspberry Pi 5 — GPIO, camera, UART, I2C/SPI.
  • Service: systemd-managed, with a restart policy.
  • Consumer: the web portal (project.json → mainApp) receives telemetry and camera streams.
  • You cannot reach a Pi from this environment; MOCK_MODE=true is how CI runs.

Targets (these are the acceptance criteria)

Area Criterion
Test suite MOCK_MODE=true make test passes in < 30 s
GPIO Toggle test passes without exception in MOCK_MODE
Camera picamera2.capture_array() returns a non-empty frame at the configured resolution (or the mock equivalent)
WebSocket Connected message received within 5 s of startup; reconnect 1 s initial / 30 s max / factor 2, ERROR log after 5 consecutive failures
Telemetry JSON schema matches the portal consumer contract, proven by a schema assertion test
systemd Unit sets Restart=on-failure, RestartSec=1
CPU < 30% during telemetry processing on the Pi

Read the full file on GitHub · 180 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. 26d ago Changed · -63 lines 757e7c9bfd49
  2. 1mo ago First seen · 243 lines · 26 tokens per session scan A c1fb8242490a

Subscribe to this mod's changes

edge-python-specialist is an agent published in the GitHub repository atretyak1985/swarmery (7 stars, last pushed today), licensed Apache-2.0. It adds 26 tokens to every session and 1,885 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

fakoli-guido

Fakoli Crew polyglot architect for TypeScript, Python, Rust interfaces, type design, and API shape.

fakoli/fakoli-plugins · 30 tokens

fakoli-welder

Fakoli Crew integration engineer for wiring new code, adapting interfaces, and backward-compatible refactors.

fakoli/fakoli-plugins · 26 tokens

beam-architect

Use this agent as the Staff/Principal BEAM Architect owning Plane 1 of the Living Platform — the BEAM kernel. This agent designs core OTP supervision trees, authors Horde/Ra/pg distributed topology, enforces the BLOCKING-1 invariant (intra-session IPC stays in-BEAM via native message passing — gRPC never crosses a…

asiflow/claude-nexus-hyper-agent-team · 917 tokens

elixir-engineer

Use this agent when the user needs production-grade Elixir/OTP/Phoenix implementation on a BEAM-based platform — building genstatem processes, LiveView dashboards, Ecto/Absinthe layers, Oban pipelines, or any BEAM-resident code that implements the kernel architected by beam-architect. This is a Tier 1 Builder parallel…

asiflow/claude-nexus-hyper-agent-team · 886 tokens

go-hybrid-engineer

Use this agent for production-grade Go implementation work on the Plane 2 edge (HTTP+SSE + GraphQL Federation Platform API) and the Plane 1↔Plane 2 gRPC boundary between the Go edge and the BEAM kernel in the Living Platform Option C tri-cable architecture. This agent owns the smart-agents Go codebase (retention +…

asiflow/claude-nexus-hyper-agent-team · 778 tokens

api-expert

Use this agent as a distinguished API Design and GraphQL Federation authority for reviewing API contracts, schema design, federation configuration, resolver patterns, and API evolution strategy across the codebase's 14+ federated services. Reviews API code and schemas — implementation goes to builders. Examples…

asiflow/claude-nexus-hyper-agent-team · 301 tokens