Agent skill

Device File Search

by pockebot in pockebot/openpocket

Locate and verify files on Android storage before upload/share, especially latest edited photos or videos.

MITAuto-check passedMobile

Install Device File Search

skills CLI
$ npx skills add pockebot/openpocket --skill device-file-search -a claude-code

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

GitHub CLI
$ gh skill install pockebot/openpocket device-file-search --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/pockebot/openpocket.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/device-file-search .claude/skills/device-file-search && 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
device-file-search
GitHub stars
847
Token cost
~575 tokens
SKILL.md length
225 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Locate and verify files on Android storage before upload/share, especially latest edited photos or videos.

  • Mobile work in your project
  • SKILL.md covers Goal, Default Search Order, Command Patterns and Reliability Rules, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Device File Search is an agent skill from pockebot/openpocket. Locate and verify files on Android storage before upload/share, especially latest edited photos or videos.

Its SKILL.md is about 580 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 Mobile. It works with Android. The repository describes itself as: 🐹 An Intelligent Phone That Never Sleeps. The licence is MIT.

When your agent uses it

  • Mobile work in your project

Example prompts

  • “/device-file-search”

What it can do on your machine

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

    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

Device File Search loads about 575 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 225 words of instructions outside code blocks.

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

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 pockebot/openpocket at commit d4dae3d, republished under its MIT licence (© pockebot). 225 words, ~575 tokens.

