Agent skill

3d-bin-packing

When the user wants to pack 3D boxes into containers, optimize 3D space utilization, or solve container loading problems. Also use when the user mentions "3D packing," "container packing," "box packing," "3D bin packing problem," "cube packing," "three-dimensional packing," "cargo loading," or "space optimization." For pallet-specific loading, see pallet-loading. For container logistics, see container-loading-optimization.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill 3d-bin-packing-kishorkukreja-awesome-supply-chain --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 44 KB
Bundled scripts: none
Path: skills/analysis/3d-bin-packing-kishorkukreja-awesome-supply-chain/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

The skill is an expert in 3D bin packing and three-dimensional space optimization. It aims to help pack 3D boxes and items into containers, trucks, or bins while maximizing space utilization, minimizing number of containers, and ensuring physical stability.

How it works

Initial Assessment

The agent asks for problem objectives (e.g., minimize number of containers, maximize container utilization, minimize shipping costs, ensure load stability), item specifications (count, dimensions, weights, fragility, stackability, rotation allowances), container specifications (dimensions, weight capacity, multiple types, quantity), physical constraints (weight distribution, center of gravity, stacking limits, fragility, load sequence), and any special requirements (multi-drop deliveries, grouping, axle limits, door access).

3D Bin Packing Framework

The problem is categorized into: 3D Bin Packing Problem (minimize bins, all items packed, no overlap, axis-aligned or with rotation); Single Container Loading Problem; Pallet/Container Loading Problem; Multi-Container Heterogeneous Packing; Weight-Constrained 3D Packing.

Mathematical Formulation

The model defines decision variables for item coordinates, bin assignment, orientation, and which bins are used. Objective is to minimize total bins. Constraints cover non-overlap, containment, support, weight, and stability; complexity notes NP-hard and reliance on heuristics.

Algorithms and Solution Methods

Exact Methods

An Integer Programming formulation is provided (solve_3d_bin_packing_ip) using Python pseudocode with libraries (e.g., pulp). It defines item positions, bin assignment, orientation, and bin usage; enforces assignment, containment, weight, and bin usage constraints. Non-overlap is noted as omitted in this simplified version.

Heuristic Methods

Bottom-Left-Back (BLB) Algorithm

Greedy placement at lowest, leftmost, back-most positions; includes 3D Box and Space representations, orientation handling, and a Space class with fits checks and rotation support. It places items in existing containers or creates new containers as needed, updating spaces and ensuring total weight does not exceed max_weight.

Layer Building Algorithm

Builds horizontal layers, packs items within each layer (2D problem), and stacks layers vertically. Includes a Layer Packing routine that uses packing within a layer and assigns 3D positions with a layer_z offset.

When to use it

Use when the user mentions 3D packing, container packing, box packing, 3D bin packing problem, cube packing, three-dimensional packing, cargo loading, or space optimization. For pallet-specific loading or container logistics, related references are provided but not required by this skill unless the prompt mentions those specifics.

What it can touch

The skill declares claude-code as a declared tool. It includes code blocks and Python-like snippets for both exact and heuristic methods, including function solve_3d_bin_packing_ip, Box and Space classes, bottom_left_back_packing, create_residual_spaces, calculate_3d_utilization, and layer_building_algorithm. These references indicate it can touch code-based solutions and 3D packing logic.

Caveats

  • The exact method notes that non-overlap constraints are omitted in the simplified version of the IP model.
  • The provided snippets rely on external libraries (e.g., PuLP) and are described as practical for very small problems (<10 items).
  • Rotation handling is described but may be context-dependent based on orientation definitions provided in the code.
  • The license is MIT as per the skill metadata.
From the SKILL.md

# 3D Bin Packing You are an expert in 3D bin packing and three-dimensional space optimization. Your goal is to help pack 3D boxes and items into containers, trucks, or bins while maximizing space utilization, minimizing number of containers, and ensuring physical stability. ## Initial Assessment Before solving 3D bin packing problems, understand: 1. **Problem Objectives** - Minimize number of containers/bins used? - Maximize utilization of fixed containers? - Minimize shipping costs? - Ensure load stability? 2. **Item Specifications** - How many items to pack? (10s, 100s, 1000s) - Item dimensions: length x width x height - Item weights (important for stability)? - Fragility or stackability constraints? - Can items be rotated? (all 6 orientations or restricted?) 3. **Container Specifications** - Container dimensions: L x W x H - Weight capacity limit? - Multiple container types available? - Unlimited containers or fixed quantity? 4. **Physical Constraints** - Weight distribution requirements? - Center of gravity constraints? - Stacking limits (max items on top)? - Fragile items (can't be at bottom)? - Load sequence requirements (LIFO/FIFO)? 5. **Special Requirements** - Multi-drop d

What's inside
Steps it walks through
  1. Initial Assessment
  2. 3D Bin Packing Framework
  3. Problem Classification
  4. Mathematical Formulation
  5. Basic 3D Bin Packing Model
  6. Algorithms and Solution Methods
  7. Exact Methods
  8. Heuristic Methods
  9. Metaheuristic Methods
  10. Complete 3D Bin Packing Solver
  11. Tools & Libraries
  12. Python Libraries
  13. Commercial Software
  14. Common Challenges & Solutions
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the 3d-bin-packing skill do?

When the user wants to pack 3D boxes into containers, optimize 3D space utilization, or solve container loading problems. Also use when the user mentions "3D packing," "container packing," "box packing," "3D bin packing problem," "cube packing," "three-dimensional packing," "cargo loading," or "space optimization." For pallet-specific loading, see pallet-loading. For container logistics, see container-loading-optimization.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill 3d-bin-packing-kishorkukreja-awesome-supply-chain --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going