Agent skill

Maa Workflow Build

by duorua in duorua/narutomobile

Orchestrate ambiguous end-to-end MaaFramework automation requests into verified implementations.

AGPL-3.0Auto-check passedProduct & Project Management

Install Maa Workflow Build

skills CLI
$ npx skills add duorua/narutomobile --skill maa-workflow-build -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install duorua/narutomobile maa-workflow-build --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/duorua/narutomobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/maa-workflow-build .claude/skills/maa-workflow-build && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
maa-workflow-build
GitHub stars
338
Token cost
~2.2k tokens
SKILL.md length
1,050 words
Files
6 (incl. references)
Skills in repo
11
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Orchestrate ambiguous end-to-end MaaFramework automation requests into verified implementations.

  • Works in 7 steps: SPECIFY → DISCOVER → DESIGN → …
  • A user asks to build
  • SKILL.md covers Operating contract, Specialist roles, Control loop and Phase output
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Maa Workflow Build is an agent skill from duorua/narutomobile. Orchestrate ambiguous end-to-end MaaFramework automation requests into verified implementations. Use when a user asks to build, add, or change a complete Maa workflow or task—such as automatic stamina recovery—without already providing a full Pipeline design, start states, safety constraints, failure handling, or acceptance criteria. Compile intent into a task contract, discover project and UI state, design the state machine, route work across Maa skills, recover from failed observations or tests, and require…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `agents/openai.yaml`, `references/acceptance-protocol.md` and `references/recovery-policy.md`).

It sits in Product & Project Management, covering User stories. The licence is AGPL-3.0.

When your agent uses it

  • A user asks to build
  • Change a complete Maa workflow
  • Task—such as automatic stamina recovery—without already providing a full Pipeline design
  • Safety constraints

Example prompts

  • “/maa-workflow-build”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. SPECIFY
  2. DISCOVER
  3. DESIGN
  4. IMPLEMENT
  5. VERIFY
  6. COMPLETE
  7. RECOVER

What it can do on your machine

Read from SKILL.md and the folder at commit 71b523e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Maa Workflow Build loads about 2.2k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 140 tokens; SKILL.md has 1,050 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~140
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from duorua/narutomobile at commit 71b523e, republished under its AGPL-3.0 licence (© duorua). 1,050 words, ~2,179 tokens.

Download SKILL.mdSave it as .claude/skills/maa-workflow-build/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
maa-workflow-build
description
Orchestrate ambiguous end-to-end MaaFramework automation requests into verified implementations. Use when a user asks to build, add, or change a complete Maa workflow or task—such as automatic stamina recovery—without already providing a full Pipeline design, start states, safety constraints, failure handling, or acceptance criteria. Compile intent into a task contract, discover project and UI state, design the state machine, route work across Maa skills, recover from failed observations or tests, and require evidence before completion.

Maa Workflow Build

Own an end-to-end Maa automation request from ambiguous intent through evidence-backed completion. Treat the other Maa skills as specialist capabilities; keep this skill responsible for goal compilation, phase state, routing, recovery, and acceptance.

Operating contract

  • Do not jump from a vague request directly to Pipeline nodes.
  • Maintain one task contract and one current run state throughout the task.
  • Separate observed facts, user decisions, working assumptions, and unresolved questions.
  • Ask only about choices that materially change behavior, safety, or acceptance. Make reversible, low-risk assumptions explicit and continue.
  • Define verification before implementation. Do not declare completion because files were written or a single smoke test passed.

Read references/task-contract.md before finalizing the goal. Read references/run-state.md before the first action and at every phase transition.

Specialist roles

  • Keep this orchestrator responsible for the task contract, state-machine design, failure routing, and final acceptance. The orchestrator owns state-machine assembly and integration; specialist outputs do not become a finished workflow until they are connected and verified against the contract.
  • Treat $maa-pipeline-guide as a reference and constraint source, not a sequential execution phase or node producer. Load only the sections needed to design, edit, or review the current control flow.
  • Treat $maa-pipeline-generate as the primary producer for recognition and action nodes, especially OCR, TemplateMatch, ColorMatch, ROI selection, and screenshot-derived snippets. Integrate its output into the designed state machine instead of treating generated nodes as task completion.
  • Invoke $maa-pipeline-option only when the task contract requires a user-facing toggle, selector, checkbox, switch, or input. Do not create options merely because the skill is available.
  • Run $maa-pipeline-testing after each coherent implementation increment and again against the integrated end-to-end flow. Use its evidence to route a failure back to the specialist or orchestrator phase that owns the defect.
  • Treat $maa-cli-operate as an execution backend for repeatable checks or guarded runtime operations, not a mandatory business phase.
  • Treat $maa-wiki as an official-knowledge reference provider. Use it when the task contract, design, or acceptance criteria depend on MaaFramework documentation, schema, API, binding, release, or semantic-change facts; navigate to original sources before treating those facts as authoritative.

Do not treat the specialists as a fixed guide -> generate -> option -> testing sequence. Call only the capability required by the current task state, then return its artifacts and evidence to this control loop.

Control loop