Download SKILL.mdSave it as .claude/skills/device-file-search/SKILL.md (or your agent's skills folder).
name
device-file-search
description
Locate and verify files on Android storage before upload/share, especially latest edited photos or videos.

Use this skill when you need to find a saved file on the Agent Phone, then upload/share it in an app.

Goal

  • Return a real, existing absolute file path.
  • Prefer the newest matching file.
  • Avoid repeated blind searches.

Default Search Order

  1. Check likely output folders first:
  • /storage/emulated/0/DCIM/Camera
  • /storage/emulated/0/Pictures
  • /storage/emulated/0/Download
  • /storage/emulated/0/Movies
  1. For editor-specific outputs, try app-named subfolders:
  • /storage/emulated/0/Pictures/CapCut
  • /storage/emulated/0/Movies/CapCut
  • /storage/emulated/0/DCIM/Camera
  1. Only if still missing, run a wider find under /storage/emulated/0.

Command Patterns

Use shell (device-side), not workspace exec.

  • Quick latest list: shell("sh -lc 'ls -1t /storage/emulated/0/DCIM/Camera | head -n 20'")

  • Wider image search: shell("sh -lc 'find /storage/emulated/0 -type f \\( -iname \"*.jpg\" -o -iname \"*.jpeg\" -o -iname \"*.png\" -o -iname \"*.webp\" \\) | head -n 400'")

  • Wider video search: shell("sh -lc 'find /storage/emulated/0 -type f \\( -iname \"*.mp4\" -o -iname \"*.mov\" -o -iname \"*.mkv\" \\) | head -n 400'")

  • Verify one candidate path: shell("ls -l /storage/emulated/0/DCIM/Camera/<filename>")

Reliability Rules

  • Prefer /storage/emulated/0/... over /sdcard/... (symlink issues can hide find results).
  • If /sdcard must be used, use find -L /sdcard ....
  • After editing/saving, prioritize files modified in the last few minutes.
  • Before telling the user "not found", verify at least 2 directories + 1 wide search.

After Found

  • Keep the exact absolute path in memory for the rest of the task.
  • Reuse the same path for upload/share actions.
  • If upload fails, retry with the same verified path before starting a new search.

© pockebot, MIT. 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 skills/device-file-search of pockebot/openpocket.

Open the folder on GitHubat commit d4dae3d

Compare with similar skills

Device File Search 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.

Device File Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Device File Search this skillpockebot/openpocket847—~575Automated safety check: PassMIT
Compose Multiplatform Patternsmonta-app/ocpp-emulator1805 repos~2kAutomated safety check: PassApache-2.0
Phone HarnessShawnPana/phone-harness3.2k—~4.3kAutomated safety check: PassMIT
Stylesarindamxd/camerax-android1324 repos~2.3kAutomated safety check: PassApache-2.0
Verified Emailarindamxd/camerax-android1324 repos~4.7kAutomated safety check: PassApache-2.0
Argent Metro Debuggerbbplayer-app/BBPlayer1.2k—~3.4kAutomated safety check: PassMIT

Similar skills

  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Phone Harness

    ShawnPana/phone-harness

    Control the user's phone — an iPhone through the Mac's iPhone Mirroring window, an Android over adb, or a rented cloud Android: open apps, tap, type, swipe, read the screen.

    3.2k GitHub stars~4.3k tokensUpdated today
    MobileAuto-check passed
  • Styles

    arindamxd/camerax-android

    A skill your agent uses to integrate the Jetpack Compose Styles API into an Android project.

    132 GitHub starsUsed in 4 repos~2.3k tokens
    MobileAuto-check passed
  • Verified Email

    arindamxd/camerax-android

    Provides a complete workflow for implementing verified email retrieval on Android Credential Manager API.

    132 GitHub starsUsed in 4 repos~4.7k tokens
    MobileAuto-check passed
  • Argent Metro Debugger

    bbplayer-app/BBPlayer

    Debug a JS runtime via CDP using argent debugger tools. An agent skill from bbplayer-app/BBPlayer.

    1.2k GitHub stars~3.4k tokensUpdated yesterday
    MobileAuto-check passed
  • 统一 Android XML 资源命名:layout、drawable、mipmap、color、values、id 的前缀与 snakecase 规则;把颜色/圆角/描边/状态编码进文件名(bg、border、textcolor…selector)。

    1.6k GitHub stars~1.3k tokensUpdated 1 mo ago
    MobileAuto-check passed

More from pockebot/openpocket

All 23 skills in this repo
  • Capcut Edit

    pockebot/openpocket

    Edit videos and beautify photos in CapCut on mobile. An agent skill from pockebot/openpocket.

    847 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Clash Of Clans Play

    pockebot/openpocket

    Play Clash of Clans on mobile with autonomous tactical decisions.

    847 GitHub stars~1.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Duolingo Play

    pockebot/openpocket

    Help users complete Duolingo language lessons. An agent skill from pockebot/openpocket.

    847 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Human Auth Biometric

    pockebot/openpocket

    Handle biometric authentication delegation (fingerprint, face recognition) when the Agent Phone lacks biometric hardware.

    847 GitHub stars~506 tokensUpdated 3 mo ago
    Auto-check passed
  • Human Auth Camera

    pockebot/openpocket

    Handle camera photo capture delegation from Human Phone. An agent skill from pockebot/openpocket.

    847 GitHub stars~569 tokensUpdated 3 mo ago
    Auto-check passed
  • Human Auth Contacts Data

    pockebot/openpocket

    Handle contacts, calendar, files, and notification data delegation from Human Phone.

    847 GitHub stars~669 tokensUpdated 3 mo ago
    Auto-check passed

Works with

Categories

Questions about Device File Search

What does Device File Search do?

Locate and verify files on Android storage before upload/share, especially latest edited photos or videos. Device File Search is an agent skill from pockebot/openpocket. Locate and verify files on Android storage before upload/share, especially latest edited photos or videos.

When should I use Device File Search?

Device File Search fits situations like: mobile work in your project.

How do I install Device File Search in Claude Code?

Run `npx skills add pockebot/openpocket --skill device-file-search -a claude-code`. Or copy the skill folder (skills/device-file-search in pockebot/openpocket) into .claude/skills/device-file-search in your project. Claude Code loads it when a task matches its description.

How do I install Device File Search in Codex?

Run `npx skills add pockebot/openpocket --skill device-file-search -a codex`. Or copy the skill folder (skills/device-file-search in pockebot/openpocket) into .agents/skills/device-file-search in your project. Codex loads it when a task matches its description.

Can I use Device File Search 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 pockebot/openpocket --skill device-file-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/device-file-search, .gemini/skills/device-file-search, .github/skills/device-file-search and .opencode/skills/device-file-search in your project.

What does Device File Search need to run?

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

Does Device File Search 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 Device File Search 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 Device File Search use?

Device File Search is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Device File Search use?

About 575 tokens (SKILL.md is roughly 2.3k 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 Device File Search?

Skills that share tags, products or a category with Device File Search: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Phone Harness (ShawnPana/phone-harness, 3.2k stars), Styles (arindamxd/camerax-android, 132 stars) and Verified Email (arindamxd/camerax-android, 132 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Device File Search?

pockebot (a GitHub organization) maintains it in pockebot/openpocket, which has 847 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on July 9, 2026.

Source: pockebot/openpocket on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.