knowledge-sync

knowledge-sync is a skill for Claude Code, Codex from Kit4Some/Oh-my-ClaudeClaw. It costs 0 tokens per session (2,054 once invoked), scanned A, original, MIT.

A synchronization skill for keeping knowledge and project memory aligned between two agent systems. It moves stored context in both directions so each system can use the other's information.

In plain words
What is it for?
Use it to synchronize project knowledge, saved memories, and agent state between OMC and OpenClaw-CC.
Why use it?
It prevents useful decisions and past context from remaining isolated in one memory store. That reduces repeated discovery across agent sessions.

Skill for Claude CodeCodex

Part of the openclaw-cc plugin — 22 skills, 4 agents, 5 MCP servers shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kit4some/oh-my-claudeclaw/knowledge-sync
Any agent
npx skills add Kit4Some/Oh-my-ClaudeClaw --skill knowledge-sync
Clone the repo
git clone --depth 1 https://github.com/Kit4Some/Oh-my-ClaudeClaw

Made for: Claude Code, Codex.

Or install openclaw-cc, the plugin that ships this one along with the rest of its 22 skills, 4 agents, 5 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for knowledge-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/kit4some/oh-my-claudeclaw/knowledge-sync.svg)](https://agentmods.dev/skills/kit4some/oh-my-claudeclaw/knowledge-sync)
Your own site
<a href="https://agentmods.dev/skills/kit4some/oh-my-claudeclaw/knowledge-sync"><img src="https://agentmods.dev/badge/skills/kit4some/oh-my-claudeclaw/knowledge-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,054 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.02054
Opus 5 $0.00000 $0.01027
Sonnet 5 $0.00000 $0.00411
Haiku 4.5 $0.00000 $0.00205

Measured 5d ago against content hash 5274258e2e7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

knowledge-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/knowledge-sync/SKILL.md · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.


name: knowledge-sync description: > Bidirectional synchronization between OMC's project-memory and OpenClaw-CC's persistent memory store. Triggers on "지식 동기화", "sync memory", "knowledge sync", "메모리 동기화", "OMC 동기화", "synchronize", "sync state" and similar requests. Ensures knowledge is shared across both systems — OMC's ephemeral state becomes persistent, and OpenClaw-CC's long-term knowledge becomes available to OMC agents.

Knowledge Sync — OMC ↔ OpenClaw-CC Memory Synchronization

Preamble

Before executing this skill:

  1. Load context from memory:

    memory_search(query: "{skill-relevant-query}", associative: true, limit: 5)
    memory_search(tag: "{skill-name}", limit: 3)
    

    Review returned memories for relevant past context, decisions, and patterns.

  2. Check OMC state for active work:

    state_get_status()
    

    If conflicting active tasks exist, warn the user before proceeding.

  3. Detect current branch (for git-related skills):

    git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "not-a-git-repo"
    
  4. Check proactive mode:

    state_read("occ-proactive")
    

    If "false": do NOT proactively suggest other OpenClaw-CC skills during this session. Only run skills the user explicitly invokes.

  5. Log skill activation:

    memory_daily_log(type: "note", entry: "Skill activated: /{skill-name}")
    

Role

Synchronize knowledge between oh-my-claudecode's project-memory (ephemeral, .omc/) and OpenClaw-CC's persistent memory store (SQLite + Markdown files). This ensures that insights captured by OMC agents survive sessions, and long-term knowledge from OpenClaw-CC is available to OMC's planning and execution.

Sync Directions

OMC project-memory  ──→  OpenClaw-CC memory_store    (Persist)
OpenClaw-CC memory  ──→  OMC notepad_write_priority  (Inject)

Read the full file on GitHub · 273 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 273 lines · 0 tokens per session scan A 5274258e2e7a

Subscribe to this mod's changes

knowledge-sync is a skill published in the GitHub repository Kit4Some/Oh-my-ClaudeClaw (4 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,054 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

settings

Configure agent settings — memory backend (builtin/QMD), search mode, temporal decay, citations. Triggers on /agent:settings, "configurar agente", "agent settings", "memory settings", "setup QMD", "configurar QMD", "configurar memoria".

crisandrews/ClawCode · 58 tokens

heartbeat

Run agent heartbeat — periodic checks, memory consolidation, proactive work. Triggers on /agent:heartbeat, "heartbeat", "heartbeat check", "periodic check", "consolidar memoria".

crisandrews/ClawCode · 41 tokens

new

Start a new session — save summary to memory, then mark as reset so next message gets a fresh greeting. OpenClaw-compatible. Triggers on /new, /reset, /agent:new, "nueva sesión", "new session", "reset".

crisandrews/ClawCode · 54 tokens

compact

Flush important session context to daily log (manual memory flush). Does NOT invoke native /compact. Triggers on /compact, /agent:compact, /flush, "guarda memoria", "flush".

crisandrews/ClawCode · 43 tokens

wiki-write

Add or update wiki content — autonomous ingest from URL, file, or text; autonomous update of existing pages. Auto-creates .wiki/ on first use. Use when: 'save to wiki', 'remember this', 'note this', 'store this', 'add to knowledge base', 'save findings', 'save research', 'save idea', 'write to wiki', 'ingest', 'add…

Oshayr/LLM-Wiki · 90 tokens

wiki-view

Wiki dashboard — browse pages, view stats, knowledge graph, export. Use on: 'wiki dashboard', 'wiki stats', 'show wiki', 'wiki pages', 'list wiki', 'wiki graph', 'export wiki', 'wiki overview'.

Oshayr/LLM-Wiki · 52 tokens