Skip to content
Back to skills

Cairo Oracles

ASecurity

Explain Cairo oracles for offloading computation in executables, oracle::invoke, and constraints for soundness; use when a request involves experimental oracles or external computation in Cairo.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
business

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill cairo-oracles --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cairo Oracles?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cairo Oracles
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-cairo-oracles/badge)](https://www.skillsdirectory.com/skills/david-li0406-cairo-oracles)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cairo-oracles
description: Explain Cairo oracles for offloading computation in executables, oracle::invoke, and constraints for soundness; use when a request involves experimental oracles or external computation in Cairo.
---

# Cairo Oracles

## Overview
Explain how to offload computations to external oracles in Cairo executables and constrain results.

## Quick Use
- Read `references/oracles.md` before answering.
- Emphasize oracles are experimental and not available in Starknet contracts.
- Always show constraints that validate oracle outputs.

## Response Checklist
- Use `oracle::invoke(connection, selector, inputs)` returning `oracle::Result<T>`.
- Connection strings typically use `stdio:` to spawn a process.
- Assert constraints immediately after oracle calls.
- Run executables with `scarb execute --experimental-oracles`.

## Example Requests
- "How do I call an oracle from Cairo?"
- "Why must I validate oracle outputs?"
- "Can oracles be used in Starknet contracts?"

Files in this skill

  • SKILL.md998 B
  • references/oracles.md607 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…