跳到主内容
智客 ZICQ

技能库 智客分类:设计创意 oracle OpenClaw

Oracle

使用 @steipete/ oracle CLI 将一个提示加右侧文件捆绑,并获得二型审查(API或浏览器),用于调试,重构,设计检查,或交叉验证.

官方网址:ClawHub

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

使用 @steipete/ oracle CLI 将一个提示加右侧文件捆绑,并获得二型审查(API或浏览器),用于调试,重构,设计检查,或交叉验证.

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Oracle (CLI) — best use、Main use case (browser, GPT‑5.2 Pro)、Golden path (fast + reliable)、Commands (preferred)、Attaching files (`--file`)、Budget + observability。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

Use the @steipete/oracle CLI to bundle a prompt plus the right files and get a second-model review (API or browser) for debugging, refactors, design checks, or cross-validation.

Oracle (CLI) — best useMain use case (browser, GPT‑5.2 Pro)Golden path (fast + reliable)Commands (preferred)Attaching files (`--file`)Budget + observabilityEngines (API vs browser)Sessions + slugs (don’t lose work)Prompt template (high signal)“Exhaustive prompt” pattern (for later restoration)Safety

来源分类:ClawHub Debugging

SKILL.md 与 Agent 调用

官方规范 ↗
name
oracle
description
Use the @steipete/oracle CLI to bundle a prompt plus the right files and get a second-model review (API or browser) for debugging, refactors, design checks, or cross-validation.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「oracle」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-281032c321060914-Oracle.html
请存为 .cursor/skills/oracle/SKILL.md 或 .claude/skills/oracle/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

当前没有明确的 GitHub 技能包地址,请按来源页面的安装器说明操作。

ClawHub ↗

