用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg-training --skill format-adapter-sharegpt命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | format-adapter-sharegpt |
| description | Convert canonical training examples to ShareGPT format for training frameworks |
| namespace | training-complete |
| category | format |
| platforms | ["claude","copilot","cursor","factory","windsurf","warp","codex","opencode","openclaw","hermes"] |
| commandHint | {"argumentHint":"<input-glob> [--output <path>] [--validate-round-trip]"} |
Convert canonical training example records (@agentic/code/frameworks/training-complete/schemas/example-record.yaml) into ShareGPT-format JSONL — the multi-turn conversation schema popularized by Axolotl, LLaMA-Factory, and the open-source dialogue tuning community.
dialogue task examples where turn roles matter<input-glob> (required) — glob of canonical records--output <path> (optional) — default: .aiwg/training/exports/sharegpt-<timestamp>.jsonl--validate-round-trip (optional) — reload output and verify invariantsOne JSON object per line with a conversations array of {from, value} turns:
{"conversations": [{"from": "system", "value": "You are helpful."}, {"from": "human", "value": "Hello"}, {"from": "gpt", "value": "Hi there!"}]}
Role mapping: system → "system", user → "human", assistant → "gpt".
conversations array:
input.system → {from: "system", value: ...} (if present)input.user → {from: "human", value: ...}output.assistant → {from: "gpt", value: ...}context_refs chain to reconstruct prior turns if any.--validate-round-trip) — rebuild canonical record from conversations + sidecar.format-convert event.Conversation structure captures input.system, input.user, output.assistant. Preserved via sidecar: id, task_type, full metadata, reasoning_trace. Tool calls are inlined into the gpt turn value (serialized JSON) when small; otherwise routed to sidecar.
<output>.metadata.yaml holds per-line: id, task_type, full metadata.*, output.reasoning_trace, large output.tool_calls, and any context_refs that could not be reconstructed as prior turns.
--validate-round-trip reconstructs all round-trip invariants.format-convert event logged with input/output/rejection counts.@agentic/code/addons/semantic-memory/skills/memory-log-append/SKILL.md — logging the format-convert event