Agent skill

Gallery Memory

by OPPO-Mente-Lab in OPPO-Mente-Lab/X-OmniClaw

Sync gallery images into long-term memory files and rebuild the user profile from photo-derived memories.

Apache-2.0Auto-check passedAgent Workflows

Install Gallery Memory

skills CLI
$ npx skills add OPPO-Mente-Lab/X-OmniClaw --skill gallery-memory -a claude-code

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

GitHub CLI
$ gh skill install OPPO-Mente-Lab/X-OmniClaw gallery-memory --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/OPPO-Mente-Lab/X-OmniClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/src/main/assets/skills/gallery-memory .claude/skills/gallery-memory && 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
gallery-memory
GitHub stars
265
Token cost
~786 tokens
SKILL.md length
344 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Sync gallery images into long-term memory files and rebuild the user profile from photo-derived memories.

  • Works in 6 steps: Start with a small max_images value for… → The maintained IMAGE-MEMORY.md format… → Keep each image summary short enough… → …
  • Tasks that involve Agent memory
  • SKILL.md covers Preferred Tool, Recommended Calls, Scheduling Pattern and Best Practices
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Gallery Memory is an agent skill from OPPO-Mente-Lab/X-OmniClaw. Sync gallery images into long-term memory files and rebuild the user profile from photo-derived memories.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent memory. The repository describes itself as: An edge-native Multimodal Android Agent that integrates multimodal perception, memory and action. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Agent memory

Example prompts

  • “/gallery-memory”

Workflow steps

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

  1. Start with a small max_images value for the first real-device verification.
  2. The maintained IMAGE-MEMORY.md format should stay compact: filename, time, album (image source bucket), summary, and a clear separator…
  3. Keep each image summary short enough that gallery-qa can load the entire file into context.
  4. Prefer sync before build_profile, so the profile reflects the newest image memories.
  5. If the user asks for daily or hourly gallery syncing, combine this skill with scheduled-automation.
  6. If the user mentions privacy concerns, remind them that sensitive content should be filtered and the feature should only run with explicit…

What it can do on your machine

Read from SKILL.md and the folder at commit 8614c93. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    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

Gallery Memory loads about 786 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 344 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~786

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 OPPO-Mente-Lab/X-OmniClaw at commit 8614c93, republished under its Apache-2.0 licence (© OPPO-Mente-Lab). 344 words, ~786 tokens.

