yam-runtime-artifacts

yam-runtime-artifacts is a skill for Claude Code, Codex from NVlabs/ASPIRE. It costs 34 tokens per session (1,794 once invoked), scanned A, original, Apache-2.0.

A procedure for examining robot-run records, including command logs, camera videos, observations, overlays, and result files. It compares what the software commanded with what the robot physically did.

In plain words
What is it for?
It helps investigate pickups, contact, collisions, drawer movement, recording problems, and other physical robot failures.
Why use it?
It prevents false conclusions based only on a successful tool response or a JSON record when the robot may have failed in the real world.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nvlabs/aspire/yam-runtime-artifacts
Any agent
npx skills add NVlabs/ASPIRE --skill yam-runtime-artifacts
Clone the repo
git clone --depth 1 https://github.com/NVlabs/ASPIRE

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yam-runtime-artifacts

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvlabs/aspire/yam-runtime-artifacts.svg)](https://agentmods.dev/skills/nvlabs/aspire/yam-runtime-artifacts)
Your own site
<a href="https://agentmods.dev/skills/nvlabs/aspire/yam-runtime-artifacts"><img src="https://agentmods.dev/badge/skills/nvlabs/aspire/yam-runtime-artifacts.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,794 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.01794
Opus 5 $0.00017 $0.00897
Sonnet 5 $0.00007 $0.00359
Haiku 4.5 $0.00003 $0.00179

Measured 5d ago against content hash a375d4474c5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

yam-runtime-artifacts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

aspire/real/.agents/skills/yam-runtime-artifacts/SKILL.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 155 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 155 lines · 34 tokens per session scan A a375d4474c5d

Subscribe to this mod's changes

yam-runtime-artifacts is a skill published in the GitHub repository NVlabs/ASPIRE (127 stars, last pushed 4d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,794 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens