/iblai-vibe:iblai-vibe-memory-guidefrom ibl.ai vibe
Explains ibl.ai's memory model: global memories, per-agent categorized memories, and shared agent knowledge. Covers org/agent/user gates, SDK hooks, and REST endpoints. Use when building memory UI or discussing personalization.
Ships in ibl.ai vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
First time here? If
iblai.envhas noARCHITECTURE=, run/iblai-vibe-startfirst (four questions; two minutes) — it decides single-org / multi-org / headless and who signs in, and every skill reads the answer.
Memory is the platform's answer to "make the app remember me". It is one data model with three stores, three gates, and three ready-made surfaces. This page tells you which to use; the linked skills mount them.

Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
| Store | Scope | Written by | Read by | Typical content |
|---|---|---|---|---|
| Global memories | one user, every agent in the org | auto-capture from chats (auto badge) or the user by hand | every agent the user talks to, when recall is on | "Prefers concise answers", "Works in the finance team" |
| Agent memories | one user × one agent, filed under categories | auto-capture guided by each category's extraction prompt, or admins/the user by hand | that agent only | per the five default categories: knowledge_gaps, learning_goals, preferences, progress_milestones, personal_context |
| Agent knowledge — the Shared Memory sub-tab of the agent's Memory tab | one agent, no user — shared by everyone | admins / the agent's owner, by hand (never auto-captured) | injected into every chat with that agent as ## Agent Knowledge | "Our refund window is 30 days", "Always cite the policy handbook" |
Memories are short facts (≥ 10 characters). Auto-captured ones carry a robot
icon and an auto badge; manual ones a person icon.
| Level | Flag | Who sets it | Where |
|---|---|---|---|
| Org | enable_memsearch | org admin (or ibl.ai operator) | GET/POST …/users/{user_id}/memsearch-config/; read-only status …/memsearch-status/ |
| Agent | enable_memory_component | agent editor | Agent Settings → Memory tab toggle (PUT …/mentors/{mentor}/settings/) |
| User | auto_capture_enabled ("Allow AI to learn from our conversations"), use_memory_in_responses ("Use my saved information in responses") | the user (admins may set another user's) | Profile → Memory; GET/PUT …/users/{username}/memsearch-settings/ (defaults false) |
Visibility rule for your UI: hide memory management unless the org status
is enabled and the agent's flag is on — but always show the user's two
toggles so people can opt in or out. useGetMemsearchStatusQuery answers the
org gate from the browser.
| Audience | Wants | Mount | Skill |
|---|---|---|---|
| Member | see/curate what is remembered about me; the two toggles | Profile → targetTab="memory" (the Profile Memory tab) | /iblai-vibe-profile |
| Agent owner / editor | what this agent remembers about its users, by category; manage categories and extraction prompts; the shared memories every chat gets; enable/disable | AgentMemoryTab inside AgentSettingsProvider | /iblai-vibe-agent-memory |
| Org admin / DPO / support | any user's global memories and toggles; any agent's memories; corrections and deletions on someone's behalf | Account → targetTab="memory" (Global + Agent tabs) | /iblai-vibe-memory |
| Your own page ("what the app knows about you" card on the home page) | list + add + delete global memories | the hooks in §4 | this page |
SDK hooks (@iblai/iblai-js/data-layer, verified 2.9.x):
| Hook | Does |
|---|---|
useGetUserMemorySettingsQuery, useUpdateUserMemorySettingsMutation | the user's two toggles |
useGetGlobalMemoriesQuery, useCreateGlobalMemoryMutation, useUpdateGlobalMemoryMutation, useDeleteGlobalMemoryMutation | global memories |
useGetMentorMemoriesListQuery, useCreateMentorMemoryMutation | agent memories (see get_api_query_info for the full set) |
useGetMemsearchStatusQuery, useGetMemsearchConfigQuery, useUpdateMemsearchConfigMutation | the org gate |
useGetSharedMemoriesQuery, useCreateSharedMemoryMutation, useUpdateSharedMemoryMutation, useDeleteSharedMemoryMutation | agent knowledge — Shared Memory |
Minimal "what the app remembers" card (member-facing):
"use client";
import {
useGetGlobalMemoriesQuery,
useDeleteGlobalMemoryMutation,
} from "@iblai/iblai-js/data-layer";
export function MemoryCard({ username }: { username: string }) {
const { data, isLoading } = useGetGlobalMemoriesQuery({ username, page: 1, page_size: 10 } as any);
const [remove] = useDeleteGlobalMemoryMutation();
if (isLoading) return null;
const items: any[] = (data as any)?.results ?? [];
return (
<ul className="space-y-2">
{items.map((m) => (
<li key={m.id} className="flex items-center justify-between rounded-md border p-2 text-sm">
<span>{m.content}</span>
<button className="text-xs text-red-600" onClick={() => remove({ username, memory_id: m.id } as any)}>
Forget
</button>
</li>
))}
</ul>
);
}
Confirm the argument shapes with get_api_query_info("useGetGlobalMemoriesQuery")
before shipping — the .d.ts lags the runtime in places.
REST (server-side Api-Token, or the SDK's session token in the browser).
Prefix https://api.$DOMAIN/dm/api/ai-mentor/orgs/{org}/:
| Store | Read | Write |
|---|---|---|
| Agent memories | GET users/{username}/mentors/{mentor}/mentor-memories-list/?page=&page_size=&category=&user_id=&start_date=&end_date= (flat) · …/mentor-memories/ (grouped by category) · users/{username}/mentor-memories/?mentor= (across agents) | POST users/{username}/mentors/{mentor}/mentor-memories/ {category_slug, content} · PATCH …/{memoryId}/ · DELETE …/{memoryId}/ |
| Categories | GET mentors/{mentor}/memory-categories/ | POST (409 if slug exists) · PATCH …/{categoryId}/ (name, description, extraction prompt) · DELETE (soft) |
| Agent knowledge | GET mentors/{mentor}/agent-memories/?page=&page_size= (no users/ segment) | POST mentors/{mentor}/agent-memories/ · PATCH …/{memoryId}/ · DELETE …/{memoryId}/ (204) |
| Global memories | GET users/{username}/global-memories/?user_id=&email=&session_id=&content=&start_date=&end_date= | POST {content} (≥ 10 chars, 409 duplicate) · DELETE …/{memoryId}/ |
| Settings | GET users/{username}/memsearch-settings/ · GET …/memsearch-status/ | PUT users/{username}/memsearch-settings/ (admins may target another username) |
Errors: 400 content too short · 403 another user's memories without admin · 404 · 409 duplicate.
Full reference: iblai-api-agent-memory.
isTenantAdmin() (see /iblai-vibe-admin)./iblai-vibe-profile — member's own Memory tab/iblai-vibe-agent-memory — one agent's Memory tab (Personal Memories + Shared Memory)/iblai-vibe-memory — org-wide Memory admin/iblai-vibe-agent-privacy — PII redaction/masking in chats (a different feature)/iblai-vibe-api — calling endpoints that have no hookWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
memory-model, personalization, iblai, agent-memory, user-memory
npx claudepluginhub iblai/base --plugin iblai-vibe166 skills in this plugin
/iblai-api-agent-accessManage role-based access to an ibl.ai agent via the platform API — list role policies, search users/groups, and grant/revoke editor, chat, or analytics_viewer roles for users, groups, and emails. Use when controlling who can edit, chat with, or view analytics for an agent./iblai-api-agent-auditRead an ibl.ai agent's audit log via the platform API — a who-changed-what trail filterable by action, actor email, and date range. Read-only. Use when investigating configuration changes to an agent./iblai-api-agent-chatSet up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id, or by signing in from claude.ai, ChatGPT or Claude Desktop with only the URL. Use to enable runtime conversations with an agent, and to list or disconnect the apps a user has connected. The actual chatting then happens through the MCP server's tools.Other plugins' skills for the same job