Agent skill · aliyun

alibabacloud-bailian-memory

Manages conversation memories and user profiles in Alibaba Cloud Bailian (Model Studio) Memory Library via DashScope REST APIs. Covers memory extraction from conversations, direct content saving, semantic memory search, memory fragment maintenance, user profile queries and updates, plus memory project and profile schema administration. Use when the user requests memory library ("记忆库") operations such as "add memory", "search memory" or "user profile". Prerequisites: (1) Configure DashScope API Key (2) Activate Bailian Memory Library service. Do NOT use for Bailian RAG knowledge base retrieval or document search.

What it needs

About 11k tokens when loaded.

What this skill does

Bailian Memory Library Manage conversation memories and user profiles in Alibaba Cloud Bailian (Model Studio) Memory Library through DashScope REST APIs. The Memory Library automatically extracts key information from conversations and stores them as memory fragments, enabling agents to reference user preferences and historical context across sessions. Architecture: Agent → Python Scripts → DashScope REST API → Memory Library (Memories + User Profiles) Scope: This skill covers 12 memory and user-profile operations plus 7 management operations of the Memory Library (see Core Workflows). All memory writes are asynchronous: the request is accepted immediately and extraction runs in the background, returning an eventid. Memory projects (create/list/get/update) and profile schemas (create/list/update) are managed directly by this skill; project/schema deletion is not covered — use the Bailian console for that. Key Concepts: Concept Description --------- ------------- Memory Library (memorylibraryid) Container for managing memories. Each account has a default library; omit the ID to use it. Memory Fragment (memorynodeid) Key events/info extracted from conversations (e.g., "User needs daily reminders"). Memory Project (projectid) Second-level memory isolation. Each project has a planversion (pro/lite) setting. Created and managed via this skill (workflow 11). Memory Entity (userid) Identifier for the memory owner. Used for memory isolation between users. Profile Schema (profileschemaid) Template defining which user attributes to extract. Created and managed via this skill (workflow 12); an immutable attribute keeps its defaultvalue and is never changed by extraction. Async Event (eventid) Handle of a background extraction task created by add-async; one record per resource with status PENDING/SUCCEEDED/FAILED; after SUCCEEDED the record carries a result[] array describing applied changes. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aliyun/alibabacloud-bailian-memory

View the source on GitHub

Browse the @skills marketplace