Thanks for your interest in contributing. This guide covers all Fozikio repos — cortex-engine, plugins, reflex, sigil, and more.
# Clone the repo you want to work on
git clone https://github.com/Fozikio/<repo>.git
cd <repo>
npm install
npm test- Good first issues — curated for new contributors
- Help wanted — we'd appreciate help with these
- Project boards — see what's planned and in progress
If you want to work on something, comment on the issue first so we don't duplicate effort.
- Fork the repo and create a branch from
mainormaster - Write code — follow the existing style in the repo
- Test — run
npm testand make sure everything passes - Commit — write clear commit messages (see below)
- Push to your fork and open a Pull Request
Use short, descriptive messages:
feat: add belief decay threshold config
fix: prevent duplicate observations on rapid writes
docs: add plugin authoring guide
refactor: extract embedding logic to shared util
Prefixes: feat, fix, docs, refactor, test, chore, perf
- TypeScript for all packages
- Strict typing — type all function signatures and return values
- Named exports over default exports
- async/await over
.then()chains - No unused imports or variables (CI will catch these)
Cortex plugins follow a standard structure. See the Plugin Authoring Guide on the wiki.
tools-<name>/
├── src/
│ └── index.ts # Tool definitions
├── package.json # Must have cortex-engine as peerDependency
├── tsconfig.json
└── README.md
- Keep PRs focused — one feature or fix per PR
- Fill out the PR template
- Link to the issue you're addressing
- Add tests for new functionality
- Update docs if you're changing behavior
Use the Bug Report issue template. Include:
- What you expected vs what happened
- Steps to reproduce
- Your environment (Node version, OS, cortex-engine version)
Use the Feature Request issue template. Tell us:
- What problem you're solving
- How you'd want it to work
- Whether you'd be interested in implementing it
- GitHub Discussions on cortex-engine for questions and ideas
- GitHub Issues for bugs and feature requests
All Fozikio repos are MIT licensed. By contributing, you agree that your contributions will be licensed under MIT.