xiaohongshu
xiaohongshu
ensue-auto-memory
Automatic persistent memory for Claude Code sessions. Activates on preference statements ("I prefer", "I always", "I like"), corrections ("no, don't", "actually"), identity statements ("my name is", "I work at"), project decisions, or when the system detects memory-related context. Works invisibl...
Full skill instructions
Automatic persistent memory that works invisibly in the background. Memories are loaded at session start and saved automatically when you detect preferences, corrections, or significant decisions.
ENSUE_API_KEY: Your Ensue API key (get one at https://www.ensue-network.ai/dashboard)ENSUE_USERNAME: Your username for memory namespacingSave immediately when you detect:
| Trigger | Category | Example |
|---|---|---|
| "I prefer X", "I always X", "I like X" | preferences/ | "I prefer early returns" |
| "Don't do X", "Stop doing X", "No, actually Y" | corrections/ | "Don't add emojis" |
| "My name is X", "I work at Y", "I'm a Z" | identity/ | "I'm a senior engineer" |
| Architectural decision for current project | projects/{project}/ | "Using JWT for auth" |
| Workflow or tool preference | preferences/ | "Always use pnpm" |
@{ENSUE_USERNAME}/{category}/{subcategory}
Categories:
- identity/ - name, role, company, timezone
- preferences/ - code style, tools, workflows
- corrections/ - things NOT to do (learned from user feedback)
- projects/{name}/ - project-specific context and decisions
Use curl to call the Ensue API. Always use:
embed: true for semantic searchembed_source: "value" to embed the verbose contentcurl -s -X POST https://api.ensue-network.ai/ \
-H "Authorization: Bearer $ENSUE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "create_memory",
"arguments": {
"items": [{
"key_name": "@{username}/{category}/{subcategory}",
"description": "Short label for this memory",
"value": "Verbose, detailed content that captures the full context and meaning",
"embed": true,
"embed_source": "value"
}]
}
},
"id": 1
}'
Memories should be:
Key: @christine/preferences/code-style
Value: Use early returns instead of nested if/else blocks. Keep functions under
50 lines. Prefer explicit types over inference in function signatures.
Key: @christine/corrections/no-over-engineering
Value: Don't add abstractions, helper functions, or configurability unless
explicitly needed. Keep solutions simple and direct. Don't refactor code
that wasn't asked to be refactored.
Key: @christine/projects/api-service/architecture
Value: REST API using Express.js with TypeScript. PostgreSQL database with
Prisma ORM. JWT authentication with refresh tokens. All endpoints require
authentication except /health and /auth/*.
The Ensue network contains memories from multiple users. Each user's memories are prefixed with their username.
IMPORTANT:
@{ENSUE_USERNAME}/@alice/, @bob/) are from different users@{ENSUE_USERNAME}/When a preference or context changes, use update_memory to overwrite:
curl -s -X POST https://api.ensue-network.ai/ \
-H "Authorization: Bearer $ENSUE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "update_memory",
"arguments": {
"key_name": "@{username}/preferences/testing",
"value": "Updated preference content...",
"embed": true,
"embed_source": "value"
}
},
"id": 1
}'
If you need additional context during a session, use discover_memories:
curl -s -X POST https://api.ensue-network.ai/ \
-H "Authorization: Bearer $ENSUE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "discover_memories",
"arguments": {
"query": "authentication preferences security",
"limit": 5
}
},
"id": 1
}'
This returns keys + relevance scores. Then fetch values for relevant keys (score > 0.7) using get_memory.
These environment variables can customize behavior:
| Variable | Default | Description |
|---|---|---|
ENSUE_USERNAME | (required) | Your username for key prefixing |
ENSUE_API_KEY | (required) | Your Ensue API key |
ENSUE_RELEVANCY_THRESHOLD | 0.7 | Minimum score for discovered memories |
ENSUE_PROJECT_LIMIT | 5 | Max project memories to load at start |
ENSUE_PREFERENCES_LIMIT | 10 | Max preferences to load at start |
ENSUE_CORRECTIONS_LIMIT | 5 | Max corrections to load at start |
$ENSUE_API_KEYxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience