Persistent Memory
Save important information and recall it later. Your AI can access stored context across sessions.
@sm-ailib_save
@sm-ailib_recall
Persistent memory, image generation and intelligent token modes — all in one lightweight MCP server and skill bundle.
› sm_ailib_recall
query: "my previous project"
✓ Memory retrieved
› sm_ailib_level
mode: 3 · Standard
✓ Token mode activated
› sm_ailib_img
prompt: "futuristic city"
✓ Image generated
› _
Give text-only AI models access to useful local capabilities.
Save important information and recall it later. Your AI can access stored context across sessions.
@sm-ailib_save
@sm-ailib_recall
Generate images from text prompts using Pollinations AI and save the results locally.
@sm_ailib_img
Switch between six token modes, from strict minimal responses to maximum audit.
@sm_ailib_0 → @sm_ailib_5
Choose how much context your AI should use.
Ultra-minimal responses.
@sm_ailib_0
Minimal senior developer style.
@sm_ailib_1
More context for focused tasks.
@sm_ailib_2
Balanced everyday reasoning.
@sm_ailib_3
Expanded context for complex tasks.
@sm_ailib_4
Maximum context for detailed audits.
@sm_ailib_5
Use these commands to access SM-AILIB capabilities.
@sm-ailib_save <content>
Save information to persistent memory.
@sm-ailib_recall <query>
Search and recall saved information.
@sm_ailib_img <prompt>
Generate an image from a text prompt.
@sm_ailib_0 ... @sm_ailib_5
Switch between the six token modes.
These are skill command formats. The MCP server exposes the corresponding tools to supported AI clients.
Choose your AI coding assistant and follow its installation guide.
Get the repository from GitHub and configure the MCP server.
git clone https://github.com/sgdev-official/SM-AILIB.git
cd SM-AILIB
npm install
Follow the repository's current Claude Code installation instructions to register the MCP server and skill.
Claude Code MCP documentation ↗Get SM-AILIB from GitHub and configure its OpenCode integration.
git clone https://github.com/sgdev-official/SM-AILIB.git
cd SM-AILIB
npm install
Configure the MCP server, plugin and skill using the OpenCode installation guide in the repository.
OpenCode documentation ↗SM-AILIB is an MCP server and local skill bundle that adds persistent memory, image generation and token modes to supported AI clients.
It provides integration for OpenCode and Claude-compatible environments. Check the repository for the latest setup details.
Memory is stored locally by the SM-AILIB server. Check the project documentation for its storage location.
Yes. You can explore the source code and project updates on the public GitHub repository.
Yes. The image generation feature uses Pollinations AI, so it depends on network availability and that service.
Start building with SM-AILIB today.
Explore on GitHub ↗