Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

mem8

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has malicious versions linked to the ongoing "Miasma Mini Shai-Hulud Supply Chain Attack" supply chain attack.

Affected versions:

6.0.1
View campaign page

mem8

Context management toolkit for AI-assisted development

pipPyPI
Version
6.0.1
Weekly downloads
481
Maintainers
1

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:

  • Research (/mem8:research) - Understand existing patterns
  • Plan (/mem8:plan) - Design with concrete steps
  • Implement (/mem8:implement) - Execute with progress tracking
  • Validate (/mem8:validate) - Verify completeness
  • 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.

Keywords

ai-development

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts