Index of every page on this site: llms.txt
All skills
masihmoafi avatar

/app-control

@c0a5d13
by Masih Moafimasihmoafi/skills10 stars
Run it yourself

Drive a desktop Electron app (Elpis desktop, ChatGPT, Claude) as its user does, through its Chromium DevTools port: see, read, click, type. Use to try, test or compare app features first-hand. The Elpis TUI uses tmux instead.

  • 2 files
  • 11.4 KB
  • Updated 3 weeks ago
  • GitHub
Use this Skill: https://skilld.dev/gh/masihmoafi/skills/app-control

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈60 tokens for metadata: the name and description. ≈250 when used: this file.

Description uses 3.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈239 characters, or 3.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

App control

appctl.py drives an Electron app through its DevTools port, so you see and use the real window.

A="python3 -I <this skill folder>/appctl.py"
$A launch elpis               # starts the app with its debug port (elpis 9336, chatgpt 9334)
$A see elpis                  # what the user sees, as text: roles, names, values
$A shot elpis                 # screenshot; open the printed PNG with Read to look at it
$A click elpis "role:button=New chat"   # = whole name, ~= part of one; also text=, label=, css=, xy=
$A type elpis "hello"; $A key elpis Enter
$A eval elpis "document.title"
  • Look before and after each action: see for exact names, shot for layout and colour.
  • An app started without its debug port must be restarted through launch, which closes its open window.
  • While an app runs with its debug port, any local program can control it. Close it when done.
  • Terminal apps (the Elpis TUI): tmux new-session -d, tmux send-keys, tmux capture-pane -p.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at c0a5d13. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 3 weeks ago

README badge

README badge for masihmoafi/skills/app-control