Skip to content

Export and Integrations

luiseiman edited this page Apr 5, 2026 · 2 revisions

Export & Integrations

Export to Other Tools

/forge export <target>
Target Output file What it generates
cursor .cursorrules Single markdown with rules + converted hooks
codex AGENTS.md Flat markdown with context + permissions
windsurf .windsurfrules Similar to .cursorrules format
openclaw ~/.openclaw/skills/{project}/SKILL.md OpenClaw workspace skill with CLI bridge

What Gets Preserved vs Lost

Feature Preserved How
Project context CLAUDE.md content
Rules Converted to text instructions
Deny list "NEVER read/modify" instructions
Hook logic Partial Text instructions (no enforcement)
Agent orchestration Partial Summarized as behavioral guidance
Audit scoring Only available in Claude Code

Note: Hooks are advisory only outside Claude Code. Only Claude Code enforces them at runtime.

OpenClaw Integration

Bridge Skill

integrations/openclaw/ contains a standalone OpenClaw skill that proxies all /forge commands from messaging channels (WhatsApp, Telegram, Slack, Discord).

Install:

bash integrations/openclaw/install.sh

This:

  1. Registers dotforge in openclaw.json via skills.load.extraDirs
  2. Adds DOTFORGE_DIR to ~/.openclaw/.env
  3. Cleans up legacy symlinks

Then from any connected channel:

/forge status
/forge audit project:SOMA
/forge capture "new insight"

Export vs Bridge

Mechanism Scope Use case
/forge export openclaw Single project Project-specific skill with context
Bridge skill All projects Proxy commands, resolve from registry

Clone this wiki locally