maa-cli-operate

maa-cli-operate is a skill for Claude Code, Codex from KhazixW2/Everything-Maa. It costs 86 tokens per session (787 once invoked), scanned A, original, MIT.

A command-line tool for operating MaaFramework devices and Pipeline resources. MaaFramework is a system for automating device interactions using recognition and action pipelines.

In plain words
What is it for?
It discovers and connects to devices, captures screenshots, performs OCR and recognition, runs guarded actions, manages named sessions, and validates or executes Pipelines.
Why use it?
It provides repeatable JSON output for scripts and low-context tasks while adding checks around device selection, resources, OCR, and actions.

Skill for Claude CodeCodex

Part of the everything-maa plugin — 14 skills, 3 MCP servers shipped together

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/khazixw2/everything-maa/maa-cli-operate
Any agent
npx skills add KhazixW2/Everything-Maa --skill maa-cli-operate
Clone the repo
git clone --depth 1 https://github.com/KhazixW2/Everything-Maa

Made for: Claude Code, Codex.

Or install everything-maa, the plugin that ships this one along with the rest of its 14 skills, 3 MCP servers.

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 maa-cli-operate

README.md
[![agentmods](https://agentmods.dev/badge/skills/khazixw2/everything-maa/maa-cli-operate.svg)](https://agentmods.dev/skills/khazixw2/everything-maa/maa-cli-operate)
Your own site
<a href="https://agentmods.dev/skills/khazixw2/everything-maa/maa-cli-operate"><img src="https://agentmods.dev/badge/skills/khazixw2/everything-maa/maa-cli-operate.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 787 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00086 $0.00787
Opus 5 $0.00043 $0.00394
Sonnet 5 $0.00017 $0.00157
Haiku 4.5 $0.00009 $0.00079

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

Security

Grade A, and why

maa-cli-operate 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 5d 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/maa-cli-operate/SKILL.md · 51 lines

How it starts

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

Maa CLI Operate

Use the pinned external maafw-cli runtime. Read references/command-contract.md before composing commands or interpreting output.

Choose the runtime

Use maafw-cli for one-shot, repeatable operations with compact JSON output: device discovery, resource checks, Pipeline validation, scripted recognition/action sequences, and CI jobs.

Use MaaMCP instead when the task benefits from a long-lived exploratory session, repeated visual inspection, interactive Pipeline debugging, or an MCP-native tool schema. Do not run both against the same device session unless the user deliberately wants separate controllers.

Prepare safely

  1. Run the pinned version check and require the tested version.
  2. Use --json for every non-help operation that supports it. Parse stdout as JSON; keep stderr for diagnostics.
  3. Check resource status before OCR. Treat download-ocr as an explicit network and disk mutation.
  4. Discover devices before connecting. Resolve an exact ADB address, Win32 title/handle, PlayCover application, or wlroots target instead of guessing.
  5. Use a named --on session whenever more than one command or device is involved. Record whether the daemon or session existed before the task.

Validate and run Pipeline

  1. Run pipeline validate PATH before loading or executing a Pipeline.
  2. Inspect the returned nodes and resolve the intended entry explicitly when more than one entry is plausible.
  3. Use pipeline load and pipeline show NODE for inspection without task execution.
  4. Use pipeline run PATH ENTRY only after the controller, resource paths, entry node, and expected device effects are known.
  5. Pass runtime overrides as one valid JSON object through --override. Do not rewrite source Pipeline files for a temporary runtime change.
  6. Route Pipeline authoring problems to $maa-pipeline-guide, graph questions to $maa-pipeline-graph, and behavior validation to $maa-pipeline-testing.

Observe, act, verify

Read the full file on GitHub · 51 lines

Files

What ships with it

2 files 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. 5d ago First seen · 51 lines · 86 tokens per session scan A 7a1a57af3f98

Subscribe to this mod's changes

maa-cli-operate is a skill published in the GitHub repository KhazixW2/Everything-Maa (12 stars, last pushed 2d ago), licensed MIT. It adds 86 tokens to every session and 787 once invoked, about $0.0004 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

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hyperpod-version-checker

Check and compare software component versions on SageMaker HyperPod cluster nodes - NVIDIA drivers, CUDA toolkit, cuDNN, NCCL, EFA, AWS OFI NCCL, GDRCopy, MPI, Neuron SDK (Trainium/Inferentia), Python, and PyTorch. Use when checking component versions, verifying CUDA/driver compatibility, detecting version mismatches…

awslabs/agent-plugins · 120 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