Vercel Composition Patterns
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
制作与调整 MAA 任务的识别资源:截模板图/抠模板、定位 roi/定坐标/量坐标、取色生成 ColorMatch 参数、调 maskRange/maskranges/掩码范围。用户提到截模板/裁模板/模板图、roi 坐标、取色、ColorMatch、给新活动或新界面做图像适配,或点名 ImageCropper/MaskRangeTool 时使用,即使用户没有明确说出工具名。
$ npx skills add MaaAssistantArknights/MaaAssistantArknights --skill template-craft -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MaaAssistantArknights/MaaAssistantArknights template-craft --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MaaAssistantArknights/MaaAssistantArknights.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/template-craft .claude/skills/template-craft && rm -rf skills-srcUse ~/.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/
Install the "template-craft" agent skill from https://github.com/MaaAssistantArknights/MaaAssistantArknights/tree/dev-v2/.agents/skills/template-craft into .claude/skills/template-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "template-craft", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MaaAssistantArknights/MaaAssistantArknights/tree/dev-v2/.agents/skills/template-craftType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MaaAssistantArknights/MaaAssistantArknights --skill template-craft -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MaaAssistantArknights/MaaAssistantArknights template-craft --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MaaAssistantArknights/MaaAssistantArknights.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/template-craft .agents/skills/template-craft && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "template-craft" agent skill from https://github.com/MaaAssistantArknights/MaaAssistantArknights/tree/dev-v2/.agents/skills/template-craft into .agents/skills/template-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "template-craft", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MaaAssistantArknights/MaaAssistantArknights --skill template-craft -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MaaAssistantArknights/MaaAssistantArknights template-craft --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MaaAssistantArknights/MaaAssistantArknights.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/template-craft .cursor/skills/template-craft && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "template-craft" agent skill from https://github.com/MaaAssistantArknights/MaaAssistantArknights/tree/dev-v2/.agents/skills/template-craft into .cursor/skills/template-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "template-craft", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MaaAssistantArknights/MaaAssistantArknights.git --path .agents/skills/template-craft--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MaaAssistantArknights/MaaAssistantArknights --skill template-craft -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MaaAssistantArknights/MaaAssistantArknights template-craft --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MaaAssistantArknights/MaaAssistantArknights.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/template-craft .gemini/skills/template-craft && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "template-craft" agent skill from https://github.com/MaaAssistantArknights/MaaAssistantArknights/tree/dev-v2/.agents/skills/template-craft into .gemini/skills/template-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "template-craft", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MaaAssistantArknights/MaaAssistantArknights template-craftInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MaaAssistantArknights/MaaAssistantArknights --skill template-craft -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MaaAssistantArknights/MaaAssistantArknights.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/template-craft .github/skills/template-craft && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "template-craft" agent skill from https://github.com/MaaAssistantArknights/MaaAssistantArknights/tree/dev-v2/.agents/skills/template-craft into .github/skills/template-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "template-craft", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MaaAssistantArknights/MaaAssistantArknights --skill template-craft -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MaaAssistantArknights/MaaAssistantArknights template-craft --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MaaAssistantArknights/MaaAssistantArknights.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/template-craft .opencode/skills/template-craft && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "template-craft" agent skill from https://github.com/MaaAssistantArknights/MaaAssistantArknights/tree/dev-v2/.agents/skills/template-craft into .opencode/skills/template-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "template-craft", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
template-craft制作与调整 MAA 任务的识别资源:截模板图/抠模板、定位 roi/定坐标/量坐标、取色生成 ColorMatch 参数、调 maskRange/maskranges/掩码范围。用户提到截模板/裁模板/模板图、roi 坐标、取色、ColorMatch、给新活动或新界面做图像适配,或点名 ImageCropper/MaskRangeTool 时使用,即使用户没有明确说出工具名。
Template Craft is an agent skill from MaaAssistantArknights/MaaAssistantArknights. 制作与调整 MAA 任务的识别资源:截模板图/抠模板、定位 roi/定坐标/量坐标、取色生成 ColorMatch 参数、调 maskRange/maskranges/掩码范围。用户提到截模板/裁模板/模板图、roi 坐标、取色、ColorMatch、给新活动或新界面做图像适配,或点名 ImageCropper/MaskRangeTool 时使用,即使用户没有明确说出工具名。
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development. The repository describes itself as: 《明日方舟》小助手,全日常一键长草!| A one-click tool for the daily tasks of Arknights, supporting all clients. The licence is AGPL-3.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a82a0e1. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Template Craft loads about 1.7k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 472 words of instructions outside code blocks.
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.
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.
The full file from MaaAssistantArknights/MaaAssistantArknights at commit a82a0e1, republished under its AGPL-3.0 licence (© MaaAssistantArknights). 472 words, ~1,742 tokens.
.claude/skills/template-craft/SKILL.md (or your agent's skills folder).tools/ImageCropper/(截模板/定 roi/取色):agent 用 CLI cli.py(无头);GUI main.py 留给人拖框。tools/MaskRangeTool/(maskRange 调参,LUV/HSV/RGB):直接 import mask_utils 调函数。tools/ImageCropper/README.md;无头调用只需 opencv-python 与 numpy(MaskRangeTool 另需 matplotlib),MaaFw 仅 GUI 连设备用,依赖各见工具目录 requirements.txt。--raw(否则被放大、坐标系改变)。注意源图宽高比非 16:9 时(如 4:3 窗口截图),标准化空间与 16:9 运行时空间不等比,roi 不可直接搬用集成。x,y,w,h(--box 收两点式 x1,y1,x2,y2);产物默认写 tools/ImageCropper/dst/,stdout 打印绝对路径,建议 -o 指到本次工作目录。--line-color 可单色覆盖线色)。只允许判断目标边缘夹在哪两根线之间——唯一合法读数形式是 「左/上边缘夹在线 a 与线 b 之间,右/下边缘夹在线 c 与线 d 之间」;禁止 「压线 X/边界在线 X 上」 的精确断言(目测精度不足以支撑),禁止 「c4.3~7.9」 之类小数读数,禁止任何格内占比/比例目测(Read 展示端可能缩放 grid 图,占比目测一律不可靠,不得据此做格内偏移判断)。像素换算只发生在工具内部:裁剪传 crop c1,r1,c2,r2 --in-lines(线区间:左/上闭、右/下开,区间两端即目标边界;配 --cell 与 --cell-origin,默认 64 与 0,0),开窗传 grid --region-lines c1,r1,c2,r2 --region-cell <上一层线距> --cell-origin <上一层 stdout origin>(--region-cell 只管开窗换算、--cell 只管本层渲染,省略 --region-cell 则回落 --cell)。--cell-origin 同样只是 --region-lines/--in-lines 的开窗与换算基准:渲染图的线号原点恒为窗左上角,与本参数无关,禁止把它当 「跨窗统一线号原点」 传值。格距两轴独立:--cell-x/--cell-y 覆盖 --cell 对应轴,--region-cell-x/--region-cell-y 同理覆盖 --region-cell 对应轴(窄带窗 「读数轴细、扫描轴粗」 靠这两对覆盖实现);stdout 打印实际生效的四轴值(本层 cell 与开窗换算 region-cell 的 x/y)与换算式,下一层开窗照抄,勿自行推算。任何 「线号×格距」 的像素心算一律禁止,--cell-origin 的数值从上一层 stdout 打印的 origin 直接抄写。输出硬限 1280×720——Read 展示端会把更大的图降采样到约 810p、标注全部糊掉,故绝不产出大图:显示步长两轴各自从 cell*zoom 出发在 720p 预算内自动双向调整(放不下每线序号就放大、超预算就缩小),字号 0.7→0.3 逐级自适应,stdout 打印实际 step。--overlay 画线叠加模式读边缘所贴基准线的线号(数字起始位置=线位),输出超 720p 时自动按比例缩小图像,线密度 cell/zoom 语义不变。大区域配细格放不下时直接报错退出,报错信息指引 「先在粗格全图上定位,再对 --region 小图做细格边界判断」。线数硬上限与逼近粒度选择:任何单窗任一轴的法向线数不得超过 20 根(线数=该轴窗跨度÷本层该轴线距)——红蓝交替切缝+线号标注在 ≤12 根时基本无误读空间,20 是硬顶。每层窗的法向跨度=上一层线区间+两侧各 1 根上层线距的外延(外延覆盖上层读数漂移,目标须在窗内居中),按 「(带+外延)÷本层线距 ≤ 20」 选本层线距,级差尽量取 4~8 倍(为满足 ≤20 上限可缩小),典型链 64→16→8→2(末层 cell-x 2 时配 cell-y 16 的两轴窄带,读上下缘时对调)。
crop --in-lines 产物文件名为唯一像素出处。python cli.py grid <源图> --cell 64 -o <工作目录>/l1.png(stdout 打印 cell/origin/实际 step,先看再读;全图 origin 恒 (0,0)),读出目标有没有、四边各夹在哪几线之间,得初始线区间带。粗格读数的角色只是把搜索窗定到 ±1~2 线:Read 缩放下跨线目测可能偏差 1~1.5 个线距甚至自相矛盾,属预期行为;精确边界由下层裁决,L1 读数与下层结果矛盾时以后者为准、不重读 L1。python cli.py grid <源图> --region-lines <L1线区间各向外延1线> --region-cell 64 --cell <本层线距,典型16> --cell-origin <L1 stdout origin> -o <工作目录>/l2.png(--region-cell 取上一层线距管开窗换算、--cell 为本层渲染格距,二者解耦)。自检:目标必须在窗内大致居中,明显不居中即开窗方向算错,回查上一层读数与外延方向。本层读全目标线区间:四边各夹在哪两线之间。开窗落空(窗内无目标)时回 L1 重定带或再外延 1 线重开。淡色/低对比目标在粗层目测即可能失灵(偏差可远超半个线距,如浅灰边框看错 10~30px)——不在粗层死磕,转 color 色值扫描定位:对行/列逐条开单条 roi(长度 ≥3 像素)逐条读值,聚类输出位置盲、长条 roi 反推不出边界位置。等距网格批量收割(图标阵/头像阵):用 color 对候选边界行/列色值扫描定节距与原点(阈值如与背景任一通道差 >10),批量 roi 逐一回读验证;逐卡可有 ±2px 相位抖动,等距模型失配时退回逐卡标定。--cell-x <法向线距> --cell-y 16),读上/下缘(y 坐标)对调;沿边轴固定 16 不参与逼近。窗=该边上一层线区间法向两侧各对称外延 1 线(单位=上层法向线距),沿边方向罩住边的中段即可;本层法向线距按 「(带+外延)÷本层线距 ≤ 20」 选(典型 8),已可一步到 2 就直达末层;弧形边读数窗取中线附近跨度即可——弧的最远点在中线上,读最远点处的线区间不需要沿整弧布线。这是读数窗口径,与模板形态口径无关:模板产物仍必须是完整外接矩形、弧外靠 maskRange 排除(见 「弧形/非矩形目标口径」 ):python cli.py grid <源图> --region-lines <该边法向区间外延 1 线、沿边取中段> --region-cell <上层法向线距> --cell-x <本层法向线距> --cell-y 16 --cell-origin <上层 stdout origin> -o <工作目录>/l3_<边>[_<线距>].png(读上下缘时 --cell-x/--cell-y 对调;目标小、四边可合并一窗时仍须居中自检)。法向逐层细化,每层只在本层窗内读线区间,边界一律在末层窗内裁定,不拿粗层读数细分边界(低倍下淡色 halo 会被邻近内容干扰误读)。--region-cell-x/--region-cell-y 抄末层 stdout 打印的两轴 cell(法向 2、沿边 16,随边向对调)。某边夹在哪两线之间仍难辨(淡灰抗锯齿/边缘光/低对比)时:先按靠外一线保守计入,再对该边截更小 region 提高 --zoom(初始显示步长倍数,step=cell*zoom,工具在 720p 预算内自动调整,小窗放得下高倍)按末层同参数重开窗放大看细节,放大后清晰即定;多次放大仍不可辨的按裁决纪律处理。口径四边一致;先验(如 「圆应宽高相等」)与读数冲突时先怀疑读错、重读该窗。python cli.py crop <源图> c1,r1,c2,r2 --in-lines --cell 2 --cell-origin <该层 stdout origin> -o <工作目录>(线区间端点即像素边界,工具内部换算、产物文件名即像素 roi),另按产物文件名中的像素值裁 (x−2,y−2,w+4,h+4) 对照窗:产物四边恰为目标边界、2px 环带内无目标主体色残留(按口径被排除的边缘渐变不算失败),且复验含原点(first_read 与 final 可能同尺寸不同原点,只对 w/h 会漏误差)。失败即某层线区间读错,回该边所在层重读,不引入额外校验步骤,勿凭产物目测猜偏移。拆窗纪律:两轴网格(读数轴细、扫描轴粗)下 720p 预算撞线已基本消失,预算内无解时工具直接报错退出,按报错指引调整参数重开即可;按边多窗仍存在,各窗 origin 不同、线号不通用,读数连同各窗 stdout 换算式(origin 与 cell)记录,终裁前统一到单一格系——只有同一 origin 下的读数才能拼用;换算到目标格系即线号平移——目标格系线号 = 窗内线号 + (窗 origin − 目标 origin) ÷ cell,逐轴代入各窗 stdout 值,仅用线号代数,禁止像素算术(如窗 origin (144,220) cell 2 的线号 8 → 目标 origin (112,176) 格系线号 8+(144−112)/2=24)。
裁决纪律:背景永远排除;目标自身渐变(抗锯齿/光晕)计入与否按匹配场景定——背景固定可含入,可能随主题/底色变化则把边界收进渐变内侧、小一圈换鲁棒。四边同口径优先于组件间等尺寸:同款组件间 1~2px 的渐变尾差异如实保留,集成侧需要等尺寸时统一收紧口径。先验(如 「圆应宽高相等」)与读数冲突时先怀疑读数有误、重读该窗,重读仍冲突才以图为准。
弧形/非矩形目标口径:产物=外接矩形模板,图上弧外区域直接涂纯黑(像素 0),任务配 "maskRange": [1, 255] 排除涂黑像素——匹配时模板转灰度,纯黑(灰度 0)落在区间外不参与匹配(仓库实践即 「maskRange [1, 255] + 背景涂黑」 ,见 docs/zh-cn/protocol/task-schema.md 的 maskRange 字段)。模板必须完整外接矩形、无缺角缺段;涂黑范围按第 0 步先验的目标形状划定(如圆形按外接矩形内圆外区域)。
交付边界:止于产出最终模板图与 roi/ColorMatch/maskRange 数值,整理产物绝对路径与数值回报用户;写入 resource/template/ 与 resource/tasks/*.json 属任务集成步骤,由调用场景另行决定。
color 子命令对 roi 聚类主色,输出可直接并入任务 JSON 的 ColorMatch 参数草稿(method 4 = RGB 空间);lower/upper 为按聚类嵌套的三通道向量,count 为各簇阈值内的命中数(int;簇间可重叠、总和可超 roi 像素数,仅作主导色存在性参考,不可当精确计数或位置信息)。--connected 要求命中连成片(实心色块状态判断用),默认按像素计数。stdout 会先打 「Note: …」 标准化警告再输出 JSON,脚本化解析前需过滤。GUI 的 C/c 输出(仅首个聚类、向量单层展开)与 CLI 草稿结构不同,勿交叉对照。
main.py 是写死示例路径的演示脚本,agent 直接调 mask_utils(base_mask_ranges 预设见 main.py 顶部;color 支持 luv/hsv/rgb):
import sys
sys.path.insert(0, r"<仓库根>\tools\MaskRangeTool")
import cv2
from mask_utils import generate_mask_ranges, compare_2_image_with_mask_ranges
# 自动推荐 maskRanges;show=False 无头拿返回值,save 存直方图+mask 预览供回读
ranges = generate_mask_ranges(img, "luv", base_mask_ranges, show=False, save="preview.png")
# 两组图在给定 ranges 下的差异对比,验证 maskRange 区分度
compare_2_image_with_mask_ranges(img1, img2, ranges, "luv", show=False, save="cmp.png")© MaaAssistantArknights, 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
Just SKILL.md in .agents/skills/template-craft of MaaAssistantArknights/MaaAssistantArknights.
Open the folder on GitHubat commit a82a0e1
Template Craft 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Template Craft this skillMaaAssistantArknights/MaaAssistantArknights | 24k | — | ~1.7k | Automated safety check: Pass | AGPL-3.0 | |
| Vercel Composition Patternssupabase/supabase | 111k | 58 repos | ~726 | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT |
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
MaaAssistantArknights/MaaAssistantArknights
依据 git 提交、diff、现有 CHANGELOG 与 tag,生成符合 MAA 规范、可直接写入 CHANGELOG.md 的最终 Markdown。用户提到发版、整理/生成 changelog、写更新日志、发布正式版或 beta 时均应使用本 skill,即使用户没有明确说出 "changelog" 一词。
MaaAssistantArknights/MaaAssistantArknights
用 MaaCore 本体对本地图片(用户日志反馈包截图、自己截的图)离线验证识别结果:pipeline 任务为什么没命中、模板匹配得分多少、OCR 认出了什么、物品模板匹配情况。用户提到 「验证识别」「为什么没识别/没命中」「模板分数/得分」「OCR 结果对不对」「排查反馈包截图」或给了截图要复现 core 行为时使用。与外部脚本(python 直调 ppocr/OpenCV)的区别:本工具走…
MaaAssistantArknights/MaaAssistantArknights
用“赛博道士 + 故障玄学 + 半懂不懂技术分析”的风格回复 MAA 用户的简略求助。用于用户只给一句模糊问题、没有日志、没有截图、没有报错时,做一段短小离谱但认真的玄学诊断。触发词可包括“赛博算卦”“玄学回复”“评论区整活”“帮我写一段离谱但正经的故障分析”
MaaAssistantArknights/MaaAssistantArknights
分析 MaaAssistantArknights 上游仓库公开 Issue(https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/...
MaaAssistantArknights/MaaAssistantArknights
以《明日方舟》帕拉斯的人设与语气生成强角色扮演式回复。用于用户明确要求“帕拉斯风格”“帕拉斯口吻”“像帕拉斯一样说话”“Pallas roleplay”时,输出带有米诺斯祭司、英雄叙事、荣誉与信念色彩的中文回复,同时保持内容可理解、可执行。
MaaAssistantArknights/MaaAssistantArknights
用 MAA GUI 内置演示模式(tools/ReadmeShotDemo)重新生成仓库 README 界面截图。用户提到更新/换 README 截图、README 里的画面过期、UI 大改后要更新 README 展示图、跑 ReadmeShotDemo 或 demo 截图时使用,即使用户没有明确说出 「ReadmeShotDemo」 一词。
Categories
制作与调整 MAA 任务的识别资源:截模板图/抠模板、定位 roi/定坐标/量坐标、取色生成 ColorMatch 参数、调 maskRange/maskranges/掩码范围。用户提到截模板/裁模板/模板图、roi 坐标、取色、ColorMatch、给新活动或新界面做图像适配,或点名 ImageCropper/MaskRangeTool 时使用,即使用户没有明确说出工具名。. Template Craft is an agent skill from MaaAssistantArknights/MaaAssistantArknights.
Template Craft fits situations like: development work in your project.
Run `npx skills add MaaAssistantArknights/MaaAssistantArknights --skill template-craft -a claude-code`. Or copy the skill folder (.agents/skills/template-craft in MaaAssistantArknights/MaaAssistantArknights) into .claude/skills/template-craft in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MaaAssistantArknights/MaaAssistantArknights --skill template-craft -a codex`. Or copy the skill folder (.agents/skills/template-craft in MaaAssistantArknights/MaaAssistantArknights) into .agents/skills/template-craft in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MaaAssistantArknights/MaaAssistantArknights --skill template-craft -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/template-craft, .gemini/skills/template-craft, .github/skills/template-craft and .opencode/skills/template-craft in your project.
Going by SKILL.md and its folder, Template Craft needs the command-line tools its instructions call (python). Our summary lists: Python 3.
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.
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.
Template Craft 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.
About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Template Craft: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MaaAssistantArknights (a GitHub organization) maintains it in MaaAssistantArknights/MaaAssistantArknights, which has 23,628 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 8, 2026.
Source: MaaAssistantArknights/MaaAssistantArknights on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.