Agent skill

Maa Punish Log Analysis

by overflow65537 in overflow65537/MAA_Punish

分析用户给出的本地日志目录或日志文件路径,结合 MAAPunish(MaaFramework + Python 自定义 + MFW-cfa)仓库定位任务卡死、识别失败、Pipeline 与自定义逻辑问题。主日志为 gui.log(cfa 图形界面)、custom.log(Python/agent 自定义)、debug/maa.log(框架运行时)。不下载或解压…

MITAuto-check passed

Install Maa Punish Log Analysis

skills CLI
$ npx skills add overflow65537/MAA_Punish --skill maa-punish-log-analysis -a claude-code

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

GitHub CLI
$ gh skill install overflow65537/MAA_Punish maa-punish-log-analysis --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/overflow65537/MAA_Punish.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/maa-punish-log-analysis .claude/skills/maa-punish-log-analysis && 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-punish-log-analysis
GitHub stars
371
Token cost
~606 tokens
SKILL.md length
112 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

分析用户给出的本地日志目录或日志文件路径,结合 MAAPunish(MaaFramework + Python 自定义 + MFW-cfa)仓库定位任务卡死、识别失败、Pipeline 与自定义逻辑问题。主日志为 gui.log(cfa 图形界面)、custom.log(Python/agent 自定义)、debug/maa.log(框架运行时)。不下载或解压…

  • Works in 5 steps: 解析路径 → 建立时间线 → 关联代码与资源 → …
  • SKILL.md covers 适用范围, 标准日志文件(按优先级阅读), 工作流 and 根因与输出, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Maa Punish Log Analysis is an agent skill from overflow65537/MAA_Punish. 分析用户给出的本地日志目录或日志文件路径,结合 MAAPunish(MaaFramework + Python 自定义 + MFW-cfa)仓库定位任务卡死、识别失败、Pipeline 与自定义逻辑问题。主日志为 gui.log(cfa 图形界面)、custom.log(Python/agent 自定义)、debug/maa.log(框架运行时)。不下载或解压 zip;在用户给出日志路径、贴日志片段、反馈 bug、排查识别或流水线问题时使用。

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Python. The repository describes itself as: 战双帕弥什每日任务自动化 | Assistant For Punishing Gray Raven. The licence is MIT.

Example prompts

  • “/maa-punish-log-analysis”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 解析路径
  2. 建立时间线
  3. 关联代码与资源
  4. 过滤证据
  5. 可选材料

What it can do on your machine

Read from SKILL.md and the folder at commit 7435a3d. 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 markdown).

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

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    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 Punish Log Analysis loads about 606 tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 112 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~606

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 overflow65537/MAA_Punish at commit 7435a3d, republished under its MIT licence (© overflow65537). 112 words, ~606 tokens.

