Push Null To Perimeter
This skill pushes all null tokens to the edge of the map, streamlining your base defense and preventing unwanted expansion.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add push-null-to-perimeter npx -- -y @trustedskills/push-null-to-perimeter
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"push-null-to-perimeter": {
"command": "npx",
"args": [
"-y",
"@trustedskills/push-null-to-perimeter"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The push-null-to-perimeter skill allows an AI agent to strategically place null values within arrays or lists, effectively pushing other elements outwards. This is useful for creating space, isolating specific data points, or manipulating array structure based on a defined perimeter. The skill ensures that the placement of these nulls adheres to specified boundaries and constraints.
When to use it
- Data Isolation: You need to isolate a particular element in an array by surrounding it with
nullvalues for clarity or processing purposes. - Array Reshaping: You want to create space within an existing array without deleting elements, effectively "pushing" other items outwards.
- Boundary Enforcement: When dealing with data that needs to be contained within specific limits, this skill can help ensure no values exceed those boundaries by padding with
null. - Data Transformation: You're preparing data for a downstream process that requires null placeholders in certain positions.
Key capabilities
- Null value insertion
- Perimeter-based placement
- Array manipulation
- Boundary constraint adherence
Example prompts
- "Push null values to the perimeter of this array: [1, 2, 3, 4, 5]."
- "Insert nulls around index 2 in the array [a, b, c, d, e] maintaining the existing order."
- "Pad this list with nulls up to a length of 10: ['x', 'y', 'z']"
Tips & gotchas
The skill's effectiveness depends on clear instructions regarding the perimeter and boundaries. Ambiguous prompts might lead to unexpected results, so be specific about where you want the null values placed.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.