swanlab-skill

SKILL研究检索
研究检索 未标注权限 许可证不明确
安装这个技能

Interact with SwanLab — both writing tracking code (init/log/finish/multimedia) and querying experiment data via CLI (`swanlab api`). Use this skill when the user wants to write training tracking code, log metrics or media, manage experiments, inspect metrics/logs/columns, list projects/runs, filter experiments, manage self-hosted users, automate queries via CLI, or mentions "swanlab", "experiment tracking", "log metrics", "swanlab api", "swanlab cli".

一句话选型结论

按资料字段整理

swanlab-skill是研究检索类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类研究检索 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_f4892b1c/swanlab-skill
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

研究检索
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_f4892b1c仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791680288
正文体量9.3 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查资料并整理出处

让模型按主题查资料,并把引用来源整理成清单。

网页与文献要点提炼

把长文、论文、网页压成能直接看的要点。

竞品与行业汇总

按关键词汇总竞品动态与行业信息。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在研究检索场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
swanlab-skill当前 未标注权限 未标注 未标注 未标注 有
寻找技能 浏览器控制 GitHub 仓库 3120.0 万 Codex、Claude、Cursor 有
自我改进 Agent 接触敏感数据 ClawHub 市场 1646.4 万 OpenClaw 有
灵魂追踪 联网访问 GitHub 仓库 758.9 万 Codex、Claude、Cursor 有
自我完善 联网访问 ClawHub 市场 682.9 万 OpenClaw 有
微软代工厂 调用外部服务 GitHub 仓库 661.4 万 Codex、Claude、Cursor 有

SKILL.md 全文

9.3 KB
模型实际读到的说明书原文,来自技能仓库

SwanLab Skill

SwanLab is an AI training experiment tracking platform. This skill covers two usage patterns:

  • Writing tracking code — use the Python SDK (swanlab.init, swanlab.log, swanlab.finish, media helpers)
  • Reading experiment data — use the swanlab api CLI to query metrics, logs, summaries, media, etc.

Reference Routing

If the user wants to... Read this reference
Write tracking code (init/log/finish/media) references/SDK_QUICKSTART.md
Query data via CLI (metrics/summary/logs/filter/etc.) references/CLI_REFERENCE.md
Understand data model / terminology / filter syntax references/SWANLAB_CONCEPTS.md
Analyze runs/projects, compare experiments, write an experiment report references/ANALYSIS_GUIDE.md
Plot metrics or compare experiments visually See Scripts below

> Version note (SDK ≥ 0.9.0): use swanlab api run series to discover an experiment's metric keys. run column / run columns are deprecated since 0.9.0 and do not apply to multi-view experiments — only fall back to them when the installed SDK is < 0.9.0. See CLI_REFERENCE.md > Version Applicability.


Run Modes

swanlab.init(mode=...) controls where data goes:

Mode Local Storage Cloud Upload Use Case
online Yes (protobuf) Yes (Transport → HTTP) Normal cloud usage. Requires login.
local Yes (protobuf) No Air-gapped / no account needed.
offline Yes (protobuf) No (syncable later via swanlab sync) Save locally, upload to cloud later.
disabled No No Completely disable all logging.

Default is online if logged in; otherwise an interactive prompt offers login, registration, or offline. In non-interactive environments without an API key, init raises an error instead of falling back.


Scripts

Two helper scripts are available for visualizing experiment data:

scripts/plot_metrics.py — Single Experiment Line Chart

Trigger when the user wants to visualize scalar metrics from one experiment (e.g. "plot my loss curve", "show training metrics chart").

python scripts/plot_metrics.py username/project_name/run_id --keys loss,acc
python scripts/plot_metrics.py user/proj/run1 -k loss -o loss_chart.png -s 500
python scripts/plot_metrics.py --data metrics.json -k loss,acc -o chart.png   # from saved JSON

scripts/runs_benchmark.py — Cross-Experiment Comparison

Trigger when the user wants to compare the same metric across multiple experiments (e.g. "compare loss across runs", "benchmark these experiments").

python scripts/runs_benchmark.py user/proj/run1 user/proj/run2 user/proj/run3 -k loss
python scripts/runs_benchmark.py user/proj/run1 user/proj/run2 -k loss --direction lower
python scripts/runs_benchmark.py user/proj/run1 user/proj/run2 -k loss,acc --normalize
python scripts/runs_benchmark.py --data benchmark_data.json -k loss              # from saved JSON

