smithery.ai

cairo-inlining

Explain Cairo inlining attributes and performance tradeoffs; use when a request involves #[inline], #[inline(always)], #[inline(never)], or code size/step tradeoffs in Cairo.

First seen Mar 22, 2026

Installation

$ npx skills add https://smithery.ai

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 857 B
  • docs SUMMARY.md 110 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Cairo Inlining

Overview

Explain how Cairo inlining works, its attributes, and performance vs size tradeoffs.

Quick Use

  • Read references/inlining.md before answering.
  • Use short examples with #[inline(always)] and #[inline(never)].
  • Emphasize that inlining hints may be ignored.

Response Checklist

  • Choose between #[inline], #[inline(always)], and #[inline(never)].
  • Mention that inlining reduces call overhead but can increase code size.
  • Suggest inlining small, frequently called functions.

Example Requests

  • "When should I use #[inline(always)]?"
  • "Why did my program size increase after inlining?"