Claude Code Mastery: Open-source config system adds persistent memory and curated skills to Claude Code CLI

What Claude Code Mastery does
Claude Code Mastery is an open-source configuration system designed to address persistent issues with Claude Code CLI. It solves four main problems: sessions starting from zero with no memory of previous conversations, auto-compact destroying critical context, lack of best practice enforcement, and manual setup requirements for every project.
Core features
- Perpetual Memory: A 6-file Memory Bank per project (via MCP) that persists across sessions and survives compaction. Claude reads all files at startup and writes updates after every task, preserving project context, architectural decisions, tech stack details, and progress.
- Smart Hooks (6 lifecycle events): SessionStart restores context automatically, PreCompact saves everything before compaction, PreToolUse blocks dangerous commands (rm -rf, force push), and UserPromptSubmit reminds about skills and Memory Bank on every message.
- 26+ Curated Skills from 5 marketplaces: Superpowers (TDD, debugging, planning, code review, parallel agents), Trail of Bits (security analysis, differential review, supply chain audit), Context Engineering Kit (spec-driven dev, kaizen, reflexion), Shield (automated pentesting, SAST, secrets scanning), plus 3 custom skills (architect-review, context-guardian, production-audit).
- Zero-Config Launcher: Type
claudein any project directory. Memory Bank, .gitignore, session logs, and diagnostics are set up automatically on first run. - Cross-Platform: Supports macOS (zsh), Linux (bash), and Windows (PowerShell) with one installer.
- Customizable: Interactive installer, language selection (en/pt-BR/es), project presets (Node.js, Python, PHP, monorepo), and selective plugin installation.
Testing and installation
The system includes 103 static tests plus 138 Docker integration tests (Ubuntu/Bash, Ubuntu/Zsh, Alpine). It achieved a Shield security score of 100/100 and uses GitHub Actions CI on every push.
Install with:
curl -fsSL https://raw.githubusercontent.com/alissonlinneker/claude-code-mastery/main/install.sh | bashThe repository is at github.com/alissonlinneker/claude-code-mastery and is MIT licensed.
📖 Read the full source: r/ClaudeAI
👀 See Also

AgentPeek: Open-source dashboard for monitoring Claude Code agent teams
AgentPeek is a local dashboard that hooks into Claude Code to provide visibility into agent teams, showing orchestration hierarchies, execution traces, token costs, and file operations. Installation requires cloning the GitHub repo and running pipx install.

MetaBot: Open-Source Bridge Connects Claude Code to Telegram, Feishu, and WeChat
MetaBot is an open-source TypeScript bridge that connects the Claude Code Agent SDK to messaging platforms like Telegram, Feishu, and WeChat. It provides persistent memory, scheduled tasks, multi-agent collaboration, and real-time streaming of tool calls.

Chrome Extension Bridges Google Messages to Claude Code via MCP
A developer built a Chrome extension that connects Google Messages Web to Claude Code using MCP with stdio and WebSocket transport. The extension lists chats, reads messages, and drafts replies but currently can't send messages due to Angular's zone.js isolation.

Madar: Local Context Compiler for Claude Code / Cursor — 78% Fewer Tokens on NestJS Repo
Madar is an open-source local context compiler for coding agents. On a NestJS + BullMQ repo (~800 files), it cut Claude Code input tokens by 78% and cost by 63% for an explanation task. Scoped graphs only.