Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Maa Cli Operate

ASecurity

Operate MaaFramework devices and Pipeline resources through the maafw-cli command line with strict JSON output. Use for low-context, repeatable or scripted device discovery, ADB/Win32/PlayCover/wlroots connections, OCR and recognition, screenshots and guarded actions, named sessions, Pipeline validation or execution, resource checks, and CI-friendly Maa automation; route persistent exploratory debugging to MaaMCP instead.

15 stars
0 votes
0 copies
0 views
Added 9/28/2026
ai-agentspythongoshellnodetestingdebugging

Works with

climcp

Security Analysis

A100/100

Scanned 9/28/2026

Install to Claude Code

$npx -y skills add KhazixW2/Everything-Maa --skill maa-cli-operate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Maa Cli Operate?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Maa Cli Operate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/khazixw2-maa-cli-operate/badge)](https://www.skillsdirectory.com/skills/khazixw2-maa-cli-operate)

More formats (shields.io, HTML) on the badges page.

Files
SKILL.md
---
name: maa-cli-operate
description: Operate MaaFramework devices and Pipeline resources through the maafw-cli command line with strict JSON output. Use for low-context, repeatable or scripted device discovery, ADB/Win32/PlayCover/wlroots connections, OCR and recognition, screenshots and guarded actions, named sessions, Pipeline validation or execution, resource checks, and CI-friendly Maa automation; route persistent exploratory debugging to MaaMCP instead.
---

# Maa CLI Operate

Use the pinned external `maafw-cli` runtime. Read [references/command-contract.md](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

1. Prefer `ocr`, `reco`, or `screenshot` before an action.
2. Prefer the returned element reference over raw coordinates when the reference is current and unambiguous.
3. Treat element references as session-scoped and short-lived. Re-observe after navigation, scrolling, window changes, or unexpected output.
4. For clicks, typing, keys, swipes, long presses, and shell actions, state the expected effect and perform the smallest action needed.
5. Re-run an observation after the action and verify the expected state. Stop on ambiguity instead of issuing compensating clicks.

## Handle advanced features

- Inspect Python files before `custom load`; loading them executes local code in the runtime.
- Treat `action shell` as arbitrary command execution on the selected controller. Use it only when explicitly required and scoped.
- Do not use `session close-all`, `daemon stop`, or `daemon restart` as routine cleanup. Close only sessions created for the current task; leave a pre-existing daemon running.
- Never download resources, connect to a device, or execute a Pipeline merely to answer a read-only architecture question.

## Report results

Report the pinned CLI version, selected session/controller, command category, JSON result, screenshot path when present, and verification outcome. Separate tool failures from recognition misses and Pipeline task failures. Preserve stderr and any output paths needed for diagnosis.

Attribution

KhazixW2KhazixW2
View sourceMore from KhazixW2 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

695601 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →