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
/m8-research "payment system"
/m8-plan "add OAuth support"
/m8-implement memory/shared/plans/oauth.md
/m8-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-templates

# 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:

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

Documentation

๐Ÿ“š Full documentation at codebasecontext.org

Development Workflow

mem8 provides a structured development cycle:

  1. Research (/m8-research) - Understand existing patterns
  2. Plan (/m8-plan) - Design with concrete steps
  3. Implement (/m8-implement) - Execute with progress tracking
  4. Validate (/m8-validate) - Verify completeness
  5. Commit (/m8-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-4.1.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

mem8-4.1.0-py3-none-any.whl (111.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mem8-4.1.0.tar.gz
Algorithm Hash digest
SHA256 c503d5c10e665080e22a92f6ea39fe29b6c384458e0af03acf6e5e8f736d0fe6
MD5 740d1da95f914005329d7acb31d3ca6d
BLAKE2b-256 ed8fcb9c3f02917931037819ff7a738b0ff88220a9b632df4108eb436b864cf3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mem8-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77d5d7ddafad7ddf9f3d15d5a06ff6e67ae66e2bc41c55d0aa984b1086cab01c
MD5 7d6dca79771d64aa64a6f4065fa8c8d2
BLAKE2b-256 b1d6c072bf546461c18e4168b4f58cd49e7d3f13928688ac3dafb273c3307d44

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