by realmyang
Interactive, source-linked ML workflow diagrams written by your coding assistant (Copilot, Codex or Claude Code) and opened in VS Code.
# Add to your Claude Code skills
git clone https://github.com/realmyang/MLViewMLView is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by realmyang. Interactive, source-linked ML workflow diagrams written by your coding assistant (Copilot, Codex or Claude Code) and opened in VS Code. It has 464 GitHub stars.
MLView's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/realmyang/MLView" and add it to your Claude Code skills directory (see the Installation section above).
MLView is primarily written in JavaScript. It is open-source under realmyang on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh MLView against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Ask the assistant in your editor to explain an ML workflow, then explore its answer as an interactive diagram linked to the source. MLView is a skill for GitHub Copilot, Codex and Claude Code, a document format, and a VS Code viewer. The assistant reads the code and configuration and writes the diagram: steps, connections and findings, with quotes from the files it read.
Preview. The format and the viewer can still change between releases, and fixes go into the next release.

The diagram of samples/configured_training, with a step selected.
flowchart LR
A[Your assistant + MLView skill] --> B[Read source and config]
B --> C[LLM interpretation]
C --> D[WorkflowDocument draft]
D --> E[Local validation and publication]
E --> F[Interactive VS Code diagram]
F --> G[Source navigation]
A -->|Explicit refinement| C
*.mlview.json file.Each release attaches the extension (a .vsix file) and the two skill ZIPs
to its page under Releases.
.vsix file. Install it with VS Code's
Extensions: Install from VSIX... command.To work from a clone of this repository instead, build the extension as
docs/development.md describes. You need
Python 3.10 or newer with the packages of requirements-dev.txt in a
virtual environment, and Node 20.18.1 or newer. Then copy the skill into
your project with the installer:
python3 tools/install_skill.py /path/to/your/project
The installer copies the skill into the project's .agents/skills/mlview/
folder. For Claude Code, add --destination .claude/skills/mlview.
Use one skill location in a project, not both. The user guide has the details.
mlview skill in your
assistant. The user guide says how.
Ask, for example: "Explain training with train.py and configs/distill.json.
Show where data enters, which model is updated, how the losses combine, how
validation works, and what source inspection cannot establish. Tell me what
looks wrong."*.mlview.json file. Click it in the Explorer
and it opens as the diagram. Select a step, connection or finding to read
its claim and quotes. Press Enter to open the cited lines beside the
diagram.samples/configured_training.mlview.json
is a diagram of the small project in
samples/configured_training/. Open
this repository in VS Code with the extension installed and click the file.
The file records which assistant and model wrote it.
| Path | What it holds |
|---|---|
skills/mlview/ |
The skill: its instructions, reference files and helper, with the helper's tests |
contracts/ |
The JSON Schema of the format, and the cases the schema, the helper and the extension must agree on |
vscode-extension/ |
The VS Code extension |
webview/ |
The diagram viewer the extension shows |
claude-plugin/ |
The Claude Code plugin, with a generated copy of the skill |
samples/ |
Small example projects and example diagrams |
tools/, scripts/ |
Install, package, build and check tools, with their tests |
docs/ |
The user guide, the format reference, and pages on the architecture, development, releasing and what is checked |
Use a Python 3.10+ virtual environment and Node 20.18.1 or newer.
python -m pip install -r requirements-dev.txt
sh scripts/e2e.sh
On Windows run pwsh -File scripts/e2e.ps1. The full check builds the
viewer and the extension, type-checks and tests them, runs the Python tests
and the documentation link check, and packages the two skill ZIPs and the
VSIX. CONTRIBUTING.md has the steps for a change, and
docs/development.md has the commands for each part.