Logo vun Cap Tool Usage

Cap Tool Usage

Organisatioun
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.

Iwwersiicht

EditeurNVlabs
RepositoryASPIRE
Skill-Nummcap-tool-usage
Stären
838
Forks
69
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum NVlabs op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Cap Tool Usage an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/NVlabs/ASPIRE/tree/main/.agents/skills/cap-tool-usage
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-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 nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Cap Tool Usage an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Cap Tool Usage automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Cap Tool Usage net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-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.

Firwat Cap Tool Usage op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Cap Tool Usage besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Cap Tool Usage an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/NVlabs/ASPIRE/tree/main/.agents/skills/cap-tool-usage an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Cap Tool Usage benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Cap Tool Usage benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Cap Tool Usage domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Cap Tool Usage gratis?

Jo. De Skill gëtt vum NVlabs ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