open_library
Play demoTry asking
- Open the Linux command library
- open Linux Command Library
ghost skill run ghost/linux-command-library open_library Linux Command Library (F-Droid): an offline reference of thousands of Linux commands. Search a command, open its page and read the TLDR examples, synopsis, description and parameters. No account.
Agent run: finished without the skill, finished with it (not independently checked).
One recorded run each way, claude-haiku-5-5, same phone and same prompt. Watch it in the Before / after tab.
6.7× fewer tokens, 1.3× slower with the skill. Agent run: finished without the skill, finished with it (not independently checked).
| Run | Time | Tokens | Tool calls | Result |
|---|---|---|---|---|
| No skill: agent drives by hand | 35.4 s | 203,190 | 11 | finished |
| With skill: find_skill, run_skill | 45.2 s | 30,432 | 4 | finished |
Prompt: Open the tar command in the Linux command library and tell me how to extract a gzip compressed archive. Do not use the Play Store, no installs, no sign-in.
Same prompt, same phone, clean app state per side. Left: no skill, the agent drives the UI by hand. Right: find_skill + run_skill. 'ok' means the agent finished its turn; the result was not independently checked.
One recorded pair on samsung-a03s, claude-haiku-5-5; tokens count every input, cache and output token once per assistant message. Not a signed run: it adds no run evidence.
Control Linux Command Library on Android with an AI agent. Look up Linux commands offline: an agent searches a command and reads its examples, synopsis and options.
Target search phrase: AI agent looks up Linux commands on Android
Demo shows: search_commands (query=tar)
Ghost in the Droid seed skill for Linux Command Library (
com.inspiredandroid.linuxcommandbibliotheca), an offline reference of Linux commands. Search results, section headers and the text of each section are plain nodes, so an agent can look up exact examples and options. Offline, no account.
| Action | What it does | Params |
|---|---|---|
open_library | Restart the app and read the start screen. | none |
search_commands | Search commands by name; returns the number of matches and the first result names. | query |
open_command | Open a command page by its exact name (searches for it first if needed) and list its sections. | name |
read_section | Read one section of the open command page: TLDR (default, example pairs), SYNOPSIS, DESCRIPTION, PARAMETERS, INSTALL, CAVEATS, HISTORY or SEE ALSO. | section |
get_state | Read the current screen: start, search results or an open command with its visible sections. | none |
An agent can drive the whole app with these; compose them.
| Role | Action |
|---|---|
| Entry | open_library |
| Primitives | search_commands, open_command, read_section |
| Read state | get_state |
The app: F-Droid, or https://f-droid.org/packages/com.inspiredandroid.linuxcommandbibliotheca/. The skill:
pip install "ghost-in-the-droid>=1.6.0" # 1.6.0 is not on PyPI yet: until it ships, git clone the repo and `pip install -e .`
ghost skill install ghost/linux-command-library
ghost skill run ghost/linux-command-library open_command --param name=tar --device <serial>
ghost skill run ghost/linux-command-library read_section --param section=TLDR --device <serial>
run_skill(name="ghost/linux-command-library", action="read_section", params={"section": "TLDR"})
# {"result": {"lines": ["Create an archive from files", "tar -cvf [archive.tar] [file1] [file2]", ...]}}
Try asking: "Open the tar command in the Linux command library and tell me how to extract a gzip compressed archive."
Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Linux Command Library 175. License: MIT.
| App version | Android | Device | Skill version | Dates |
|---|---|---|---|---|
| 175 | 13 | Samsung real phone (720x1600, 300 dpi, en-GB) | 1.0.0 | 2026-11-02 |
SOFT.md is the narrative an agent reads when the exact steps no longer match your app version and it has to adapt the skill.
What each action means, which UI landmarks it relies on and how success is recognised, so an agent can adapt it to another app of this kind or another version.
Package: com.inspiredandroid.linuxcommandbibliotheca (Linux Command Library, Apache-2.0, version 175 from the official F-Droid repository, sha256-verified)
Verified: 2026-11-02 on a real Samsung phone, Android 13, 720x1600 @ 300 dpi, en-GB. Offline, no account.
Skill class: HARD. No login, no checkpoints.
Commands (n) and one row per result.open_library()Force-stops and relaunches.
search_commands(query)Types the query into the search field (clearing the old one) and reads the result rows.
open_command(name)Taps the matching result row.
read_section(section)Scrolls to the header, expands it if collapsed and reads the text, scrolling for long sections.
get_state()Reads the search field, result rows or command header.
Categories, the Basics and Tips tabs, bookmarks and the AI tools are not driven. The sections list in the state only contains the headers visible on screen.
Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.
open_libraryTry asking
ghost skill run ghost/linux-command-library open_library search_commandsTry asking
ghost skill run ghost/linux-command-library search_commands open_commandTry asking
ghost skill run ghost/linux-command-library open_command read_sectionTry asking
ghost skill run ghost/linux-command-library read_section get_stateTry asking
ghost skill run ghost/linux-command-library get_state Each release is an immutable git tag. The tree hash pins the exact skill directory the installer verifies.
| Version | Released | App versions | Tree | Size | Provenance |
|---|---|---|---|---|---|
1.0.0latest | never | >=4.9 | pending | 19.1 KB | untagged |