Skip to content
Back to skills

Openclaw Interchange

ASecurity

Shared .md interchange library for OpenClaw skills — atomic writes, deterministic serialization, YAML frontmatter, advisory locking, and schema validation. The foundation all other OpenClaw skills build on.

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
developmentjavascriptgojava

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-interchange --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Interchange?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Interchange
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-interchange/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-interchange)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openclaw-interchange
description: Shared .md interchange library for OpenClaw skills — atomic writes, deterministic serialization, YAML frontmatter, advisory locking, and schema validation. The foundation all other OpenClaw skills build on.
---

# @openclaw/interchange

The shared library that powers agent-to-agent communication via `.md` files.

## Usage

```javascript
import { writeMd, readMd, acquireLock } from '@openclaw/interchange';

// Write an interchange file atomically
await writeMd('ops/status.md', { skill: 'crm', status: 'healthy' }, '## Status\nAll systems go.');

// Read it back
const { meta, content } = readMd('ops/status.md');
```

## Key Features
- Atomic writes (tmp + fsync + rename)
- Deterministic serialization (sorted keys, stable YAML)
- Advisory file locking with stale lock detection
- YAML frontmatter parsing
- Schema validation
- Circuit breaker pattern
- Generation tracking + content hashing

Files in this skill

  • CODEX_REVIEW.md10 KB
  • README.md3.9 KB
  • SKILL.md972 B
  • ecommerce/ops/capabilities.md491 B
  • ecommerce/state/summary.md151 B
  • package-lock.json52.1 KB
  • package.json547 B
  • src/circuit-breaker.js2 KB
  • src/generation.js774 B
  • src/helpers.js1.5 KB
  • src/index.js843 B
  • src/indexer.js5 KB
  • src/io.js3.3 KB
  • src/lock.js2.7 KB
  • src/reconcile.js1.1 KB
  • src/serialize.js2.3 KB
  • src/stale.js535 B
  • src/validate.js2.1 KB
  • test/interchange.test.js9.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…