Agent skill

Alfworld Device Operator

by zjunlp in zjunlp/SkillNet

Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object.

MITAuto-check passedAgent Workflows

Install Alfworld Device Operator

skills CLI
$ npx skills add zjunlp/SkillNet --skill alfworld-device-operator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zjunlp/SkillNet alfworld-device-operator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zjunlp/SkillNet.git skills-src && mkdir -p .claude/skills && cp -r skills-src/experiments/src/skills/alfworld/alfworld-device-operator .claude/skills/alfworld-device-operator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
alfworld-device-operator
GitHub stars
1.4k
Token cost
~916 tokens
SKILL.md length
404 words
Files
2 (incl. references)
Skills in repo
122
Repo updated
First seen
Licence
MIT

At a glance

Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object.

  • Works in 3 steps: Skill Trigger → Core Execution Flow → Key Assumptions & Rules
  • The task requires using a tool on a target item (e.g.
  • SKILL.md covers 1. Skill Trigger, 2. Core Execution Flow, 3. Key Assumptions & Rules and Example
  • Calls go

What it does

Alfworld Device Operator is an agent skill from zjunlp/SkillNet. Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object. Use when the task requires using a tool on a target item (e.g., "look at laptop under the desklamp", "heat potato with microwave"). Locates both the device and target object, co-locates them, and executes the appropriate use action (toggle, heat, cool, or clean).

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/device_location_guide.md`).

It sits in Agent Workflows. The repository describes itself as: Create, Evaluate, and Connect AI Skills. The licence is MIT.

When your agent uses it

  • The task requires using a tool on a target item (e.g.
  • Look at laptop under the desklamp
  • Heat potato with microwave)

Example prompts

  • “look at laptop under the desklamp”
  • “heat potato with microwave”
  • “Use the alfworld-device-operator skill to operate a device or appliance (like a desklamp, microwave, or fridge) to interact with another object”
  • “/alfworld-device-operator”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Skill Trigger
  2. Core Execution Flow
  3. Key Assumptions & Rules

What it can do on your machine

Read from SKILL.md and the folder at commit 3fcebf8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Alfworld Device Operator loads about 916 tokens when it runs, and up to ~1.2k if it reads all its reference files. Until then it costs about 98 tokens; SKILL.md has 404 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~916
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from zjunlp/SkillNet at commit 3fcebf8, republished under its MIT licence (© zjunlp). 404 words, ~916 tokens.

Download SKILL.mdSave it as .claude/skills/alfworld-device-operator/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
alfworld-device-operator
description
Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object. Use when the task requires using a tool on a target item (e.g., "look at laptop under the desklamp", "heat potato with microwave"). Locates both the device and target object, co-locates them, and executes the appropriate use action (toggle, heat, cool, or clean).

Instructions

1. Skill Trigger

Activate this skill when the task goal explicitly requires using a device or appliance to interact with a target object. Common indicators include phrases like:

  • "look at [object] under the [device]"
  • "heat [object] with [device]"
  • "cool [object] with [device]"
  • "clean [object] with [device]"

2. Core Execution Flow

Follow this sequence when the skill is triggered:

Phase 1: Locate the Device
  1. Identify the device from the task description (e.g., desklamp, microwave, fridge).
  2. Search common receptacles where such a device is typically found (e.g., desks, sidetables, countertops).
  3. Use the go to {recep} action to navigate to and inspect these locations until the device is found.
  4. Note the device's exact name (e.g., desklamp 1).
Phase 2: Locate the Target Object
  1. Identify the target object from the task description (e.g., laptop, mug, plate).
  2. Search the environment for this object. It may not be near the device initially.
  3. Use the go to {recep} and visual inspection to find the object.
  4. Once found, use take {obj} from {recep} to pick it up.
Phase 3: Co-locate Object and Device
  1. Navigate to the receptacle where the target device is located using go to {recep}.
  2. Ensure you are in the same location as the device before proceeding.
Show full SKILL.md (192 more words)Show less
Phase 4: Operate the Device
  1. Execute the final use action. The specific action is determined by the device-object pair:
    • For a desklamp and a viewable object (like a laptop, book), use: toggle {device} {recep}.
    • For a microwave and a heatable object, use: heat {obj} with {device}.
    • For a fridge and a coolable object, use: cool {obj} with {device}.
    • For a faucet/spraybottle and a cleanable object, use: clean {obj} with {device}.
  2. Action Format: The action must use the exact object and device names discovered during Phases 1 & 2.

3. Key Assumptions & Rules

  • Co-location Required: The skill assumes the final action requires the target object and the operating device to be in the same location (on the same receptacle).
  • Device First: Prioritize finding the device before extensively searching for the target object, as the device's location is often a fixed landmark.
  • Invalid Actions: If the environment responds with "Nothing happened," re-evaluate your object/device names and your location. Ensure you are using the correct action verb for the device type.

Example

Scenario: Task is "look at laptop under the desklamp."

Thought: I need to find the desklamp first. It's likely on a sidetable or desk.
Action: go to sidetable 1
Observation: On the sidetable 1, you see a desklamp 1.
Thought: Found the desklamp. Now I need to find the laptop.
Action: go to desk 1
Observation: On the desk 1, you see a laptop 1, a pen 2.
Action: take laptop 1 from desk 1
Observation: You pick up the laptop 1 from the desk 1.
Action: go to sidetable 1
Observation: On the sidetable 1, you see a desklamp 1.
Action: use desklamp 1
Observation: You turn on the desklamp 1.

Result: The laptop is now being examined under the desklamp, completing the task.

© zjunlp, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in experiments/src/skills/alfworld/alfworld-device-operator of zjunlp/SkillNet.

  • SKILL.md
  • references/device_location_guide.md

Open the folder on GitHubat commit 3fcebf8

Compare with similar skills

Alfworld Device Operator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Alfworld Device Operator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Alfworld Device Operator this skillzjunlp/SkillNet1.4k—~916Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from zjunlp/SkillNet

All 122 skills in this repo
  • Skillnet

    zjunlp/SkillNet

    Search, download, create, evaluate, analyze and route reusable agent skills with SkillNet.

    1.4k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Performs an initial scan of the ALFWorld environment to identify all visible objects and receptacles.

    1.4k GitHub starsUsed in 1 repo~786 tokens
    Auto-check passed
  • This skill searches for a specific receptacle (e.g., garbage can, cabinet) by systematically exploring the environment, checking multiple locations until found.

    1.4k GitHub stars~709 tokensUpdated yesterday
    Auto-check passed
  • Prepares a household appliance (microwave, oven, toaster, fridge) for use by ensuring it is in the correct open/closed state.

    1.4k GitHub stars~611 tokensUpdated yesterday
    Auto-check passed
  • Uses a heating appliance (microwave, stoveburner, oven) to apply heat to a specified object.

    1.4k GitHub stars~744 tokensUpdated yesterday
    Auto-check passed
  • A skill your agent uses when the agent must collect and track multiple instances of the same object type in ALFWorld (e.g., "put two cellphone in bed").

    1.4k GitHub stars~825 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Alfworld Device Operator

What does Alfworld Device Operator do?

Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object. Alfworld Device Operator is an agent skill from zjunlp/SkillNet. Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object.

When should I use Alfworld Device Operator?

Alfworld Device Operator fits situations like: the task requires using a tool on a target item (e.g; look at laptop under the desklamp; heat potato with microwave).

How do I install Alfworld Device Operator in Claude Code?

Run `npx skills add zjunlp/SkillNet --skill alfworld-device-operator -a claude-code`. Or copy the skill folder (experiments/src/skills/alfworld/alfworld-device-operator in zjunlp/SkillNet) into .claude/skills/alfworld-device-operator in your project. Claude Code loads it when a task matches its description.

How do I install Alfworld Device Operator in Codex?

Run `npx skills add zjunlp/SkillNet --skill alfworld-device-operator -a codex`. Or copy the skill folder (experiments/src/skills/alfworld/alfworld-device-operator in zjunlp/SkillNet) into .agents/skills/alfworld-device-operator in your project. Codex loads it when a task matches its description.

Can I use Alfworld Device Operator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zjunlp/SkillNet --skill alfworld-device-operator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/alfworld-device-operator, .gemini/skills/alfworld-device-operator, .github/skills/alfworld-device-operator and .opencode/skills/alfworld-device-operator in your project.

What does Alfworld Device Operator need to run?

Going by SKILL.md and its folder, Alfworld Device Operator needs the command-line tools its instructions call (go).

Does Alfworld Device Operator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Alfworld Device Operator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Alfworld Device Operator use?

Alfworld Device Operator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Alfworld Device Operator use?

About 916 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 282 tokens, read only when the agent opens those files.

What are the alternatives to Alfworld Device Operator?

Skills that share tags, products or a category with Alfworld Device Operator: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Alfworld Device Operator?

zjunlp (a GitHub organization) maintains it in zjunlp/SkillNet, which has 1,393 GitHub stars. The repository holds 122 skills in this directory. The repository was last updated on October 7, 2026.

Source: zjunlp/SkillNet on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.