Executing Two Arm Plans With A Temporal Plan Graph logo

Executing Two Arm Plans With A Temporal Plan Graph

Organization
runtime-si
executing-two-arm-plans-with-a-temporal-plan-graph

Runs two arms' timed joint plans so that each arm goes at its own pace and waits only where its path actually crosses the other's - APEX-MR's Temporal Plan Graph - each plan resampled into nodes, a cross-arm edge wherever one arm's node collides (YAM sphere model, from inserting-pauses-to-resolve-two-arm-conflicts / tools/yam-spheres) with the other arm's earlier nodes ("start only after the other has passed"), and two threads executing robot.move_to_joints node by node, waiting on those edges. Use when two timed plans that are collision-free as planned (from inserting-pauses-to-resolve-two-arm-conflicts or a dual-arm planner) run on real arms whose speeds drift, so the timing alone no longer keeps them apart.

Overview

Publisherruntime-si
RepositoryRoboSkillHub
Skill nameexecuting-two-arm-plans-with-a-temporal-plan-graph
Stars
242
Forks
27
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by runtime-si on GitHub. Read the source before you install it.

Installation

Install the Executing Two Arm Plans With A Temporal Plan Graph AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/executing-two-arm-plans-with-a-temporal-plan-graph
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/executing-two-arm-plans-with-a-temporal-plan-graph .claude/skills/executing-two-arm-plans-with-a-temporal-plan-graph
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Executing Two Arm Plans With A Temporal Plan Graph in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Executing Two Arm Plans With A Temporal Plan Graph on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Executing Two Arm Plans With A Temporal Plan Graph is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

executing-two-arm-plans-with-a-temporal-plan-graph

What it does

trajectory_a / trajectory_b ({times, joints}, inserting-pauses' format) are resampled every dt (0.1 s) into nodes. For each node of one arm, the other arm's nodes at earlier time steps are scanned: wherever they collide (sphere clearance under margin, 10 mm) and then stop colliding, an edge requires the other arm to have reached the first node past the collision before this node starts (APEX-MR's findCollisionDeps, one_robust variant). With execute (default) two threads step through their nodes with robot.move_to_joints, each waiting only on its incoming edges; execute: false returns the graph (edges: [arm, node, other arm, node]).

Checks

FakeContext unit tests (tests/bundles/test_executing_two_arm_plans_with_a_temporal_plan_graph.py): no edges for apart arms, edges and waits for crossing plans executed by a fake two-arm robot with one slow arm (never closer than the margin), a start collision, a refused move, graph-only mode.

Speed drift (python -m tests.bundles._tpg_eval, CPU, inserting-pauses' 30 crossing tasks: each arm home -> a reach into the shared middle -> home in 4 s, made collision-free as timed by inserting-pauses first; each arm then runs at a random 0.6-1.4x of its planned speed): 19 of 29 tasks have cross-arm edges (median 3). Executed by time alone, 9 of 19 collide; with the TPG 0 of 19, no deadlock, median makespan 5.44 s (time-indexed 5.22 s, one arm after the other 8.69 s), median total wait 0.28 s. One task was unresolved by inserting-pauses and one had an arm ending in the other's way; both were skipped.

Limits

  • The input plans must be collision-free as timed; a plan that collides at the same time step gives a cycle (wait on each other). Run inserting-pauses-to-resolve-two-arm-conflicts first.
  • Node-to-node robot.move_to_joints (0.1 s steps); APEX-MR's shortcutting and its action dependency graph (ADG) across tasks are not ported.
  • No twin run.

Provenance

APEX-MR src/tpg.cpp (TPG::init, TPG::findCollisionDeps) and include/tpg.h, MIT (LICENSE.apex-mr); the header of scripts/run_tpg.py lists the changes.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Executing Two Arm Plans With A Temporal Plan Graph AI skill do?

Runs two arms' timed joint plans so that each arm goes at its own pace and waits only where its path actually crosses the other's - APEX-MR's Temporal Plan Graph - each plan resampled into nodes, a cross-arm edge wherever one arm's node collides (YAM sphere model, from inserting-pauses-to-resolve-two-arm-conflicts / tools/yam-spheres) with the other arm's earlier nodes ("start only after the other has passed"), and two threads executing robot.move_to_joints node by node, waiting on those edges. Use when two timed plans that are collision-free as planned (from inserting-pauses-to-resolve-two...

Why use Executing Two Arm Plans With A Temporal Plan Graph on TypingMind?

Because you install it once and use it with any model. Executing Two Arm Plans With A Temporal Plan Graph is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Executing Two Arm Plans With A Temporal Plan Graph in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/runtime-si/RoboSkillHub/tree/main/skills/executing-two-arm-plans-with-a-temporal-plan-graph. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Executing Two Arm Plans With A Temporal Plan Graph?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Executing Two Arm Plans With A Temporal Plan Graph?

As many as you like. As long as a model supports skills, you can use Executing Two Arm Plans With A Temporal Plan Graph with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Executing Two Arm Plans With A Temporal Plan Graph AI skill free?

Yes. It is published on GitHub by runtime-si under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