ghost/logical-fallacies

Logical Defence (F-Droid): list the logical fallacies, read one with its definition and example, group them by category. Offline, no account.

Runs 11.5× fewer tokens Score 37/100 Official hard skill python

Token savings

91% fewer tokens
Tokenswithout257,689with22,363 (91% fewer)
Timewithout32.7 swith50.7 s (55% more time)
Tool callswithout10with4 (60% fewer)

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.

Recorded: list_categories · live agent session on a real phone

Control Logical Defence on Android with an AI agent — look up logical fallacies

Control Logical Defence on Android with an AI agent. Look up logical fallacies on your phone: an agent lists them, reads definitions and examples and groups them by category.

Target search phrase: AI agent explains logical fallacies on Android

Demo shows: list_fallacies (category=On the Attack, limit=5)

Ghost in the Droid seed skill for Logical Defence (za.co.lukestonehm.logicaldefence), an offline encyclopedia of logical fallacies. Every entry (number, name, definition, example) is readable text, so an agent can look fallacies up and explain them. Offline, no account.

ActionWhat it doesParams
list_categoriesList the fallacy categories from the navigation drawer.none
list_fallaciesList the fallacies of a category (number and name); without a category the one on screen.category, limit
get_fallacyRead one fallacy by its exact name from any category: number, category, definition and example.name

Toolkit

An agent can drive the whole app with these; compose them.

RoleAction
Entrylist_categories
Primitiveslist_fallacies
Read stateget_fallacy

Install

The app: F-Droid, or https://f-droid.org/packages/za.co.lukestonehm.logicaldefence/. 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/logical-fallacies

Use

ghost skill run ghost/logical-fallacies list_fallacies --param 'category=On the Attack' --device <serial>
ghost skill run ghost/logical-fallacies get_fallacy --param 'name=Appeal to Authority' --device <serial>
run_skill(name="ghost/logical-fallacies", action="get_fallacy", params={"name": "Appeal to Authority"})
# {"result": {"fallacy": {"number": 2, "definition": "...", "example": "..."}}}

Try asking: "List the categories of logical fallacies and explain Appeal to Authority."

Tested on

Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Logical Defence 25. License: MIT.

Known failure modes and versions tested

Versions tested

App versionAndroidDeviceSkill versionDates
2513Samsung real phone (720x1600, 300 dpi, en-GB)1.0.02026-11-02

Recorded failures

  • get_fallacy needs the exact name; an unknown name fails after walking every category.
  • get_fallacy can take about a minute when the fallacy is in a later category.
  • The example text is the last line of the entry description and may be empty.

Popups and first-run screens handled

  • None.

Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.

list_categories

Play demo

Try asking

  • Which categories of logical fallacies are there?
  • show the fallacy categories
ghost skill run ghost/logical-fallacies list_categories

list_fallacies

Play demo

Try asking

  • List the logical fallacies in a category
  • what fallacies are in Faulty Deduction
  • show the first fallacies
ghost skill run ghost/logical-fallacies list_fallacies

get_fallacy

Play demo

Try asking

  • Explain the Appeal to Authority fallacy
  • what is the Appeal to Ignorance fallacy
  • define Appeal to Common Practice
ghost skill run ghost/logical-fallacies get_fallacy