export_claude_md
Export learned behavioral rules as a Markdown bullet list for manual inclusion in CLAUDE.md. Reads promoted rule-level patterns and produces compact Markdown without modifying files.
Instructions
Render rule-level patterns as Markdown ready to paste into CLAUDE.md.
Use this when a Claude client needs a compact Markdown block of learned
rules to include manually in CLAUDE.md. It reads promoted rule-level
patterns only; no files are modified.
Produces one bullet per rule with pattern key, category tag, confidence
count, and explain text. The output is a freestanding Markdown section;
no surrounding headers or context are added.
For idempotent in-place injection into an existing CLAUDE.md (preserving
other content via marker tags), use inject_claude_md() instead.
For multi-platform output (Cursor, Windsurf, Codex), use
export_platform() instead.
Returns:
Dict with keys: "markdown" (str — the rendered block; empty
string if no rules exist), "rule_count" (int).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||