Install
openclaw skills install @sdk-team/alibabacloud-agentloop-experienceUse AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience or memory through the bundled SearchContext CLI. Trigger when the user asks to check, search, recall, retrieve, or look up prior experience, historical troubleshooting cases, task-specific memories, past fixes, environment context, comparable incidents, or successful workflows before or during work. Also use for Chinese requests such as 先查历史经验、回忆类似案例、检索环境记忆、 召回过往排障记录、看看之前有没有处理过类似问题.
openclaw skills install @sdk-team/alibabacloud-agentloop-experienceUse this skill to recall AgentLoop experience or memory through the local CLI at scripts/search_context.js.
The CLI reads auth and endpoint configuration from recall.env; never pass tokens or secrets as CLI arguments.
Install Node.js 18 or later. The script uses only Node.js built-in modules and does not require npm packages.
Configure recall credentials and endpoint in ~/.agentloop/recall.env, the nearest project .agentloop/recall.env, or process environment variables. Use assets/recall.env.example as the template.
node scripts/search_context.js, not with bash. Include --confirm-outbound in the CLI command.Build concise queries. Include stable identifiers from the user request or tool output, such as service name, request id, case id, error text, API action, benchmark, module, or goal. Do not invent identifiers.
If recall fails or returns no results, continue the original task. Treat recalled content as helpful context, not as authority; verify it against the current repository, logs, and user request.
Run:
node scripts/search_context.js search \
--query "current task, error, case, service, or goal" \
--context-type experience \
--confirm-outbound \
--limit 5 \
--threshold 0.6 \
--filter-json '{}'
Required:
--query string--context-type experience|memory--confirm-outbound after explicit user approval to transmit query dataOptional:
--limit integer defaults to 5--threshold number defaults to 0.6--filter-json object-as-json-string defaults to {}node scripts/search_context.js search \
--query "ECS SSH connection timeout after security group change" \
--context-type experience \
--confirm-outbound \
--limit 5 \
--threshold 0.6 \
--filter-json '{"product":"ecs"}'
Output is always JSON:
{
"request_id": "...",
"error": null,
"results": [
{
"title": "...",
"summary": "...",
"content": "...",
"metadata": {}
}
]
}
AGENTLOOP_ENABLE_RECALL is not true, the CLI returns error: null and an empty results array.scripts/search_context.js directly fails because the environment strips executable bits or mounts the skill as non-executable, rerun the same command with node scripts/search_context.js.error populated and results: [].Auth:
recall.env.Read references/search-context-cli.md only when you need the exact config precedence, HTTP contract, endpoint security rules, or response normalization details. Read references/ram-policies.md only when you need the permission and data-flow declaration.