---
name: close-box
description: Close a box that has a lid. Do not use on objects without a lid.
title: close-box
canonical_url: https://skilld.dev/gh/bincequ/roboharness/close-box
last_updated: 2026-10-26T00:03:07.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install bincequ/roboharness/close-box`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/close-box`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/bincequ/roboharness/close-box) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/close-box`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/close-box --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/close-box --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Close box

<!-- claude-pixel-contract:start -->
The latest image in the conversation represents the current observed state.
Older images are historical context; their points, bounding boxes, and
object-part locations do not describe the current view. After any motion,
re-locate the target in the latest image; do not shift, rotate, or scale an
older location estimate to choose a new click.

Before EVERY point selection, inspect the latest attached clickable head image
and re-locate the physical target. Use its actual 720 x 720 original-image
pixels: integer `u` (column) and `v` (row) in 0..719, with top-left `(0,0)` and
bottom-right `(719,719)`. Do not normalize, rescale, or use crop coordinates.
Bind every point, including every row of a multi-point call, to that exact
current `image_id`. Never copy locations from older images, earlier reasoning,
reference photos, tracking text, or overlay labels. Wrist images are
observation-only and cannot be clicked. If the MCP image check rejects a
click, capture a fresh head image and ground again; do not guess an image_id.
<!-- claude-pixel-contract:end -->

<!-- claude-task-lifecycle:start -->
Follow this procedure only while `close-box` is the active task
Skill in the latest lifecycle result or current `task_skill_state` notice.
Its presence in history, including after compaction, does not activate it.
After success and all required post-actions, call `deactivate_skill` with
`name="close-box"`, then continue the parent task under the baseline.
You may also deactivate to cancel or hand control back without claiming success.
Instructions below to stay, retry, or exit describe pursuit of success; they do
not prohibit explicit cancellation or handoff. Carry unfinished work and any
pending cleanup back to the parent task. Physical constraints still apply;
deactivation itself does not move the robot or release a grasp.
<!-- claude-task-lifecycle:end -->

Use the advertised `behavior-v2` tools and the baseline Skill. This Skill
closes a lidded box. It is not for objects without a lid and not for
picking up the box.

Successful completion requires a fresh head image that shows the lid seated shut
on the box body. Stopping a bind, plan, reach, or adjust is a sub-step
change, not Skill exit and not session end.

1. Capture the head camera. On that image pick exactly two points:
   - `lid_edge`: a visible point on the lid's free edge, not the hinge.
   - `body_edge`: the matching point on the box body's rim.
   Call `track_object_distance` once with both named points.

2. Call `plan_grasp_point_filter_rgbd_lite` on `lid_edge`. If that plan
   fails, call `spin_to_facing_point` then `move_to_reach_point` on
   `lid_edge`, recapture, rebind both points, and plan again.

3. Call `exec_plan_pose` with the returned plan, then `close_gripper` on
   that same arm. Keep that gripper closed until the lid and the body
   form an acute angle.

4. After each action, read both current `xyz_in_robot_base_coord_m`
   values from `persistent_tracking`. Use `body_edge - lid_edge` only to
   judge which way the lid still needs to move. Do not follow a fixed
   step size, interpolation fraction, or z schedule.

5. Move the holding arm with `adjust_left_eef_pose_in_head_frame` or
   `adjust_right_eef_pose_in_head_frame`. Choose each increment from the
   latest tracks and the current image: direction, size, and height may
   change after every move. If either point is lost, recapture and
   rebind both points before the next adjust.

6. Call `open_gripper` on the holding arm as soon as a fresh view shows
   the lid and the body forming an acute angle. Do not keep closing
   after that.

7. Recapture the head camera. When the lid sits shut on the body, call
   `deactivate_skill` with `name="close-box"` and return to the parent task.
   If the box is still open, go back to step 1. That is not
   session end.
