ChenXuanyu-1216

SourceTrace — AI skill for Claude Code

AI community

An Agent Skill that audits AI-generated knowledge trees against source slides.

How to install SourceTrace

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ChenXuanyu-1216/SourceTrace and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What SourceTrace does

An Agent Skill that audits AI-generated knowledge trees against source slides. It maps every node and edge to evidence pulled from the source images and checks in both directions for unsupported claims and missed content. It writes a readable report.md and a machine-readable audit.json. Works with Claude Code and Codex.

Alternatives in AI

  • Yomo — 🦖 Serverless AI Agent Framework with Geo-distributed Edge AI Infra 1.9k ★
  • Oil UI — Push AI UI design to its limits: explore distinct directions, compare them side by side, and refine against re 861 ★
  • Browser Operator Core — Browser Operator - The AI browser with built in Multi-Agent platform 500 ★

README

SourceTrace

An Agent Skill that audits an AI-generated knowledge tree against the slides it was built from.

AI tools can turn lecture slides into a knowledge tree in seconds, but a definition may be wrong, a relationship may be invented, and important material may be missing. SourceTrace checks every node and edge against the source images and backs each verdict with evidence: **why** it is a problem, **where** it is in the slides (page and quote), and **what** it rests on (evidence IDs).

It works with tools that support Agent Skills, such as Claude Code or Codex, and handles slides in Chinese or English.

What you get

Give it the slide images (PNG/JPG) and the knowledge tree (JSON). It writes three files to `sourcetrace-output/` next to the tree:

File Content
report.md The audit report: summary, findings, omissions, structure problems, confirmed items
audit.json The same result in machine-readable form: a verdict for every node and edge
evidence-index.json Everything extracted from the slides, each item with an ID, page and verbatim quote

Two findings from a run on 8 Chinese slides, with the text shortened and the recommendation column left out ([full report](tests/smoke/model-eval-e2e/report.md)):

编号 对象 类别 风险 问题 证据
F-002 N005 数据集划分比例 概念错误 高 比例数字错误:树中写"8 : 1 : 1",课件写"7 : 2 : 1"。 EV-013 第 2 页 "本课程推荐的划分比例:训练集 : 验证集 : 测试集 = 7 : 2 : 1。"
F-004 E010 过拟合 —related-to→ 高偏差 关系错误 高 关系对调:第 4 页图示为"过拟合 → 高方差",树中却把过拟合连到高偏差。 EV-020 第 4 页 "Diagram: 过拟合 → 高方差(对训练数据过于敏感)"

Each problem gets one of six categories (conceptual error, incorrect relationship, unsupported expansion, overgeneralization, ambiguous, omission) and a risk level, and every finding includes a recommended fix.

Quick start

  1. Install the one dependency:

    pip install jsonschema
  2. Copy the `source-trace/` folder into your tool's skills folder:

    | Tool | Skills