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.
npx skills add pockebot/openpocket --skill device-file-searchgit clone --depth 1 https://github.com/pockebot/openpocketWrote 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.
[](https://agentmods.dev/skills/pockebot/openpocket/device-file-search)<a href="https://agentmods.dev/skills/pockebot/openpocket/device-file-search"><img src="https://agentmods.dev/badge/skills/pockebot/openpocket/device-file-search/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.
<a href="https://agentmods.dev/skills/pockebot/openpocket/device-file-search"><img src="https://agentmods.dev/badge/skills/pockebot/openpocket/device-file-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00641 |
| Opus 5.5 | $0.00009 | $0.00256 |
| Sonnet 5.5 | $0.00004 | $0.00128 |
| Haiku 4.5 | $0.00002 | $0.00064 |
Grade A, and why
device-file-search 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 3mo 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.
What it actually says
Device File Search
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
- Check likely output folders first:
/storage/emulated/0/DCIM/Camera/storage/emulated/0/Pictures/storage/emulated/0/Download/storage/emulated/0/Movies
- For editor-specific outputs, try app-named subfolders:
/storage/emulated/0/Pictures/CapCut/storage/emulated/0/Movies/CapCut/storage/emulated/0/DCIM/Camera
- Only if still missing, run a wider
findunder/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 hidefindresults). - If
/sdcardmust be used, usefind -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.
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.
- 3mo ago First seen · 60 lines · 22 tokens per session scan A 692c84f29d2a
device-file-search is a skill published in the GitHub repository pockebot/openpocket (852 stars, last pushed 4mo ago), licensed MIT. It adds 22 tokens to every session and 641 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.
device-file-search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| device-file-searchpockebot/openpocket | Skill | 852 | 4mo ago | MIT | A | 22 | Claude Code, Codex |
| orca-emulator-androidstablyai/orca | Skill | 154k | today | MIT | A | 102 | Claude Code, Codex |
| android-multiprofilechromium/chromium | Skill | 26k | today | BSD-3-Clause | A | 73 | Claude Code, Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 10d ago | Apache-2.0 | A | 56 | Claude Code |
| android-tombstone-symbolicationdotnet/skills | Skill | 6.4k | today | MIT | A | 176 | Claude Code |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |
| winapp-mauimicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 68 | Claude Code |