greycat-c

Consolidate GreyCat C API and GCL stdlib references for native development.

10|1|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/datathings/marketplace --skill greycat-c
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: greycat-c
Source: https://github.com/datathings/marketplace/tree/main/plugins/greycat-c/skills/greycat-c
Command: npx skills add https://github.com/datathings/marketplace --skill greycat-c

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill consolidates GreyCat's C API and GCL standard library references to enable native development, tooling, and deeper runtime integration.

Core Features & Use Cases

  • Detailed Core API docs (Machine API, Object API, Tensor API) for implementing native functions and manipulating GreyCat data types.
  • Comprehensive Standard Library references (std::core, std::runtime, std::io, std::util) for building complex applications with schedules, I/O, and utilities.
  • Practical usage patterns and examples to guide integration, testing, and deployment of native extensions and tooling.

Quick Start

Load the GreyCat C API docs and begin by inspecting references/api_reference.md to identify gc_machine_t usage, tensor accessors, and memory management patterns; then implement a minimal native function that reads a parameter and returns a result.

Frequently Asked Questions about greycat-c

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use the GreyCat C API to build native extensions?

You access the GreyCat machine through the gc_machine_t struct, using the C API to manipulate objects and tensors directly. The reference details object and tensor APIs, allowing native functions to read parameters, manage memory, and return results efficiently.

What standard library modules are available for GreyCat native development?

The available standard library modules for GreyCat native development include std::core, std::runtime, std::io, and std::util. These provide schedules, I/O patterns, and core utilities for building complex native applications and tooling.

How does memory management work when manipulating tensors in GreyCat?

Memory management when manipulating GreyCat tensors requires using specific C API accessors and following documented patterns for the gc_machine_t. The reference guides safe allocation and deallocation to prevent leaks during native object and tensor manipulation.

Can I handle HTTP requests and I/O operations using the GreyCat C API?

Yes, you can handle HTTP requests and I/O operations using the GreyCat C API. The reference includes HTTP, crypto, and I/O patterns, alongside the std::io module, to guide native implementation of data input and output.

Does GreyCat C API documentation cover OpenAPI and MCP integration?

Yes, the GreyCat C API documentation covers OpenAPI and MCP integration. It provides guidance on implementing these protocols alongside machine interactions, object manipulation, and I/O patterns for native development and tooling.