Agent skill

Alfworld Object Locator

by zjunlp in zjunlp/SkillNet

A skill your agent uses when the agent needs to find a specific object in ALFWorld that is not currently in inventory and whose location is unknown.

MITAuto-check passedAgent Workflows

Install Alfworld Object Locator

skills CLI
$ npx skills add zjunlp/SkillNet --skill alfworld-object-locator -a claude-code

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

GitHub CLI
$ gh skill install zjunlp/SkillNet alfworld-object-locator --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-object-locator .claude/skills/alfworld-object-locator && 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-object-locator
GitHub stars
1.4k
Token cost
~888 tokens
SKILL.md length
359 words
Files
3 (incl. references)
Skills in repo
122
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when the agent needs to find a specific object in ALFWorld that is not currently in inventory and whose location is unknown.

  • Works in 4 steps: Parse the Environment → Rank by Likelihood → Navigate and Search → …
  • The agent needs to find a specific object in ALFWorld that is not currently in inventory and whose location is unknown
  • SKILL.md covers When to Use, Core Workflow, Example and Error Handling
  • Calls go

What it does

Alfworld Object Locator is an agent skill from zjunlp/SkillNet. Use when the agent needs to find a specific object in ALFWorld that is not currently in inventory and whose location is unknown. This skill parses the environment observation, ranks receptacles by likelihood of containing the target object using common-sense reasoning, and outputs a navigation action to the most promising location.

Its SKILL.md is about 890 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/object_mappings.md` and `references/skill_usage_examples.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 agent needs to find a specific object in ALFWorld that is not currently in inventory and whose location is unknown

Example prompts

  • “/alfworld-object-locator”

Workflow steps

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

  1. Parse the Environment
  2. Rank by Likelihood
  3. Navigate and Search
  4. Track Searched Locations

What it can do on your machine

Read from SKILL.md and the folder at commit c527136. 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 Object Locator loads about 888 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 89 tokens; SKILL.md has 359 words of instructions outside code blocks.

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

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 c527136, republished under its MIT licence (© zjunlp). 359 words, ~888 tokens.

Download SKILL.mdSave it as .claude/skills/alfworld-object-locator/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
alfworld-object-locator
description
Use when the agent needs to find a specific object in ALFWorld that is not currently in inventory and whose location is unknown. This skill parses the environment observation, ranks receptacles by likelihood of containing the target object using common-sense reasoning, and outputs a navigation action to the most promising location.

Skill: Object Locator for ALFWorld

When to Use

Trigger this skill when:

  1. Your goal requires a specific object (e.g., knife, cellphone, apple)
  2. The object is not in your inventory
  3. The current observation does not explicitly state the object's location

Core Workflow

1. Parse the Environment

Extract all visible receptacles from the observation text. Typical ALFWorld receptacles include:

  • Surfaces: countertop, desk, dresser, bed, shelf, sidetable, coffeetable, diningtable
  • Containers: drawer, cabinet, safe, fridge, microwave, garbagecan
  • Appliances: sinkbasin, bathtub, stoveburner, toaster
2. Rank by Likelihood

Use common-sense reasoning to prioritize where the target object is most likely found:

Object TypeHigh-Probability Receptacles
Kitchen items (knife, spatula, pan)countertop, drawer, diningtable, stoveburner
Food (apple, potato, tomato, bread)fridge, countertop, diningtable, microwave
Bathroom items (sponge, cloth, soap)sinkbasin, bathtub, cart, shelf
Electronics (cellphone, laptop, remote)desk, sidetable, dresser, bed, coffeetable
Stationery (pen, pencil, book)desk, shelf, drawer, sidetable
Lighting (candle, desklamp)sidetable, shelf, desk, dresser

For each candidate receptacle (in priority order):

  1. go to {receptacle}
  2. Read the observation — does it mention the target object?
    • YES: take {object} from {receptacle} — object found
    • NO: If the receptacle is closed, open {receptacle} and re-check
    • Still NO: Move to the next candidate receptacle
Show full SKILL.md (156 more words)Show less
4. Track Searched Locations

Maintain a list of already-searched receptacles to avoid revisiting them. If all high-probability locations are exhausted, expand the search to remaining receptacles.

Example

Task: "Clean the knife and put it in drawer." Observation: "You are in the middle of a room. Looking quickly around you, you see a countertop 1, a drawer 1, a drawer 2, a fridge 1, a sinkbasin 1, a stoveburner 1."

> go to countertop 1
On the countertop 1, you see a knife 1, a saltshaker 2, a bread 1.
> take knife 1 from countertop 1
You pick up the knife 1 from the countertop 1.

Result: Target object knife 1 located and acquired from countertop 1.

Example — Object not at first location:

> go to countertop 1
On the countertop 1, you see a saltshaker 2, a bread 1.
> go to drawer 1
The drawer 1 is closed.
> open drawer 1
You open the drawer 1. The drawer 1 is open. In it, you see a knife 1.
> take knife 1 from drawer 1
You pick up the knife 1 from the drawer 1.

Error Handling

  • Object not found in any receptacle: Re-check closed containers that may not have been opened. Some objects are only visible after opening.
  • Multiple instances: If the task requires a specific instance (e.g., knife 1 vs knife 2), verify the object identifier matches before taking it.
  • "Nothing happened": The take command may fail if the agent is not at the receptacle. Ensure navigation was successful before attempting to take.

© 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 2 other files (references) in experiments/src/skills/alfworld/alfworld-object-locator of zjunlp/SkillNet.

  • SKILL.md
  • references/object_mappings.md
  • references/skill_usage_examples.md

Open the folder on GitHubat commit c527136

Compare with similar skills

Alfworld Object Locator 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 Object Locator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Alfworld Object Locator this skillzjunlp/SkillNet1.4k—~888Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79589 repos~8.2kAutomated 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 63 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 10 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.

    297k GitHub starsUsed in 2 repos~5.1k 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
  • 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 7 repos~2.8k 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 today
    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 today
    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 today
    Auto-check passed
  • Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object.

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

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

    1.4k GitHub stars~744 tokensUpdated today
    Auto-check passed

Categories

Questions about Alfworld Object Locator

What does Alfworld Object Locator do?

A skill your agent uses when the agent needs to find a specific object in ALFWorld that is not currently in inventory and whose location is unknown. Alfworld Object Locator is an agent skill from zjunlp/SkillNet. Use when the agent needs to find a specific object in ALFWorld that is not currently in inventory and whose location is unknown.

When should I use Alfworld Object Locator?

Alfworld Object Locator fits situations like: the agent needs to find a specific object in ALFWorld that is not currently in inventory and whose location is unknown.

How do I install Alfworld Object Locator in Claude Code?

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

How do I install Alfworld Object Locator in Codex?

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

Can I use Alfworld Object Locator 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-object-locator -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-object-locator, .gemini/skills/alfworld-object-locator, .github/skills/alfworld-object-locator and .opencode/skills/alfworld-object-locator in your project.

What does Alfworld Object Locator need to run?

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

Does Alfworld Object Locator 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 Object Locator 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 Object Locator use?

Alfworld Object Locator 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 Object Locator use?

About 888 tokens (SKILL.md is roughly 3.6k 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 920 tokens, read only when the agent opens those files.

What are the alternatives to Alfworld Object Locator?

Skills that share tags, products or a category with Alfworld Object Locator: 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, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Alfworld Object Locator?

zjunlp (a GitHub organization) maintains it in zjunlp/SkillNet, which has 1,394 GitHub stars. The repository holds 122 skills in this directory. The repository was last updated on October 9, 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.