Agent skill

Alfworld Object State Inspector

by zjunlp in zjunlp/SkillNet

Inspects a receptacle's contents by navigating to it and reading the observation.

MITAuto-check passedAgent Workflows

Install Alfworld Object State Inspector

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

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

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

At a glance

Inspects a receptacle's contents by navigating to it and reading the observation.

  • Works in 4 steps: Navigate: Execute go to… → Read observation: The environment… → Parse contents: Look for patterns → …
  • You need to check what is on
  • SKILL.md covers Workflow, Error Recovery and Example
  • Calls go

What it does

Alfworld Object State Inspector is an agent skill from zjunlp/SkillNet. Inspects a receptacle's contents by navigating to it and reading the observation. Use when you need to check what is on or inside a receptacle (e.g., "what's on the shelf", "is the holder empty", "check the table for items"). Executes go to {receptacle}, parses the observation listing items present, and decides whether to take an item, search elsewhere, or proceed.

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/alfworld_actions_ref.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

  • You need to check what is on
  • Inside a receptacle (e.g.
  • Whats on the shelf
  • Is the holder empty

Example prompts

  • “s on the shelf”
  • “is the holder empty”
  • “check the table for items”
  • “/alfworld-object-state-inspector”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Navigate: Execute go to {target_receptacle}
  2. Read observation: The environment automatically reports what is on/in the receptacle -- no additional inspection action is needed
  3. Parse contents: Look for patterns
  4. Decide next action based on the observation

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 State Inspector loads about 476 tokens when it runs, and up to ~803 if it reads all its reference files. Until then it costs about 100 tokens; SKILL.md has 180 words of instructions outside code blocks.

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

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). 180 words, ~476 tokens.

Download SKILL.mdSave it as .claude/skills/alfworld-object-state-inspector/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
alfworld-object-state-inspector
description
Inspects a receptacle's contents by navigating to it and reading the observation. Use when you need to check what is on or inside a receptacle (e.g., "what's on the shelf", "is the holder empty", "check the table for items"). Executes `go to {receptacle}`, parses the observation listing items present, and decides whether to take an item, search elsewhere, or proceed.

Instructions

Inspect the state or contents of a target receptacle by navigating to it and parsing the environment's observation feedback.

Workflow

  1. Navigate: Execute go to {target_receptacle}
  2. Read observation: The environment automatically reports what is on/in the receptacle -- no additional inspection action is needed
  3. Parse contents: Look for patterns:
    • "On the {receptacle}, you see nothing." -- receptacle is empty
    • "On the {receptacle}, you see a {item1}, and a {item2}." -- items are present
  4. Decide next action based on the observation:
    • Empty: search elsewhere for the needed item
    • Item found: take {item} from {receptacle}
    • Wrong items: move on to the next receptacle

Error Recovery

  • "Nothing happened": the go to target name is invalid -- verify the receptacle name from your environment scan
  • This skill uses only go to for navigation; it does not use open, close, or toggle

Example

Scenario 1: Check if a toiletpaperhanger has toilet paper.

Action: go to toiletpaperhanger 1
Observation: On the toiletpaperhanger 1, you see nothing.

Decision: Holder is empty. Find a toiletpaper roll elsewhere and bring it here.

Scenario 2: Check a toilet for available items.

Action: go to toilet 1
Observation: On the toilet 1, you see a soapbottle 1, and a toiletpaper 1.

Decision: toiletpaper 1 is available. Execute take toiletpaper 1 from toilet 1.

© 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-object-state-inspector of zjunlp/SkillNet.

  • SKILL.md
  • references/alfworld_actions_ref.md

Open the folder on GitHubat commit c527136

Compare with similar skills

Alfworld Object State Inspector 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 State Inspector compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Alfworld Object State Inspector this skillzjunlp/SkillNet1.4k—~476Automated 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/azqr79689 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.

    796 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 yesterday
    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
  • Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object.

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

    1.4k GitHub stars~786 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

Categories

Questions about Alfworld Object State Inspector

What does Alfworld Object State Inspector do?

Inspects a receptacle's contents by navigating to it and reading the observation. Alfworld Object State Inspector is an agent skill from zjunlp/SkillNet. Inspects a receptacle's contents by navigating to it and reading the observation.

When should I use Alfworld Object State Inspector?

Alfworld Object State Inspector fits situations like: you need to check what is on; inside a receptacle (e.g; whats on the shelf; is the holder empty.

How do I install Alfworld Object State Inspector in Claude Code?

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

How do I install Alfworld Object State Inspector in Codex?

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

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

What does Alfworld Object State Inspector need to run?

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

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

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

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

What are the alternatives to Alfworld Object State Inspector?

Skills that share tags, products or a category with Alfworld Object State Inspector: 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 State Inspector?

zjunlp (a GitHub organization) maintains it in zjunlp/SkillNet, which has 1,397 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.