Enabling Timely Guidance before Skill Retrieval: Retaining Helpful Warm Tips in Agent Context
Organizations: Shenzhen MSU-BIT University · Hong Kong Baptist University · The University of Hong Kong · Beijing Institute of Technology
Abstract
Reusable skills help LLM-based agents solve complex tasks, but the agent must receive guidance before it commits to an ineffective approach. Existing skill mechanisms often expose only metadata and load full content on demand, leaving useful guidance unavailable until the agent decides to retrieve it. General memory methods can incur substantial maintenance overhead, while keeping guidance in conversation context risks repeatedly exposing the agent to irrelevant or harmful advice. We propose TipsWarm, a mechanism that complements existing skill mechanisms by maintaining a budgeted pool of skill-derived keypoints, or warm tips, for selective injection into the context of every message turn. By separating event-triggered LLM assessment from inexpensive per-turn screening, it makes transferable skill guidance readily available while controlling maintenance costs. In three coding and iterative task-execution benchmarks, TipsWarm achieves the highest task success rate while remaining time-efficient, compared to recent skill and general memory baselines.
Figures & tables
| Setting | Warmup w/ Tips | Scope Matching | Utility Attribution | Bigger Pool | Success@60 (%) | AUC |
|---|---|---|---|---|---|---|
| NONE | ||||||
| NW | ✓ | ✓ | ||||
| NS | ✓ | ✓ | ||||
| NU | ✓ | ✓ | ||||
| BP | ✓ | ✓ | ✓ | ✓ | ||
| ALL | ✓ | ✓ | ✓ |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Value | Description |
| TipsWarm mechanism | ||
| Pool size budget | 12 | Maximum number of candidate tips retained in the persistent pool. |
| Per-skill cap | 8 | Maximum tips admitted from any single skill, to avoid one skill dominating the pool. |
| Injection quota | 4 | Maximum tips inserted into the context of each user-message turn. |
| Scope match | lexical overlap | Exclude tips whose scope keywords do not overlap the task query. |
| Utility score | helpful, harmful/irrelevant | Rank remaining tips from attribution counts. Higher scores are injected first. |
| Benchmark | Method | # Agent Tokens | # Internal Tokens | Time | Experience Space | |
|---|---|---|---|---|---|---|
| SkillsBench | A-MEM | 65 | M | K | 316.0 h | 2.2 MB: 65 notes, 115 KB; 2.1 MB sqlite3 data |
| DC | 65 | M | K | 134.4 h | 84.7 KB: 5 cheatsheet items, 6.3 KB: 2 skills, 78.4 KB | |
| HermesSkill | 65 | M | — | 113.1 h | 93.8 KB: 10 skills | |
| TipsWarm (ours) | 65 | M | K | 28.6 h | 105 KB: 2 skills, 103 KB; 2 tips, 1.7 KB | |
| AppWorld | A-MEM | 90 | M | K | 261.5 h | 33.7 MB: 1482 notes, 2.5 MB; 31.2 MB sqlite3 data |
| DC | 90 | M | K | 40.1 h | 20.2 KB: 4 cheatsheet items, 8.5 KB, 1 skill, 11.7 KB |
| Tip | #Helpful | #Harmful | #Irrelevant |
|---|---|---|---|
| Skill: skillsbench-host-grading | |||
| Graded files must be top-level task-dir entries (stager maps /root ) | 2 | 0 | 0 |
| Mirror /root/output/<f> as top-level output/<f> | 2 | 0 | 0 |
| Do not reuse image-shipped environment/ answers | 2 | 0 | 0 |
| Host pass needs tests_total 0 and tests_failed 0 | 0 | 0 | 0 |
| Stage /root/results.json as top-level results.json | 2 | 0 | 0 |
| Tip | #Helpful | #Harmful | #Irrelevant |
| Skill: multi-app-api-workflow | |||
| Do not assume parameter names; check the API spec | 3 | 2 | 0 |
| Start from show_app_descriptions() | 0 | 0 | 0 |
| Never guess IDs; resolve them by search | 0 | 0 | 0 |
| Always call show_api_doc before use | 0 | 0 | 0 |
| Skill: api-sandbox-tasks | |||
| Tip | #Helpful | #Harmful | #Irrelevant |
|---|---|---|---|
| Skill: alfworld-player | |||
| Use only commands from the admissible list | 84 | 0 | 32 |
| Reply with the bare command, with no quotes or prose | 84 | 0 | 32 |
| Find an object before trying to use it | 84 | 0 | 32 |
| Do not repeat a clean sequence that already finished | 33 | 0 | 25 |
| Stop after the goal is done; do not look or explain | 11 | 0 | 12 |
LLM Agent Skill Retrieval
Large language model agent skill retrieval finds and selects reusable procedures to help agents complete tasks.
See all 102 papers