Skill
  • Claude Code
  • Codex
  • OpenCode
  • Grok
  • OpenClaw
  • Antigravity
  • Kimi Code
  • Qwen Code
  • +27more agents

bad-case-to-dpo

bojieli/ai-agent-book

把生产 bad case / 失败轨迹转成训练数据时使用——从失败归因、轨迹前缀截取、DPO 偏好对构造、LoRA 训练到边界集与保留集双集验证的完整链路;也用于判断某类问题该走 SFT、DPO、RL 还是先修 Harness/工具/tokenizer,以及如何从运行轨迹中提取…

A skill in “Data, analytics and research”. Ready commands for Claude Code, Codex, OpenCode and 32 more agents.

Full description

把生产 bad case / 失败轨迹转成训练数据时使用——从失败归因、轨迹前缀截取、DPO 偏好对构造、LoRA 训练到边界集与保留集双集验证的完整链路;也用于判断某类问题该走 SFT、DPO、RL 还是先修 Harness/工具/tokenizer,以及如何从运行轨迹中提取带证据的结构化学习信号。触发词:bad case、失败归因、DPO、偏好对、轨迹前缀、拒绝采样、过度矫正、边界集、保留集、过早结束、reward hacking、LoRA 微调、训练评估隔离。

  • Skill
  • Data, analytics and research
  • 35 agents
  • 60,668 stars
  • Apache-2.0

Install

Pick your program and the command types itself.

npx skills add https://github.com/bojieli/ai-agent-book --skill bad-case-to-dpo -a claude-code

Run it in your project folder; add -g to use it in every project.

Commands are generated from the publisher’s registry data; ANG skills has not run or audited them.

Setup notes

Requirements

  • Node.js >= 22.20

Publisher’s steps

  1. Download and extract the pinned repository ZIP.
  2. Copy the complete 'skills/bad-case-to-dpo' directory, including scripts, references and assets, into your agent's skills directory.
  3. Follow your agent's skill discovery instructions; copying SKILL.md alone may omit required files.
  4. Run the command and select the agent and installation scope interactively.
  5. This CLI method uses the latest branch; use the ZIP method for the pinned revision.

Agent support

Which agents can read this entry, and which cannot.

Supported 35

  • Claude CodeReady command. Claude Code supports SKILL.md.Source
  • CodexReady command. Codex supports SKILL.md.Source
  • OpenCodeReady command. OpenCode supports SKILL.md.Source
  • GrokReady command. Grok supports SKILL.md.Source
  • OpenClawReady command. OpenClaw supports SKILL.md.Source
  • AntigravityReady command. Antigravity supports SKILL.md.Source
  • Kimi CodeReady command. Kimi Code supports SKILL.md.Source
  • Qwen CodeReady command. Qwen Code supports SKILL.md.Source
  • Gemini CLIReady command. Gemini CLI supports SKILL.md.Source
  • PiReady command. Pi supports SKILL.md.Source
  • GooseReady command. Goose supports SKILL.md.Source
  • AmpReady command. Amp supports SKILL.md.Source
  • Factory DroidReady command. Factory Droid supports SKILL.md.Source
  • Mistral VibeReady command. Mistral Vibe supports SKILL.md.Source
  • CrushReady command. Crush supports SKILL.md.Source
  • Hermes AgentReady command. Hermes Agent supports SKILL.md.Source
  • CodebuffReady command. Codebuff supports SKILL.md.Source
  • Rovo DevReady command. Rovo Dev supports SKILL.md.Source
  • QoderReady command. Qoder supports SKILL.md.Source
  • TRAEReady command. TRAE supports SKILL.md.Source
  • MiniMax CodeReady command. MiniMax Code supports SKILL.md.Source
  • MiMo CodeReady command. MiMo Code supports SKILL.md.Source
  • CursorReady command. Cursor supports SKILL.md.Source
  • GitHub CopilotReady command. GitHub Copilot supports SKILL.md.Source
  • KiroReady command. Kiro supports SKILL.md.Source
  • ClineReady command. Cline supports SKILL.md.Source
  • Kilo CodeReady command. Kilo Code supports SKILL.md.Source
  • JunieReady command. Junie supports SKILL.md.Source
  • Augment CodeReady command. Augment Code supports SKILL.md.Source
  • ZedReady command. Zed supports SKILL.md.Source
  • CodeBuddyReady command. CodeBuddy supports SKILL.md.Source
  • BLACKBOX AIReady command. BLACKBOX AI supports SKILL.md.Source
  • DevinReady command. Devin supports SKILL.md.Source
  • OpenHandsReady command. OpenHands supports SKILL.md.Source
  • Replit AgentReady command. Replit Agent supports SKILL.md.Source

Not documented 8

  • AiderNo SKILL.md support documented for Aider.Source
  • PlandexNo SKILL.md support documented for Plandex.Source
  • CodeGPTNo SKILL.md support documented for CodeGPT.Source
  • SWE-agentNo SKILL.md support documented for SWE-agent.Source
  • mini-SWE-agentNo SKILL.md support documented for mini-SWE-agent.Source
  • JulesNo SKILL.md support documented for Jules.Source
  • Open SWENo SKILL.md support documented for Open SWE.Source
  • GitLab DuoNo SKILL.md support documented for GitLab Duo.Source