Download SKILL.mdSave it as .claude/skills/gallery-memory/SKILL.md (or your agent's skills folder).
name
gallery-memory
description
Sync gallery images into long-term memory files and rebuild the user profile from photo-derived memories.

Use this skill when the user wants to:

  • scan new images from the phone gallery
  • extract memories from screenshots or photos
  • rebuild a user profile from image memories
  • schedule periodic gallery memory updates

Do not use this skill as the first choice for questions like 今天我拍了什么照片 or 我最近拍过什么截图. For image-question answering or gallery-image operations based on existing memory/IMAGE-MEMORY.md, prefer gallery-qa.

This skill is responsible for producing and maintaining image memories. It is not the primary consumer for gallery-image questions or operations once memory/IMAGE-MEMORY.md already exists. When image memories are already available:

  • gallery-qa should consume them
  • the full memory/IMAGE-MEMORY.md file should be loaded into context
  • later execution should rely on the filename stored in each entry, not wildcard filename guesses

Preferred Tool

Use gallery_memory as the direct tool for this workflow.

Supported actions:

  • sync: scan new gallery images, summarize them, and rewrite memory/IMAGE-MEMORY.md in compact format (filename, time, album, summary)
  • build_profile: rebuild memory/USER-PROFILE.md from existing memories
  • status: inspect cursor and output file availability
  • reset_cursor: clear the incremental scan cursor
  • clear_image_memories: reset memory/IMAGE-MEMORY.md to the initial template
  • clear_user_profile: reset memory/USER-PROFILE.md to the initial template
  • reset_all: clear both files and reset the scan cursor
Sync and rebuild profile
json
{
  "action": "sync",
  "max_images": 10,
  "update_profile": true
}
Only rebuild profile
json
{
  "action": "build_profile"
}
Check status
json
{
  "action": "status"
}

Scheduling Pattern

To run this periodically, combine it with schedule_task.

Example idea:

  • create a scheduled task
  • set instruction to a natural-language request that clearly tells the agent to use gallery_memory

Example instruction:

使用 gallery_memory 工具同步相册中的新增图片记忆,并更新用户画像。

Best Practices

  1. Start with a small max_images value for the first real-device verification.
  2. The maintained IMAGE-MEMORY.md format should stay compact: filename, time, album (image source bucket), summary, and a clear separator between entries.
  3. Keep each image summary short enough that gallery-qa can load the entire file into context.
  4. Prefer sync before build_profile, so the profile reflects the newest image memories.
  5. If the user asks for daily or hourly gallery syncing, combine this skill with scheduled-automation.
  6. If the user mentions privacy concerns, remind them that sensitive content should be filtered and the feature should only run with explicit authorization.

© OPPO-Mente-Lab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in app/src/main/assets/skills/gallery-memory of OPPO-Mente-Lab/X-OmniClaw.

Open the folder on GitHubat commit 8614c93

Compare with similar skills

Gallery Memory 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.

Gallery Memory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gallery Memory this skillOPPO-Mente-Lab/X-OmniClaw265—~786Automated safety check: PassApache-2.0
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Reflect on Session Learningscursor/plugins10k5 repos~1.2kAutomated safety check: PassNone
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT
Compound Learning WriterEveryInc/compound-engineering-plugin25k—~2kAutomated safety check: PassMIT

Similar skills

  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 8 days ago
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Official

    Starts three parallel reviewer subagents over the current conversation transcript, then turns their findings into concrete edits to existing skills.

    10k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Compound Learning Writer

    EveryInc/compound-engineering-plugin

    Records one solved and verified problem as a durable learning in the repository, but only when the reasoning is not already clear from the final code, tests or docs.

    25k GitHub stars~2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from OPPO-Mente-Lab/X-OmniClaw

All 14 skills in this repo
  • Feishu Bitable

    OPPO-Mente-Lab/X-OmniClaw

    Feishu multi-dimensional table (Bitable) operations. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~631 tokensUpdated 4 mo ago
    Auto-check passed
  • Feishu Chat

    OPPO-Mente-Lab/X-OmniClaw

    Feishu chat operations. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~592 tokensUpdated 4 mo ago
    Auto-check passed
  • Feishu Task

    OPPO-Mente-Lab/X-OmniClaw

    Feishu task management operations. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~482 tokensUpdated 4 mo ago
    Auto-check passed
  • Feishu Urgent

    OPPO-Mente-Lab/X-OmniClaw

    Feishu urgent notification tool. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~601 tokensUpdated 4 mo ago
    Auto-check passed
  • App Search

    OPPO-Mente-Lab/X-OmniClaw

    主流APP搜索。当用户想要在拼多多、美团、高德地图、抖音、快手、小红书、哔哩哔哩、知乎、百度、OPPO音乐、OPPO软件商店等APP中搜索时激活。覆盖电商购物、生活服务、短视频内容、知识搜索、音乐搜索、应用商店搜索等场景。

    265 GitHub stars~4.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Capcut Theme Video

    OPPO-Mente-Lab/X-OmniClaw

    CapCut (剪映) one-tap video creation on Android. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Gallery Memory

What does Gallery Memory do?

Sync gallery images into long-term memory files and rebuild the user profile from photo-derived memories. Gallery Memory is an agent skill from OPPO-Mente-Lab/X-OmniClaw. Sync gallery images into long-term memory files and rebuild the user profile from photo-derived memories.

When should I use Gallery Memory?

Gallery Memory fits situations like: tasks that involve Agent memory.

How do I install Gallery Memory in Claude Code?

Run `npx skills add OPPO-Mente-Lab/X-OmniClaw --skill gallery-memory -a claude-code`. Or copy the skill folder (app/src/main/assets/skills/gallery-memory in OPPO-Mente-Lab/X-OmniClaw) into .claude/skills/gallery-memory in your project. Claude Code loads it when a task matches its description.

How do I install Gallery Memory in Codex?

Run `npx skills add OPPO-Mente-Lab/X-OmniClaw --skill gallery-memory -a codex`. Or copy the skill folder (app/src/main/assets/skills/gallery-memory in OPPO-Mente-Lab/X-OmniClaw) into .agents/skills/gallery-memory in your project. Codex loads it when a task matches its description.

Can I use Gallery Memory 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 OPPO-Mente-Lab/X-OmniClaw --skill gallery-memory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gallery-memory, .gemini/skills/gallery-memory, .github/skills/gallery-memory and .opencode/skills/gallery-memory in your project.

What does Gallery Memory need to run?

SKILL.md names no scripts, command-line tools or credentials: Gallery Memory is instructions for the agent only.

Does Gallery Memory 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 Gallery Memory 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 Gallery Memory use?

Gallery Memory is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gallery Memory use?

About 786 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gallery Memory?

Skills that share tags, products or a category with Gallery Memory: Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), Beads Task Memory (gastownhall/beads, 28k stars), Reflect on Session Learnings (cursor/plugins, 10k stars) and MemPalace Memory Search (MemPalace/mempalace, 59k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gallery Memory?

OPPO-Mente-Lab (a GitHub organization) maintains it in OPPO-Mente-Lab/X-OmniClaw, which has 265 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on May 22, 2026.

Source: OPPO-Mente-Lab/X-OmniClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.