Agent skill
scienceworld-target-identifier
Analyzes room observations to identify objects matching a given target description (e.g., 'living thing'). Triggered after exploring a room when the agent needs to locate a specific type of item. Processes the observation list, filters objects based on target criteria, and returns candidate objects for further action.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/scienceworld-target-identifier
SKILL.md
Skill: Target Object Identifier
Purpose
This skill enables you to systematically locate objects in the ScienceWorld environment that match a specific target description (e.g., "living thing", "container", "electrical device"). It transforms the raw observation text from look around into a structured list of candidate objects for your current task.
When to Use
- Trigger Condition: Immediately after executing
look aroundin any room. - Input Required: The full observation text from
look aroundAND the target description from your task. - Output: A prioritized list of matching objects with their locations and properties.
Execution Workflow
Step 1: Parse Observation
Extract all observable items from the room description. Pay special attention to:
- Objects listed after "Here you see:"
- Objects in containers (marked with "containing" or "On the X is:")
- Substances (marked as "a substance called")
- Living vs. non-living distinctions
Step 2: Apply Target Filter
Use the bundled classification script to filter objects based on the target description:
- For "living thing": Include animals, plants, eggs, and biological organisms
- For specific categories: Match against known object taxonomies
- For generic descriptions: Use semantic similarity matching
Step 3: Prioritize Candidates
Rank candidates by:
- Accessibility: Objects not in closed containers first
- Proximity: Objects in current room before other locations
- Task Relevance: Objects matching secondary task criteria (e.g., "easy to transport")
Step 4: Generate Action Plan
For each high-priority candidate:
- Note its exact name as it appears in observations
- Determine if
pick up,focus on, or other preliminary action is needed - Plan path to target location if specified in task
Key Considerations
- Exact Object Names: Use the exact phrasing from observations (e.g., "turtle egg" not "egg turtle")
- Container States: All containers are open per environment rules
- Teleportation: You can instantly move between rooms when searching
- Multiple Matches: If multiple objects match, select based on task context (e.g., choose less mobile items for transport tasks)
Error Handling
- If no matches found: Teleport to another room and repeat
- If ambiguous matches: Use
examine OBJfor clarification - If classification uncertain: Check reference taxonomy in bundled resources
Example Application
Task: "Find a living thing and move it to the blue box in bathroom"
look aroundin current room- Run this skill with target="living thing"
- Receive list: ["baby wolf", "turtle egg", "crocodile egg"]
- Select "turtle egg" (easier to transport)
focus on turtle egg→pick up turtle egg→teleport to bathroom→move turtle egg to blue box
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?