Skip to content

tobihagemann/turbo / codex/skills/consult-oracle

consult-oracle

Verified

Consult ChatGPT Pro through browser automation on a problem standard approaches failed to crack. Use when stuck, or when the user asks to "ask the oracle" or "consult chatgpt".

FileKindSize
SKILL.mdskill md4.5 KB
scripts/run_oracle.pyscript1.1 KB

scripts/run_oracle.py

View on GitHub
#!/usr/bin/env python3
"""Run the oracle CLI with configuration from ~/.turbo/config.json.

Configuration:
  oracle.chatgptUrl  ChatGPT URL (default: https://chatgpt.com/)

Usage: python3 scripts/run_oracle.py --prompt "<question>" --file <files...>

All arguments are forwarded to the oracle CLI. --engine, --browser-manual-login,
and --chatgpt-url are set automatically and should not be passed manually. The
model, thinking effort, and picker strategy are left to the oracle CLI.
"""

import json, os, sys, subprocess


def load_config():
    """Load ~/.turbo/config.json and return the oracle section."""
    config_path = os.path.expanduser('~/.turbo/config.json')
    if not os.path.isfile(config_path):
        return {}
    with open(config_path) as f:
        return json.load(f).get('oracle', {})


config = load_config()

chatgpt_url = config.get('chatgptUrl', 'https://chatgpt.com/')

cmd = [
    'npx', '-y', '@steipete/oracle@latest',
    '--engine', 'browser',
    '--browser-manual-login',
    '--chatgpt-url', chatgpt_url,
    *sys.argv[1:],
]

sys.exit(subprocess.call(cmd))
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall