Cognitive Patch (.cgp) developer template — boilerplate for packaging skills with cognitive.json manifest, MCP tools, system prompts, and optional model weights.
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
# 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| Target | Description |
|---|---|
all |
Build .cgp archive |
install |
Install via cpm |
clean |
Remove build artifacts |
- CognitiveOS — main project repository
- cognitive-os.org — project website
- cpm — package manager that consumes .cgp packages
- Product Specs — .cgp format specification
- CognitiveOS Project — GitHub organization
- Branch from
development, notmain - Use topic branches:
feature/<name>,fix/<name>,bugfix/<name> - Open a PR to
developmentwith a clear title and description - Merge via squash after review
- Changes flow to
mainvia a release PR
See the SDLC repo for the full contribution guide, code review standards, and testing strategy.
Jean Machuca — GitHub · Sponsor
MIT