Agent skill

Alfworld Search Pattern Executor

by zjunlp in zjunlp/SkillNet

Systematically searches a sequence of likely locations for a target object based on common sense.

MITAuto-check passedAgent Workflows

Install Alfworld Search Pattern Executor

skills CLI
$ npx skills add zjunlp/SkillNet --skill alfworld-search-pattern-executor -a claude-code

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

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

At a glance

Systematically searches a sequence of likely locations for a target object based on common sense.

  • Works in 6 steps: Navigate: go to {receptacle} → Open if closed: If observation says… → Inspect: Read the observation for the… → …
  • You need to find a specific object and know which receptacles to check but not which one contains it
  • SKILL.md covers Workflow, Action Format, Key Rules and Example
  • Calls go

What it does

Alfworld Search Pattern Executor is an agent skill from zjunlp/SkillNet. Systematically searches a sequence of likely locations for a target object based on common sense. Use when you need to find a specific object and know which receptacles to check but not which one contains it. Takes a list of candidate receptacles, orchestrates navigation and inspection, and outputs when the target is found or all locations are exhausted.

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/common_sense_locations.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 find a specific object and know which receptacles to check but not which one contains it

Example prompts

  • “/alfworld-search-pattern-executor”

Workflow steps

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

  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

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 Search Pattern Executor loads about 600 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 196 words of instructions outside code blocks.

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

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). 196 words, ~600 tokens.

Download SKILL.mdSave it as .claude/skills/alfworld-search-pattern-executor/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
alfworld-search-pattern-executor
description
Systematically searches a sequence of likely locations for a target object based on common sense. Use when you need to find a specific object and know which receptacles to check but not which one contains it. Takes a list of candidate receptacles, orchestrates navigation and inspection, and outputs when the target is found or all locations are exhausted.

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.

© 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-search-pattern-executor of zjunlp/SkillNet.

  • SKILL.md
  • references/common_sense_locations.md

Open the folder on GitHubat commit 3fcebf8

Compare with similar skills

Alfworld Search Pattern Executor 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 Search Pattern Executor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Alfworld Search Pattern Executor this skillzjunlp/SkillNet1.4k—~600Automated 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 today
    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 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
  • 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 Search Pattern Executor

What does Alfworld Search Pattern Executor do?

Systematically searches a sequence of likely locations for a target object based on common sense. Alfworld Search Pattern Executor is an agent skill from zjunlp/SkillNet. Systematically searches a sequence of likely locations for a target object based on common sense.

When should I use Alfworld Search Pattern Executor?

Alfworld Search Pattern Executor fits situations like: you need to find a specific object and know which receptacles to check but not which one contains it.

How do I install Alfworld Search Pattern Executor in Claude Code?

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

How do I install Alfworld Search Pattern Executor in Codex?

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

Can I use Alfworld Search Pattern Executor 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-search-pattern-executor -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-search-pattern-executor, .gemini/skills/alfworld-search-pattern-executor, .github/skills/alfworld-search-pattern-executor and .opencode/skills/alfworld-search-pattern-executor in your project.

What does Alfworld Search Pattern Executor need to run?

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

Does Alfworld Search Pattern Executor 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 Search Pattern Executor 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 Search Pattern Executor use?

Alfworld Search Pattern Executor 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 Search Pattern Executor use?

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

What are the alternatives to Alfworld Search Pattern Executor?

Skills that share tags, products or a category with Alfworld Search Pattern Executor: 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 Search Pattern Executor?

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.