Locating A Hole Lattice By Wide Search logo

Locating A Hole Lattice By Wide Search

Organization
runtime-si
locating-a-hole-lattice-by-wide-search

Finds where a holder's lattice of round holes really is from one RGB-D frame (overhead or wrist), searching the prior's pose over +-1.5 pitch and +-15 deg, scoring each pose by holes matched (an open disc ringed by the holder's face) minus nodes contradicted (seen on solid face or on the table past the holder), and saying when it cannot tell - a second pose about a pitch away scoring nearly as well (ambiguous), the best pose on the window's edge, or too few holes. Use before inserting into a holder that may have been pushed or whose lattice may be fitted one row or column off, and whenever a local hole refinement (a few mm) would report "found" anyway.

Overview

Publisherruntime-si
RepositoryRoboSkillHub
Skill namelocating-a-hole-lattice-by-wide-search
Stars
242
Forks
27
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 runtime-si on GitHub. Read the source before you install it.

Installation

Install the Locating A Hole Lattice By Wide Search 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/locating-a-hole-lattice-by-wide-search
  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/locating-a-hole-lattice-by-wide-search .claude/skills/locating-a-hole-lattice-by-wide-search
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Locating A Hole Lattice By Wide Search 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 Locating A Hole Lattice By Wide Search 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 Locating A Hole Lattice By Wide Search 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.

locating-a-hole-lattice-by-wide-search

A holder that slides when it is pushed, or a lattice fitted one column off, is a whole pitch from where the graph believes. A refinement that searches a few millimetres round the prior then settles on a local optimum and calls it found. On a real YAM (pens task, probe-insert-1 round 2, 2026-11-10) the believed lattice was about one pitch off, the station's +-5 mm shift stopped at its edge on every frame and still reported "found", and 18 insertions went down into the air beside the holder: the wrist camera saw table under the pen's foot, and the overhead camera showed the holes a column away.

How

  1. The frame's depth is lifted to the world. The hole face's height is the densest 1 mm band over the lattice (or face_z).
  2. On a grid (1 mm, coarser for a far camera: 1.2 x the pixel's footprint), cells with a point within 4 mm of the face are face; cells seen 6 mm or more under it, or dark in RGB near it, are open.
  3. A hole centred on a cell scores (face fraction of a ring at 1.25 r) minus (face fraction of a disc of 0.75 r), each computed once for every cell by convolution. The holder's body is the face closed over its holes (dilated then eroded by a hole's radius + 3 mm); a centre outside it scores -1. A node matches over match_score (0.25); a node in view that does not match contradicts the pose (solid face, the table, or just past the holder's edge, where the ring is half face and scores 0.2-0.3 like a poor hole).
  4. The border. The lattice's next ring (each node one pitch further along either lattice direction, where no node is) must hold no hole: a ring cell scoring over 0.8 of the pose's own matched holes' median counts against it. A lattice one row or column off puts that ring onto the real outer row, so it can no longer tie with the truth in a full view.
  5. Every pose of the prior moved by up to 1.5 pitch (1 mm steps) and turned by up to 15 deg (1 deg) is scored as matched - contradicted; the best is refined to 0.25 mm / 0.5 deg. The best pose more than 0.7 pitch or 8 deg away is the second hypothesis.

Inputs

  • prior: {"nodes": [[x, y], ...]} (world, metres), or {"centre", "yaw_deg", "pitch_m", "rows", "cols"}.
  • camera: a camera dict (depth [m], intrinsics 3x3, pose {position, rotation wxyz} or T_world_cam, rgb optional), else camera_name of a fresh robot.get_observation (the first camera with depth by default).

Outputs

pose {x, y, yaw_deg} of the lattice's centre, shift from the prior, nodes (every hole centre there), matched, contradicted, visible, of, residual_mm, second, face_z, detail.

Measured

Offline on recorded real frames of the YAM pens station (wrist D405 at the survey and over-hole poses, overhead camera; the prior is the lattice the run believed; 103 frames from 30 runs, 0.1-0.5 s each on CPU):

caseresult
wrist survey frames, both of a run located14 of 14 runs agree between the two frames within 3 mm
prior moved by up to +-25 mm (1.2 pitch) and +-10 deg on 33 located reference frames, 132 trials124 located within 2.5 mm of the reference, 2 ambiguous, 6 located 2.6-3.5 mm off, none a pitch off
probe-insert-1 round 2 (the lattice about a pitch off)overhead and 6 wrist frames: not_found (1-2 holes match at any pose in the window); none located at the wrong prior (the station's local refinement said found, +2.0 / -1.0 mm); round 1 (lattice right): 5 of 5 wrist frames located, 11 of 11 holes, shift 2-5 mm
all 103 frameslocated 53, not_found 44, ambiguous 6, at_search_edge 0
synthetic full top view, prior one column off / one row off and turned 5 deglocated on the truth within 1.5 mm (tests)

The overhead camera (2.5 mm a pixel) mostly routes not_found: the 18.7 mm holes are 7 pixels across and the holder's closed outline is too coarse to trust; its located answers before the border rule disagreed with the wrist surveys by a pitch. Take the lattice from a wrist survey.

Close wrist views over one hole see 5-6 nodes and often route not_found or ambiguous: that is the point - they cannot tell a pitch apart; take the survey view or the overhead frame for the lattice, the close view for the last millimetre.

Limits

  • Round holes in a flat face, the face seen from above (within ~45 deg).
  • A holder with no border in view and a periodic lattice is genuinely ambiguous by a pitch; the skill says so rather than guessing.
  • The overhead camera at 2.5 mm a pixel resolves holes of 18.7 mm only partly (6 of 12 matched on survey_top); use a wrist survey when it can.

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 Locating A Hole Lattice By Wide Search AI skill do?

Finds where a holder's lattice of round holes really is from one RGB-D frame (overhead or wrist), searching the prior's pose over +-1.5 pitch and +-15 deg, scoring each pose by holes matched (an open disc ringed by the holder's face) minus nodes contradicted (seen on solid face or on the table past the holder), and saying when it cannot tell - a second pose about a pitch away scoring nearly as well (ambiguous), the best pose on the window's edge, or too few holes. Use before inserting into a holder that may have been pushed or whose lattice may be fitted one row or column off, and whenever...

Why use Locating A Hole Lattice By Wide Search on TypingMind?

Because you install it once and use it with any model. Locating A Hole Lattice By Wide Search 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 Locating A Hole Lattice By Wide Search in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/runtime-si/RoboSkillHub/tree/main/skills/locating-a-hole-lattice-by-wide-search. 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 Locating A Hole Lattice By Wide Search?

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 Locating A Hole Lattice By Wide Search?

As many as you like. As long as a model supports skills, you can use Locating A Hole Lattice By Wide Search with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Locating A Hole Lattice By Wide Search AI skill free?

Yes. It is published on GitHub by runtime-si 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 👇