Logo van Cap Tool Usage

Cap Tool Usage

Organisatie
NVlabs
cap-tool-usage

Localize objects and compose low-level CAP MCP actions using observations, Cartesian or synchronized motion, joint targets, and single-arm gripper control.

Overzicht

UitgeverNVlabs
RepositoryASPIRE
Skillnaamcap-tool-usage
Sterren
838
Forks
69
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door NVlabs op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Cap Tool Usage in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/NVlabs/ASPIRE/tree/main/.agents/skills/cap-tool-usage
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVlabs/ASPIRE.git /tmp/ASPIRE
mkdir -p .claude/skills
cp -r /tmp/ASPIRE/.agents/skills/cap-tool-usage .claude/skills/cap-tool-usage
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Cap Tool Usage in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Cap Tool Usage automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Cap Tool Usage niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

CAP Tool Usage

Follow AGENTS.md. Use the native mcp__cap__* interface attached to the ASPIRE CAP session. Keep that session as the only environment and camera owner; do not create another robot or camera runtime during a physical task.

For a plainly short-horizon task, execute the shortest dependency-ordered MCP sequence immediately. Skip source inspection, a full planning report, and redundant checks.

ASPIRE action contract

Native MCP schemas are authoritative. The low-level action tools are:

ToolTarget
cap_move_to_posetarget_pose, with arm="left" or "right"
cap_move_synchronizedtargets={"left": pose, "right": pose} for jointly planned motion
cap_move_to_jointstarget containing six joint angles in radians, with arm
cap_set_gripperposition from 0 closed to 1 open, with arm

An absolute pose includes position: [x, y, z] in metres, frame, and exactly one of rpy_deg: [roll, pitch, yaw] or quaternion_wxyz: [w, x, y, z]. RPY uses degrees and fixed-axis XYZ: R = Rz(yaw) @ Ry(pitch) @ Rx(roll) in the declared frame. Returned poses use WXYZ quaternions. Read measured arm poses with cap_get_robot_state.

For Cartesian or synchronized pose motion with cuRobo configured, select strategy={"ik_solver":"mink","trajectory_planner":"curobo"}. Never disable collision checking to force a failed plan through. Do not use direct joint motion as implicit IK or to bypass a failed collision-aware Cartesian plan.

For a layer turn, derive successive absolute pose targets from the measured cube axis and EEF pose. An offset EEF needs both its position and orientation rotated about that axis. Verify contact and actual sticker motion from returned evidence. Use separate cap_set_gripper calls for intended grip changes. Prefer synchronized motion only when both targets are grounded and neither depends on the other's feedback.

Object-approach tool chain

Use the MCP schemas as authoritative. The expected discoverable tools are:

cap_localize_object → cap_move_to_pose → optional observe

cap_localize_object performs one-shot SAM3 plus shared RGB-D localization. cap_move_to_pose performs its own IK and motion planning. Observation and localization are read-only; only action tools actuate the robot.

Read current arm state when a target depends on the measured EEF pose. Form a full pose from grounded object geometry and the intended grasp orientation; an object's estimated orientation is not automatically a suitable gripper orientation.

Use the runtime's available camera names; their names and count are not fixed. observe and get_job accept an optional cameras list. World-frame localization requires a calibrated RGB-D view. Check the installed pads before applying the cube guide's soft UMI contact guidance.

Pose evidence

  1. Discover the current tool schemas from CAP MCP; do not infer arguments from this summary.
  2. When object-relative metric geometry is needed, call cap_localize_object in a calibrated RGB-D view. Reuse that result when its identity, frame, geometry, and diagnostics are valid. Repeat only after concrete invalid or contradictory evidence, or after motion changed the scene; do not sample twice merely to estimate stability. Reject unreliable estimates, not the entire task: another view or a bounded correction grounded in measured EEF state and visible alignment may remain feasible.
  3. Refresh grounding that motion invalidated. A new localization call is needed when the next action depends on object geometry that fresh returned evidence does not establish.

Shared rules

  • A job receipt is not a terminal result; handle execution and completion as described in AGENTS.md. Process terminal status, errors, state, and images before the next dependent action.
  • Use successful measured postconditions as evidence of the metric effects they actually verify. Continue directly when they resolve the next decision. Call observe when a required relation is absent, stale, ambiguous, or contradicted; never use it as a routine acknowledgement of successful motion.
  • Action feedback includes images by default. Reuse fresh returned evidence; numeric motion success alone does not verify grasp, placement, or task completion.
  • When IK succeeds and motion executes, large measured tracking errors near an object, the table, or the other gripper can indicate contact. Use returned views to distinguish obstruction from free-space tracking error; do not push farther or loosen tolerance to get past suspected contact. An IK rejection by itself is not evidence of contact.
  • For a supporting arm, retain the intended hold reference across calls; do not silently replace it with each drifted measurement. Plan corrections from the achieved state with contact and clearance checked. Distinguish a changed reference from failure to track an unchanged one before attributing drift to hardware or declaring the task blocked.
  • Perception tools acquire their own fresh observation. Do not call observe first unless visual inspection is needed to select or disambiguate the subject or target.
  • Ground geometry from a fresh official observation before a metric action.
  • Require evidence sufficient for the next action's precision and contact risk, not a uniformly precise scene model. An endpoint miss measures that attempt, not the best achievable accuracy; missing camera extrinsics prevent world-frame localization, not use of its RGB view for alignment.
  • Prefer one collision-aware motion whose returned terminal state verifies the requested effect.
  • Preserve the current gripper through metric motion unless a change is intended. Gripper commands are actions, not acquisition probes: use them only when the gripper-state transition is the grounded subgoal, and verify support before releasing a load.
  • Use cap_set_gripper for one arm. Position 0.0 is fully closed, 1.0 is fully open, and intermediate values are proportional. One successful call completes the transition; do not repeat it when the returned gripper state already verifies the target.

Veelgestelde vragen

Wat doet de AI-skill Cap Tool Usage?

Localize objects and compose low-level CAP MCP actions using observations, Cartesian or synchronized motion, joint targets, and single-arm gripper control.

Waarom Cap Tool Usage gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Cap Tool Usage bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Cap Tool Usage in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/NVlabs/ASPIRE/tree/main/.agents/skills/cap-tool-usage. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Cap Tool Usage gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Cap Tool Usage gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Cap Tool Usage ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Cap Tool Usage gratis?

Ja. Deze skill is door NVlabs op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