GritFlow
Getting Started

Zero to Productive in 10 Minutes

Install GritFlow, create your first context bucket, and experience AI that actually understands your project.

Prerequisites

  • Node.js 18 or higher
  • Anthropic API key (get one at console.anthropic.com)
  • A project you want to supercharge with AI

5 Steps to Context Engineering Mastery

01

Install Claude Code

GritFlow extends Claude Code, Anthropic's official CLI. If you don't have it yet, install it first.

Terminal
npm install -g @anthropic-ai/claude-code

Requires Node.js 18+ and an Anthropic API key

02

Install GritFlow

Add GritFlow to your project to unlock context engineering capabilities.

Terminal
npx gritflow init

This creates a .gritflow folder in your project with configuration files

03

Create Your First Context Bucket

Context Buckets organize your knowledge by domain. Let's create one for your project.

Terminal
gritflow bucket create "Project Documentation" --path ./docs

Buckets can contain markdown files, code examples, and any text-based content

04

Set Up a Grit Monitor

Grit Monitors track long-term goals across your AI sessions. Define what matters.

Terminal
gritflow monitor create "Code Quality" --goal "All functions have JSDoc comments"

Monitors persist across 100+ prompts, ensuring consistency

05

Run Your First Prompt

Queue a task through PromptHub and watch GritFlow inject your context automatically.

Terminal
gritflow prompt "Add error handling to the login function"

Your context buckets and monitors are automatically included

Prefer a Video Walkthrough?

Watch Bryan set up GritFlow from scratch in this 8-minute tutorial.

Video coming soon

Stuck? We're Here to Help

Join our Discord community for real-time help, or browse the documentation for detailed guides.

Getting Started - GritFlow | next-forge