Perceiving Routing Fixtures logo

Perceiving Routing Fixtures

Organization
graph-robots
perceiving-routing-fixtures

Survey a cable-routing bench from one overhead RGB-D frame — find every station (spool, cleat) by colour, roundness and height off the work surface, fit the cable's ordered centreline through a text-prompted segmenter, derive the side each crossing owes from the instruction's alternation, and place the physical seat beside each post. Use when a routing plan needs the fixture layout and the starting shape of a deformable linear object, once, before the first move.

Overview

Publishergraph-robots
Repositoryopen-robot-skills
Skill nameperceiving-routing-fixtures
Stars
58
Forks
8
Bundled files
2
LicenseApache-2.0
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.

  • 2 bundled files

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

  • Open source

    Published by graph-robots on GitHub. Read the source before you install it.

Installation

Install the Perceiving Routing Fixtures 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/graph-robots/open-robot-skills/tree/main/skills/perceiving-routing-fixtures
  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/graph-robots/open-robot-skills.git /tmp/open-robot-skills
mkdir -p .claude/skills
cp -r /tmp/open-robot-skills/skills/perceiving-routing-fixtures .claude/skills/perceiving-routing-fixtures
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Perceiving Routing Fixtures 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 Perceiving Routing Fixtures 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 Perceiving Routing Fixtures 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.

perceiving-routing-fixtures

One overhead frame, three numbers a routing plan needs: where the stations are, which side of each the cable must finish on, and where it seats.

Why this is its own skill

Routing a cable around fixtures is planned against a layout, and a layout is a different kind of fact from an object pose. It has to be measured once, from an unobstructed view, before anything moves — because every later frame has a hand in it — and it has to be measured in a fixed order (along +y), because the sides alternate and a permutation mirrors every crossing. This skill owns that survey and the conventions in it, so the plan, the tracking loop and the verify all build on the same stations.

Measured on a three-spool bench against the declared layout: stations to 0.0–0.2 mm, spool radius to ~0.3 mm, rod length +10 mm (mask dilation at the tips, which is why the rod's line and radius are measured rather than its extent). Sub-millimetre from 16×16-pixel blobs because a centroid over ~189 mask pixels is a sub-pixel estimate.

When to use

  • A deformable linear object has to be routed around rigid fixtures of one known colour that stand off the work surface (spools, cleats, posts).
  • A fixed overhead RGB-D camera looks down the fixtures' own axes — a three-quarter view projects a flange disc to an ellipse whose centroid is not its centre.
  • The routing loop (perceiving-deformable-linear-objects) needs a seed centreline born from the whole rod, unobstructed.

When NOT to use

  • The fixtures are not colour-separable from the bench and the text detector is the only handle — this skill's classical path finds nothing and falls back to the prompt, which is slower, noisier, and can return four stations on one frame and three on the next.
  • The sides are decided by geometry rather than by the instruction (a threaded path with a declared order). sides here is language, not vision.

State flow

text
read frame ──► stations by colour + roundness + height (OpenCV)
                  │ none            │ some
                  ▼                 │
           sam3 text fallback       │
           (area floor, height gate)│
                  │                 │
                  ▼                 ▼
              none? ──► not_found   sort along +y
                                    │
                                    ▼
             rod: every prompt asked, candidates pooled, each fitted,
                  the LONGEST under the radius ceiling wins
                  (the longest over-thick one if nothing is under it)
                                    │ none ──► not_found
                                    ▼
             sides from the alternation + first_side; seats = post radius + rod radius
                                    │
                                    ▼
                                  found
  1. Stations, classical first. A spool is rigid, one colour, one size and bolted down — everything a network is good at is already known about it. Colour threshold, a fill/aspect test for roundness, and the height off the bench (a spool flange stands 23 mm up, a cleat cap 43, a terminal plate 10; the gate is 15 mm) against a bench plane taken as the median world height of the depth image. Side by side on the same frames: SAM3 2.8 mm from truth, OpenCV 2.9 mm, and 0.9 mm once the 2.8 mm surface-to-axis bias both share is removed. A blob 1.6× the median radius is two fixtures merged and is dropped.
  2. Stations, text fallback. Only when the colour gate finds nothing: the post_query prompt, an area floor of 100 px (a terminal sliver is 27–44 px, a spool 172–200 from this camera), and the same height gate.
  3. Rod. Every prompt in rod_queries is asked and the candidates pooled — one prompt is a calibration, and across four layouts neither "thin white cable" nor "white rod" found the rod on all of them (two each way, the loser under the 0.20 floor). Each candidate is fitted with curve.fit_centerline; among those under the 20 mm radius ceiling the longest wins (thinness ranked backwards: it chose a 148 mm fragment of a 700 mm rod). If nothing is under the ceiling the longest over-thick one is used and reported rather than the episode being thrown away.
  4. Sides and seats. Sides alternate from first_side (−1) along +y — a convention the instruction does not state and no frame can show. The seat is the physical one, post radius plus rod radius (9.75 mm on this bench), not a scoring box's centre.

Inputs

  • instruction — the task text; read off the observation when empty. Only its alternation is used.
  • camera ("overhead"), post_query ("orange spool"), rod_queries ("thin white cable,white rod", comma-separated, all asked), first_side (−1), curve_nodes (42), post_score (0.30), post_area_min (100), rod_score (0.20).
  • Colour-path knobs, forwarded to scripts/fixtures_cv.py: spool_hsv_lo ("5,120,60"), spool_hsv_hi ("25,255,255", OpenCV's 0–180 hue), spool_min_area (60 px), fixture_min_height_m (0.015).

Outputs

  • scene — JSON text with stations ([[x, y], …] along +y), sides (±1 per station), seats_x (metres), rod (the centreline's points) and a measured block (post radii, rod radius, arclength, node count, ordered flag, whether the instruction said "alternating") kept for the trace.
  • rod — the same centreline on its own, as JSON text: the points of a Centerline, an ordered list of [x, y, z] metres, byte-identical to what perceiving-deformable-linear-objects reads and writes so a graph can bind it straight into that loop's prior. "null" on not_found.
  • stations — how many were found (also reported on not_found, so a run that saw its spools and lost the rod is diagnosable).
  • body — "vision".

The router field is route. Both scripts/perceive_weave_vision.py and its helper scripts/fixtures_cv.py ship with the bundle; the helper is imported by name from the script's own directory.

Required end states

End stateMeaning
foundscene and rod are bound; plan against them.
not_foundNo stations, or no cable-shaped rod. Nothing downstream can run; abort or re-light the bench.

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 Perceiving Routing Fixtures AI skill do?

Survey a cable-routing bench from one overhead RGB-D frame — find every station (spool, cleat) by colour, roundness and height off the work surface, fit the cable's ordered centreline through a text-prompted segmenter, derive the side each crossing owes from the instruction's alternation, and place the physical seat beside each post. Use when a routing plan needs the fixture layout and the starting shape of a deformable linear object, once, before the first move.

Why use Perceiving Routing Fixtures on TypingMind?

Because you install it once and use it with any model. Perceiving Routing Fixtures 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 Perceiving Routing Fixtures in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/graph-robots/open-robot-skills/tree/main/skills/perceiving-routing-fixtures. 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 Perceiving Routing Fixtures?

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 Perceiving Routing Fixtures?

As many as you like. As long as a model supports skills, you can use Perceiving Routing Fixtures with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Perceiving Routing Fixtures AI skill free?

Yes. It is published on GitHub by graph-robots under the Apache-2.0 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 👇