import_claude_md
Parse a CLAUDE.md file to import backtick-wrapped patterns into an instinct store for bootstrapping or syncing hand-authored rules.
Instructions
Parse a CLAUDE.md file and ingest its backtick-wrapped patterns.
Scans the file for patterns matching the instinct convention
(seq:..., pref:..., fix:..., combo:...) and imports each as an
observation. Extracts confidence counts and explain text when
present on the line.
Use this to bootstrap a fresh instinct store from an existing
project's CLAUDE.md, or to sync rules authored by hand.
Args:
source: Path to the CLAUDE.md file. Read-only — the source
file is not modified.
Returns:
Dict with keys: "imported" (int — new patterns), "merged"
(int — reinforced existing patterns), "skipped" (int — lines
that looked pattern-like but failed validation), "source" (str).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||