self-improving

Global, namespaced learning memory for OpenClaw. Use when users correct output, set stable preferences, ask what was learned, ask for memory stats, or request forgetting learned patterns. Keep memory cross-session, avoid context mixing, and enforce strict privacy boundaries.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "self-improving" with this command: npx skills add slicenferqin/self-improving-global-safe

Self-Improving (Global + Namespaced)

Maintain global learning while preventing cross-project pollution.

Storage Root

Store only in:

~/.openclaw/self-improving/
  global/
    rules.md
    corrections.md
  contexts/
    <context-key>/
      rules.md
      corrections.md
      meta.md
  index.md

Never write outside this root unless the user explicitly asks.

Context Key

Compute a stable context-key in this order:

  1. If in a git repo, use <host>-<owner>-<repo> when available.
  2. Else use sanitized absolute workspace path.
  3. If user gives explicit project scope, append that suffix.

Use global/* only for cross-context rules. Use contexts/<context-key>/* for local rules.

Load Strategy

Default read set:

  • global/rules.md
  • active contexts/<context-key>/rules.md

When user asks cross-project/global questions, read additional context folders and cite exact source file.

Learning Triggers

Learn only from explicit signal:

  • direct correction
  • explicit preference
  • repeated correction (3 times)

Do not learn from silence, guesses, or one-off temporary requests.

Promotion Gates

Write every candidate to active corrections.md. Promote to context rules.md only after explicit confirmation. Promote to global rules.md only when:

  • user says it is global, or
  • rule is confirmed in 2+ different contexts.

Detailed procedures: operations.md.

Conflict Handling

Conflict precedence:

  1. active context rule
  2. global rule
  3. ask user if ambiguity remains

Record conflicts and resolutions in corrections logs. Detailed policy: conflict-resolution.md.

Retention and Compaction

Keep files concise, deduplicated, and auditable. Apply retention windows and archive stale entries by policy. Detailed policy: retention-policy.md.

Safety Guardrails

Never store:

  • credentials or secrets
  • financial, medical, biometric, identity-sensitive data
  • third-party private information

If uncertain, ask before writing.

User Requests

  • "What did you learn?" -> recent corrections (active context + global summary)
  • "Show my rules" -> active context rules and global rules
  • "Memory stats" -> counts by scope, file, and last update
  • "Forget X" -> remove in active context, then ask about global/all contexts
  • "Forget everything" -> ask scope first: active context, global only, or all contexts

Do not auto-backup before deletion unless user asks for export.

Response Transparency

When behavior uses learned memory, cite source file:

  • global/rules.md
  • contexts/<context-key>/rules.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Supercall

Make AI-powered phone calls with custom personas and goals. Uses OpenAI Realtime API + Twilio for ultra-low latency voice conversations. Supports DTMF/IVR na...

Registry SourceRecently Updated
2.1K6Profile unavailable
General

Audible Goodreads Deal Scout

Evaluate an Audible daily promotion against Goodreads public score, optional Goodreads CSV shelves, optional freeform reading notes, optional delivery rules,...

Registry SourceRecently Updated
4141Profile unavailable
General

翠溪山庄

提供翠溪山庄基础信息、预订服务及多平台适配的真实营销文案,支持客户咨询与度假推广需求。

Registry SourceRecently Updated
1680Profile unavailable
General

Huo15 Openclaw Ppt

基于 design tokens 的 PPT 生成技能。内置 21 套生产级审美方案(Apple 发布会 / Apple.com / Apple macOS 26 Liquid Glass 玻璃 / 原研哉极简 / 中国水墨 / 国风故宫 / 赛博朋克绚彩 / 梵高油画 / 达芬奇手稿 / 小红书时尚奶油胶片 /...

Registry SourceRecently Updated
4960Profile unavailable