Skip to content

Docs

Cookbook: Skill Suggestion

Rank 182 agent skills in one request and re-read the top three in a second: over 488 requests, wrong skill loads fell from 16.8% to 7.3% and needless loads from 9.8% to 4.0%.
Format
Docs
Reading time
3 min
Published by
TypeSafe AI
Last verified
Sep 2026

Highlights

  • 182 skills across 33 categories, 488 requests, with 315 covered by 171 distinct skills and 173 uncovered.
  • Wrong loads dropped from 16.8% to 7.3% and needless loads from 9.8% to 4.0%, against oracle floors of 2.5% and 1.2%.
  • Call one runs a Choice over all 182 skills plus three gate Nouls; call two re-reads the top three in full detail.
  • The winner is appended as one system-prompt line after the roster so the prefix cache still holds.

Quickstart

python
response = client.system_one(
    state=build_state(request),
    questions={
        "which": Choice(instructions=CHOICE_INSTRUCTIONS,
                        criteria={s["name"]: s["description"] for s in ROSTER}),  # 182 skills
        "gate::acts_on_user_system": Noul(instructions=GATE_QUESTIONS["acts_on_user_system"]),
    },
    model=TYPESAFE_MODEL,
)
ranked = sorted(response.answers["which"].probabilities.items(), key=lambda kv: -kv[1])
shortlist = tuple(name for name, _ in ranked[:SHORTLIST])  # top 3 -> second request
# GATE_THRESHOLD = 0.30: mean gate below this, suggest nothing

Watch out

It fixed 37 covered requests but broke 7 the agent had right, and a confident wrong suggestion is persuasive.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: Search and tagging on keep.md

X: Jev reranks station suggestions in TrainLCD

YouTube: Jev in the reranking step of a RAG pipeline: why cosine similarity fails and how a steerable reranker compares. A Colab notebook comes with it.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai