Favicon of c-extensions-with-bocpy

c-extensions-with-bocpy Skill

AI Agent SkillPythonOpen source

Write a C extension whose custom types can live inside a bocpy Cown and travel between worker sub-interpreters. Use when: writing a native type (matrix, buffer, GPU handle, opaque C resource) that needs to round-trip through @when, send/receive, or any other bocpy primitive that crosses interpreter boundaries; designin Published by microsoft in bocpy.

What is c-extensions-with-bocpy Skill?

Write a C extension whose custom types can live inside a bocpy Cown and travel between worker sub-interpreters. Use when: writing a native type (matrix, buffer, GPU handle, opaque C resource) that needs to round-trip through @when, send/receive, or any other bocpy primitive that crosses interpreter boundaries; designin Published by microsoft in bocpy. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
55/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Writing
  • Writing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use c-extensions-with-bocpy Skill

  • Use it for writing.

Built with

PythonCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/bocpy
  • Skill file: .github/skills/c-extensions-with-bocpy/SKILL.md

What it does

Write a C extension whose custom types can live inside a bocpy Cown and travel between worker sub-interpreters. Use when: writing a native type (matrix, buffer, GPU handle, opaque C resource) that needs to round-trip through @when, send/receive, or any other bocpy primitive that crosses interpreter boundaries; designin

Skill instructions

Writing C extensions with the bocpy public C ABI This skill is for writing a downstream C extension whose custom types must travel through bocpy's runtime — placed inside a Cown, scheduled with @when, or shipped via send/receive across worker sub-interpreters. Read thinking-in-boc first. The C ABI does not change the BOC mental model. Your C type is still wrapped in a Cown, behaviors are still scheduled with @when, and ordering still comes from the cown graph — not from anything you do in C. The C ABI only buys you a safe, zero-copy way to cross the interpreter boundary; the choreography between behaviors is unchanged. When you need this skill You need a C extension that uses the bocpy public C ABI only when all three of the following are true: 1. Your type wraps a native C resource (large buffer, matrix, GPU handle, file descriptor, FFI pointer, etc.) that you do not want to copy or pickle every time it crosses interpreter boundaries. 2. You want instances of that type to live inside

Explore related resources

Frequently asked questions

What is c-extensions-with-bocpy?

c-extensions-with-bocpy is a open-source AI agent skill with Copy skill directory. Write a C extension whose custom types can live inside a bocpy Cown and travel between worker sub-interpreters.

Who is c-extensions-with-bocpy best for?

c-extensions-with-bocpy is best for reusing agent instructions, scripts, and references, writing workflows.

How do I install c-extensions-with-bocpy?

Install or run c-extensions-with-bocpy using Copy skill directory. Check c-extensions-with-bocpy for the latest setup command.

Is c-extensions-with-bocpy actively maintained?

c-extensions-with-bocpy may need a closer maintenance check before production use.

Share:

Stars
168
Forks
8
Last commit
9 days ago
Repository age
5 months
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to c-extensions-with-bocpy