1. SPECIFY

Compile the request into a task contract. Define the goal, non-goals, observable start states, success and failure states, constraints, allowed and forbidden side effects, assumptions, and acceptance criteria.

Treat start state as a set of observable states, not one ideal screen. Include safe behavior for an unknown or unexpected state. Resolve project-independent product choices before editing, such as whether paid currency, purchases, repeated consumptions, or destructive actions are allowed.

2. DISCOVER

Locate the target project and check for optional project-level context artifacts before broad discovery:

  • If basic_info.md exists and is current enough for the task, read its routed sections as a cache and verify every touched fact against current source.
  • If an ignored graph output such as pipeline_overview.html, pipeline_external_entries.html, or its index.html exists and is current enough, use it for orientation and verify affected edges against current Pipeline and Python files.
  • If either artifact is missing, incomplete, or stale, continue with targeted source discovery and record the optional context gap. Do not block the workflow or regenerate the artifact.

Never invoke $maa-project-init or $maa-pipeline-graph automatically. Use those one-time or low-frequency project tools only when the user explicitly requests initialization, refresh, visualization, or graph regeneration. Confirm current Pipeline files, task entries, resource groups, public return/recovery nodes, option surfaces, Python entries, device availability, and current UI evidence directly from the project and environment.

Show full SKILL.md (447 more words)Show less
3. DESIGN

Design the complete state machine before generating nodes. Include:

  • every supported start state;
  • normal progress and success states;
  • no-op and already-complete paths;
  • recoverable failures and bounded retries;
  • unsafe or ambiguous states that must stop;
  • an observable post-action success check;
  • a stable return or handoff state.

Use $maa-pipeline-guide to choose Pipeline state transitions versus CustomAction or CustomRecognition. Define the required files, nodes, options, and verification ladder. For actions that spend currency, consume items, start battles, or change an account, design a non-mutating probe before the real action.

4. IMPLEMENT

Apply the smallest coherent change that can satisfy the task contract:

  • assemble and edit the overall Pipeline control flow in this orchestrator according to the designed state machine;
  • consult $maa-pipeline-guide while designing, editing, or reviewing that control flow;
  • use $maa-pipeline-generate to produce recognition/action nodes and ROI sweeps;
  • use $maa-pipeline-option only for required user-facing controls and their end-to-end wiring;
  • use $maa-cli-operate for compact repeatable validation and guarded runtime operations;
  • use $maa-pipeline-testing after each coherent increment for recognition, Custom wiring, and behavioral validation, then run the integrated verification ladder.

Keep temporary probes distinguishable from deliverable nodes. Preserve the target project's existing schema and naming conventions. Update the run state after each meaningful observation, edit, or failed attempt.

5. VERIFY

Read references/acceptance-protocol.md. Verify in increasing-risk order:

  1. syntax, schema, references, and resource loading;
  2. graph integrity and option/Custom wiring;
  3. non-mutating recognition probes on known stable screens;
  4. normal, no-op, disabled, failure, and recovery branches;
  5. an end-to-end run only when its side effects are authorized;
  6. post-action state and regressions against the task contract.

Attach observable evidence to each acceptance criterion. A skipped or unavailable check remains open unless the contract explicitly permits a documented limitation.

6. COMPLETE

Complete only when every required acceptance criterion has supporting evidence, no unexplained high-risk finding remains, temporary artifacts are handled, and the final state is stable.

Do not declare completion based only on generated JSON, a clean resource load, an unverified plan, or the model's own assessment. Report changed artifacts, verification evidence, remaining limitations, and safe follow-up actions.

7. RECOVER

Read references/recovery-policy.md whenever an observation, tool call, edit, or test fails. Record the root cause or best bounded hypothesis, a safe retry, retry count, evidence needed from the retry, and an explicit stop condition.

Re-observe after navigation or unexpected output. Replan when the state model is wrong. Stop instead of repeating ambiguous clicks, resource-consuming actions, or an unchanged failing attempt.

Phase output

At each phase boundary, update a compact result with:

yaml
status: success | warning | error
summary: one-line phase result
next_actions: []
artifacts: []
evidence: []
stop_reason: null

Keep the task contract stable unless new evidence or a user decision changes it. Compact context at phase boundaries; load only the specialist skill and reference needed for the next action.

© duorua, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in .agents/skills/maa-workflow-build of duorua/narutomobile.

  • SKILL.md
  • agents/openai.yaml
  • references/acceptance-protocol.md
  • references/recovery-policy.md
  • references/run-state.md
  • references/task-contract.md

Open the folder on GitHubat commit 71b523e

Compare with similar skills

Maa Workflow Build next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Maa Workflow Build compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Maa Workflow Build this skillduorua/narutomobile338—~2.2kAutomated safety check: PassAGPL-3.0
Cavekit Validation FirstJuliusBrussee/caveman-code942—~4.3kAutomated safety check: PassMIT
01 Acceptance QAai-driven-dev/framework513—~434Automated safety check: PassMIT
Verification Gatesrohitg00/skillkit1.5k—~1.7kAutomated safety check: PassApache-2.0
QAwp-media/wp-rocket767—~552Automated safety check: PassGPL-2.0
Review Rfcnurettincoban/ai-prd-workflow298—~1.4kAutomated safety check: PassMIT

