Claude Code Tools

@adddog/claude-plugin-pnpm

official

Claude Code plugin for pnpm monorepos — agent teams, workspace-aware fixing, changeset shipping

Version
0.2.0
Last Updated
2026-04-20
Source
official

@adddog/claude-plugin-pnpm

Claude Code plugin for pnpm monorepo workflows — team agents, workspace operations, and cross-session memory.

Dependencies

This plugin relies on four open-source projects for enhanced functionality. See docs/third-party/ for detailed documentation.

ToolPurposeRepo
context-modeContext window protection via FTS5mksglu/context-mode
claude-memCross-session memorythedotmack/claude-mem
cavemanToken-optimized communicationJuliusBrussee/caveman
cocoindex-codeAST-based code searchcocoindex-io/cocoindex-code

Use /third-party-manager skill to check versions, update, and verify installations.


claude-mem

Cross-session memory and observation capture for Claude Code.

Install

# Recommended — interactive setup
npx claude-mem install

# Or one-liner (auto-detects deps)
curl -fsSL https://install.cmem.ai/openclaw.sh | bash

Upgrade

curl -fsSL https://install.cmem.ai/openclaw.sh | bash -s -- --upgrade

Manual Setup

git clone https://github.com/thedotmack/claude-mem.git
cd claude-mem
bun install && bun run build
bun run cursor:setup  # interactive config

Provider config goes in ~/.claude-mem/settings.json:

{
  "CLAUDE_MEM_PROVIDER": "gemini",
  "CLAUDE_MEM_GEMINI_API_KEY": "YOUR_KEY"
}

cocoindex-code

AST-based semantic code search — 70% token savings vs grep.

Install

# pipx (recommended)
pipx install cocoindex-code

# or uv
uv tool install --upgrade cocoindex-code --prerelease explicit --with "cocoindex>=1.0.0a24"

Upgrade

pipx upgrade cocoindex-code

Initialize Project

ccc init    # creates .cocoindex_code/settings.yml
ccc index   # build search index

Docker (alternative)

docker run -d --name cocoindex-code \
  --volume "$(pwd):/workspace" \
  --volume cocoindex-db:/db \
  --volume cocoindex-model-cache:/root/.cache \
  ghcr.io/cocoindex-io/cocoindex-code:latest

docker exec -it cocoindex-code ccc index

context-mode

Context window protection via FTS5 knowledge base.

Installed via Claude Code marketplace. Key tools:

  • ctx_batch_execute — run commands, auto-index
  • ctx_search — FTS5 search
  • ctx_execute / ctx_execute_file — sandbox execution

caveman

Token-optimized communication mode (~75% reduction).

Installed via Claude Code marketplace. Usage:

/caveman full    # enable
"stop caveman"   # disable

Setup

Fork Mode (Cost Optimization)

For ~10x cost reduction on parallel agents, enable fork subagents:

# Add to ~/.zshrc or ~/.bashrc
export CLAUDE_CODE_FORK_SUBAGENT=1

Use by saying “fork” in team requests: "as a team (fork), implement..."

See FRAMEWORK.md for full fork documentation.


Plugin Usage

See CLAUDE.md for team agents and workflow documentation.

Quick Start

# Team planning (triggers team-kit)
"as a team, refactor the auth middleware"

# Workspace operations
pnpm -F "@adddog/claude-plugin-pnpm" lint
pnpm -F "@adddog/claude-plugin-pnpm" types

Skills

SkillPurpose
team-kit-createMulti-agent team planning
workspace-fixFix lint/types/knip in workspace packages
changesetGenerate changesets from git diff
shipChangeset + git workflow
third-party-managerCheck/update/verify plugin dependencies

Agents

AgentRole
team-designerRequirements gathering
plannerDesign + task decomposition
team-coderImplementation
team-reviewerCode review
team-verifierLint/types/tests

Hacks

Workarounds for upstream bugs. Check dates — may be fixed upstream.

claude-mem port mismatch (2026-04-22)

Issue: Hook health check uses hardcoded port calc 37700 + $(id -u) % 100, but service default is 37777. Causes “UserPromptSubmit hook error” on every prompt.

Symptom:

UserPromptSubmit hook error
Failed with non-blocking status code: No stderr output

Fix: Set port in ~/.claude-mem/settings.json to match hook calc:

{
  "CLAUDE_MEM_WORKER_PORT": "37701"
}

Then restart service:

pkill -f worker-service
# Service auto-restarts on next Claude Code session, or:
node ~/.claude/plugins/marketplaces/thedotmack/plugin/scripts/bun-runner.js \
  ~/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs start

Upstream: https://github.com/thedotmack/claude-mem — hook should read settings instead of hardcoding port calc.