bos-sync-karimo

bos-sync-karimo is a command for Claude Code from opensesh/karimo-overview. It costs 0 tokens per session (742 once invoked), scanned A, original, Apache-2.0.

A command named /bos-sync-karimo for copying KARIMO learnings and product requirement documents into BOS memory and context systems. It can sync both types of material or only one of them.

In plain words
What is it for?
Use it with --all, --learnings, or --prds to sync KARIMO notes and PRDs, which are documents describing planned product work.
Why use it?
It avoids manually transferring project knowledge and requirements between the two systems. It also checks for similar existing learnings to reduce duplicates.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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 commands/opensesh/karimo-overview/bos-sync-karimo
Clone the repo
git clone --depth 1 https://github.com/opensesh/karimo-overview

Made for: Claude Code.

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 bos-sync-karimo

README.md
[![agentmods](https://agentmods.dev/badge/commands/opensesh/karimo-overview/bos-sync-karimo.svg)](https://agentmods.dev/commands/opensesh/karimo-overview/bos-sync-karimo)
Your own site
<a href="https://agentmods.dev/commands/opensesh/karimo-overview/bos-sync-karimo"><img src="https://agentmods.dev/badge/commands/opensesh/karimo-overview/bos-sync-karimo.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 742 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.1 $0.00000 $0.00742
Opus 5 $0.00000 $0.00371
Sonnet 5 $0.00000 $0.00148
Haiku 4.5 $0.00000 $0.00074

Measured 6d ago against content hash 0189066c77fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

bos-sync-karimo 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 6d 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.

.claude/commands/bos-sync-karimo.md · 120 lines

How it starts

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

/bos-sync-karimo - Sync KARIMO Artifacts

Sync KARIMO learnings and PRD artifacts to the BOS context and memory systems.

Usage

/bos-sync-karimo [--all] [--learnings] [--prds]

Arguments

Argument Description
--all Sync both learnings and PRDs (default)
--learnings Sync only KARIMO learnings to memories
--prds Sync only PRD documents to context

What Gets Synced

Learnings → Memories

KARIMO learnings are synced to BOS memories with the following category mapping:

KARIMO Category BOS Category
patterns patterns
anti-patterns cases
project-notes preferences
execution-rules patterns

PRDs → Context Embeddings

PRD documents are embedded as L1 context entries:

  • PRD_*.mdbos://karimo/prd/{slug}
  • findings.mdbos://karimo/prd/{slug}/findings

Behavior

  1. Parse the sync target from arguments
  2. For learnings:
    • Read all category index files from .karimo/learnings/
    • Check for duplicates in memory system (0.9 similarity threshold)
    • Add new learnings with source: 'karimo'
  3. For PRDs:
    • Scan all PRD directories in .karimo/prds/
    • Compare content hashes to detect changes
    • Embed and store new/updated PRDs

Implementation

Execute this command to sync:

# Sync all
bunx tsx .bos/scripts/sync-karimo.ts --all

# Sync only learnings
bunx tsx .bos/scripts/sync-karimo.ts --learnings

# Sync only PRDs
bunx tsx .bos/scripts/sync-karimo.ts --prds

Example Output

🔄 BOS KARIMO Sync

📖 Syncing KARIMO learnings...

   ✅ New pattern added

Learnings:
   Total: 19
   Added: 1
   Updated: 0
   Skipped: 18

📄 Syncing KARIMO PRDs...

   ✅ Added: 005_new-feature
   🔄 Updated: 001_brand-color-studio

PRDs:
   Total: 5
   Added: 1
   Updated: 1
   Skipped: 3

✅ Sync complete

Read the full file on GitHub · 120 lines

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. 6d ago First seen · 120 lines · 0 tokens per session scan A 0189066c77fc

Subscribe to this mod's changes

bos-sync-karimo is a command published in the GitHub repository opensesh/karimo-overview (11 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 742 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-30.