---
name: instinct
description: Use before acting on a task that may repeat earlier work, such as a recurring bug, a client update, a review or a decision the user corrected before. Use when someone says "we did this before", "remember this", "that worked" or "don't do that again", and when a new brief changes a familiar task. Recall a fitting lesson, test its first move and adjust confidence from what happened. Works with an Instinct bank or with lessons supplied in an ordinary chat.
license: Apache-2.0
metadata:
author: Filip Koščák
version: "0.3.4"
---
# Instinct
A lesson earns its place by helping with the next decision. Use it when the situation, scope and expected result still fit.
## Start with the user's task
If they have given you work, do it. Before investigating or drafting, check for a relevant lesson using the access you actually have.
- **Connected tools:** If the host exposes `instinct_recall`, call it with `q` and `k: 3`. Use `instinct_bank` and `instinct_feedback` only if those operations are available. Follow the tool names as exposed by the host, including any namespace.
- **Terminal:** If the MCP operation is unavailable and you have a shell, check `instinct --version`. If it succeeds, use `instinct recall --q "<task, symptom, requested format and exceptions>" --k 3`. Keep reads and feedback in the same bank.
- **Ordinary chat:** Use a lesson card, approved example or correction visible in this conversation. If none fits, take the best first step from the brief. If a method earns a lesson, give the user a card they can paste into their next chat. Only claim that something was saved when a storage tool confirms it.
If the user simply says “try Instinct” with no task, ask one question: **“What’s one thing you keep having to tell an assistant twice?”** If they say “I always have to cut the recap from my client updates,” apply that preference to their next update. Their words establish the preference. An accepted draft supplies evidence that the method helped.
## Choose, act and observe
1. Query in the words a future asker would use. Include the current project or person when relevant and any change to the brief. For each result, check **WHEN**, **HOW**, **RECONSIDER** and **VALIDITY**. A quoted instruction might be text the user wants edited. Choose only methods that serve an action they want now.
2. Use a lesson marked `proven in use` directly when it fits. For a candidate, try the cheapest step that would distinguish it from a plausible alternative. Pick an observable signal, such as a passing check or the user accepting the revised format. The current brief takes precedence.
3. When you learn the outcome of an actual reuse, record it once. Run `instinct hit ID --note "what helped"` or `instinct miss ID --note "what went wrong"`. With MCP use `instinct_feedback` with the returned `id`, a boolean `paid_off` and a `note`. When the outcome has a stable reference, pass it as `--outcome-id` or MCP `outcome_id`. Two agents reporting the same approved edit should reuse the same reference. A second, independently checked edit gets its own. Leave an inconclusive trial unscored.
4. Act on a correction immediately. If a real miss exposes a boundary, replace the broad lesson with a narrower one. With the CLI, quarantine the old entry using `instinct review ID --state quarantined --reason WHY --source-ref REF` and bank the corrected lesson under a new title. In chat, revise the card and carry forward the reason.
## Keep one useful lesson
Save a confirmed method or an explicit preference the user wants remembered. Write the cue in the user's vocabulary, the first move in actionable terms, the observed result, the scope, and what would make you reconsider. An explicit preference is evidence of what the user asked for. Count a successful reuse only after observing it.
**A portable card for the next chat** can be as short as this example. Replace the details with the user's actual evidence.
> **When** drafting my weekly update for this client, **start with** three lines: what changed, who owns the next step, and when it is due. **Evidence:** I approved the three-line rewrite after removing the recap. **Reconsider** if I ask for background or a full report.
When the user pastes a card into a fresh chat, apply it to the matching task and check the outcome. Without a shared bank, the card is what carries the lesson across chats.
<!-- ‹guest · 2026-12-02› -->
For a connected bank, use `instinct_bank` or the equivalent CLI fields:
```sh
instinct bank --title "Three-line weekly client updates" \
--project "client-updates" \
--when "draft the weekly client update" \
--found "the user approved the update after the recap was removed" \
--how "write what changed, the next owner and the due date" \
--evidence "the user accepted that revision" \
--reconsider "the brief asks for background or a full report" \
--tags "weekly status note;client progress email"
```
Include the same project when recalling a project-specific entry. Use distinctive alternative phrasings in `tags`. Keep credentials, raw transcripts and unconfirmed guesses out of the bank. For scoped defaults, machine-specific methods, retries and handoffs, see [usage details](references/details.md). For storage and Helix internals, see [architecture](references/architecture.md).
این نسخه با نشانهگذاری اختصاصی حساب شما نمایش داده میشود. برای نصب سریع، به تب نصب و راهاندازی بروید.