You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(claude-code): simplify prompt, configure dynamic granularity, warn about cwd
- Set dynamicBankId=true and dynamicBankGranularity=["agent", "project"]
in plugin config (or fail if user has conflicting config)
- Simplify the prompt to just "/hindsight-memory:create-agent <name> from <path>"
(the skill knows how to handle the SDA layout)
- Warn user that the agent's memory is scoped to cwd at session start
? `Use /hindsight-memory:create-agent to create a "${agentId}" agent. Then ingest all files from ${contentDir}/ (skip bank-template.json). Read ${contentDir}/bank-template.json and create the exact mental models (knowledge pages) defined in its "mental_models" array using agent_knowledge_create_page for each one.`
1048
-
: `Use /hindsight-memory:create-agent to create a "${agentId}" agent. Then ingest all files from ${contentDir}/ and create 3 knowledge pages that make sense based on the content.`;
1074
+
constprompt=`/hindsight-memory:create-agent ${agentId} from ${contentDir}`;
1049
1075
1050
1076
p.note(
1051
1077
[
1052
-
`${color.dim("1.")} Start Claude Code`,
1053
-
`${color.dim("2.")} Say: ${color.cyan(prompt)}`,
1078
+
`${color.yellow("⚠")}${color.bold(`Important:`)} the agent's memory is scoped to the directory where you start ${color.cyan("claude")}.`,
1079
+
` Always start your Claude Code sessions from the same project directory.`,
1080
+
``,
1081
+
`${color.dim("1.")}${color.cyan("cd")} into your project directory`,
0 commit comments