Local-first command-line tool for managing Cogits offline using the Cogit Protocol.
Cogit is like git, Sep is like gh - Cogit manages your knowledge locally, Sep syncs it to the cloud.
Cogit is a files-first CLI tool that lets you capture and organize your thoughts, ideas, and knowledge in markdown files following the Cogit Protocol v0.1.
Work offline, keep your thoughts organized, and sync when you're ready using Sep CLI.
npm install -g @septerional/cogitcogit init "My Project Ideas"With options:
cogit init "Learning JavaScript" \
--description "Notes and progress on learning JS" \
--tags "learning,javascript,programming" \
--privateThis creates a .cogit.md file in your current directory with frontmatter metadata.
Track your progress, questions, insights, and resources:
# Add progress update
cogit add progress "Completed the authentication module"
# Ask a question
cogit add question "Should I use REST or GraphQL for this API?"
# Document a key insight
cogit add synthesis "The best approach is to start simple and iterate based on feedback"
# Note a change in direction
cogit add adjustment "Switched from MySQL to PostgreSQL for better JSON support"
# Save a resource
cogit add resource "Great tutorial: https://example.com/guide"# See formatted view with icons
cogit show
# See raw markdown
cogit show --rawcogit statusShows metadata and entry statistics.
# Show last 10 entries
cogit log
# Show last 20 entries
cogit log -n 20Initialize a new Cogit in the current directory.
Options:
-d, --description <text>- Cogit description-t, --tags <tags>- Comma-separated tags--private- Make the Cogit private
Examples:
# Simple cogit
cogit init "Daily Journal"
# With metadata
cogit init "API Design" \
--description "REST API design patterns and decisions" \
--tags "api,backend,design"
# Private cogit
cogit init "Personal Notes" --privateAdd an entry to the current Cogit.
Entry Types:
progress- Track progress and updatesquestion- Ask questions or raise doubtssynthesis- Summarize conclusions or insightsadjustment- Note changes in approach or directionresource- Share links, references, or resources
Examples:
cogit add progress "Finished implementing user authentication"
cogit add question "How should we handle rate limiting?"
cogit add synthesis "Users prefer simplicity over feature overload"
cogit add adjustment "Moving from sessions to JWT tokens"
cogit add resource "https://jwt.io/introduction"Display the current Cogit with formatted output.
Options:
--raw- Show raw markdown instead of formatted view
Examples:
# Formatted view
cogit show
# Raw markdown
cogit show --rawShow status and metadata of the current Cogit.
Shows:
- File name
- Title and description
- Tags
- Visibility (public/private)
- Creation date
- Entry count by type
Show entry history in reverse chronological order.
Options:
-n, --number <count>- Number of entries to show (default: 10)
Examples:
# Show last 10 entries
cogit log
# Show last 50 entries
cogit log -n 50Cogit files follow the Cogit Protocol specification:
---
title: My Cogit
description: A description of what this cogit is about
tags:
- tag1
- tag2
private: false
created_at: '2026-04-06T23:00:00.000Z'
protocol_version: '0.1'
---
# My Cogit
A description of what this cogit is about
## progress
Your progress update goes here
## question
Your question goes here
## synthesis
Your synthesis goes heretitle- Cogit title (required)description- Brief descriptiontags- Array of tagsprivate- Boolean (true/false)created_at- ISO 8601 timestampprotocol_version- Protocol version (0.1)
Each entry is a level 2 heading (##) with one of these types:
- progress - Updates, accomplishments, completed tasks
- question - Questions, uncertainties, things to explore
- synthesis - Conclusions, insights, key takeaways
- adjustment - Changes in approach, pivots, corrections
- resource - Links, references, useful materials
- Create:
cogit init "Project Name" - Work: Add entries as you go with
cogit add - Review: Use
cogit showandcogit logto review progress - Sync: Use Sep CLI to sync to Septerional cloud
Cogit is designed to work alongside Sep CLI:
- Cogit (this tool) - Local, offline-first, file-based
- Sep (sepcli) - Cloud sync, API interaction
# Work locally
cogit init "My Ideas"
cogit add progress "First draft done"
# Sync to cloud
sep push # Coming soon
# Pull from cloud
sep pull # Coming soonEach Cogit is a single .cogit.md file:
my-project/
└── my-project-ideas.cogit.md
You can have multiple Cogits in different directories:
~/cogits/
├── learning-rust.cogit.md
├── project-ideas.cogit.md
└── daily-journal.cogit.md
- Files-first: Your data in plain markdown, not locked in a database
- Offline: Work without internet, sync when ready
- Version control: Use git to version your cogits
- Portable: Standard markdown format, readable anywhere
- Protocol-based: Open specification anyone can implement
- Node.js >= 18.0.0
- Sep CLI - Cloud sync tool for Septerional
- Septerional API - Developer API
MIT