Automated summary
Oracle is a CLI tool that bundles your prompt and codebase files into a single request for GPT-5.2 Codex to generate a detailed plan for complex tasks requiring extended thinking (10-60 minutes).
Strengths
- Handles complex dependency management across multiple specs
- Offloads long planning sessions to reduce cognitive load
- Produces a structured plan ready to be transformed into YAML specs
- Supports long-running sessions with reattach capability on timeout
Limitations
- Requires prior installation of the Oracle CLI tool
- Not suitable for simple tasks or bug fixes
- Token usage can be high, requiring careful file selection
Use Oracle when you need to plan complex tasks with 5+ specs, unclear dependency graphs, or significant architectural decisions.
Do not use it for simple 1-2 spec tasks, clear linear implementations, bug fixes, or quick refactors.
Security analysis
SafeThe skill describes using a legitimate third-party CLI tool for automated planning with an LLM. It does not instruct any destructive actions, data exfiltration, or security bypass. The use of npm and file inclusion patterns is standard and does not inherently pose security risks.
No concerns found
How this analysis is madeExamples
Create a detailed implementation plan for adding real-time collaboration (WebSockets) to our project. The project is a task management app built with Next.js and Convex. Requirements include: multiple users editing the same task simultaneously, conflict resolution, presence indicators, and offline support. Output as plan.md using the standard structure.Create a detailed implementation plan for migrating our backend from REST to GraphQL. The project is a React/Node.js e-commerce app. Requirements include: incremental migration, no downtime, new GraphQL endpoint alongside existing REST, and full test coverage for all GraphQL resolvers. Output as plan.md.Create a detailed plan for splitting our monolithic Rails app into microservices. The app has 50+ models and 200+ endpoints. Key services needed: user auth, product catalog, payments, and notifications. Output plan.md with phases, tasks, and dependency graph.name: oracle description: Deep planning via Oracle CLI (GPT-5.2 Codex). Use for complex tasks requiring extended thinking (10-60 minutes). Outputs plan.md for planner to transform into specs.
Oracle
Oracle bundles your prompt + codebase files into a single request for GPT-5.2 Codex. Use it when planning is complex and requires deep, extended thinking.
When to Use Oracle
| Trigger | Why | |---------|-----| | 5+ specs needed | Complex dependency management | | Unclear dependency graph | Needs analysis | | Architecture decisions | Extended thinking helps | | Migration planning | Requires careful sequencing | | Performance optimization | Needs deep code analysis | | Any planning >10 minutes | Offload to Codex |
When NOT to Use Oracle
- Simple 1-2 spec tasks
- Clear, linear implementations
- Bug fixes
- Quick refactors
Prerequisites
Oracle CLI installed:
npm install -g @steipete/oracle
Or use npx:
npx -y @steipete/oracle --help
Workflow
Step 1: Craft the Prompt
Write to /tmp/oracle-prompt.txt:
Create a detailed implementation plan for [TASK].
## Context
- Project: [what the project does]
- Stack: [frameworks, languages, tools]
- Location: [key directories and files]
## Requirements
[ALL requirements gathered from human]
- [Requirement 1]
- [Requirement 2]
- Features needed:
- [Feature A]
- [Feature B]
- NOT needed: [explicit out-of-scope]
## Plan Structure
Output as plan.md with this structure:
# Plan: [Task Name]
## Overview
[Summary + recommended approach]
## Phase N: [Phase Name]
### Task N.M: [Task Name]
- Location: [file paths]
- Description: [what to do]
- Dependencies: [task IDs this depends on]
- Complexity: [1-10]
- Acceptance Criteria: [specific, testable]
## Dependency Graph
[Which tasks run parallel vs sequential]
## Testing Strategy
[What tests prove success]
## Instructions
- Write complete plan to plan.md
- Do NOT ask clarifying questions
- Be specific and actionable
- Include file paths and code locations
Step 2: Preview Token Count
npx -y @steipete/oracle --dry-run summary --files-report \
-p "$(cat /tmp/oracle-prompt.txt)" \
--file "src/**" \
--file "!**/*.test.*" \
--file "!**/*.snap" \
--file "!node_modules" \
--file "!dist"
Target: <196k tokens
If over budget:
- Narrow file selection
- Exclude more test/build directories
- Split into focused prompts
Step 3: Run Oracle
npx -y @steipete/oracle \
--engine browser \
--model gpt-5.2-codex \
--slug "vertical-plan-$(date +%Y%m%d-%H%M)" \
-p "$(cat /tmp/oracle-prompt.txt)" \
--file "src/**" \
--file "convex/**" \
--file "!**/*.test.*" \
--file "!**/*.snap" \
--file "!node_modules" \
--file "!dist"
Why browser engine:
- GPT-5.2 Codex runs take 10-60 minutes (normal)
- Browser mode handles long runs
- Sessions stored in
~/.oracle/sessions - Can reattach if timeout
Step 4: Monitor
Tell the human:
Oracle is running. This typically takes 10-60 minutes.
I will check status periodically.
Check status:
npx -y @steipete/oracle status --hours 1
Step 5: Reattach (if timeout)
If the CLI times out, do NOT re-run. Reattach:
npx -y @steipete/oracle session <session-id> --render > /tmp/oracle-result.txt
Step 6: Read Output
Oracle writes plan.md to current directory. Read it:
cat plan.md
Step 7: Transform to Specs
Convert Oracle's phases/tasks → spec YAML files:
| Oracle Output | Spec YAML | |---------------|-----------| | Phase N | Group of related specs | | Task N.M | Individual spec file | | Dependencies | pr.base field | | Location | building_spec.files | | Acceptance Criteria | verification_spec |
File Attachment Patterns
Include:
--file "src/**"
--file "prisma/**"
--file "convex/**"
Exclude:
--file "!**/*.test.*"
--file "!**/*.spec.*"
--file "!**/*.snap"
--file "!node_modules"
--file "!dist"
--file "!build"
--file "!coverage"
--file "!.next"
Default ignored: node_modules, dist, coverage, .git, .turbo, .next, build, tmp
Size limit: Files >1MB are rejected
Prompt Templates
For Authentication
Create a detailed implementation plan for adding authentication.
## Context
- Project: [app name]
- Stack: Next.js, Prisma, PostgreSQL
- Location: src/pages/api/ for API, src/components/ for UI
## Requirements
- Methods: Email/password + Google OAuth
- Roles: Admin and User
- Features: Password reset, email verification
- NOT needed: 2FA, SSO
## Plan Structure
[standard structure]
For API Development
Create a detailed implementation plan for building a REST API.
## Context
- Project: [app name]
- Stack: [framework]
- Location: src/api/ for routes
## Requirements
- Resources: [entities]
- Auth: [method]
- Rate limiting: [yes/no]
- NOT needed: [out of scope]
## Plan Structure
[standard structure]
For Migration
Create a detailed implementation plan for migrating [from] to [to].
## Context
- Current: [current state]
- Target: [target state]
- Constraints: [downtime, rollback needs]
## Requirements
- Data to migrate: [what]
- Dual-write period: [yes/no]
- Rollback strategy: [required]
## Plan Structure
[standard structure]
Important Rules
- One-shot execution - Oracle doesn't interact, just outputs
- Always gpt-5.2-codex - Use Codex model for coding tasks
- File output: plan.md - Always outputs to current directory
- Don't re-run on timeout - Reattach to session instead
- Use --force sparingly - Only for intentional duplicate runs
After Oracle Runs
- Read
plan.md - Review phases and tasks
- Present breakdown to human for approval
- Transform to spec YAMLs
- Continue planner workflow
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/oracle-planning-via-cli-mma3js2w/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/oracle-planning-via-cli-mma3js2w' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/oracle-planning-via-cli-mma3js2w/download' --output '.skill-downloads/oracle-planning-via-cli-mma3js2w/SKILL.md.part' && mv '.skill-downloads/oracle-planning-via-cli-mma3js2w/SKILL.md.part' '.skill-downloads/oracle-planning-via-cli-mma3js2w/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Original excerpt: Prerequisites
Oracle CLI installed:
npm install -g @steipete/oracle
Or use npx:
npx -y @steipete/oracle --help
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/oracle-planning-via-cli-mma3js2w/SKILL.md' && test -s '.skill-downloads/oracle-planning-via-cli-mma3js2w/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/oracle' && cp -R '.skill-downloads/oracle-planning-via-cli-mma3js2w' '.claude/skills/oracle'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/oracle-planning-via-cli-mma3js2w'openskills read 'oracle-planning-via-cli-mma3js2w'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/oracle-planning-via-cli-mma3js2w/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.