Skip to content

CognitiveOS-Project/cgp-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cgp-template

Cognitive Patch (.cgp) developer template — boilerplate for packaging skills with cognitive.json manifest, MCP tools, system prompts, and optional model weights.

Structure

template/
├── cognitive.json        — Package manifest (name, version, description, runtime, etc.)
├── prompts/              — Skill system prompts
│   └── system.md         — Referenced by runtime.system_prompt
├── tools/                — MCP server binaries
│   └── .gitkeep
└── weights/              — Optional .gguf model weights
    └── .gitkeep
Makefile                  — Build, clean, install targets

Quick Start

# Create a new skill from the template
cpm init my-skill
cd my-skill

# Edit cognitive.json with your skill metadata
# Add prompts to prompts/
# Add MCP tools to tools/

# Build the .cgp archive
make

# Install locally
make install

Makefile Targets

Target Description
all Build .cgp archive
install Install via cpm
clean Remove build artifacts

Related

Contributing

  1. Branch from development, not main
  2. Use topic branches: feature/<name>, fix/<name>, bugfix/<name>
  3. Open a PR to development with a clear title and description
  4. Merge via squash after review
  5. Changes flow to main via a release PR

See the SDLC repo for the full contribution guide, code review standards, and testing strategy.

Author

Jean MachucaGitHub · Sponsor

License

MIT

About

Cognitive Patch (.cgp) developer template — boilerplate for packaging skills with cognitive.json manifest, MCP servers, prompts, and optional model adapters. The starting point for CognitiveOS skill authors

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors