Intuitions logo

Intuitions

Organization
Fergana-Labs
intuitions

Build, run and improve Stash intuitions — small calibrated classifiers that capture a person's judgment from a handful of labeled examples — over MCP or REST.

Overview

PublisherFergana-Labs
Repositorystash
Skill nameintuitions
Stars
340
Forks
44
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Fergana-Labs on GitHub. Read the source before you install it.

Installation

Install the Intuitions AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Fergana-Labs/stash/tree/main/docs/skills/intuitions
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Fergana-Labs/stash.git /tmp/stash
mkdir -p .claude/skills
cp -r /tmp/stash/docs/skills/intuitions .claude/skills/intuitions
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Intuitions in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Intuitions on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Intuitions is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Intuitions

An intuition is a classifier that matches one person's judgment call. Under the hood it is not a fine-tuned model:

  • Jev, a judge model, answers each criterion (an observable yes/no or multiple-choice question about the input) and the task itself, zero-shot. Every answer comes back as a probability.
  • A small calibrated head learns from the person's labels how much each answer matters. It starts from "trust the zero-shot answer", so 6–10 labels already help.
  • An embedding probe learns what the labeled examples look like, beyond what the criteria say.
  • Accuracy is always measured on held-out examples the head never trained on.

Three kinds:

output_typeDecisionExample label
choiceexactly one of 2–12 labelsbilling
multiany subset of 1–8 issues, or nonebackground+watermark, none
preferencegood/bad, or the better of twogood, a

Connect

MCP (preferred): streamable HTTP at https://<your stash host>/mcp/intuitions, with header Authorization: Bearer <Stash API key>.

json
{"mcpServers": {"stash-intuitions": {"type": "http",
  "url": "https://joinstash.ai/mcp/intuitions",
  "headers": {"Authorization": "Bearer st_..."}}}}

REST: the same bearer token against /api/v1/intuitions and /api/v1/model-wizard. Classifying one input:

bash
curl -s https://joinstash.ai/api/v1/intuitions/$ID/predict \
  -H "Authorization: Bearer $STASH_API_KEY" -H 'Content-Type: application/json' \
  -d '{"item": "text, or a JSON object", "ref": "your-id-for-feedback"}'

Build one well

Do these in order. Skip what the person already told you, and never ask more than two questions at a time.

  1. One decision. What is decided, by whom, and what happens next? If the person describes two decisions, build one now and offer the other next.
  2. Real inputs first. Ask for one or two real examples before talking about labels.
  3. Labels with boundaries. Every label needs a definition and the nearest thing it is not. Ask for the hardest borderline case and what the right call is; this is where most classifiers go wrong. If several things can be true of one input at once, use multi.
  4. Stakes. Which mistake is worse? Which cases must it never get wrong? Add those as labeled, pinned examples: no version can ship if it gets a pinned case wrong.
  5. Brief. Record all of the above with save_brief. It is compiled into the instructions the judge reads, so keep it accurate.
  6. Examples. Get 8+ confirmed labels with every label present, mostly real and hard. Real data first: ask where real cases live (exports, logs, tickets, past decisions). Only if the person can't provide them, or their data lacks a kind of case, use generate_examples aimed at that gap. Drafts come with a suggested label and reason, and a person must confirm them (label_example, or accept_suggestions only when they say so). Never invent labels yourself.
  7. Criteria. 3–6 observable properties. Once both kinds of label exist, propose_criteria with mode contrastive finds what separates similar items that were labeled differently. Save them with set_criteria.
  8. Train, then report held-out accuracy with its sample size, next to zero-shot Jev. With fewer than about 20 held-out examples, call it an early estimate.
  9. Ship when the gate passes.

Use it

UseHow
Verify inside an agent loopclassify the draft before acting; retry or escalate on a bad label or low confidence.
Monitor productionclassify real traffic with a ref. Low-confidence calls land in the inbox.
Regression-test evalsPin must-never cases. Training reports what each new version fixed and broke.
Prompt optimizationUse P(good), or a label's probability, as the score to maximize.
Post-training rewardThe same scores as a reward. Calibrated probabilities make it a smooth signal.

Keep it improving

  • inbox lists recent decisions, least confident first. review_prediction confirms or corrects one, with a reason. It becomes a golden example and can be pinned.
  • give_feedback records downstream outcomes against a prediction_id or your own ref.
  • Reasons from corrections drive new criteria; train again after a batch of corrections.

MCP tools

list_intuitions, create_intuition, get_intuition, update_intuition, save_brief, add_examples, generate_examples, list_examples, label_example, accept_suggestions, propose_criteria, set_criteria, train, ship, classify, inbox, review_prediction, give_feedback.

Frequently asked questions

What does the Intuitions AI skill do?

Build, run and improve Stash intuitions — small calibrated classifiers that capture a person's judgment from a handful of labeled examples — over MCP or REST.

Why use Intuitions on TypingMind?

Because you install it once and use it with any model. Intuitions is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Intuitions in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Fergana-Labs/stash/tree/main/docs/skills/intuitions. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Intuitions?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Intuitions?

As many as you like. As long as a model supports skills, you can use Intuitions with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Intuitions AI skill free?

Yes. It is published on GitHub by Fergana-Labs under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