Skip to content
Agentmart
Submit a tool

ygo-deck-analyze

游戏王卡组完整分析流程的 parent skill。当用户提供 .ydk 文件并要求分析卡组时使用此 skill。负责建立工作目录、追踪进度、按顺序调用 deck-parser 和 deck-analyzer,并生成最终人类可读报告。触发词:分析卡组、.ydk、卡组分析、帮我看看这套卡。

Skill by elmhuangyu

IndexedApache-2.0★ 3
Write a review

Chalk Labs

Need help deploying ygo-deck-analyze?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/elmhuangyu-ygo-deck-analyze

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

游戏王卡组完整分析流程的 parent skill。当用户提供 .ydk 文件并要求分析卡组时使用此 skill。负责建立工作目录、追踪进度、按顺序调用 deck-parser 和 deck-analyzer,并生成最终人类可读报告。触发词:分析卡组、.ydk、卡组分析、帮我看看这套卡。

Use cases: presentations

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ygo-deck-analyze

What's inside

Skill name
ygo-deck-analyze
Description
游戏王卡组完整分析流程的 parent skill。当用户提供 .ydk 文件并要求分析卡组时使用此 skill。负责建立工作目录、追踪进度、按顺序调用 deck-parser 和 deck-analyzer,并生成最终人类可读报告。触发词:分析卡组、.ydk、卡组分析、帮我看看这套卡。
License
Apache-2.0
Instructions
303 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# ygo-deck-analyze

## 职责

这是整个分析流程的协调者(orchestrator)。

负责:
- 建立工作目录和进度追踪文件
- 按顺序执行四个步骤
- 每步完成后将产物 dump 成文件
- 如果某步失败,记录断点,下次可从断点恢复
- 生成最终人类可读报告

不负责:
- 卡片信息获取(由 deck-parser 处理)
- 对局分析判断(由 deck-analyzer 处理)

---

## 工作目录结构

每个卡组建立独立目录,命名规则为 `{ydk文件名}_analysis/`。

```
{deck_name}_analysis/
├── TODO.md              # 进度追踪,每步完成后更新
├── deck_raw.csv         # Step 1 产物:CLI 原始返回数据(CSV格式)
├── deck_parsed.json     # Step 2 产物:deck-parser 输出
├── deck_analysis.json   # Step 3 产物:deck-analyzer 输出
└── report.md            # Step 4 产物:最终人类可读报告
```

---

## 断点恢复逻辑

开始前,先检查工作目录是否已存在:

- 如果目录不存在 → 全新开始,执行 Step 1
- 如果目录存在,读取 `TODO.md` → 找到第一个未完成的步骤,从该步骤继续
- 如果某个产物文件存在且非空 → 该步骤视为已完成,跳过

---

## 执行流程

### Step 1 — 初始化工作目录

1. 根据 `.ydk` 文件名创建工作目录,并创建 `TODO.md`

```bash
mkdir -p {deck_name}_analysis && touch {deck_name}_analysis/TODO.md
```

2. 写 `TODO.md`,内容如下:

```markdown
# {deck_name} 分析进度

## 文件
- ydk: {ydk_filename}
- 开始时间: {timestamp}

## 步骤
- [ ] Step 1: 获取原始卡片数据 → deck_raw.csv
- [ ] Step 2: 解析卡组结构 → deck_parsed.json
- [ ] Step 3: 对局分析 → deck_analysis.json
- [ ] Step 4: 生成报告 → report.md
```

3. 在 `TODO.md` 中将 Step 1 标记为进行中。

---

### Step 2 — 获取原始卡片数据

使用 `ygo-db-cli` CLI 工具获取卡片信息:

```bash
ygo-db-cli get-cards-by-ydk -i {ydk文件路径} -o deck_raw.csv
```

CLI 工具会将数据(CSV格式)完整 dump 到 `deck_raw.csv`。

> 保存原始数据的目的:如果后续解析逻辑有问题,可以直接重跑解析步骤,不需要重新调用 CLI。

完成后更新 `TODO.md`:
```markdown
- [x] Step 1: 获取原始卡片数据 → deck_raw.csv
```

---

### Step 3 — 解析卡组结构

读取 `deck_raw.csv`,调用 `deck-parser` skill 进行卡组结构解析。

输入:`deck_raw.csv`
输出:按 `deck-parser` skill 定义的 JSON schema 生成结果,dump 到 `deck_parsed.json`。

完成后更新 `TODO.md`:
```markdown
- [x] Step 2: 解析卡组结构 → deck_parsed.json
```

---

### Step 4 — 对局分析

读取 `deck_raw.csv` 和 `deck_parsed.json`,调用 `deck-analyzer` skill 进行完整对局分析。

输入:`deck_raw.csv` + `deck_parsed.json`
输出:按 `deck-analyzer` skill 定义的 JSON schema 生成结果,dump 到 `deck_analysis.json`。

完成后更新 `TODO.md`:
```markdown
- [x] Step 3: 对局分析 → deck_analysis.json
```

From elmhuangyu/yu-gi-oh-ai-tools, Apache-2.0.

Signals

Stars
3
Forks
1
Open issues
0
Last commit (this folder)
Mar 18, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from elmhuangyu

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get ygo-deck-analyze running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying ygo-deck-analyze?

CallGet help
Cite this page

ygo-deck-analyze skill. Agent Mart. https://agentmart.dev/skills/elmhuangyu-ygo-deck-analyze (last updated 2026-10-24)