suggest
Retrieve validated behavioral patterns to guide task execution by learning from past successful tool sequences, user preferences, and recurring fixes.
Instructions
Retrieve mature patterns (confidence >= 5) to guide your current behavior.
Call this at the start of a task to learn how similar work has been
handled before: which tool sequences worked, what the user prefers,
which fixes recur. Results are sorted by confidence descending, so
the most-trusted patterns come first.
Prefer this over list_instincts when you want only validated patterns
(not every observation). Use list_instincts to see seedlings too.
Args:
project: Filter by project fingerprint. Empty string returns the
current project's patterns plus global ones. Pass a specific
fingerprint to audit another project.
category: Filter by pattern type. One of: "sequence", "preference",
"fix_pattern", "combo". Empty string returns all categories.
keyword: Substring match against pattern key, metadata, and
explain text. Case-insensitive. Empty string disables filter.
compact: True (default) returns ~50 tokens per pattern (key +
confidence + level only) — ideal for agent context. False
returns full metadata and explain text (~500 tokens each) —
use for audits or UI display.
Returns:
Dict with keys: "suggestions" (list of patterns, compact or
full depending on flag), "count" (int), and in compact mode a
"hint" pointing to get_instinct for details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| category | No | ||
| keyword | No | ||
| compact | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||