Skip to content

CognitiveOS-Project/cpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpm — Cognitive Package Manager

cpm installs, updates, removes, and publishes .cgp (Cognitive Patch) files for CognitiveOS.

It is the npm/pip/apt for the agent era — hardware-aware, MCP-native, and designed for autonomous AI operation.

Quick Start

go build -o bin/cpm ./cmd/cpm

# Create a skill skeleton
./bin/cpm init my-skill
cd my-skill
# Edit cognitive.json, add prompts/ and tools/

# Install from a local archive
./bin/cpm install ./my-skill.cgp

# List installed patches
./bin/cpm list

# Show patch details
./bin/cpm info my-skill

# Remove a patch
./bin/cpm remove my-skill

Commands

Command Description
init <dir> Create a .cgp skeleton directory
install <path|name> Install from local .cgp or registry
remove <name> Uninstall a patch
list List installed patches
info <name> Show manifest details
verify <path> Validate a .cgp archive
search <query> Search the registry
update <name> Update to latest version

Development

export CPM_PATCHES_DIR=/tmp/cpm-test/patches
export CPM_CACHE_DIR=/tmp/cpm-test/cache

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

cpm (Cognitive Package Manager) — installs, updates, and removes .cgp cognitive patches. The npm for AI-native skill distribution

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages