Professional Definition: This capability measures the agent's proficiency in inferring discrete and descriptive spatial relationships among entities across single and multi-view perspectives. It involves mapping natural language predicates (on, in, left of, behind) to 3D scene geometry, enabling complex spatial disambiguation and the exhaustive documentation of semantic scene graphs in natural language. It explicitly trains spatial formalization and predicate observation without relying on rigid programmatic solver syntax.
Dimension Hierarchy: Perceptual World Modeling->Static Spatial Grounding->spatial-relation-reasoning
Real Case
[Case 1]
Initial Environment: A city street where a building acts as a central landmark. To its east is a storefront with a distinct yellow sign. Multiple vehicles are parked along the curb.
Real Question: What color is the car parked in front of the shop with the yellow signboard?
Real Trajectory: The agent identifies the building, determines the 'east' vector from its current orientation, localizes the storefront with the yellow sign, and targets the specific car within the 'in front of' spatial boundary.
Real Answer: Red.
Why this demonstrates the capability: This illustrates relation-chain disambiguation. The agent must use a sequence of spatial relations to distinguish the targeted vehicle from other cars in the open-world environment.
[Case 2]
Initial Environment: A living room scene contains a sofa, a coffee table, a lamp behind the sofa, and a chair to the left of the coffee table from the agent’s current viewpoint.
Real Question: Is the chair on the left or on the right of the table?
Real Trajectory: The agent locks onto the table as the local anchor and computes the egocentric spatial difference relative to its camera bearing to ascertain alignment.
Real Answer: Left.
Why this demonstrates the capability: The answer strictly hinges on applying egocentric relational mapping against an established anchor point to evaluate relative spatial positioning.
[Case 3]
Initial Environment: A robotics lab table viewed from multiple angles. Pink, red, yellow, and green blocks are scattered.
Real Question: Describe every stacking and spatial state relationship between the colored blocks currently on the table to help me plan.
Real Trajectory: The agent systematically audits all visual angles. It notes the red block has nothing on it, the pink block is on the green block, and the yellow block is alone on the table. It lists these observations comprehensively into a structured natural language summary.
Real Answer: Red is clear; Pink is on Green; Green is on the table; Yellow is clear and on the table.
Why this demonstrates the capability: Demonstrates Exhaustive Predicate Verification via natural language representation. The agent conducts total relationship formalization to guarantee comprehension of implicit physical constraints like 'clear' without restricting answers to hard-coded PDDL strings.
Pipeline Execution Instructions
To synthesize data for this capability, you must strictly follow a 3-phase pipeline. Do not hallucinate steps. Read the corresponding reference file for each phase sequentially:
Phase 1: Environment Exploration
Read the exploration guidelines to discover raw knowledge seeds:
references/EXPLORATION.md
Phase 2: Trajectory Selection
Once Phase 1 is complete, read the selection criteria to evaluate the trajectory:
references/SELECTION.md
Phase 3: Data Synthesis
Once a trajectory passes Phase 2, read the synthesis instructions to generate the final data:
references/SYNTHESIS.md
1---2name: spatial-relation-reasoning3description: Skill: spatial-relation-reasoning4---56# Skill: spatial-relation-reasoning78## 1. Capability Definition & Real Case9* **Professional Definition**: This capability measures the agent's proficiency in inferring discrete and descriptive spatial relationships among entities across single and multi-view perspectives. It involves mapping natural language predicates (on, in, left of, behind) to 3D scene geometry, enabling complex spatial disambiguation and the exhaustive documentation of semantic scene graphs in natural language. It explicitly trains spatial formalization and predicate observation without relying on rigid programmatic solver syntax.10* **Dimension Hierarchy**: Perceptual World Modeling->Static Spatial Grounding->spatial-relation-reasoning1112### Real Case13**[Case 1]**14* **Initial Environment**: A city street where a building acts as a central landmark. To its east is a storefront with a distinct yellow sign. Multiple vehicles are parked along the curb.15* **Real Question**: What color is the car parked in front of the shop with the yellow signboard?16* **Real Trajectory**: The agent identifies the building, determines the 'east' vector from its current orientation, localizes the storefront with the yellow sign, and targets the specific car within the 'in front of' spatial boundary.17* **Real Answer**: Red.18* **Why this demonstrates the capability**: This illustrates relation-chain disambiguation. The agent must use a sequence of spatial relations to distinguish the targeted vehicle from other cars in the open-world environment.19---20**[Case 2]**21* **Initial Environment**: A living room scene contains a sofa, a coffee table, a lamp behind the sofa, and a chair to the left of the coffee table from the agent’s current viewpoint.22* **Real Question**: Is the chair on the left or on the right of the table?23* **Real Trajectory**: The agent locks onto the table as the local anchor and computes the egocentric spatial difference relative to its camera bearing to ascertain alignment.24* **Real Answer**: Left.25* **Why this demonstrates the capability**: The answer strictly hinges on applying egocentric relational mapping against an established anchor point to evaluate relative spatial positioning.26---27**[Case 3]**28* **Initial Environment**: A robotics lab table viewed from multiple angles. Pink, red, yellow, and green blocks are scattered.29* **Real Question**: Describe every stacking and spatial state relationship between the colored blocks currently on the table to help me plan.30* **Real Trajectory**: The agent systematically audits all visual angles. It notes the red block has nothing on it, the pink block is on the green block, and the yellow block is alone on the table. It lists these observations comprehensively into a structured natural language summary.31* **Real Answer**: Red is clear; Pink is on Green; Green is on the table; Yellow is clear and on the table.32* **Why this demonstrates the capability**: Demonstrates Exhaustive Predicate Verification via natural language representation. The agent conducts total relationship formalization to guarantee comprehension of implicit physical constraints like 'clear' without restricting answers to hard-coded PDDL strings.3334## Pipeline Execution Instructions35To synthesize data for this capability, you must strictly follow a 3-phase pipeline. **Do not hallucinate steps.** Read the corresponding reference file for each phase sequentially:36371. **Phase 1: Environment Exploration**38 Read the exploration guidelines to discover raw knowledge seeds:39 `references/EXPLORATION.md`40412. **Phase 2: Trajectory Selection**42 Once Phase 1 is complete, read the selection criteria to evaluate the trajectory:43 `references/SELECTION.md`44453. **Phase 3: Data Synthesis**46 Once a trajectory passes Phase 2, read the synthesis instructions to generate the final data:47 `references/SYNTHESIS.md`
Run npx skillmds@latest add dingxingdi/spatial-relation-reasoning in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Skill: spatial-relation-reasoning It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
dingxingdi (@dingxingdi) published this skill. Their other Agent Skills are listed on their SkillMD profile.