From agent-capability-standard
Find relevant items under uncertainty across repositories, databases, web sources, or any searchable corpus. Use when exploring unknown territory, finding related information, or discovering relevant resources.
npx claudepluginhub synaptiai/synapti-marketplace --plugin agent-capability-standardThis skill is limited to using the following tools:
Available search context:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Available search context:
pwdfind . -type f -not -path './.git/*' 2>/dev/null | sed 's/.*\.//' | sort | uniq -c | sort -rn | head -10find . -type f -not -path './.git/*' 2>/dev/null | wc -l | tr -d ' 'find . -type d -maxdepth 2 -not -path './.git/*' 2>/dev/null | head -10find . -name 'README*' -not -path './.git/*' 2>/dev/null | head -5Execute search to find relevant information when you don't know exactly where to look. Unlike retrieve (which fetches known items), search explores under uncertainty and ranks results by relevance.
Success criteria:
World Modeling Context:
Search feeds into the State Layer by discovering entities and observations to include in world-state. It supports the Identity & Continuity Layer by finding candidate matches for identity-resolution.
Compatible schemas:
schemas/output_schema.yaml| Parameter | Required | Type | Description |
|---|---|---|---|
query | Yes | string | What to search for (natural language or structured) |
sources | No | array | Where to search: repo, web, docs, database (default: infer) |
constraints | No | object | Time bounds, file types, domains, result limits |
ranking_criteria | No | string | relevance, recency, authority (default: relevance) |
Parse query: Understand what the user is looking for
Select search strategy: Based on sources and query type
Construct search queries: Formulate effective queries
Execute searches: Run queries across sources
Collect and deduplicate results: Aggregate findings
Rank results: Score by relevance and other criteria
Extract key information: For top results
Assess coverage: Evaluate search completeness
Return a structured object:
search_results:
query: string # Original query
query_expansions: array[string] # Variations tried
sources_searched: array[string] # Where we looked
results:
- id: string # Result identifier
type: file | web | doc | record
source: string # Where found
path: string | null # File path or URL
title: string | null
snippet: string # Relevant excerpt
relevance_score: number # 0.0-1.0
metadata:
date: string | null
author: string | null
size: number | null
evidence_anchor: string # Reference for grounding
total_found: integer # Total results before filtering
returned: integer # Results in this response
coverage:
sources_available: array[string]
sources_searched: array[string]
coverage_ratio: number # 0.0-1.0
blind_spots: array[string] # Known gaps
search_strategy:
method: string # How search was conducted
queries_executed: array[string] # Actual queries run
filters_applied: object
confidence: number # 0.0-1.0
evidence_anchors: array[string]
assumptions: array[string]
next_searches: array[string] # Suggested follow-up searches
| Field | Type | Description |
|---|---|---|
results | array | Ranked search results |
relevance_score | number | How well result matches query |
coverage | object | Assessment of search completeness |
blind_spots | array | Known areas not searched |
next_searches | array | Suggested follow-up queries |
Input:
query: "JWT token validation"
sources: ["repo"]
constraints:
file_types: [".ts", ".js"]
exclude_paths: ["node_modules", "test"]
Output:
search_results:
query: "JWT token validation"
query_expansions:
- "jwt.*valid"
- "token.*verify"
- "jsonwebtoken"
sources_searched: ["repo:src/"]
results:
- id: "r1"
type: file
source: "repo"
path: "src/middleware/auth.ts"
title: null
snippet: |
export function validateToken(token: string): JWTPayload {
return jwt.verify(token, process.env.JWT_SECRET) as JWTPayload;
}
relevance_score: 0.95
metadata:
date: "2025-01-20"
author: null
size: 2450
evidence_anchor: "src/middleware/auth.ts:45-48"
- id: "r2"
type: file
source: "repo"
path: "src/services/user-service.ts"
title: null
snippet: |
const decoded = validateToken(authHeader.split(' ')[1]);
relevance_score: 0.75
metadata:
date: "2025-01-15"
size: 5200
evidence_anchor: "src/services/user-service.ts:23"
- id: "r3"
type: file
source: "repo"
path: "src/utils/jwt-helpers.ts"
title: null
snippet: |
export const JWT_ALGORITHM = 'HS256';
export const TOKEN_EXPIRY = '24h';
relevance_score: 0.60
metadata:
date: "2024-12-01"
size: 800
evidence_anchor: "src/utils/jwt-helpers.ts:1-5"
total_found: 8
returned: 3
coverage:
sources_available: ["repo", "docs"]
sources_searched: ["repo:src/"]
coverage_ratio: 0.85
blind_spots:
- "Config files not searched"
- "Documentation not searched"
search_strategy:
method: "grep_pattern_search"
queries_executed:
- "grep -r 'jwt.*valid' --include='*.ts' src/"
- "grep -r 'token.*verify' --include='*.ts' src/"
filters_applied:
file_types: [".ts", ".js"]
excluded: ["node_modules", "test"]
confidence: 0.9
evidence_anchors:
- "src/middleware/auth.ts:45-48"
- "src/services/user-service.ts:23"
- "src/utils/jwt-helpers.ts:1-5"
assumptions:
- "All JWT logic is in TypeScript files"
- "No JWT validation in excluded test files matters"
next_searches:
- "Search config/ for JWT_SECRET references"
- "Search docs/ for authentication documentation"
Evidence pattern: Used Grep with multiple patterns to find JWT-related code, ranked by directness of validation logic.
Input:
query: "OpenAI API rate limits 2025"
sources: ["web"]
ranking_criteria: recency
Output:
search_results:
query: "OpenAI API rate limits 2025"
query_expansions:
- "OpenAI rate limit tiers"
- "GPT-4 API quota"
sources_searched: ["web"]
results:
- id: "w1"
type: web
source: "web"
path: "https://platform.openai.com/docs/guides/rate-limits"
title: "Rate limits - OpenAI API"
snippet: "Rate limits are measured in tokens per minute (TPM) and requests per minute (RPM). Tier 1 users: 500 RPM, 100,000 TPM..."
relevance_score: 0.95
metadata:
date: "2025-01-15"
author: "OpenAI"
evidence_anchor: "url:https://platform.openai.com/docs/guides/rate-limits"
- id: "w2"
type: web
source: "web"
path: "https://community.openai.com/t/rate-limit-changes-2025"
title: "Rate Limit Changes in 2025"
snippet: "As of January 2025, we've updated rate limit tiers..."
relevance_score: 0.85
metadata:
date: "2025-01-10"
evidence_anchor: "url:https://community.openai.com/t/rate-limit-changes-2025"
total_found: 15
returned: 2
coverage:
sources_available: ["web", "docs"]
sources_searched: ["web"]
coverage_ratio: 0.7
blind_spots:
- "Internal documentation not accessible"
search_strategy:
method: "web_search"
queries_executed:
- "OpenAI API rate limits 2025"
- "OpenAI rate limit tiers"
filters_applied:
recency: "2025"
confidence: 0.85
evidence_anchors:
- "url:https://platform.openai.com/docs/guides/rate-limits"
assumptions:
- "Official documentation is current"
next_searches:
- "Search OpenAI changelog for rate limit updates"
Verification tools: Link validators, file existence checks
mutation: falserequires_checkpoint: falserequires_approval: falserisk: lowCapability-specific rules:
Commonly follows:
inspect when inspection reveals knowledge gapsCommonly precedes:
retrieve - After finding, retrieve full contentworld-state - Search results inform state constructionidentity-resolution - Find candidate entities to resolvegrounding - Search for evidence to ground claimsAnti-patterns:
retrieve)Workflow references:
reference/composition_patterns.md#world-model-build for search in model constructionreference/composition_patterns.md#debug-code-change for search during debugging