You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

5.2 KiB

MEMORY.md - Long-Term Memory

Your curated memories. Distill from daily notes. Remove when outdated.


About 老板

Key Context

  • Name: 老板
  • Timezone: Asia/Shanghai (深圳)
  • Platform: Feishu (飞书)

Preferences Learned

  • Code Organization: All generated code must go into code-generate/ subdirectory, NOT directly in workspace root

    • Reason: Keep workspace clean and organized
    • First requested: 2026-02-26
  • Network Access Priority:

    • IMPORTANT: When searching for information, websites, APIs, etc., PRIORITIZE Chinese resources FIRST
    • Reason: Foreign sites are often inaccessible or slow in China
    • Applies to: weather, web search, APIs, documentation, downloads
    • First requested: 2026-02-26
  • File Storage Preference:

    • IMPORTANT: Do NOT leave any temporary process files on the server
    • Reason: Keep server clean, no unnecessary temporary file retention
    • Applies to: all script outputs, research results, generated documents, HTML files, temporary data files
    • Note: No files should be left on server after task completes, even if generated by sub-agents
    • First clarified: 2026-02-27
    • Updated: 2026-03-12
  • Browser Tool Preference:

    • IMPORTANT: When needing browser access, PRIORITIZE using playwright directly
    • Reason: OpenClaw browser tool has connection timeout issues
    • Workflow: Write Node.js scripts using playwright chromium
    • First requested: 2026-03-05
  • Skill Installation Method:

    • IMPORTANT: clawhub.com has strict rate limits, need fallback installation method
    • Solution: When clawhub install fails, use playwright to find GitHub repo and clone
    • Tool created: install-skill.mjs automates this process
    • First implemented: 2026-03-06
  • New Tools Available:

    • agent-browser skill: Powerful browser automation CLI with element refs (@e1, @e2)
    • browser-utils.mjs: Custom playwright wrapper for simple browser tasks
    • install-skill.mjs: Automated skill installer with GitHub fallback
    • All tools available as of: 2026-03-06
  • Feishu Message Limitation:

    • IMPORTANT: When using message tool with Feishu channel, must provide target parameter
    • Format: chatId, user:openId, or chat:chatId
    • Problem: Unknown target "webchat" causes send failures
    • Workaround: Ask user for their Feishu chat_id or openId
    • First encountered: 2026-03-10

Important Dates

  • 老板生日:农历11月24号(每年提醒)

Lessons Learned

[2026-03-17] - 每日复盘

统计: 0 条记录, 0 个故事


[2026-03-06] - 技能安装与浏览器问题解决

  • 问题: clawhub.com 有严格的速率限制,无法直接用 clawhub install
  • 解决方案: 创建自动化安装脚本,失败时自动从 GitHub 克隆
  • 结果: 成功安装 agent-browser skill
  • 创建的工具: code-generate/install-skill.mjs
  • 问题: OpenClaw 自带的 browser 工具连接超时
  • 解决方案: 老板指示以后优先直接用 playwright 写脚本
  • 验证: 成功用 playwright 访问了 open.yunexpress.cn
  • 收获:
    • Playwright 脚本模板已创建,可复用
    • 优先使用 domcontentloaded 而非 networkidle 避免网络超时

[2026-03-08] - 功能优化

亮点:

  • agent-browser skill 安装成功
  • Control UI 访问问题修复
  • OCR 图片识别功能优化

[2026-03-06] - 每日复盘

    • 问题: clawhub.com 有严格的速率限制,无法直接用 clawhub install
    • 解决方案:
    • 结果: 成功!agent-browser 可以正常使用
    • 创建了 skills/install-skill/SKILL.md - skill 文档
    • 创建了 code-generate/install-skill.mjs - 自动化安装脚本
    • 功能:
    1. 如果失败(速率限制),自动用 playwright 找 GitHub 链接
    • 使用方式: 以后说"安装 X skill"或"安装 X 技能"就用这个工具
    • 问题:OpenClaw 自带的 browser 工具无法连接到浏览器控制服务,超时
    • 排查过程
    • 检查发现网关服务运行正常
    • 确认 playwright 已安装(版本 1.58.2)
    • 查看日志发现浏览器控制服务已启动,但工具连接超时
    • 老板的指示:以后需要访问浏览器时,优先直接用 playwright
    • 验证:成功用 playwright 访问了 open.yunexpress.cn
    • AI 换脸和表情包生成器
    • 转化率优化很好的 SaaS 页面
    • 免费试用 → 清晰付费阶梯(Bronze/Silver/Gold)
    • 队列透明化设计
    • Yun Express 开放平台(云途物流)
    • 服务 50+ 国家,日均 700,000+ 单,妥投率 98%
    • 支持多种接入模式:开发者/ERP平台/电商/合作伙伴
    • Playwright 脚本模板已创建,可复用
    • 注意网络超时问题,适当延长 timeout
    • 优先使用 domcontentloaded 而非 networkidle 避免超时

[Date] - [Topic]

[What happened and what you learned]


Ongoing Context

Active Projects

[What's currently in progress]

Key Decisions Made

[Important decisions and their reasoning]

Things to Remember

[Anything else important for continuity]


Relationships & People

[Person Name]

[Who they are, relationship to human, relevant context]


Review and update periodically. Daily notes are raw; this is curated.