Skip to main content

Context management toolkit for AI-assisted development

Project description

mem8

Context management toolkit for AI-assisted development. Manage memory, templates, and workflows with Claude Code and other AI tools.

Quick Start

# Install
uv tool install mem8

# Initialize workspace
cd your-project
mem8 init

# Check status
mem8 status

Core Features

๐Ÿง  Context Window Management

Persistent memory system for Claude Code with structured documentation. Keep AI context focused and relevant across long development sessions.

# Search your memory
mem8 search "authentication"

# Use Claude Code commands
/mem8:research "payment system"
/mem8:plan "add OAuth support"
/mem8:implement memory/shared/plans/oauth.md
/mem8:commit

๐Ÿ”ง Toolbelt Integration

Verify and manage CLI tools required for AI workflows.

# Check for missing tools
mem8 doctor

# Auto-install missing tools
mem8 doctor --fix

# List all tools and versions
mem8 tools

Verified tools include: ripgrep, fd, jq, gh, git, bat, delta, ast-grep, and more.

๐Ÿšข Port Management

Global port leasing system prevents conflicts across projects.

# Lease port range for project
mem8 ports --lease

# View assigned ports
mem8 ports

# Kill process on port (safe mode)
mem8 ports --kill 20000

๐ŸŽจ External Templates

Share standardized configurations across teams using GitHub templates.

# Use official templates
mem8 init --template-source killerapp/mem8-plugin

# Use team templates
mem8 init --template-source your-org/templates

# Set default for all projects
mem8 templates set-default your-org/templates

๐Ÿค– Claude Code Integration

Custom commands and agents for enhanced AI workflows.

Commands installed by default:

  • /mem8:research - Parallel codebase exploration
  • /mem8:plan - Structured implementation planning
  • /mem8:implement - Execute plans with progress tracking
  • /mem8:validate - Verify implementation completeness
  • /mem8:commit - Create semantic commits
  • /mem8:describe-pr - Generate PR descriptions

Documentation

๐Ÿ“š Full documentation at codebasecontext.org

Development Workflow

mem8 provides a structured development cycle:

  1. Research (/mem8:research) - Understand existing patterns
  2. Plan (/mem8:plan) - Design with concrete steps
  3. Implement (/mem8:implement) - Execute with progress tracking
  4. Validate (/mem8:validate) - Verify completeness
  5. Commit (/mem8:commit) - Create semantic commits

Project Structure

After running mem8 init --template full:

your-project/
โ”œโ”€โ”€ .claude/
โ”‚   โ”œโ”€โ”€ commands/          # Custom slash commands
โ”‚   โ””โ”€โ”€ agents/           # Custom agent definitions
โ”œโ”€โ”€ memory/
โ”‚   โ””โ”€โ”€ shared/
โ”‚       โ”œโ”€โ”€ research/     # Research documents
โ”‚       โ”œโ”€โ”€ plans/        # Implementation plans
โ”‚       โ”œโ”€โ”€ prs/         # PR descriptions
โ”‚       โ””โ”€โ”€ decisions/    # Technical decisions
โ””โ”€โ”€ .mem8/
    โ”œโ”€โ”€ config.yaml      # Configuration
    โ”œโ”€โ”€ ports.md         # Port assignments
    โ””โ”€โ”€ tools.md         # Tool inventory

Requirements

  • Python 3.11+
  • uv (recommended) or pip

Optional:

  • Docker (for backend API features)
  • Node.js 18+ (for web interface)

Support

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mem8-6.0.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mem8-6.0.0-py3-none-any.whl (108.8 kB view details)

Uploaded Python 3

File details

Details for the file mem8-6.0.0.tar.gz.

File metadata

  • Download URL: mem8-6.0.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.3

File hashes

Hashes for mem8-6.0.0.tar.gz
Algorithm Hash digest
SHA256 daf23cb110b16aea5434b18b3ed1da76e422a1a3db657733e01cd504aa5380b8
MD5 b8bbb76296ac5489f5aa3024beca72f9
BLAKE2b-256 c31aecf06d4b6fb4b637c67ea3a82ea121ab394673c22829fbf73189fa25718c

See more details on using hashes here.

File details

Details for the file mem8-6.0.0-py3-none-any.whl.

File metadata

  • Download URL: mem8-6.0.0-py3-none-any.whl
  • Upload date:
  • Size: 108.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.3

File hashes

Hashes for mem8-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 155be401edc52dbda6058ac3ab9385aae949b19ee3dc14a04146b2efb9929084
MD5 3c6047cbe6b2545baf0aca93d33c12dd
BLAKE2b-256 22b0f3b04f9e8147a697d4a5a8982c6301914ec34c6db2f5327532f2072eef32

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page