09 Query Engine
Description
# Prompt 09: Get the QueryEngine (Core LLM Loop) Functional ## Context You are working in `/workspaces/claude-code`. The `QueryEngine` (`src/QueryEngine.ts`, ~46K lines) is the heart of the CLI — it: 1. Sends messages to the Anthropic API (streaming) 2. Processes streaming responses (text, thinking, tool_use blocks) 3. Executes tools when the LLM requests them (tool loop) 4. Handles retries, rate limits, and errors 5. Tracks token usage and costs 6. Manages conversation context (message histor
Installation
Installs to ~/.claude/skills/codeaashu-claude-code-09-query-engine/SKILL.md
mkdir -p ~/.claude/skills/codeaashu-claude-code-09-query-engine && curl -fsSL https://raw.githubusercontent.com/codeaashu/claude-code/HEAD/prompts/09-query-engine.md -o ~/.claude/skills/codeaashu-claude-code-09-query-engine/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI