Communitygithub.com

steipete/oracle

Oracle CLI を使用して、選択したファイルのセカンドモデルによるレビュー、デバッグ、リファクタリング、設計を行います。ドライラントークンチェック、API またはブラウザエンジンをサポートします。

oracle とは?

steipete/oracle は、開発者が選択したファイルに対して、セカンドモデル(Claude や他の LLM)を活用してコードレビュー、デバッグ、リファクタリング、設計提案を効率的に行えるようにする CLI ツールです。ドライラン機能により、実際のトークン消費を確認しながら安全に操作を試行でき、API ベースの接続とブラウザエンジンを介した対話の両方をサポートする柔軟性を持ちます。主に Claude Code や Cursor などの AI エージェントと組み合わせて使用されることを想定しており、既存の開発ワークフローにシームレスに統合できます。ファイル単位での詳細な解析と提案を自動化することで、コード品質の向上と開発時間の短縮を実現します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/steipete/clawdis/tree/main/skills/oracle

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

oracle は何をしますか?

Oracle CLI セカンドモデルによる選択ファイルのレビュー、デバッグ、リファクタリング、設計。ドライラントークンチェック、API またはブラウザエンジンをサポート。

概要

oracle は、開発者が選択したコードベースに対して、セカンドモデル(例えば Claude や別の LLM)を使用してコードレビュー、デバッグ、リファクタリング、設計の提案を行うためのコマンドラインツールです。ドライランモードではトークン消費を事前に確認でき、API 経由またはブラウザエンジンを介してモデルと対話できます。

機能

  • セカンドモデルレビュー: 選択したファイルに対して、プライマリモデルとは異なる視点からのコードレビューを実行します。
  • デバッグ支援: エラーや問題の箇所を特定し、修正案を提示します。
  • リファクタリング提案: コードベースの改善点を提案し、リファクタリングを支援します。
  • 設計レビュー: アーキテクチャや設計パターンに関するフィードバックを提供します。
  • ドライランモード: 実際に API を呼び出す前にトークン使用量をチェックし、コストを管理します。
  • API モード: 標準的な API 接続を使用してモデルと通信します。
  • ブラウザエンジンモード: ブラウザベースのインタラクションを介してモデルにアクセスします。

使用方法

# 基本的な使用方法
oracle review <file-or-directory>

# ドライランモードで実行
oracle review --dry-run <file-or-directory>

# API モードの指定
oracle --api review <file-or-directory>

# ブラウザエンジンモードの指定
oracle --browser review <file-or-directory>

設定

oracle は設定ファイル(例:oracle.config.js)をサポートしており、モデルの選択や API キーの管理が可能です。

依存関係

  • Node.js 16 以上
  • 必要に応じて API キー(環境変数 ORACLE_API_KEY で設定)

開発

git clone https://github.com/steipete/oracle.git
cd oracle
npm install
npm run build

ライセンス

MIT

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

steipete/1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

steipete/apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

steipete/apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

steipete/bear-notes

Create, search, and manage Bear notes via grizzly CLI.

steipete/blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

steipete/blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

steipete/bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

steipete/camsnap

Capture frames or clips from RTSP/ONVIF cameras.

steipete/clawhub

Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.

steipete/coding-agent

Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.

steipete/discord

Discord message-tool ops: send/read/edit/delete, react, poll, pin, thread, search, presence, media/components.

steipete/eightctl

Control Eight Sleep pods (status, temperature, alarms, schedules).

steipete/gemini

Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.

steipete/gh-issues

Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.

steipete/gifgrep

Search GIF providers with CLI/TUI, download results, and extract stills/sheets.

steipete/github

GitHub CLI for issues, PRs, CI/check logs, comments, reviews, releases, repos, and gh api queries.

steipete/gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

steipete/goplaces

Query Google Places for text search, place details, resolve, reviews, or scriptable JSON via goplaces.

steipete/healthcheck

Audit/harden OpenClaw hosts: SSH, firewall, updates, exposure, backups, disk encryption, gateway security.

steipete/himalaya

Himalaya CLI for IMAP/SMTP mail: list, read, search, compose, reply, forward, copy, move, delete.

関連スキル