home / skills / bdambrosio / cognitive_workbench / debug-grid-cell
This skill lets you query a specific agent-relative voxel grid cell and receive its block, solidity, and support details.
npx playbooks add skill bdambrosio/cognitive_workbench --skill debug-grid-cellReview the files below or copy the command above to add this skill to your agents.
---
name: debug-grid-cell
type: python
hidden: true
description: "Debug tool: Query specific cell in observed voxel grid"
---
# debug-grid-cell
Debug tool for testing coordinate system. Queries a specific cell in the observed voxel grid.
## Input
- `dx`: int - Agent-relative X coordinate
- `dy`: int - Agent-relative Y coordinate
- `dz`: int - Agent-relative Z coordinate
- `radius`: int - Optional grid radius (default: 2)
## Output
Returns uniform return format with:
- `value`: Summary text
- `data`: Cell dict with:
- `dx, dy, dz`: Agent-relative coordinates
- `block_id`: Block name or null
- `solid`: bool
- `support`: bool
## Notes
- Hidden from planner catalog (debug/testing only)
- Queries agent-relative coordinates
- Accessible via direct `{"type": "debug-grid-cell"}` invocation
This skill is a debug tool that queries a specific cell in an observed voxel grid relative to the agent. It returns a concise summary and a structured data object describing the cell at the requested agent-relative coordinates. It is intended for testing and verifying coordinate systems, visibility, and block properties in environments that expose a voxel observation grid.
You call the skill with agent-relative coordinates (dx, dy, dz) and an optional radius to limit the observation area. The skill inspects the observed voxel grid at the requested location and returns a uniform response containing a human-readable value and a data dictionary. The data dictionary reports the coordinates, block identifier (or null), and boolean flags for solidity and support.
What input fields are required?
dx, dy, and dz are required integers; radius is optional and defaults to 2.
What does null block_id mean?
Null block_id indicates no recognized block at that cell or missing data for the cell.