阅读排版
--- name: oracle description: Use the @steipete/oracle CLI to bundle a prompt plus the right files and get a second-model review (API or browser) for debugging, refactors, design checks, or cross-validation. --- # Oracle (CLI) — best use Oracle bundles your prompt + selected files into one “one-shot” request so another model can answer with real repo context (API or browser automation). Treat outputs as advisory: verify against the codebase + tests. ## Main use case (browser, GPT‑5.2 Pro) Default workflow here: `--engine browser` with GPT‑5.2 Pro in ChatGPT. This is the “human in the loop” path: it can take ~10 minutes to ~1 hour; expect a stored session you can reattach to. Recommended defaults: - Engine: browser (`--engine browser`) - Model: GPT‑5.2 Pro (either `--model gpt-5.2-pro` or a ChatGPT picker label like `--model "5.2 Pro"`) - Attachments: directories/globs + excludes; avoid secrets. ## Golden path (fast + reliable) 1. Pick a tight file set (fewest files that still contain the truth). 2. Preview what you’re about to send (`--dry-run` + `--files-report` when needed). 3. Run in browser mode for the usual GPT‑5.2 Pro ChatGPT workflow; use API only when you explicitly want it. 4. If the run detaches/timeouts: reattach to the stored session (don’t re-run). ## Commands (preferred) - Show help (once/session): - `npx -y @steipete/oracle --help` - Preview (no tokens): - `npx -y @steipete/oracle --dry-run summary -p "" --file "src/**" --file "!**/*.test.*"` - `npx -y @steipete/oracle --dry-run full -p "" --file "src/**"` - Token/cost sanity: - `npx -y @steipete/oracle --dry-run summary --files-report -p "" --file "src/**"` - Browser run (main path; long-running is normal): - `npx -y @steipete/oracle --engine browser --model gpt-5.2-pro -p "" --file "src/**"` - Manual paste fallback (assemble bundle, copy to clipboard): - `npx -y @steipete/oracle --render --copy -p "" --file "src/**"` - Note: `--copy` is a hidden alias for `--copy-markdown`. ## Attaching files (`--file`) `--file` accepts files, directories, and globs. You can pass it multiple times; entries can be comma-separated. - Include: - `--file "src/**"` (directory glob) - `--file src/index.ts` (literal file) - `--file docs --file README.md` (literal directory + file) - Exclude (prefix with `!`): - `--file "src/**" --file "!src/**/*.test.ts" --file "!**/*.snap"` - Defaults (important behavior from the implementation): - Default-ignored dirs: `node_modules`, `dist`, `coverage`, `.git`, `.turbo`, `.next`, `build`, `tmp` (skipped unless you explicitly pass them as literal dirs/files). - Honors `.gitignore` when expanding globs. - Does not follow symlinks (glob expansion uses `followSymbolicLinks: false`). - Dotfiles are filtered unless you explicitly opt in with a pattern that includes a dot-segment (e.g. `--file ".github/**"`). - Hard cap: files > 1 MB are rejected (split files or narrow the match). ## Budget + observability - Target: keep total input under ~196k tokens. - Use `--files-report` (and/or `--dry-run json`) to spot the token hogs before spending. - If you need hidden/advanced knobs: `npx -y @steipete/oracle --help --verbose`. ## Engines (API vs browser) - Auto-pick: uses `api` when `OPENAI_API_KEY` is set, otherwise `browser`. - Browser engine supports GPT + Gemini only; use `--engine api` for Claude/Grok/Codex or multi-model runs. - **API runs require explicit user consent** before starting because they incur usage costs. - Browser attachments: - `--browser-attachments auto|never|always` (auto pastes inline up to ~60k chars then uploads). - Remote browser host (signed-in machine runs automation): - Host: `oracle serve --host 0.0.0.0 --port 9473 --token ` - Client: `oracle --engine browser --remote-host --remote-token -p "" --file "src/**"` ## Sessions + slugs (don’t lose work) - Stored under `~/.oracle/sessions` (override with `ORACLE_HOME_DIR`). - Runs may detach or take a long time (browser + GPT‑5.2 Pro often does). If the CLI times out: don’t re-run; reattach. - List: `oracle status --hours 72` - Attach: `oracle session --render` - Use `--slug "<3-5 words>"` to keep session IDs readable. - Duplicate prompt guard exists; use `--force` only when you truly want a fresh run. ## Prompt template (high signal) Oracle starts with **zero** project knowledge. Assume the model cannot infer your stack, build tooling, conventions, or “obvious” paths. Include: - Project briefing (stack + build/test commands + platform constraints). - “Where things live” (key directories, entrypoints, config files, dependency boundaries). - Exact question + what you tried + the error text (verbatim). - Constraints (“don’t change X”, “must keep public API”, “perf budget”, etc). - Desired output (“return patch plan + tests”, “list risky assumptions”, “give 3 options with tradeoffs”). ### “Exhaustive prompt” pattern (for later restoration) When you know this will be a long investigation, write a prompt that can stand alone later: - Top: 6–30 sentence project briefing + current goal. - Middle: concrete repro steps + exact errors + what you already tried. - Bottom: attach *all* context files needed so a fresh model can fully understand (entrypoints, configs, key modules, docs). If you need to reproduce the same context later, re-run with the same prompt + `--file …` set (Oracle runs are one-shot; the model doesn’t remember prior runs). ## Safety - Don’t attach secrets by default (`.env`, key files, auth tokens). Redact aggressively; share only what’s required. - Prefer “just enough context”: fewer files + better prompt beats whole-repo dumps.

相关技能

设计创意

Automation Workflows

设计和实施自动化工作流程,以节省时间和规模化操作作为独家. 用于识别重复任务实现自动化,构建跨工具的工作流程,设置触发器和行动,或优化现有自动化. 包括自动化机会识别,工作流程设计,工具选择(Zapier,Make,n8n),测试,和维护. 触发"自动","自动","工作流程自动…

设计创意

Ui Ux Pro Max

UI/UX设计智能及建筑抛光接口实施指导. 当用户要求UI设计,UX流量,信息架构,视觉风格方向,设计系统/托盘,组件规格,副本/显微镜,可访问性,或生成/critique/refine前端UI(HTML/CSS/JS,React,Next.js,Vue,Svelte,Tailw…

设计创意

Frontend Design

创建美丽现代UI的专家前端设计指南. 在构建起落架页面,仪表板,或任何用户界面时使用.

设计创意

N8n Workflow Automation

设计和输出 n8n 工作流程 JSON 有强力触发器, idempotency, 错误处理, 记录, 重试, 以及 人入"一站"审查队列. 当您需要可审计的自动化时使用.