Similar skills

  • Cavekit Validation First

    JuliusBrussee/caveman-code

    Validation-first design for Cavekit — every kit requirement must be automatically verifiable.

    942 GitHub stars~4.3k tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed
  • 01 Acceptance QA

    ai-driven-dev/framework

    Validate a reviewed candidate's observable behavior against its acceptance criteria and record short named videos as reviewer evidence.

    513 GitHub stars~434 tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Verification Gates

    rohitg00/skillkit

    Creates explicit validation checkpoints (verification gates) between project phases to catch errors early and ensure quality before proceeding.

    1.5k GitHub stars~1.7k tokensUpdated 4 mo ago
    Product & Project ManagementAuto-check passed
  • QA

    wp-media/wp-rocket

    Run QA validation on a pull request — boots the local environment, tests acceptance criteria, and optionally posts the report as a PR comment.

    767 GitHub stars~552 tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Review Rfc

    nurettincoban/ai-prd-workflow

    Review an implemented RFC in a fresh context against its acceptance criteria, RULES.md and the test plan, and save the review to reviews/.

    298 GitHub stars~1.4k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Mpm Ticket Wizard

    bobmatnyc/claude-mpm

    Interactive ticket creation wizard with Q&A flow for bugs, features, tasks, and epics

    155 GitHub stars~1.2k tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed

More from duorua/narutomobile

All 11 skills in this repo
  • Maa Project Init

    duorua/narutomobile

    Scan and initialize a MaaFramework game or app automation project for Maa skills and MaaMCP workflows.

    338 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Maa Pipeline Generate

    duorua/narutomobile

    Generate MaaFramework Pipeline nodes and recognition snippets from screenshots or observed UI state.

    338 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Maa Pipeline Option

    duorua/narutomobile

    Add runtime UI options (select/checkbox/switch/input) to MaaFramework option surfaces such as assets/interface.json or assets/resource/tasks//.json.

    338 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Maa Pipeline History Audit

    duorua/narutomobile

    Audit a MaaFramework/Maa-series project's Git history to learn how Pipeline JSON, interface options, Python AgentServer CustomAction code, and related data tables evolved.

    338 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Maa Pipeline Testing

    duorua/narutomobile

    Test and validate MaaFramework Pipeline JSON, recognition nodes, action nodes, CustomAction/CustomRecognition wiring, resource loading, and end-to-end task behavior.

    338 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Maa CLI Operate

    duorua/narutomobile

    Operate MaaFramework devices and Pipeline resources through the maafw-cli command line with strict JSON output.

    338 GitHub stars~981 tokensUpdated today
    Auto-check passed

Questions about Maa Workflow Build

What does Maa Workflow Build do?

Orchestrate ambiguous end-to-end MaaFramework automation requests into verified implementations. Maa Workflow Build is an agent skill from duorua/narutomobile. Orchestrate ambiguous end-to-end MaaFramework automation requests into verified implementations.

When should I use Maa Workflow Build?

Maa Workflow Build fits situations like: A user asks to build; change a complete Maa workflow; task—such as automatic stamina recovery—without already providing a full Pipeline design; safety constraints.

How do I install Maa Workflow Build in Claude Code?

Run `npx skills add duorua/narutomobile --skill maa-workflow-build -a claude-code`. Or copy the skill folder (.agents/skills/maa-workflow-build in duorua/narutomobile) into .claude/skills/maa-workflow-build in your project. Claude Code loads it when a task matches its description.

How do I install Maa Workflow Build in Codex?

Run `npx skills add duorua/narutomobile --skill maa-workflow-build -a codex`. Or copy the skill folder (.agents/skills/maa-workflow-build in duorua/narutomobile) into .agents/skills/maa-workflow-build in your project. Codex loads it when a task matches its description.

Can I use Maa Workflow Build in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add duorua/narutomobile --skill maa-workflow-build -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/maa-workflow-build, .gemini/skills/maa-workflow-build, .github/skills/maa-workflow-build and .opencode/skills/maa-workflow-build in your project.

What does Maa Workflow Build need to run?

SKILL.md names no scripts, command-line tools or credentials: Maa Workflow Build is instructions for the agent only. Our summary lists: Python 3.

Does Maa Workflow Build access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Maa Workflow Build safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Maa Workflow Build use?

Maa Workflow Build is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Maa Workflow Build use?

About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Maa Workflow Build?

Skills that share tags, products or a category with Maa Workflow Build: Cavekit Validation First (JuliusBrussee/caveman-code, 942 stars), 01 Acceptance QA (ai-driven-dev/framework, 513 stars), Verification Gates (rohitg00/skillkit, 1.5k stars) and QA (wp-media/wp-rocket, 767 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Maa Workflow Build?

duorua (a GitHub user) maintains it in duorua/narutomobile, which has 338 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 9, 2026.

Source: duorua/narutomobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.