Skip to content

hardikgami007/contextflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContextFlow

"Your AI remembers nothing. ContextFlow remembers everything."

Persistent AI coding context for teams. Stop repeating yourself — save, resume, and share context across sessions, editors, and teammates.

Install

npm install -g contextflow-cli

Quick Start

# 1. Initialize in your repo
contextflow init

# 2. Work on your code... then save context
contextflow save
# -> Interactive prompts capture: Task, Approaches, Decisions, Next Steps

# 3. Resume in ANY editor
contextflow resume
# -> Copies a perfectly formatted prompt to your clipboard
# -> Paste into Cursor, Claude, or ChatGPT to restore full context

Commands

Core (No AI Key Required)

Command Description
contextflow init Initialize ContextFlow in current repo
contextflow save [msg] Save context (interactive or quick mode)
contextflow save --auto Auto-extract from editor session logs
contextflow resume Generate AI prompt & copy to clipboard
contextflow log View context history for current branch
contextflow diff Show changes since last context save

Team & Automation

Command Description
contextflow handoff @user Hand off context to a teammate
contextflow share Commit .contextflow/ to git for team sync
contextflow watch Auto-save on file changes
contextflow hook install Install git post-commit hook

AI-Powered (Requires CONTEXTFLOW_AI_KEY)

Command Description
contextflow summarize AI-generate context from git activity
contextflow suggest AI-suggest next steps
contextflow compress Compress old context into summary

Configuration

Command Description
contextflow config set <key> <val> Set preferences
contextflow config list View all configuration

MCP Server

{
  "mcpServers": {
    "contextflow": {
      "command": "npx",
      "args": ["-y", "contextflow", "mcp"]
    }
  }
}

Exposes tools: contextflow_save, contextflow_resume, contextflow_log and resource contextflow://context.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors