extract_rules_tool
Extract L3 declarative rules from frequently accessed notes into memory/rules.md, then auto-inject them into context so Claude sees key project constraints.
Instructions
Extract L3 declarative rules from high-access notes into memory/rules.md.
Rules are auto-injected at the top of every get_context() call so Claude always has the most important project constraints in view.
Args: note_path: Specific note to extract from (e.g. 'decisions/my-note.md'). Leave empty to run batch extraction on all eligible notes (access_count >= 5, not extracted in last 90 days).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |