| name | kilocode-cgp-generate |
| description | Generate CGP (Creative Gamespace Packet) content for PMOVES creator workflows on the KiloCode GLM lane. Use when generating CGP packets, creating creative content, or executing creator demos. |
| keywords | ["cgp","creative","gamespace","packet","creator","content-generation","kilocode","glm"] |
| version | 1.0.0 |
| category | PMOVES/KiloCode |
KiloCode CGP Generate
Generate CGP (Creative Gamespace Packet) content for PMOVES creator workflows with KiloCode GLM inference.
Purpose
Generate CGP packets that package creative content for PMOVES creator workflows. CGPs encapsulate media, metadata, and context for ingestion into Jellyfin, Invidious, and other content systems. Route creative synthesis through TensorZero coding_glm / coding_kilocode.
Capabilities
- 📦 Generate CGP packet structure
- 🎨 Creative content synthesis
- 🏷️ Metadata injection
- 🔗 Multi-modal binding (video/audio/text)
- 🤖 Fast generation via GLM-5-Turbo
Integration Points
- PMOVES-Creator: Creator workflow engine
- Jellyfin: Media library integration
- Invidious: YouTube fallback
- TensorZero Functions:
coding_glm, coding_kilocode
- Z.AI Coding Plan:
zai/glm-5-turbo (primary), glm-5.1 (fallback)
- NATS Subject:
pmoves.creator.cgp.v1
CGP Packet Structure
cgp:
version: "1.0"
type: <health|finance|vibe>
timestamp: <ISO8601>
content:
title: <string>
description: <string>
media:
- type: video|audio|image
url: <string>
format: <string>
transcript: <string>
metadata:
tags: [<string>]
category: <string>
source: <string>
context:
agent_id: <string>
run_id: <string>
parent_cgp: <uuid>
Workflow
1. Define CGP Parameters
./scripts/cgp-generate.py \
--type health \
--prompt "Morning workout routine" \
--format video
2. Inject Metadata
./scripts/cgp-inject-metadata.py \
--cgp-id <uuid> \
--tags ["fitness", "morning"] \
--category workout
3. Publish CGP
nats pub pmoves.creator.cgp.v1 <cgp_json>
Demo Commands
Per docs/MAKE_TARGETS.md:
make demo-health-cgp
make demo-finance-cgp
CGP Types
| Type | Description | Use Case |
|---|
| health | Health/fitness content | Workout routines |
| finance | Finance/business content | Market analysis |
| vibe | Creative/artistic content | Mood boards |
| knowledge | Educational content | Learning modules |
Example Usage
User: "Generate health CGP for morning workout"
Agent:
1. Creates CGP packet structure
2. Generates content via TensorZero coding_glm
3. Binds video/audio assets
4. Injects metadata and tags
5. Publishes to NATS
6. Returns CGP ID
Trigger Phrases
- "generate CGP"
- "create gamespace packet"
- "creative content generation"
- "CGP demo"
- "bind media to CGP"
- "kilocode cgp generate"