cs.AINov 2, 2026

Think with Skills: Pseudocode Planning Before Execution for Advanced Reasoners

Authors: Boshen Zhou, Boxuan Yue, Xiang Li, Shanchao Yang

Organizations: Honor Device Co., Ltd., China

Abstract

Language model agents often struggle with complex tasks even when equipped with expert-written skills. Such skills encode declarative knowledge, whereas successful execution requires procedural knowledge tailored to the task at hand. Natural language skills may leave conditions and dependencies implicit, and tasks involving multiple skills further require agents to coordinate intermediate results and execution order. We introduce Think with Skills, a method that trains reasoning models to turn relevant skill descriptions into task-specific pseudocode plans before execution. The pseudocode explicitly represents operations, conditions, intermediate results, and dependencies, providing a structured bridge from skill descriptions to agent actions. We construct training data that pairs tasks and skills with pseudocode plans and execution trajectories, use supervised fine tuning to initialize this behavior, and further optimize end-to-end task performance with Group Relative Policy Optimization. On SkillsBench, Think with Skills raises task success from 35.0% to 62.0%. These results show that proceduralizing expert knowledge before execution substantially improves skill use.

Figures & tables

Explore similar work

CardsList
  1. Generative Skill Composition for LLM Agents

    Jun 30, 2026Xinyu Zhao, Zhen Tan, Vaishnav Tadiparthi +5AI Coding AgentsLLM Agent Skill Learning

  2. SkillReason: Reasoning-Enhanced Agent Skill Retrieval for Implicit User Requests

    Aug 9, 2026Donghong Jiang, Endian Lin, Luoping Cui +6CoT SupervisionAI Agent Benchmarks

  3. SkillComposer: Learning to Evolve Agent Skills for Specification and Generalization

    Jun 4, 2026Qi Zhang, Zhaopeng Feng, Xiaonan Shi +8LLM Agent Self-ImprovementLLM Agent Skill Learning