Both scripts require swanlab login (or --api-key / --host flags).


Path Convention

CLI commands use username/project_name (project) or username/project_name/run_id (experiment). See SWANLAB_CONCEPTS.md > Path Convention for details.


Quick Disambiguation

User says... They probably mean... Route
"track my training" / "log metrics" Write tracking code SDK_QUICKSTART.md
"log images/audio/text" Log media data SDK_QUICKSTART.md
"my loss curve" / "experiment metrics" Query scalar data CLI_REFERENCE.md > run metrics
"filter experiments" Query by conditions CLI_REFERENCE.md > run filter
"my experiments" / "list runs" List experiments CLI_REFERENCE.md > run list
"compare runs visually" Cross-experiment chart scripts/runs_benchmark.py
"plot metric chart" Single-experiment chart scripts/plot_metrics.py
"experiment config" Hyperparameters CLI_REFERENCE.md > run info
"console output" Captured logs CLI_REFERENCE.md > run logs
"what metrics are tracked" Metric keys CLI_REFERENCE.md > run series
"check connectivity" / "can I reach swanlab" Environment check swanlab ping
"check login status" / "am I logged in" Verify credentials swanlab verify
"project not found" / a query returns 404 Wrong host (most likely) CLI_REFERENCE.md > Troubleshooting
run fields / run list or run info response Run object schema SWANLAB_CONCEPTS.md > Run Object Schema
"analyze this project/run" / "experiment report" Analysis pipeline ANALYSIS_GUIDE.md

Environment Connectivity

Before writing tracking code or running CLI queries, especially in online mode, run these two checks to confirm the environment is ready:

1. swanlab ping — Test network reachability

The fastest way to diagnose connectivity issues. Run it first when a user reports upload failures, login problems, or unknown mode fallbacks.

swanlab ping
# Reports: API host, web host, latency, and login status.
# If ping fails, check SWANLAB_API_HOST / network proxy / firewall settings.

2. swanlab verify — Validate login credentials

After confirming the server is reachable, use swanlab verify to check that stored credentials are valid and have not expired. This reads the API key and host from the local .netrc file (created by swanlab login).

swanlab verify
# Validates stored API key against the server.
# Reports: which host (default https://swanlab.cn) and the logged-in username.
# Fails if: not logged in, API key is invalid, or key has expired.

swanlab verify --local
# Check local login status (.swanlab in current directory) instead of the global one.

Recommended pre-flight sequence:

  1. swanlab ping → confirm the server is reachable
  2. swanlab verify → confirm credentials are valid, and note which host you are logged into
  3. Confirm the target project lives on that host. SwanLab has multiple independent instances (public swanlab.cn + self-hosted deployments) and credentials are per-instance — see SWANLAB_CONCEPTS.md > Instances, Hosts & Credentials. If the project is on another instance, pass --host / --api-key on every command (or export SWANLAB_API_HOST / SWANLAB_API_KEY). A 404 Not_Found from project info / run list means wrong host, not a missing project — see CLI_REFERENCE.md > Troubleshooting.
  4. Proceed with swanlab api queries or SDK code

Behavioral Constraints

See CLI_REFERENCE.md > Behavioral Constraints for the full list. Key rules:

  • Use --all only when the user explicitly asks for it (e.g. "fetch all", "get everything", "complete list"). For paginated list commands, always use default pagination (--page_num / --page_size).
  • Always ask for specific metric keys before running run metrics or run medias. If the user doesn't know the key names, first run run series PATH to discover them (run columns PATH only as a fallback on SDK < 0.9.0).
  • Always persist large metric data to file via --save, then visualize with scripts/plot_metrics.py --data file.json or use run summary for aggregate stats.

Further Reading

This skill covers the most common SwanLab workflows for AI coding agents. For
details that are out of scope here (full SDK surface, advanced CLI flags,
self-hosted deployment, integrations, etc.), consult the official SwanLab
documentation:

  • Cloud guide (what is SwanLab, concepts, usage): https://docs.swanlab.cn/guide_cloud/general/what-is-swanlab.md
  • Python SDK & OpenAPI reference: https://docs.swanlab.cn/api/api-index.md

常见问题

5 问
答案由本站依据条目字段整理
swanlab-skill怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_f4892b1c/swanlab-skill。安装方式为未标注。装完刷新技能列表或重开客户端。

swanlab-skill支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

swanlab-skill权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

swanlab-skill收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

swanlab-skill用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。