LogoClawIndex
CasesSkillsAbout
LogoClawIndex

rust-unsafe - Rust Unsafe Code and FFI Expert

Handle Rust unsafe code, raw pointers, FFI, and memory layout with safety

Tags

Updated: 2026-03-19

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • write unsafe code
  • declare extern functions
  • use raw pointers
  • call C functions
  • cast pointer types
  • transmute types
  • define unions
  • specify memory layout
  • wrap FFI calls
  • add SAFETY comments
  • validate pointer alignment
  • check null pointers
  • handle MaybeUninit
  • use NonNull pointers
  • avoid data races

Inputs

  • Rust source files
  • C library headers
  • FFI documentation

Outputs

  • Safe Rust wrappers
  • SAFETY comments
  • FFI bindings
  • Verified unsafe code

Requirements

  • Rust compiler
  • libc crate
  • Miri (optional)
  • bindgen (optional)
  • cbindgen (optional)

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Rust
unsafe
FFI
memory
C interop
write unsafe code
declare extern functions
use raw pointers
call C functions
Rust source files
C library headers
FFI documentation
Safe Rust wrappers
SAFETY comments
FFI bindings