gallery-memory

gallery-memory is a skill for Claude Code, Codex from OPPO-Mente-Lab/X-OmniClaw. It costs 21 tokens per session (732 once invoked), scanned A, original, Apache-2.0.

A skill for turning phone-gallery images into saved memories and a rebuilt user profile.

In plain words
What is it for?
Use it to scan new gallery images, extract memories, update an image-memory file, or rebuild a profile from those memories.
Why use it?
It keeps information from screenshots and photos available after the images are no longer being viewed directly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to scan new gallery images, extract memories, update an image-memory file, or rebuild a profile from those memories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oppo-mente-lab/x-omniclaw/gallery-memory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OPPO-Mente-Lab/X-OmniClaw --skill gallery-memory
Clone the repo
git clone --depth 1 https://github.com/OPPO-Mente-Lab/X-OmniClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gallery-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/oppo-mente-lab/x-omniclaw/gallery-memory/github.svg)](https://agentmods.dev/skills/oppo-mente-lab/x-omniclaw/gallery-memory)
Your own site
<a href="https://agentmods.dev/skills/oppo-mente-lab/x-omniclaw/gallery-memory"><img src="https://agentmods.dev/badge/skills/oppo-mente-lab/x-omniclaw/gallery-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gallery-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/oppo-mente-lab/x-omniclaw/gallery-memory"><img src="https://agentmods.dev/badge/skills/oppo-mente-lab/x-omniclaw/gallery-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 732 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00732
Opus 5.5 $0.00008 $0.00293
Sonnet 5.5 $0.00004 $0.00146
Haiku 4.5 $0.00002 $0.00073

Measured 1mo ago against content hash d0d031a2f9c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gallery-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

app/src/main/assets/skills/gallery-memory/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

gallery_memory

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

{
  "action": "sync",
  "max_images": 10,
  "update_profile": true
}

Only rebuild profile

{
  "action": "build_profile"
}

Check status

{
  "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

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 101 lines · 21 tokens per session scan A d0d031a2f9c2

Subscribe to this mod's changes

gallery-memory is a skill published in the GitHub repository OPPO-Mente-Lab/X-OmniClaw (266 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 732 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

harness-creator

Build, audit, and improve harnesses that make AI coding agents reliable: AGENTS.md/CLAUDE.md instruction files, feature/state tracking, verification gates, scope boundaries, session handoff, memory persistence, context budgets, tool-permission safety, and multi-agent coordination. Use this whenever a coding agent is…

walkinglabs/learn-harness-engineering · 142 tokens

browserwing-executor

Control browser automation through HTTP API. Supports page navigation, element interaction (click, type, select), data extraction, accessibility snapshot analysis, screenshot, JavaScript execution, and batch operations.

MemTensor/MemOS · 42 tokens

dev-browser

Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website"…

MemTensor/MemOS · 84 tokens

memory-poisoning-detection

Detect persistent instruction injection or long-term memory poisoning. Focus on writing/retaining hostile instructions for future tasks, not data leakage.

Tencent/AI-Infra-Guard · 33 tokens

ask-user-question

Ask users questions via the UI. Use when you need clarification, user preferences, or confirmation before proceeding. The user CANNOT see CLI output - this tool is the ONLY way to communicate with them.

MemTensor/MemOS · 44 tokens

memos-memory-guide

Use the MemOS Local memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query…

MemTensor/MemOS · 131 tokens