Support comes from each agent’s official docs on SKILL.md and MCP; ANG has not run this entry on every agent.

In plain words

No tech background needed.

What is it?
A skill is a pack of instructions you load into your agent (like Claude Code or Codex). It is like installing an app on your phone: install it once and the agent knows how to do that job.
What is it for?
Used for “Data, analytics and research” work. In the publisher’s words: 把生产 bad case / 失败轨迹转成训练数据时使用——从失败归因、轨迹前缀截取、DPO 偏好对构造、LoRA 训练到边界集与保留集双集验证的完整链路;也用于判断某类问题该走 SFT、DPO、RL 还是先修 Harness/工具/tokenizer,以及如何从运行轨迹中提取带证据的结构化学习信号。触发词:bad…
Example request
“Research this topic and summarize it.”
Agents
Ready commands for Claude Code, Codex, OpenCode and 32 more agents.
Can I trust it?
60,668 GitHub stars · Apache-2.0. Check the source before installing.

Usage

Last 30 days, on the site and in agents.

A field score needs at least 20 users and 50 tasks from the ANG app; now 0 users, 0 tasks. Until then the power score is estimated from listing data.

Benchmark

How strong is it on each agent?

79power · 35 agents

Tracking just started Open chart
  • Claude Code79
  • Codex79
  • OpenCode79
  • Grok79
  • OpenClaw79
  • Antigravity79
  • Kimi Code79
  • Qwen Code79
  • Gemini CLI79
  • Pi79
  • Goose79
  • Amp79
  • Factory Droid79
  • Mistral Vibe79
  • Crush79
  • Hermes Agent79
  • Codebuff79
  • Rovo Dev79
  • Qoder79
  • TRAE79
  • MiniMax Code79
  • MiMo Code79
  • Cursor79
  • GitHub Copilot79
  • Kiro79
  • Cline79
  • Kilo Code79
  • Junie79
  • Augment Code79
  • Zed79
  • CodeBuddy79
  • BLACKBOX AI79
  • Devin79
  • OpenHands79
  • Replit Agent79

How is the score calculated?

In the community

Ask, share how you used it.

Start a topic about this skill

Similar

From Data, analytics and research.

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-*.json).Click to install

Skill195.7KGitHub stars

Cpu profile analysis

microsoft/vscode

  • Claude Code
  • Codex
  • +33: OpenCode, Grok, OpenClaw, Antigravity, Kimi Code, Qwen Code, Gemini CLI, Pi, Goose, Amp, Factory Droid, Mistral Vibe, Crush, Hermes Agent, Codebuff, Rovo Dev, Qoder, TRAE, MiniMax Code, MiMo Code, Cursor, GitHub Copilot, Kiro, Cline, Kilo Code, Junie, Augment Code, Zed, CodeBuddy, BLACKBOX AI, Devin, OpenHands, Replit Agent

Team-management dashboard skill in the FlowAI aesthetic — three tabs (Team Members, Team Detail…Click to install

Skill110.9KGitHub stars

Flowai live dashboard template

nexu-io/open-design

  • Claude Code
  • Codex
  • +33: OpenCode, Grok, OpenClaw, Antigravity, Kimi Code, Qwen Code, Gemini CLI, Pi, Goose, Amp, Factory Droid, Mistral Vibe, Crush, Hermes Agent, Codebuff, Rovo Dev, Qoder, TRAE, MiniMax Code, MiMo Code, Cursor, GitHub Copilot, Kiro, Cline, Kilo Code, Junie, Augment Code, Zed, CodeBuddy, BLACKBOX AI, Devin, OpenHands, Replit Agent

Analyze V8 heap snapshots to investigate memory leaks and retention issues.Click to install

Skill195.7KGitHub stars

Heap snapshot analysis

microsoft/vscode

  • Claude Code
  • Codex
  • +33: OpenCode, Grok, OpenClaw, Antigravity, Kimi Code, Qwen Code, Gemini CLI, Pi, Goose, Amp, Factory Droid, Mistral Vibe, Crush, Hermes Agent, Codebuff, Rovo Dev, Qoder, TRAE, MiniMax Code, MiMo Code, Cursor, GitHub Copilot, Kiro, Cline, Kilo Code, Junie, Augment Code, Zed, CodeBuddy, BLACKBOX AI, Devin, OpenHands, Replit Agent

Pentagram Info-Architecture (信息建筑·红) — rational Swiss-grid data decks adapted from the ppt-pent…Click to install

Skill110.9KGitHub stars

Huashu pentagram grid

nexu-io/open-design

  • Claude Code
  • Codex
  • +33: OpenCode, Grok, OpenClaw, Antigravity, Kimi Code, Qwen Code, Gemini CLI, Pi, Goose, Amp, Factory Droid, Mistral Vibe, Crush, Hermes Agent, Codebuff, Rovo Dev, Qoder, TRAE, MiniMax Code, MiMo Code, Cursor, GitHub Copilot, Kiro, Cline, Kilo Code, Junie, Augment Code, Zed, CodeBuddy, BLACKBOX AI, Devin, OpenHands, Replit Agent

Ready to install?Install