yam-runtime-artifacts

用于检查 YAM 日志、视频、SAM3 覆盖层、观察结果、规划器预览、函数调用 JSON、结果文件或失败证据时。

仓库最近推送
GitHub Stars
1,089
Forks
102
Issues / PRs
13

预览截图

来自skillπ 实验室的展示

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "yam-runtime-artifacts":https://skillpi.com/zh/skills/deepskill-f2573a984b86939f47725bf9cc98cdf486e8af6bf68a59892107c8e0cd201758。安装前核对上游来源和版本:https://github.com/NVlabs/ASPIRE。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

用于检查 YAM 日志、视频、SAM3 覆盖层、观察结果、规划器预览、函数调用 JSON、结果文件或失败证据时。

0 下载

介绍来源: third_party · NVlabs · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: yam-runtime-artifacts
description: "Use when inspecting YAM logs, videos, SAM3 overlays, observations, planner previews, function-call JSON, result files, or failure evidence."

YAM Runtime Artifacts

Run artifact commands from the Aspire real-robot workspace (aspire/real). All logs/** paths below are relative to that directory.

Runs write to logs/<script_name>_<YYYYMMDDTHHMMSS>/.

Artifact inspection rule: tool return is not success. For physical debugging, the two highest-value evidence sources are:

  1. debug_events.jsonl: what the robot was commanded to do, in order, with timestamps, arguments, durations, and errors.
  2. Video frames from top.mp4, left.mp4, right.mp4, and bottom.mp4: what physically happened before, during, and after those commands.

Do not infer contact, grasp, drawer motion, collision, or success from JSON alone. Align command windows from debug_events.jsonl with extracted video frames. If videos are missing or corrupt, treat the run as weak evidence unless the task is specifically recorder debugging.

Core workflow:

  1. Validate recorder output:

    python3 -m json.tool logs/<run>/preview_recording_result.json

    Each needed camera should have ok=true, ffprobe.ok=true, nonzero duration_s, nonzero nb_frames, backend="python", codec_name="h264", and pix_fmt="yuv420p".

  2. Read the robot-command chronology:

    rg -n 'tool_start|tool_end|freespace_move|servo_ee_delta|set_gripper|get_robot_state' logs/<run>/debug_events.jsonl

    Use this to identify the exact windows for approach, close, contact, push, pull, release, retreat, and failures. Prefer actual tool arguments over script labels when deciding motion direction.

  3. Extract frames around those windows:

    mkdir -p /tmp/yam_frames
    for cam in top left right bottom; do
      for t in 0 10 20 30 40 50 60 70 80; do
        ffmpeg -hide_banner -loglevel error -y -ss "$t" \
          -i "logs/<run>/${cam}.mp4" -frames:v 1 \
          "/tmp/yam_frames/${cam}_${t}.jpg"
      done
    done

    Then inspect the relevant frames or make contact sheets. Always include frames before, during, and after the motion; a single final frame often hides whether contact was useful, transient, or accidental.

  4. Answer the physical question from the paired evidence:

    • Did the gripper actually reach the target, or only the planned pose?
    • Did the fingers capture the object/handle, or slide along it?
    • Did the object move relative to fixed scene features?
    • Did the gripper open before retreat or while still engaged?
    • Did the final state persist after release?

Supporting artifacts:

  • result.json: final reward/success packet from run_script.py. It may wrap script details under details or info. Treat it as an index, not proof.
  • stage_summary.md: human-readable summary written by scripts that call write_stage_summary. Useful for compact config, final state, and why_stopped, but still verify against debug_events.jsonl and videos.
  • task_result.json: some older scripts write their own result packet here. Compare with result.json if both exist.
  • exec.log: process-level stdout/stderr and Python exceptions. Use this for import errors, uncaught tracebacks, and recorder startup/shutdown messages.
  • run_<script>_<timestamp>.txt: dashboard/tool-call transcript. It often includes sampled robot state before/after tool calls, in-flight tool status, and final concise state even when result.json is sparse.
  • profiling.json: summarized tool timings and per-call results. Useful for confirming which motion-capable tools actually ran and whether tool errors occurred.
  • episode_config.json: resolved run configuration such as env, robot mode, recording/debug UI settings, and script file.
  • code.py and code_snapshot.json: copy of the executed script/source provenance. Use this to match artifacts to the code version that actually ran.

Video and recorder artifacts:

  • top.mp4, left.mp4, right.mp4, bottom.mp4: BundleSDF preview videos. Primary physical evidence for contact, scene reset, object motion, grasp failure, and collision risk. Current runs should leave these root MP4s encoded as H.264 with yuv420p pixel format.
  • <camera>.pre_h264.mp4: original OpenCV/Python preview-recorder output preserved before H.264 re-encode. Use it only for recorder debugging or to recover evidence if the root H.264 file is missing.
  • <camera>.h264_reencode.log: ffmpeg stderr from the Python recorder's H.264 post-encode step. Empty is normal; nonempty output can explain codec or finalization failures.
  • preview_recording_preflight.json: preview availability before the run. Use it to prove BundleSDF preview streams were reachable at launch.
  • preview_recording_result.json: recorder result after the run. A video is usable only if the camera entry has ok=true, ffprobe.ok=true, nonzero duration_s, nonzero nb_frames, a sane size, codec_name="h264", and pix_fmt="yuv420p". Prefer backend="python" for current real runs.
  • <camera>.preview_probe.log: per-camera probe diagnostics.
  • <camera>.preview_recorder.log: per-camera recorder diagnostics. If MP4s are 48 bytes, missing, or ffprobe reports moov atom not found, inspect this log and treat the run as lacking visual evidence.
  • observations/: raw or serialized camera/RGB-D/robot observations captured by the script. Use this for exact images, depth, masks, and robot state at named stages.
  • vis/observations/: rendered observation images, overlays, and contact sheets. Use these before guessing from raw arrays.
  • SAM3 or detector overlays: usually under vis/, observations/, or detector-specific subdirectories. Check selected masks/bboxes against the actual target; false positives can make an otherwise valid plan irrelevant.
  • BundleSDF/object pose outputs: use these to compare perceived object pose, preview camera evidence, and any target pose used by the motion planner.
  • plans/: candidate poses, waypoint previews, planner packets, failed IK/RRT details, and selected trajectory summaries.
  • Planner preview images/videos: use these to check approach direction, clearance, tool orientation, and whether the gripper is aimed at the selected object or a false-positive mask.
  • Function-call JSON: some scripts write attempted tool calls, parameters, and per-stage results. These are the bridge between perception/plans and robot motion.

Common conclusions:

  • Command success but bad/missing videos: not enough evidence for physical debugging; repair recorder/BundleSDF and repeat or run an observe-only check.
  • Valid videos but no object motion: inspect contact geometry, gripper state, target pose, and plan direction before changing perception.
  • Video shows target reached but no capture: change approach/orientation/close sequencing before increasing travel distance.
  • JSON says gripper closed but video shows sliding: treat it as a contact geometry problem, not a planner success.
  • Planner success but visual miss: inspect selected detector/SAM3 mask and BundleSDF pose; the plan may have followed a false target.
  • Gripper target differs from measured gripper position: likely contact or obstruction. Correlate with video before deciding whether it was useful contact.
  • Robot state in result.json absent or sparse: use run_*.txt, debug_events.jsonl, and profiling.json for the actual final state and tool sequence.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 提供了一套完整的 YAM 运行时工件检查流程,涵盖日志、视频、SAM3 覆盖层等多种证据源
  • 针对物理调试场景,明确了最高价值的证据来源(debug_events.jsonl 和视频帧)及其对齐方法
  • 包含详细的验证步骤和常见结论,帮助用户快速定位问题
触发精准92/100

亮点

  • 触发描述清晰且全面,覆盖了所有相关的工件类型(YAM logs, videos, SAM3 overlays, observations, planner previews, function-call JSON, result files, failure evidence)
  • 使用场景描述准确,边界清晰,不易与其他 Skill 重叠
结构规范88/100

待提升项

  • 缺少 When to Use 章节 原报告严重程度:轻微

    文档结构良好,但缺少明确的 'When to Use' 或 'Usage Scenarios' 章节来进一步说明具体使用时机

    改进建议:建议添加 'When to Use' 章节,明确说明在哪些具体场景下应使用此 Skill

亮点

  • 文档结构清晰,分为核心工作流、支持工件、视频和记录工件、常见结论等多个逻辑部分
  • 每个步骤都有详细的命令示例和解释,便于用户理解和执行
  • 提供了丰富的上下文信息和最佳实践建议
执行可靠94/100

亮点

  • 所有命令和工具调用都提供了具体的参数和用法示例,可靠性高
  • 覆盖了主要的异常情况处理建议(如视频缺失或损坏时的处理方式)
  • 提供了多个工件之间的交叉验证方法,增强了执行的可靠性
  • 对关键判断点(如不要仅从 JSON 推断接触、抓取等情况)给出了明确警告
证据可验 (前四项均值)92/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。