Skills

Alfworld Tool User

Use when the agent needs to apply a tool to a target object in ALFWorld to accomplish...

Install

npx skills add zjunlp/SkillNet --skill alfworld-tool-user -g -a claude-code -y
Repository
zjunlp/SkillNet1.4k
Category
AI and agents
Updated
22d ago
License
MIT
Context cost
Lightabout 624 tokens
Runs scripts
No, instructions only

What it does

Use when the agent needs to apply a tool to a target object in ALFWorld to accomplish an interaction such as cleaning, heating, cooling, or examining. This skill handles locating both the tool and target object, then executing the correct environment action (e.g., `clean`, `heat`, `cool`, `use`) to progress the task.

Skill: Tool User for ALFWorld

When to Use

Trigger this skill when:

  1. A task requires applying a tool to an object (e.g., cleaning a knife with a sinkbasin, heating food with a microwave)
  2. Both the tool and target object are in the agent's possession or within reach
  3. The agent knows which interaction verb to use for the task context

Core Workflow

1. Identify Requirements

  • Parse the task to determine:
    • Target object: The item to be acted upon (e.g., knife 1, potato 2)
    • Required tool: The appliance or instrument needed (e.g., sinkbasin 1, microwave 1)
    • Interaction type: The action verb (clean, heat, cool, use, examine)

2. Locate and Acquire

  • Target object: If not in inventory, navigate to its location and take {object} from {receptacle}
  • Tool: Navigate to the tool's location (tools are typically stationary appliances)

3. Execute Interaction

Apply the tool to the object using the correct action syntax:

InteractionAction CommandExample
Cleanclean {obj} with {tool}clean knife 1 with sinkbasin 1
Heatheat {obj} with {tool}heat potato 2 with microwave 1
Coolcool {obj} with {tool}cool apple 1 with fridge 1
Examineexamine {obj}examine book 3
Useuse {tool}use desklamp 1

4. Verify Outcome

  • Check the environment observation after the action
  • A successful interaction changes the object state (e.g., knife 1 becomes clean)
  • If the observation says "Nothing happened," the action was invalid
Read the whole SKILL.md on GitHub

More in AI and agents