alfworld-search-pattern-executor

alfworld-search-pattern-executor is a skill for Claude Code, Codex from zjunlp/SkillNet. It costs 74 tokens per session (588 once invoked), scanned A, original, MIT.

An ALFWorld search helper for checking a list of possible locations for an object in a simulated household. It navigates to each place, opens closed containers, and inspects what is inside.

In plain words
What is it for?
Finding and taking an object from drawers, cabinets, or other listed receptacles, while closing containers after checking them.
Why use it?
It removes repetitive search work and keeps the agent from skipping candidate locations.

Skill for Claude CodeCodex

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-search-pattern-executor
Any agent
npx skills add zjunlp/SkillNet --skill alfworld-search-pattern-executor
Clone the repo
git clone --depth 1 https://github.com/zjunlp/SkillNet

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge for your README with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them.

agentmods badge for alfworld-search-pattern-executor

README.md
[![agentmods](https://agentmods.dev/badge/skills/zjunlp/skillnet/alfworld-search-pattern-executor.svg)](https://agentmods.dev/skills/zjunlp/skillnet/alfworld-search-pattern-executor)
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 588 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.00074 $0.00588
Opus 5 $0.00037 $0.00294
Sonnet 5 $0.00015 $0.00118
Haiku 4.5 $0.00007 $0.00059

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

Security

Grade A, and why

alfworld-search-pattern-executor 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 3d 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-search-pattern-executor/SKILL.md · 48 lines

What it actually says

Instructions

For each candidate receptacle in order, execute this action sequence:

Workflow

  1. Navigate: go to {receptacle}
  2. Open if closed: If observation says "{receptacle} is closed", execute open {receptacle}
  3. Inspect: Read the observation for the target object name
  4. If found: Execute take {target_object} from {receptacle} and stop searching
  5. If not found: If you opened the receptacle, execute close {receptacle}, then continue to the next candidate
  6. If all exhausted: Report that the target was not found in any candidate location

Action Format

  • go to {receptacle} -- navigate to a location
  • open {receptacle} -- open a closed drawer/cabinet/fridge
  • close {receptacle} -- close after checking (state management)
  • take {object} from {receptacle} -- pick up the target when found

Key Rules

  • Search candidates in order; do not skip locations
  • Always close drawers/cabinets after checking if you opened them
  • Once the object is found, immediately stop searching and proceed to the next task phase
  • If "Nothing happened" is returned, verify the receptacle name and retry with the correct identifier

Example

Goal: "find two remotecontrol and put them in armchair."

Thought: I need to find remotecontrol. Candidates: sofa 1, sidetable 1, coffeetable 1. Starting search.
Action: go to sofa 1
Observation: On the sofa 1, you see a pillow 1.
Thought: No remotecontrol on sofa 1. Checking next candidate.
Action: go to sidetable 1
Observation: On the sidetable 1, you see a keychain 1.
Thought: Not here either. Checking coffeetable.
Action: go to coffeetable 1
Observation: On the coffeetable 1, you see a remotecontrol 1, a remotecontrol 2.
Action: take remotecontrol 1 from coffeetable 1
Observation: You pick up the remotecontrol 1 from the coffeetable 1.

Result: First remotecontrol found and picked up. Proceed to place it in armchair 1, then re-activate search for the second one.

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. 3d ago First seen · 48 lines · 74 tokens per session scan A e6fbd32908d6

Subscribe to this mod's changes

alfworld-search-pattern-executor is a skill published in the GitHub repository zjunlp/SkillNet (1,253 stars, last pushed 14d ago), licensed MIT. It adds 74 tokens to every session and 588 once invoked, about $0.0004 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

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

Fee_Delta_and_Impact_Simulation

Solve dabstep FeeDeltaandImpactSimulation questions: computing fee deltas when a fee's rate changes, and identifying which merchants are affected by fee rule changes. Use when asked about fee impact, delta payments, rate changes, or which merchants would be affected by modifying a fee rule.

zjunlp/DataMind · 0 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