跳到主要内容
知仓学习社ZHICANG

alfworld-search-pattern-executor

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 kn…

不碰外部(只输出文字)无严重或高危命中zjunlp/SkillNet

它会碰到什么

扫了多少2 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。