Search Hierarchy
Prioritizes search results based on user-defined hierarchies of importance, ensuring relevant information surfaces first.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add search-hierarchy npx -- -y @trustedskills/search-hierarchy
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"search-hierarchy": {
"command": "npx",
"args": [
"-y",
"@trustedskills/search-hierarchy"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The search-hierarchy skill enables an AI agent to navigate and retrieve information from structured data organized in a hierarchical format. It can traverse parent-child relationships within this structure, allowing for targeted searches based on specific levels or branches. This allows agents to efficiently find relevant details without needing to process the entire dataset.
When to use it
- Organizational Charts: Extracting information about employees and their reporting lines from a company's organizational chart data.
- Product Catalogs: Finding products based on categories, subcategories, or specific attributes within a product catalog hierarchy.
- File System Navigation: Locating files and directories by traversing a file system’s directory structure.
- Taxonomies: Retrieving articles or resources based on their placement within a subject taxonomy.
Key capabilities
- Hierarchical data traversal
- Targeted searches at specific levels
- Branch-specific information retrieval
- Parent-child relationship navigation
Example prompts
- "Find all departments under 'Engineering' in the company hierarchy."
- "What are the products located within the 'Electronics > Audio' category?"
- "List all files directly inside the 'Documents/Projects' directory."
Tips & gotchas
The skill requires the hierarchical data to be formatted in a predictable and accessible structure. Ensure the agent has access to this structured data before attempting to use the search-hierarchy skill.
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.