CtrlK
BlogDocsLog inGet started
Tessl Logo

iterative-retrieval

Pattern for progressively refining context retrieval to solve the subagent context problem

48

Quality

35%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./docs/zh-TW/skills/iterative-retrieval/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

95%

73%

Context Retrieval Module for AI Code Assistant

Iterative retrieval cycle

Criteria
Without context
With context

Multi-phase cycle

70%

100%

Broad initial query

40%

100%

Numeric relevance scale

50%

100%

Relevance score bands

0%

100%

Exclude low-relevance files

0%

100%

Maximum 3 cycles

0%

100%

Return threshold ≥ 0.7

0%

100%

Early termination condition

30%

100%

Missing context tracking

0%

100%

Structured query object

0%

50%

Keyword expansion in refinement

100%

100%

100%

44%

Agent Context Retrieval Instructions

Agent retrieval instructions

Criteria
Without context
With context

Broad initial search

87%

100%

Numeric relevance scoring

40%

100%

Include threshold ≥ 0.7

0%

100%

Maximum cycle count

0%

100%

Early stopping condition

90%

100%

Terminology learning

50%

100%

Gap identification

90%

100%

Search term expansion

80%

100%

Exclude irrelevant files

80%

100%

Minimum high-relevance count

28%

100%

Patterns and keywords together

80%

100%

92%

44%

Search Query Refinement for Code Analysis Tool

Query refinement logic

Criteria
Without context
With context

Extract patterns from high-relevance

80%

100%

Extract keywords from high-relevance

80%

100%

Merge patterns cumulatively

100%

100%

Merge keywords cumulatively

100%

100%

Build focusAreas from gaps

0%

73%

Exclude low-relevance paths

53%

100%

All four query fields present

0%

70%

focusAreas deduplication

0%

100%

Exclusion threshold < 0.2

0%

100%

Repository
haniakrim21/everything-claude-code
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.