Skip to content
Back to skills

Cairo L1 L2 Messaging

ASecurity

Explain Starknet L1 and L2 messaging, l1_handler functions, and message syscalls; use when a request involves cross layer messaging in Cairo.

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

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-l1-l2-messaging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cairo L1 L2 Messaging?

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

Security grade badge for Cairo L1 L2 Messaging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-cairo-l1-l2-messaging/badge)](https://www.skillsdirectory.com/skills/david-li0406-cairo-l1-l2-messaging)

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-l1-l2-messaging
description: Explain Starknet L1 and L2 messaging, l1_handler functions, and message syscalls; use when a request involves cross layer messaging in Cairo.
---

# Cairo L1-L2 Messaging

## Overview
Explain how messages flow between L1 and L2 and the contract patterns to send and receive them.

## Quick Use
- Read `references/l1-l2-messaging.md` before answering.
- Use `#[l1_handler]` for L1 to L2 messages.
- Use `send_message_to_l1_syscall` for L2 to L1 messages.

## Response Checklist
- Verify the L1 sender in l1_handler entry points.
- Remember that L2 to L1 messages must be consumed on L1.
- Use felt252 arrays for payloads.

## Example Requests
- "How do I receive an L1 message in Cairo?"
- "How do I send a message to L1 from a contract?"
- "What is the Starknet messaging contract on L1?"

Files in this skill

  • SKILL.md834 B
  • references/l1-l2-messaging.md507 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…