Skip to content
Agentmart
Submit a tool

in-context-action-learning

Infer task goals and a useful strategy from visual demonstrations (an image sequence of a human or robot completing the task, or a terminal-state image), and…

Skill by robot-agent-exploration

IndexedApache-2.0★ 184
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/robot-agent-exploration-in-context-action-learning

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Infer task goals and a useful strategy from visual demonstrations (an image sequence of a human or robot completing the task, or a terminal-state image), and from videos of similar tasks and descriptions of the objects found on the internet. Use before acting.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/in-context-action-learning

What's inside

Skill name
in-context-action-learning
Description
Infer task goals and a useful strategy from visual demonstrations (an image sequence of a human or robot completing the task, or a terminal-state image), and from videos of similar tasks and descriptions of the objects found on the internet. Use before acting.
License
Apache-2.0
Instructions
47 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# In-context action learning

Demonstrations are images only. They contain no actions, robot state, poses,
calibration or timing: use them for visual intent and strategy, never as executable
motion data. They may show a different layout, a human hand or another robot.
Satisfy every condition in `TASK.md` in the current scene.

## Retrieve

- Retrieve matching tips and learned skills first
  ([experience-memory](../experience-memory/SKILL.md)), then view the demonstration
  images `TASK.md` lists.
- For a sequence, keep the supplied order and identify the visible phases, contacts,
  object relations and the final effect. Do not infer timing or interpolate missing
  phases.
- For a terminal-state image, infer only the desired end relationships; devise the
  intermediate behavior yourself.
- Search the internet for videos of similar tasks and descriptions of the objects (size,
  weight, material, how their parts move), and sample a video's frames with OpenCV.
  Record what you used, with its URL, in memory.

## Adapt

- Transfer semantic structure: approach side, contact order, grasp region, relative
  placement and what completion looks like. A demonstrator's body does not define this
  robot's arm, pose or trajectory.
- Do not imitate every demonstrated action; choose simpler actions that reach the same
  required outcome on this robot.
- Ground all geometry again from current observations with
  [object-localization](../object-localization/SKILL.md), and build actions with the
  tools [robot-interface](../robot-interface/SKILL.md) describes. Never estimate
  metric targets or action magnitudes from demonstration pixels.
- When several interpretations remain plausible, compare them from the same measured
  start state, with the robot's dry-run tools where it has them.

## Update from experience

- Associate each visual interpretation with its observed effect; do not repeat an
  ineffective interpretation under the same conditions.
- On a new episode or attempt, revisit the failed attempt's before, action and after
  evidence and revise the plan.
- Turn the strategy into controller logic that reacquires current geometry instead of
  assuming the demonstrated layout.
- Promote only reusable, evidence-backed results through experience-memory, noting the
  demonstration images you used as provenance.

From robot-agent-exploration/rax, Apache-2.0.

More from robot-agent-exploration/rax

Compare and alternatives

    Featured in

    Signals

    Stars
    184
    Forks
    12
    Open issues
    0
    Last commit (this folder)
    Oct 18, 2026 (9 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    Apache-2.0
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from robot-agent-exploration

    Cite this page

    in-context-action-learning skill. Agent Mart. https://agentmart.dev/skills/robot-agent-exploration-in-context-action-learning (last updated 2026-10-24)