Help us improve
Share bugs, ideas, or general feedback.
From claude-supermemory
Updates Supermemory project config (API key, personal/repo container tags) via prompts, editing .claude/.supermemory-claude/config.json in git root.
npx claudepluginhub supermemoryai/claude-supermemory --plugin claude-supermemoryHow this command is triggered — by the user, by Claude, or both
Slash command
/claude-supermemory:project-configThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Project Config Update project-level config stored in `.claude/.supermemory-claude/config.json`. ## Steps 1. First, find the git root and read the current project config: 2. Ask the user what they want to update using AskUserQuestion: - **API Key** (`apiKey`): Project-level API key that overrides global - **Personal Container Tag** (`personalContainerTag`): Used for saving and searching personal memories across sessions - **Repo Container Tag** (`repoContainerTag`): Used for repo-level memories shared across team 3. Ask the user for the new value. Confirm the value they ...
/project-configConfigures per-project Cognis settings like API key, owner/agent IDs, and signal extraction options by updating .claude/.cognis-claude/config.json.
/initInitializes auto-managed CLAUDE.md (and optionally AGENTS.md) memory files via interactive wizard, configuring triggers, auto-commit/push, and .gitignore.
/saveSaves <key> <value> as compressed memory entry to project or global .nemp/memories.json, adding timestamps, agent ID, project path, and inferred type.
/setupConfigures proactive mnemonic memory: prompts for store path, detects org/project from git, creates structured directories with git repo, appends instructions to CLAUDE.md, migrates if needed.
/project-healthAudits and manages project configuration: permissions, context, docs. Supports full checks, setup (settings.local.json, CLAUDE.md, .gitignore), tidy, capture learnings, presets, restructure.
/cc-memoryConfigures hybrid persistent memory for Claude Code using 3-tier architecture: split rules, auto-summaries, optional MCP. Supports --init, --status, --audit subcommands.
Share bugs, ideas, or general feedback.
Update project-level config stored in .claude/.supermemory-claude/config.json.
First, find the git root and read the current project config:
git_root=$(git rev-parse --show-toplevel 2>/dev/null || echo "$(pwd)")
cat "$git_root/.claude/.supermemory-claude/config.json" 2>/dev/null || echo "{}"
Ask the user what they want to update using AskUserQuestion:
apiKey): Project-level API key that overrides globalpersonalContainerTag): Used for saving and searching personal memories across sessionsrepoContainerTag): Used for repo-level memories shared across teamAsk the user for the new value. Confirm the value they provide.
Update the project config file:
node -e "
const fs = require('fs');
const path = require('path');
const { execSync } = require('child_process');
let gitRoot;
try { gitRoot = execSync('git rev-parse --show-toplevel', { encoding: 'utf-8' }).trim(); } catch { gitRoot = process.cwd(); }
const dir = path.join(gitRoot, '.claude', '.supermemory-claude');
const file = path.join(dir, 'config.json');
let data = {};
try { data = JSON.parse(fs.readFileSync(file, 'utf-8')); } catch {}
data['KEY_NAME'] = 'NEW_VALUE';
fs.mkdirSync(dir, { recursive: true });
fs.writeFileSync(file, JSON.stringify(data, null, 2));
console.log('Updated: ' + file);
"
Replace KEY_NAME with apiKey, personalContainerTag, or repoContainerTag and NEW_VALUE with the user's provided value.
Confirm to the user the project configuration has been updated.