yam-runtime-artifacts

For inspecting YAM logs, videos, the SAM3 overlay, observations, planner previews, function-call JSON, result files, or failure evidence.

Last repository push
GitHub Stars
1,089
Forks
102
Issues / PRs
13

Screenshots

A demonstration from skillπ Lab

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "yam-runtime-artifacts" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f2573a984b86939f47725bf9cc98cdf486e8af6bf68a59892107c8e0cd201758. Verify the upstream source and version against https://github.com/NVlabs/ASPIRE before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

For inspecting YAM logs, videos, the SAM3 overlay, observations, planner previews, function-call JSON, result files, or failure evidence.

0 Downloads

Introduction source: third_party · NVlabs · 0.0.1 Reference

SkillPi interpretation

Tasks
Use when inspecting YAM logs, videos, SAM3 overlays, observations, planner previews, function-call JSON, result files, or failure evidence.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

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

Highlights

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

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

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

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

Highlights

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

Highlights

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

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.