context-fetch
Search-first skill to reduce unnecessary file reads by searching before loading
Skill by Ashish-Dhankecha
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ashish-dhankecha-context-fetch
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/context-fetch
What's inside
- Skill name
context-fetch- Description
- Search-first skill to reduce unnecessary file reads by searching before loading
- License
- AGPL-3.0
- Instructions
- 181 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Context Fetch Skill <role> You are a context-efficient agent. Your job is to find relevant code with minimal file reads. **Core principle:** Search first, read targeted sections, never load full files blindly. </role> --- ## When to Use Activate this skill **before**: - Starting any coding task - Beginning a refactor - Investigating a bug - Understanding unfamiliar code --- ## Process ### Step 1: Define the Question What are you trying to find or understand? Examples: - "Where is the login endpoint defined?" - "How does the caching layer work?" - "What calls the `processPayment` function?" ### Step 2: Identify Keywords Extract searchable terms: | Question | Keywords | |----------|----------| | Login endpoint | `login`, `auth`, `POST.*login` | | Caching layer | `cache`, `redis`, `memoize` | | Payment calls | `processPayment`, `payment` | ### Step 3: Search Before Reading **PowerShell:** ```powershell # Simple pattern search Select-String -Path "src/**/*.ts" -Pattern "login" -Recurse # With ripgrep (if available) rg "login" --type ts ``` **Bash:** ```bash # With ripgrep (recommended) rg "login" --type ts # With grep grep -r "login" src/ --include="*.ts" ``` ### Step 4: Evaluate Results From search results, identify: 1. **Primary candidates** — Files directly matching your question 2. **Secondary candidates** — Files that reference primary candidates 3. **Ignore list** — Files with keyword but unrelated context ### Step 5: Targeted Reading Only read what's justified: ```powershell # Read specific line range (PowerShell) Get-Content "src/auth/login.ts" | Select-Object -Skip 49 -First 30 # Read specific function (with view_code_item tool) # view_code_item: src/auth/login.ts -> handleLogin ``` --- ## Inputs When invoking this skill, provide: | Input | Description | Example | |-------|-------------|---------| | **Question** | What you're trying to find | "Where is user validation?" | | **Scope** | Directory or file pattern | `src/`, `*.service.ts` | | **Keywords** | Terms to search for | `validate`, `user`, `schema` | --- ## Outputs After executing this skill, report: 1. **Candidate files** — Ranked by relevance 2. **Relevant extracts** — Key snippets found 3. **Next reads** — Specific files/line-ranges to read next 4. **Skip list** — Files searched but not relevant --- ## Anti-Patterns ### ❌ Loading Everything First ``` # BAD: Reading 5 full files to "understand context" Read: src/auth/login.ts (500 lines) Read: src/auth/register.ts (400 lines) Read: src/auth/types.ts (200 lines) ``` ### ✅ Search Then Target
From Ashish-Dhankecha/Leo, AGPL-3.0.
More from Ashish-Dhankecha/Leo
- 0.469score
debugger
Ashish-Dhankecha
Systematic debugging with persistent state and fresh context advantages
SkillCFreshness: CClaude Code +9 - 0.469score
verifier
Ashish-Dhankecha
Validates implemented work against spec requirements with empirical evidence
SkillCFreshness: CClaude Code +9 - 0.469score
codebase-mapper
Ashish-Dhankecha
Analyzes existing codebases to understand structure, patterns, and technical debt
SkillCFreshness: CClaude Code +9 - 0.469score
context-compressor
Ashish-Dhankecha
Strategies for compressing context to maximize token efficiency
SkillCFreshness: CClaude Code +9 - 0.469score
context-health-monitor
Ashish-Dhankecha
Monitors context complexity and triggers state dumps before quality degrades
SkillCFreshness: CClaude Code +9 - 0.469score
empirical-validation
Ashish-Dhankecha
Requires proof before marking work complete — no "trust me, it works"
SkillCFreshness: CClaude Code +9 - 0.469score
executor
Ashish-Dhankecha
Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management
SkillCFreshness: CClaude Code +9 - 0.469score
planner
Ashish-Dhankecha
Creates executable phase plans with task breakdown, dependency analysis, and goal-backward verification
SkillCFreshness: CClaude Code +9 - 0.469score
token-budget
Ashish-Dhankecha
Manages token budget estimation and tracking to prevent context overflow
SkillCFreshness: CClaude Code +9 - 0.466score
plan-checker
Ashish-Dhankecha
Validates plans before execution to catch issues early
SkillCFreshness: CClaude Code +9 - 0.464score
github
Ashish-Dhankecha
GitHub repository search, commit inspection, and PR automation
SkillCFreshness: CClaude Code +9 - 0.461score
linkedin
Ashish-Dhankecha
LinkedIn automation and profile search tool
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 28, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/Ashish-Dhankecha/Leo
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Ashish-Dhankecha
- 0.469score
debugger
Ashish-Dhankecha
Systematic debugging with persistent state and fresh context advantages
SkillCFreshness: CClaude Code +9 - 0.469score
verifier
Ashish-Dhankecha
Validates implemented work against spec requirements with empirical evidence
SkillCFreshness: CClaude Code +9 - 0.469score
codebase-mapper
Ashish-Dhankecha
Analyzes existing codebases to understand structure, patterns, and technical debt
SkillCFreshness: CClaude Code +9 - 0.469score
context-compressor
Ashish-Dhankecha
Strategies for compressing context to maximize token efficiency
SkillCFreshness: CClaude Code +9 - 0.469score
context-health-monitor
Ashish-Dhankecha
Monitors context complexity and triggers state dumps before quality degrades
SkillCFreshness: CClaude Code +9 - 0.469score
empirical-validation
Ashish-Dhankecha
Requires proof before marking work complete — no "trust me, it works"
SkillCFreshness: CClaude Code +9
Cite this page
context-fetch skill. Agent Mart. https://agentmart.dev/skills/ashish-dhankecha-context-fetch (last updated 2026-10-24)