Skip to content
Back to skills

Text Mousepad

ASecurity

Plain-text files on SlateOS: open a file for the user in Mousepad, insert or replace text, save. Use when the user wants to see or edit a text, config or code file in a window (for edits nobody needs to watch, edit the file directly).

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 29, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 29, 2026

npx -y skills add BenchGrid-dev/slate --skill text-mousepad --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Text Mousepad?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Text Mousepad
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/benchgrid-dev-text-mousepad/badge)](https://www.skillsdirectory.com/skills/benchgrid-dev-text-mousepad)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: slate-text-mousepad
description: Plain-text files on SlateOS: open a file for the user in Mousepad, insert or replace text, save. Use when the user wants to see or edit a text, config or code file in a window (for edits nobody needs to watch, edit the file directly).
---

# Text files in Mousepad

For an edit the user does not need to watch, edit the file directly (Read/Edit tools, `sed`); it is faster and exactly verifiable. Open Mousepad when the user wants the file on screen or wants to keep editing themselves.

- Open: `desktop_launch` with `mousepad /path/file.txt` (a new tab if Mousepad is already running).
- Mousepad (GTK3) has a full accessibility tree: the document is a `text` element with the file's contents as its value. `desktop_read` returns the text; `desktop_element_set_text` replaces the whole document; to insert, `desktop_element_click` the document, move with `desktop_key` (ctrl+End, ctrl+Home) and `desktop_type`.
- Save: `desktop_key` ctrl+s with the window set. A new file opens the Save As dialog: its name entry and Save button are elements.
- The window title shows `*` while there are unsaved changes; check it before closing.

Tier: reversible (files under the snapshot root are covered by undo). Confirm before overwriting a file the user did not name.

Files in this skill

  • SKILL.md1.3 KB
  • manifest.toml173 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.