Download SKILL.mdSave it as .claude/skills/maa-punish-log-analysis/SKILL.md (or your agent's skills folder).
name
maa-punish-log-analysis
description
分析用户给出的本地日志目录或日志文件路径,结合 MAA_Punish(MaaFramework + Python 自定义 + MFW-cfa)仓库定位任务卡死、识别失败、Pipeline 与自定义逻辑问题。主日志为 gui.log(cfa 图形界面)、custom.log(Python/agent 自定义)、debug/maa.log(框架运行时)。不下载或解压 zip;在用户给出日志路径、贴日志片段、反馈 bug、排查识别或流水线问题时使用。

MAA_Punish 本地日志分析

适用范围

  • 仓库:MAA_Punish(战双帕弥什小助手,Python 自定义 + MaaFramework)。
  • 输入:用户提供的目录路径(推荐)或具体 .log 文件路径。不处理 GitHub issue 附件 zip、不假设必须先解压压缩包。
  • 若用户只给目录,在该目录下按下方 Log Map 查找标准文件名;若路径不存在或缺少关键文件,先列出目录再说明缺什么证据。

标准日志文件(按优先级阅读)

文件含义
gui.logMFW-cfa 图形界面侧日志:配置加载、任务发起、界面与编排相关线索。
custom.logPython 自定义(assets/agent)侧日志:自定义识别/动作的打印与异常。
maa.logMaaFramework 核心运行时(仓库 README 反馈问题时常用 debug/maa.log):Pipeline 节点、识别、动作、控制器、task_id 等。

说明:agent/logger_component.py 默认可能写入 debug/custom_YYYYMMDD.log;若用户统一导出为 custom.log,以用户约定为准,并在分析时兼容两种命名。

工作流

  1. 解析路径

    • 若是目录:列出该目录下与日志相关的文件(*.log、on_error/、config/ 等),不要假定除 gui.log / custom.log / maa.log 以外还有固定结构。
    • 若是单个文件:先判断属于上表哪一类;必要时请用户补全同目录下其它日志。
  2. 建立时间线

    • 从用户描述中取出:版本、平台、控制器类型、任务名、现象与时间锚点。
    • 在 gui.log 中查找任务提交、实例/界面侧关键事件(措辞以实际文件为准)。
    • 在 maa.log 中用 task_id、Tasker.Task、Node. 等串起同一次运行。
    • 在 custom.log 中查找同一时段的 Python 扩展输出。
  3. 关联代码与资源

    • 任务入口与选项:assets/interface.json、assets/tasks/*.json。
    • Pipeline 节点:assets/resource/**/pipeline/**/*.jsonc(含 base、zh_TW 等变体)。
    • 自定义逻辑:agent/**/*.py。
    • Pipeline 协议与术语不确定时:本仓库 protocol-3.1-task-pipeline.md、上游 PipelineProtocol。
  4. 过滤证据

    • 高价值关键词示例:Tasker.Task.Starting / Succeeded / Failed,Node.Recognition.Failed,Node.Action.Failed,timeout,Warn / Error / Fatal,post_task,task_id。
    • 只引用支撑结论的片段,勿全文粘贴大日志。
  5. 可选材料

    • on_error/ 下的截图:用于核对实际画面与识别是否一致。
    • 用户目录下的配置快照(若存在):核对选项是否与口述一致。

根因与输出

  • 先区分:框架层(maa.log)、界面层(gui.log)、自定义扩展(custom.log)哪一层最先出现异常或矛盾。
  • 若日志显示任务成功但用户描述失败,明确写出「该份日志是否覆盖复现场景」。
  • 结论需有日志摘录或节点名/Pipeline 路径级依据;需要改 Pipeline 时指向具体 jsonc 节点名。
建议的回答结构
markdown
## 现象与范围
## 日志证据(gui / custom / maa)
## 时间线与 task 关联(若有)
## 根因判断
## 建议(配置 / 资源 / 代码 / 升级)
## 置信度与缺失证据

注意事项

  • 默认不分析 .dmp;若用户附带崩溃转储,说明需要专用符号化环境再判断。
  • 用户任务名、选项名若要友好展示,可在 assets 内查找与 interface.json/任务 JSON 对应的文案;找不到再写原始 id。
  • 引用本仓库代码时使用仓库内路径;引用 MaaFramework 行为可指向上游文档链接。

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

Files

Just SKILL.md in .cursor/skills/maa-punish-log-analysis of overflow65537/MAA_Punish.

Open the folder on GitHubat commit 7435a3d

Compare with similar skills

Maa Punish Log Analysis 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 Punish Log Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Maa Punish Log Analysis this skilloverflow65537/MAA_Punish371—~606Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k47 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use29k6 repos~3kAutomated safety check: PassMIT
PPT Masterhugohe3/ppt-master59k1 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 47 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    29k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    59k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed
  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.7k GitHub starsUsed in 16 repos~3.9k tokens
    Data & AnalyticsAuto-check passed

More from overflow65537/MAA_Punish

  • Git Commit Message

    overflow65537/MAA_Punish

    Generate precise git commit messages for this repository from staged or working tree diffs.

    371 GitHub stars~814 tokensUpdated today
    Auto-check passed
  • Maa Punish Pipeline Guide

    overflow65537/MAA_Punish

    MAAPunish 任务流水线 JSON/JSONC 编写与审查指南。含 Pipeline 速查表(识别类型、动作类型、节点字段默认值、JumpBack/Anchor、Custom)。基于 MaaFramework 协议与本仓库 protocol-3.1-task-pipeline.md。在编写或审查 pipeline、排查超时/onerror、或使用…

    371 GitHub stars~1.5k tokensUpdated today
    Auto-check passed

Works with

Questions about Maa Punish Log Analysis

What does Maa Punish Log Analysis do?

分析用户给出的本地日志目录或日志文件路径,结合 MAAPunish(MaaFramework + Python 自定义 + MFW-cfa)仓库定位任务卡死、识别失败、Pipeline 与自定义逻辑问题。主日志为 gui.log(cfa 图形界面)、custom.log(Python/agent 自定义)、debug/maa.log(框架运行时)。不下载或解压…. Maa Punish Log Analysis is an agent skill from overflow65537/MAA_Punish.

How do I install Maa Punish Log Analysis in Claude Code?

Run `npx skills add overflow65537/MAA_Punish --skill maa-punish-log-analysis -a claude-code`. Or copy the skill folder (.cursor/skills/maa-punish-log-analysis in overflow65537/MAA_Punish) into .claude/skills/maa-punish-log-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Maa Punish Log Analysis in Codex?

Run `npx skills add overflow65537/MAA_Punish --skill maa-punish-log-analysis -a codex`. Or copy the skill folder (.cursor/skills/maa-punish-log-analysis in overflow65537/MAA_Punish) into .agents/skills/maa-punish-log-analysis in your project. Codex loads it when a task matches its description.

Can I use Maa Punish Log Analysis 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 overflow65537/MAA_Punish --skill maa-punish-log-analysis -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-punish-log-analysis, .gemini/skills/maa-punish-log-analysis, .github/skills/maa-punish-log-analysis and .opencode/skills/maa-punish-log-analysis in your project.

What does Maa Punish Log Analysis need to run?

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

Does Maa Punish Log Analysis access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Maa Punish Log Analysis 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 Punish Log Analysis use?

Maa Punish Log Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Maa Punish Log Analysis use?

About 606 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Maa Punish Log Analysis?

Skills that share tags, products or a category with Maa Punish Log Analysis: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Maa Punish Log Analysis?

overflow65537 (a GitHub user) maintains it in overflow65537/MAA_Punish, which has 371 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 10, 2026.

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