oracle

Bundle prompts with selected files and directories into a single LLM request.

19.0k|5.6k|Updated Jul 9, 2024
One-click install
npx skills add https://github.com/elizaOS/eliza --skill oracle-elizaos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oracle
Source: https://github.com/elizaOS/eliza/tree/main/packages/skills/skills/oracle
Command: npx skills add https://github.com/elizaOS/eliza --skill oracle-elizaos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers get accurate answers by providing AI models with the necessary context from their codebase, overcoming the limitations of LLMs not having direct access to project files.

Core Features & Use Cases

  • Contextual Prompting: Bundles prompts with selected files (including directories and globs) into a single request for an LLM.
  • Codebase Awareness: Enables AI to understand and reason about specific code files, improving the quality of generated code, explanations, and debugging.
  • Use Case: When debugging a complex issue, you can use Oracle to send the relevant source files and error messages to an AI, allowing it to provide targeted solutions based on your actual code.

Quick Start

Use the oracle CLI to preview the token count for a task involving all files in the src directory, excluding test files.

Frequently Asked Questions about oracle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provide codebase context to an LLM for code analysis?

To provide codebase context to an LLM, you bundle prompts with selected files and directories into a single request. This allows the AI to understand specific code files and deliver context-aware answers for debugging or explanations.

How do I include specific files and exclude test files when prompting an LLM?

You can include or exclude specific files when prompting an LLM by using glob patterns. This filters your source files, ensuring only relevant code context is bundled into the request for targeted solutions.

Can I use prompt templating for complex codebase analysis tasks with AI?

Yes, you can use prompt templating for complex codebase analysis tasks. This feature structures your contextual prompts, allowing you to manage file inclusion and session management for interacting with models like GPT-5.2 Pro.

Does contextual prompting work with both API and browser engines for LLMs?

Contextual prompting works with both API and browser engines for LLMs. This support allows you to interact with models like GPT-5.2 Pro directly, managing your code context and sessions across different interaction methods.

Why does my LLM give inaccurate answers when debugging complex code issues?

LLMs give inaccurate answers when debugging because they lack direct access to your project files. Bundling relevant source files and error messages into the prompt provides the necessary codebase awareness for targeted solutions.

What is the best way to preview the token count for a codebase prompt?

The best way to preview the token count for a codebase prompt is using the CLI. It calculates the size of your bundled files and directories, ensuring your contextual request fits within the LLM's context limits.