Skip to content

Skill-Venus: retrieve capabilities for the current agent step

optionalcorefrontierpaperrubric 11/122026 · ~35 min

Venus Team, Sunhao Dai, Changle Qu et al.

Read first: Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models · ReAct: Synergizing Reasoning and Acting in Language Models

Status

Intuition. “Build a dashboard” is not the same retrieval query as “repair this particular spreadsheet formula.” Skill-Venus trains a skill retriever on capability needs expressed during execution, not only the original user request.

Source and date: v1, November 27, 2026, surfaced by HF December 1. This is a delayed-discovery catch-up. First read: focus on utility labels, false negatives and BM25; skip task-synthesis plumbing initially.

current task state -> agent capability query -> ranked skill descriptions
-> fetch selected full instructions -> execute
-> new observation / capability need -> search again

The meta-skill exposes Search and Fetch. Search returns names and descriptions; Fetch retrieves full instructions/resources. The model being trained is the retriever, initialized from Qwen3-Embedding-0.6B, not a new task-solving language model.

The authors consolidate a 965K-skill corpus, synthesize nearly 100K executable tasks, and annotate roughly 392K execution trajectories. A fetched query–skill pair is positive only if a judge sees:

  1. Relevance to the immediate query.
  2. Concrete adoption of the skill’s content.
  3. Visible task progress after that adoption.

The local window is at most ten agent steps, ending before the next search or trajectory end. This yields about 146K queries and 156K positive pairs. It is local observational utility, not randomized causal attribution or a requirement of final success.

Tasks are themselves filtered using matched no-skill/oracle-skill executions. This supports studying helpful skills, but intentionally favors tasks where external skills matter.

Mask known positives out of the negative pool

Section titled “Mask known positives out of the negative pool”

For query qiq_i, target positive si+s_i^+, known-positive set PiP_i, candidate negative pool NiN_i, and temperature-scaled cosine score zi(s)z_i(s):

ℓi=−log⁡exp⁡zi(si+)exp⁡zi(si+)+∑s∈Ni∖Piexp⁡zi(s).\ell_i=-\log\frac{\exp z_i(s_i^+)} {\exp z_i(s_i^+)+\sum_{s\in N_i\setminus P_i}\exp z_i(s)}.

A different query’s positive can also help this query. Ordinary in-batch contrastive training can incorrectly repel it. Masking removes known alternative positives without pretending every unannotated skill is irrelevant.

Toy example: exponentiated scores 4 for the target, 3 for another known positive and 1 for a true negative give loss log⁡2≈0.6931\log 2\approx0.6931 unmasked, versus −log⁡(4/5)≈0.2231-\log(4/5)\approx0.2231 after masking.

Training mixes agent-query data and SkillRet full-request data 1:1 by batch. Agent queries use seven mined hard negatives plus in-batch negatives; SkillRet uses in-batch negatives.

Evaluate retrieval and task utility separately

Section titled “Evaluate retrieval and task utility separately”

All results below are author-reported.

SkillBench-Venus-S, 1,000 agent queriesHit@1Recall@5
BM2538.1029.45
Qwen3-Embedding-0.6B29.8023.11
Skill-Venus-Embedding-0.6B42.0033.05

BM25 beats every dense baseline other than Skill-Venus on all five reported agent-query metrics. Larger generic embedders do not repair the query-distribution mismatch.

For Qwen3.8-27B on the 250-task SkillBench-Venus-E, replacing the base 0.6B embedder raises the mean checker score from 62.57 to 71.54 and lowers mean search calls from 7.22 to 3.39. These are partial-credit task scores, not full-completion percentages. BM25 is already strong: 70.33 with 3.15 calls, fewer than Skill-Venus. Do not equate the abstract’s aggregate improvement with that one comparison.

End-to-end runs use the same 965K corpus, retain gold skills, disable web search, allow 1,800 seconds per task, and average three runs. Fewer searches do not alone establish lower total latency or token cost.

The utility judge can confuse correlation with contribution. Known-positive masking depends on annotation completeness. A benchmark selected for positive oracle-skill benefit is not an unbiased production task sample, and gold-skill presence avoids the harder question of what happens when the needed skill does not exist.

A useful deployment evaluation mixes natural tasks, no-skill-needed tasks and missing/outdated skills, reports retrieval and full completion separately, and audits instructions before execution.

  • Qwen3 Embedding supplies the retriever starting point; the contribution is supervision and query distribution, not just model scale.
  • ReAct explains the state-changing tool loop in which queries arise.
  • On-policy chain retrieval similarly ties retrieval learning to agent states, though the retrieved objects and supervision differ.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    A toy masked-InfoNCE example has target exp-score 4 and negative exp-scores 3 and 1. The item with score 3 is actually another known positive. Compute unmasked and masked losses using natural logarithms, and explain the gradient conflict the mask removes.

    What a strong answer covers
    • Unmasked loss is −ln(4/(4+3+1)) = ln 2 ≈ 0.6931.
    • Masking the other positive removes 3 from the denominator: −ln(4/(4+1)) ≈ 0.2231.
    • The removed term otherwise supplies a repulsive gradient against a skill known to help this query.
    • This only protects known positives; incomplete relevance annotation still permits false negatives.
  2. Mechanism

    Trace how Skill-Venus converts a fetched skill into a positive training pair. Why is matching the query or merely reading the skill insufficient, and why is the resulting utility label not a randomized causal effect?

    What a strong answer covers
    • A judge checks query relevance, demonstrated adoption of skill content and visible task progress after adoption.
    • The evidence window contains at most ten agent steps and stops before the next search or trajectory end.
    • The local annotation does not require final success or consult final task reward.
    • Observed progress can have other causes; randomized replacement or withholding would better estimate incremental skill utility.
  3. What if…

    BM25 beats the general dense baselines on agent-issued queries but trails them on full user-task queries. Design a comparison testing query distribution shift rather than assuming a larger embedder fixes skill search.

    What a strong answer covers
    • Hold corpus, relevance judgments and search budget fixed while comparing initial-request queries with intermediate capability queries.
    • Compare BM25, the same base embedder and its agent-query-trained version; control query length and lexical overlap.
    • Ablate utility-mined pairs and known-positive masking separately, rather than attributing all gains to one.
    • Measure downstream task scores alongside offline recall, because adoption and execution remain bottlenecks.
  4. Critique

    SkillBench-Venus-E deliberately retains tasks helped by source skills. Explain what this benchmark measures well and why its large oracle-skill gains should not be extrapolated to arbitrary production tasks.

    What a strong answer covers
    • It tests discovering and applying useful skills on tasks selected to have demonstrable skill utility.
    • Selection on positive oracle benefit changes the target distribution; everyday tasks may not need external skills.
    • All tested search corpora retain gold skills, so missing-skill failure is not evaluated.
    • Use a natural task sample with absent, stale, irrelevant and unsafe skills, and report partial credit separately from full completion.
  5. Design

    You must serve a million-skill repository under a strict context budget. Design an agent interface and evaluation that reduce repeated search without loading every skill or hiding retrieval failures.

    What a strong answer covers
    • Search returns names/descriptions; fetch loads full instructions and resources only for selected skills.
    • Let the agent query from the current execution state and repeat discovery when requirements change.
    • Track query count, retrieval latency, fetched tokens, task quality and total wall time; fewer searches alone is not lower end-to-end cost.
    • Keep BM25 and a no-skill condition, isolate execution, and expose missing or incompatible skills rather than inventing instructions.

Done with this page?

Status