xiaohongshu
xiaohongshu
ask-oracle
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
Full skill instructions
Leverage the Oracle CLI to tap into GPT-5 Pro / GPT-5.1 for hard problems that benefit from extended reasoning and large code context.
Invoke this skill when:
The Oracle CLI (bunx @steipete/oracle) provides:
Determine if oracle is needed:
If yes, proceed. If it's a simple question, just answer directly.
Identify files/directories to attach using --file:
src/, lib/, etc.)Exclude:
node_modules/)dist/, build/)For most hard problems, use default GPT-5 Pro:
bunx @steipete/oracle --prompt "Your question here" --file src/ docs/ --preview
For experimental approach, try GPT-5.1:
bunx @steipete/oracle --prompt "Your question here" --file src/ docs/ --model gpt-5.1 --preview
Always preview first to check token usage:
bunx @steipete/oracle --prompt "Question" --file src/ --files-report --preview
When using --files-report, output shows token costs per file:
Files Report:
src/components/form.tsx: 3,245 tokens
src/utils/helpers.ts: 1,023 tokens
src/api/client.ts: 2,156 tokens
Total: 6,424 tokens (under ~196k budget)
If total exceeds budget:
Once satisfied with preview, run without --preview to actually call the model:
bunx @steipete/oracle --prompt "Your question here" --file src/ docs/ --slug "my-problem"
Oracle runs as background session - terminal can close without losing work.
To attach to running session:
bunx @steipete/oracle session <session-id>
To list recent sessions (last 24h):
bunx @steipete/oracle status
To specify custom session slug (easier to remember):
bunx @steipete/oracle --slug "auth-flow-design" --prompt "..." --file src/
Later, attach via slug:
bunx @steipete/oracle session auth-flow-design
| Option | Purpose | Example |
|---|---|---|
--prompt | The question to ask | --prompt "Why does this auth flow fail?" |
--file | Attach files/dirs (repeatable) | --file src/ docs/ --file error.log |
--slug | Human-memorable session name | --slug "perf-optimization-review" |
--model | Which model to use | --model gpt-5.1 (default: gpt-5-pro) |
--engine | api or browser | --engine api (default: auto-detect) |
--files-report | Show token per file | Helps optimize context |
--preview | Validate without calling API | Test before spending tokens |
--dry-run | Show token estimates only | Safer than preview |
--heartbeat | Progress updates (seconds) | --heartbeat 30 (default) |
bunx @steipete/oracle \
--prompt "Why does this auth flow fail on mobile? Trace through the code flow." \
--file src/auth/ src/api/ docs/AUTH.md \
--slug "mobile-auth-debug" \
--files-report \
--preview
bunx @steipete/oracle \
--prompt "Review the state management architecture. What are risks and improvements?" \
--file src/store/ src/components/ README.md \
--slug "state-arch-review"
bunx @steipete/oracle \
--prompt "Where are the performance bottlenecks in this renderer?" \
--file src/renderer/ performance-logs.txt \
--slug "renderer-perf" \
--files-report
bunx @steipete/oracle \
--prompt "Identify security concerns in the authentication and API layers." \
--file src/auth/ src/api/ src/middleware/ \
--slug "security-audit"
--preview or --files-report to inspect tokens before committing budgetbunx @steipete/oracle \
--prompt "This form submission intermittently fails with 'network timeout'. Walk through the request/response cycle, check timeout configs, and trace where it might stall." \
--file src/components/Form.tsx src/api/client.ts src/hooks/useSubmit.ts \
--files-report \
--preview
bunx @steipete/oracle \
--prompt "We're using redux for state management in a 50k LOC codebase. Is this still optimal? What are 2-3 alternatives worth considering?" \
--file src/store/ docs/ARCHITECTURE.md package.json \
--slug "state-mgmt-design"
# Earlier you ran:
bunx @steipete/oracle --prompt "..." --slug "my-problem"
# Now attach to it:
bunx @steipete/oracle session my-problem
Files too large (>1MB):
Token budget exceeded (~196k):
--files-report to see cost per fileSession doesn't exist:
bunx @steipete/oracle status to list recent sessionsOPENAI_API_KEY not set:
--engine browser explicitly if preferredPreview shows too many tokens:
bunx @steipete/oracle (no local install needed)--slug for easier session management in team workflowsxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience