alfworld-environment-scanner

alfworld-environment-scanner is a skill for Claude Code, Codex from zjunlp/SkillNet. It costs 65 tokens per session (755 once invoked), scanned A, original, MIT.

An initial scanner for ALFWorld, a simulated environment where an agent completes household tasks by interacting with objects. It reads the first room description and records visible objects and receptacles, such as containers or surfaces that can hold things.

In plain words
What is it for?
Use it at the beginning of an ALFWorld task to identify every mentioned object and receptacle, including numbered items such as “armchair 2” or “diningtable 1”.
Why use it?
Planning is easier when the agent has a complete map of what is available. Separating movable objects from places that can contain them reduces missed items and incorrect action choices.

Skill for Claude CodeCodex

About the project

SkillNet is infrastructure for finding, creating, evaluating, combining, and coordinating reusable capabilities for AI agents. Agent developers use it as a searchable and installable library of skills and as a system for selecting skills for particular tasks. The catalogue contains skills that can be discovered, installed, or used with SkillNet.

zjunlp/SkillNet · 1,253 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zjunlp/skillnet/alfworld-environment-scanner
Any agent
npx skills add zjunlp/SkillNet --skill alfworld-environment-scanner
Clone the repo
git clone --depth 1 https://github.com/zjunlp/SkillNet

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for alfworld-environment-scanner

README.md
[![agentmods](https://agentmods.dev/badge/skills/zjunlp/skillnet/alfworld-environment-scanner.svg)](https://agentmods.dev/skills/zjunlp/skillnet/alfworld-environment-scanner)
Your own site
<a href="https://agentmods.dev/skills/zjunlp/skillnet/alfworld-environment-scanner"><img src="https://agentmods.dev/badge/skills/zjunlp/skillnet/alfworld-environment-scanner.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 755 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00065 $0.00755
Opus 5 $0.00032 $0.00378
Sonnet 5 $0.00013 $0.00151
Haiku 4.5 $0.00006 $0.00076

Measured 5d ago against content hash 344aa0d87d56, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

alfworld-environment-scanner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

experiments/src/skills/alfworld/alfworld-environment-scanner/SKILL.md · 29 lines

How it starts

The opening of the file, as written. The whole thing — 29 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Instructions

Primary Objective

Execute an initial environmental scan at the start of any Alfworld task. Your goal is to systematically identify and catalog all objects and receptacles mentioned in the initial observation text.

Core Workflow

  1. Trigger: This skill is triggered immediately upon receiving the initial environment description from the simulator (e.g., "You are in the middle of a room. Looking quickly around you, you see...").
  2. Parse & Extract: Process the raw observation text. Extract every noun phrase that represents a physical entity (object or receptacle). Note the naming convention (e.g., "armchair 2", "diningtable 1").
  3. Categorize: Mentally categorize each entity. A receptacle is a surface or container that can hold other objects (e.g., sofa, sidetable, diningtable, dresser). An object is an item that can be manipulated (e.g., laptop, creditcard, pillow). Some entities (like ottoman) can be both depending on context.
  4. Output Structured Mental Map: Formulate a clear, concise internal summary. Do not output this summary to the simulator—it is for your planning use only.
    • Format: Scan Complete. Receptacles: [list]. Objects: [list].
    • Example: Based on the trajectory, the mental map should be: Scan Complete. Receptacles: [armchair 2, armchair 1, diningtable 1, drawer 4, drawer 3, drawer 2, drawer 1, dresser 1, garbagecan 1, ottoman 1, sidetable 3, sidetable 2, sidetable 1, sofa 1]. Objects: []. (Note: Initial scan only lists visible furniture; objects on them are discovered upon interaction.)

Execution Rules

  • Single Action: This skill culminates in a single go to <receptacle> action to begin the task-specific search. Choose the most logical first receptacle to inspect (e.g., large central surfaces like diningtable 1 or sofa 1).
  • No Looping: Do not create a loop of go to actions. After executing the first go to, the skill ends, and standard task planning takes over.
  • Integration: The mental map generated by this skill must inform all subsequent planning. When searching for a target object, reason about which receptacles from your map are most likely to contain it.

Read the full file on GitHub · 29 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 29 lines · 65 tokens per session scan A 344aa0d87d56

Subscribe to this mod's changes

alfworld-environment-scanner is a skill published in the GitHub repository zjunlp/SkillNet (1,253 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 755 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

zjunlp/DataMind · 45 tokens

Total_Fees_Calculation

Skill for computing total payment processing fees for a merchant over a specific day, date range, or month in the dabstep dataset. Use this skill whenever the question asks for "total fees", "fees paid", or "fees charged" for a merchant over some time period. The computation requires matching each transaction to a fee…

zjunlp/DataMind · 101 tokens

ddr-globem-analysis

Analyze a specific participant's longitudinal passive-sensing and psychological data in the GLOBEM digital depression research dataset. Use this skill whenever the task involves: analyzing a user's mental health or behavioral data from wearables/smartphones, generating QA pairs about behavioral/psychological changes…

zjunlp/DataMind · 98 tokens

mimic-iv-patient-analysis

Comprehensive strategy for analyzing individual patient records in MIMIC-IV EHR database and generating high-quality, diverse QA pairs. Use this skill whenever the task involves analyzing a specific patient's clinical data from MIMIC-IV (or similar EHR databases), querying across hospital and ICU tables, and…

zjunlp/DataMind · 118 tokens

applicable-fee-ids

Solve questions about which fee IDs apply to a payment merchant, transaction characteristics, or time period in the dabstep dataset. Use this skill for any question asking "which fee IDs apply to X", "what are the applicable fee IDs for merchant Y", "which merchants are affected by fee Z", or any query involving…

zjunlp/DataMind · 81 tokens

Dataset_Metadata_and_Business_Rules

Answers questions about the structure, metadata, field definitions, and business rules of the dabstep payment processing dataset. Use this skill when questions ask about: column names, field meanings, fee rule structure, which factors affect fees, fee formula, boolean factor effects on cost, volume/fraud/capture-delay…

zjunlp/DataMind · 101 tokens