/everything-maa:maa-interface-guidefrom everything-maa
Reviews, diagnoses, and modifies existing MaaFramework Project Interface V2 files. Handles controllers, resources, tasks, groups, options, presets, settings, pretasks, agents, telemetry, schema validation. Does not create new projects.
Ships in everything-maa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
只处理已存在的 Project Interface V2。先确定用户要求的是解释、审查/诊断还是修改;只读请求不得改文件。
interface.json 或 interface.jsonc。不存在时停止,要求先使用 $maa-project-create 创建项目;不得生成孤立的 Interface。interface_version。只接受 V2;缺失、为 1 或呈现 v1 结构时报告不支持,不提供迁移或兼容写法。maatools.config.mts、Interface import 和语言文件。项目内证据优先于本 skill 的经验。interface_version: 2 不是 PI 扩展能力的语义版本;字段能力以项目锁定的 PI 协议版本为准。$maa-wiki 加载 MaaLLMWiki 上游 maallmwiki skill,定位对应 PI 文档和 interface*.schema.json 的 pinned revision,再回到 MaaFramework 官方原始来源核实。仅当上游 skill 不可达时,按 $maa-wiki 的披露顺序用根 README 降级。记录实际采用的 tag、commit、schema 路径或 URL;不要依赖个人机器上的 MaaFramework 绝对路径。本 skill 不维护 PI 字段矩阵、能力快照或版本语义缓存。pretask、Agent PI_* 环境、resource hash、attach_resource_path、telemetry、setting 和 Preset 快照等上游语义,先按来源优先级从项目证据和 pinned 官方来源发现;无法闭环核实时明确标记为未验证。需要检查字段选择与引用关系时读取 references/review-guide.md。需要选择和运行验证工具时读取 references/validation.md。
只读主文件、import、语言文件及相关 Pipeline 入口,说明 controller、resource、task、group、option、preset、setting、pretask、agent 环境和 telemetry 的实际关系。区分“schema 允许”“Client 可能支持”“PI 文档允许但 schema 滞后”和“当前项目确实使用”,不要把推断表述成事实。
按以下顺序检查并报告带文件位置的证据:
attach_resource_path、图标、语言文件等路径是否可解析;pipeline_override 是否只覆盖已存在的节点;PI_* 兼容性、password/preset 隐私约束和 telemetry 用户授权是否明确;welcome 和多语言内容是否完整;审查请求默认不修复。区分协议错误、跨文件语义错误、Client 兼容风险和维护性建议。
$maa-project-create;本 skill 不创建项目或 Interface。pipeline_override 行为、目标 Pipeline 节点或 Python 参数读取,使用 $maa-pipeline-option。$maa-pipeline-guide;行为验证使用 $maa-pipeline-testing;关系可视化使用 $maa-pipeline-graph。按 references/validation.md 从低成本到高成本验证:JSON/JSONC 解析、项目 schema、路径与引用、项目已有检查命令、可选的 maa-tools 语义诊断。运行 maa-tools 前先检查 package.json 中已有的脚本和项目实际使用的包管理器;有项目脚本或已安装依赖时使用项目锁定命令,禁止直接执行 node_modules 内文件。静态编辑不得自动连接设备或执行 Pipeline。解释或只读审查中,若检查命令会写日志、缓存或其他文件,必须先取得用户许可。
若项目未安装 @nekosu/maa-tools,先按项目 lockfile 对应的包管理器确认临时执行方式,并必须先询问用户是否允许下载或执行;未获许可不得运行、安装或下载。用户拒绝时继续完成其余静态检查,并明确记录缺失的诊断层。
完成条件:
不要把“JSON 能解析”或“schema 通过”单独当作 Interface 正确性的证明。
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub khazixw2/everything-maa --plugin everything-maa13 skills in this plugin
/maa-cli-operateOperate 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-diagnoseDiagnose unexplained MaaFramework failures by driving the externally managed latest MaaEvidenceKit diagnostic runtime (formerly MaaDiagnosticExpert) read-only over local logs, project sources, and run-state context. Use when a run, task, or test already failed and the owner of the defect is still unknown, including maafw.log, timestamped maafw.bak logs, or other maafw.*.log files - resource or schema load failures, environment or dependency problems, device errors, runtime timeouts, wrong branches, Custom exceptions, or large MaaFramework logs that need timeline and node correlation. Produces normalized findings, evidence, artifacts, and one bounded failure owner, and never applies a repair. Route project scaffold health checks to $maa-project-create doctor and focused recognition retuning to $maa-pipeline-generate./maa-pipeline-generateGenerate MaaFramework Pipeline nodes and recognition snippets from screenshots or observed UI state. Use for OCR node generation, ROI sweep, choosing TemplateMatch/OCR/ColorMatch/CustomRecognition, preserving target-file schema style, and designing `next`/`[JumpBack]` links before merging generated nodes into pipeline JSON./maa-pipeline-graph生成 MaaFramework Pipeline 项目的可交互状态机图谱。当用户想"看 Pipeline 节点关系"、"画状态机图"、"画 Mermaid 图"、"看 node 间关系"、"找孤立节点 / orphan node"、"看 Python 怎么驱动 Pipeline"、"看 interface.json 入口"、"调试跨文件 next 引用"、"重构前理清架构" 时使用。**任何涉及 MaaFramework 节点关系可视化的需求都用这个 skill**,即便用户没明确说"画图"。/maa-pipeline-guideUniversal Pipeline JSON 编写指南。用于编写、修改或审查 MaaFramework Pipeline JSON,设计节点流程,使用 TemplateMatch/OCR/Custom 识别或 Click/Swipe 动作,并配置节点识别、动作或失败时显示自定义日志、轻提示或通知(focus)。/maa-pipeline-history-auditAudit a MaaFramework/Maa-series project's Git history to learn how Pipeline JSON, interface options, Python AgentServer CustomAction code, and related data tables evolved. Use when asked to review a Maa project from initial commit through a target commit, map `action: Custom` pipeline nodes to `@AgentServer.custom_action(...)` implementations, find pipeline/custom/option patterns or breakages, and produce a report plus skill-improvement recommendations.Other plugins' skills for the same job