Skip to content
Back to skills

Media And Custom Charts

ASecurity

"Log SwanLab text, HTML, rich media, 3D objects, molecules, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
devopsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill media-and-custom-charts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Media And Custom Charts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Media And Custom Charts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-media-and-custom-charts/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-media-and-custom-charts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: media-and-custom-charts
description: "Log SwanLab text, HTML, rich media, 3D objects, molecules, and
  custom pyecharts charts safely."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Media and custom charts

Use this sub-skill when the request is about SwanLab rich media or chart objects rather than scalar metrics.

## Start here
1. Read [Media reference](references/media-reference.md) for constructor signatures, accepted inputs, output files, and `log_*` wrappers.
2. Read [Custom charts](references/custom-charts.md) for `ECharts`, `swanlab.echarts.Table`, and `swanlab.plot`.
3. Read [Troubleshooting](references/troubleshooting.md) when a file path, dependency, or chart object fails.
4. Run [the lightweight smoke script](scripts/check_lightweight_media.py) for a safe check that skips missing optional media extras.

## What this sub-skill owns
- Text and HTML logging.
- Image, audio, and GIF video logging.
- pyecharts-backed custom charts, text tables, and diagnostic chart helpers.
- 3D object and molecule media objects.
- Distinguishing format errors, path errors, type mismatches, and missing optional dependencies.

## What it does not own
- Scalar metrics, configs, or `define_scalar` → `experiment-tracking`.
- Framework-generated media from callbacks or plugins → `integrations-and-plugins`.
- Login, mode, host, or environment setup → `settings-and-modes`.
- Sync, conversion, or API browsing → the other sub-skills in the parent skill tree.

## Safe defaults
- Treat `swanlab[media]` as optional and skip rich media checks when `numpy`, `Pillow`, `soundfile`, `moviepy`, or `rdkit` are missing.
- Prefer tiny fixtures for smoke checks; these transformers buffer the full payload in memory.
- Remember that `ECharts` accepts any object with `dump_options()`.
- Remember that current `Video` support is GIF-only.
- Prefer `swanlab.Text` and `swanlab.Html` for the lightest successful media smoke.

Files in this skill

  • SKILL.md1.9 KB
  • references/custom-charts.md2.7 KB
  • references/media-reference.md4.1 KB
  • references/troubleshooting.md3.7 KB
  • scripts/check_lightweight_media.py9.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.