loc-new

Scaffolds a new localization candidate realization from a template with vendored upstream provenance.

1|1|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/33may/robotics --skill loc-new-33may
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loc-new
Source: https://github.com/33may/robotics/tree/main/humanoid/.claude/skills/loc-new
Command: npx skills add https://github.com/33may/robotics --skill loc-new-33may

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Starting a new localization algorithm candidate involves repetitive, error-prone setup: copying a template, renaming modules, vendoring upstream code with provenance, writing an environment recipe, and seeding documentation. This Skill automates that scaffolding so every candidate starts contract-green and consistent with the locbench playbook. ## Core Features & Use Cases - Template-based scaffolding: Copies the _template realization, renames the module class and placeholders, and produces a valid Python package under realizations/<name>/. - Upstream vendoring with provenance: Clones the upstream repo at a pinned SHA, records URL, license, and rationale in vendor/UPSTREAM.md, and gitignores fat assets. - Hypothesis-first workflow: Requires a written hypothesis README and a seeded JOURNAL.md entry before any adaptation work begins, then validates the scaffold by running the contract test suite. - Use Case: After research selects RTAB-Map as the next candidate, run the scaffold to create realizations/rtabmap/ with vendored source, a bench-rtabmap conda env recipe, and a green contract test — ready for phase 3 adaptation. ## Quick Start Ask the assistant to scaffold a new localization candidate named rtabmap from the chosen upstream repository using the loc-new skill.

Frequently Asked Questions about loc-new

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new localization candidate for benchmarking?

Provide a snake_case candidate name and a research-backed upstream pick, then the skill copies the _template realization, renames the module class, vendors the upstream repo with provenance, and seeds the README hypothesis and journal. The scaffold finishes by running the contract test suite, which must pass green.

What inputs are required before scaffolding a localization algorithm?

You need a valid snake_case name that becomes a Python package and a research pick specifying the approach plus upstream repo or library. Without a research pick the skill stops, because algorithm selection belongs to the earlier research phase, not the scaffold step.

Does the scaffold support pip-installed libraries instead of vendored repos?

Yes. Pip-pinned libraries skip the vendoring step entirely; only repo adaptations are cloned at a pinned SHA with an UPSTREAM.md provenance file. Dependencies are declared in an environment.yml recipe named bench-<name>.

Why does the scaffold require a written hypothesis before building?

The playbook mandates that phase 2 (hypothesis) precedes phase 3 (build), so the README must state the approach, hypothesis, and expected failure modes referencing the benchmark board. This prevents scaffolding candidates with no measurable claim about improvement over prior attempts.

What are the boundaries of the loc-new scaffold skill?

It never chooses the algorithm, never touches locbench internals, episode sets, or other candidates' folders, and never deletes a botched scaffold itself. Adaptation of the real algorithm in module.py is deferred to later loop phases, not scaffold time.