internal-comms
Write internal communications following company formats, including status reports, leadership updates, and newsletters.
ANanthropics/skills203k2,822 new stars in the last 7 days
Enable and drive the LinuxToys MCP server to manage Linux apps on the user's machine like a user would - search the catalog, read app pages (descriptions, screenshots, donation links), install and remove apps, install local package files (.deb, .rpm, .appimage and more, optionally downloaded from a URL), install and remove Flathub app extensions/addons, enable the Nix subsystem, install and remove Nix packages and external Nix flakes, discover and configure Home Manager (user-level) and NixOS (system-level) Nix services, clean up the leftover data of uninstalled Flatpak apps, run the app's full system update, handle questions/warnings raised by scripts (ask the user before the run; relay warnings), watch every job to completion in the submission call itself (submissions block until the run finishes and return its outcome; batches of jobs can run through subagents), check for and apply LinuxToys app updates, change LinuxToys settings, and translate descriptions. Use when the user asks to install or remove software through LinuxToys, asks to install a package file or app extension, asks to clean up leftovers of an uninstalled Flatpak app, asks to run a full system update, asks to update or check the version of LinuxToys itself, change its settings, or when configuring AI agent access to LinuxToys.
LinuxToys is a cross-distribution Linux app manager. This skill lets you use it on the user's behalf, exactly like a user would: browse the catalog, open app pages, install/remove apps, and change app settings. Password prompts always appear on the user's screen — never ask the user to hand you their password.
The server is an opt-in systemd user service (linuxtoys-mcp.service) that
ships with the app but is not enabled by default. Check it without any
credentials:
curl -fsS http://127.0.0.1:7420/health
First check whether the unit exists:
systemctl --user cat linuxtoys-mcp.service >/dev/null 2>&1 && echo unit-installed || echo unit-missing
unit-installed: enable and start it (user service — no sudo):
systemctl --user enable --now linuxtoys-mcp.service
systemctl --user is-active linuxtoys-mcp.service
unit-missing: the unit is installed by the app when the user first switches it on. Ask the user to open LinuxToys → menu (☰) → MCP Agent Server once. That installs and enables the service immediately; after that it also starts on its own at every login (it is tied to the graphical session, which is what lets password dialogs reach the user's screen).
Do not run LinuxToys install commands with sudo yourself — all privilege
escalation happens through the app's own on-screen askpass dialog.
Transport: MCP Streamable HTTP
Endpoint: http://127.0.0.1:7420/mcp
Auth: the token is generated at ~/.config/linuxtoys/mcp-token
(readable only by the user). Send it as a header:
Authorization: Bearer <contents of ~/.config/linuxtoys/mcp-token>
(X-LinuxToys-Token: <token> is also accepted.)
Configuration examples:
// opencode (~/.config/opencode/opencode.json)
{ "mcp": { "linuxtoys": {
"type": "remote",
"url": "http://127.0.0.1:7420/mcp",
"enabled": true,
"headers": { "Authorization": "Bearer <TOKEN>" } } } }
# Claude Code
claude mcp add --transport http linuxtoys http://127.0.0.1:7420/mcp \
--header "Authorization: Bearer $(cat ~/.config/linuxtoys/mcp-token)"
After connecting, call server_info once to confirm the session works.
| Tool | Purpose |
|---|---|
server_info | Version, endpoint, service state, busy jobs, cached script-gate state |
get_update_status | Fresh networked check of LinuxToys itself: running vs newest published release, releases behind, whether the app can update itself on this host, script-gate state |
update_linuxtoys | Run the official LinuxToys self-update as a tracked job (ask the user first — it changes the whole app); the call blocks until it finishes and returns the outcome; then restart the service |
update_system | Run the app's full system update ("Update System" card): distro packages, Nix-managed packages (NixOS system and/or Home Manager, including the non-NixOS GPU setup refresh), Flatpaks, Snaps, Homebrew/Bun, orphan and leftover-shortcut cleanup; ask the user first — needs root (password dialog on their screen) and runs very long; the call blocks until it finishes (delegate it to a subagent to stay responsive); may also answer requires_answers (release-upgrade choice) before running |
list_categories | Catalog categories |
search_apps(query, limit?) | Search every catalog (scripts, repos, Flathub/Snap, AppImages); returns stable ids |
get_app_details(app_id) | App page: description, screenshots URLs, homepage/donate/purchase links, version, install state (and leftover ~/.var/app data state for Flatpak apps). When the app is offered by several sources, sources lists each one with a stable key, label, version, default/recommended marks and package name |
get_screenshot(app_id, index?) | Returns an image so you can see the app's screenshots |
install_app(app_id, source?, answers?, wait?, wait_seconds?) | Install and watch the job to completion: the response is the job's final record (final: true — state, exit code, log tail, warnings/live_prompts/error_detail). When get_app_details shows more than one entry in sources, ask the user which one they want and pass its exact key as source (omit for the default). Curated scripts may first answer requires_answers: ask the user the listed questions, then re-call with answers. Pass wait: false to get a job_id at once (multitasking), or wait_seconds to cap the block |
fetch_package_url(url) | Download a package file (.deb/.rpm/.pkg.tar.*/.pacman/.eopkg/.flatpak/.flatpakref/.snap/.appimage) from an http(s) URL into a private staging directory; returns its local path |
get_package_file_details(path) | Inspect a local package file like the GUI's package view does: name, version, architecture, maintainer, description, size, format, whether that package type is supported on this system, and the external-file warning/risk note to show the user |
install_package_file(path, trusted_provider?, wait?, wait_seconds?) | Install an external package file through the same guarded machinery. Without trusted_provider: true it queues nothing and returns requires_confirmation with the package details and warnings: show them, ask whether the user trusts the provider, and only then re-call with trusted_provider: true. Watches the job to completion like install_app |
list_app_extensions(app_id) | List a Flathub app's extensions/addons (VLC plugins, Steam compatibility tools, ...), each with its installed state |
install_app_extension(app_id, extension, wait?, wait_seconds?) | Install one extension of an app by its component id or full flatpak ref, watching the job to completion |
remove_app_extension(app_id, extension, wait?, wait_seconds?) | Remove one installed extension of an app, watching the job to completion |
remove_app(app_id, wait?, wait_seconds?) | Remove an app installed through LinuxToys, watching the removal to completion |
remove_flatpak_data(app_id, wait?, wait_seconds?) | Remove the leftover user data (~/.var/app/<AppID>) of a Flatpak app that is no longer installed — the GUI's "Remove data" button on that app's page; refuses apps still installed; watches the removal to completion |
nix_enable_subsystem(wait?, wait_seconds?) | Enable LinuxToys' Nix subsystem: installs Nix through the catalog installer when missing, prepares flakes/unfree/Home Manager or NixOS system integration, non-NixOS GPU support, time zone compatibility, and weekly generation cleanup/store optimisation. NixOS and its derivatives and GregOS are enabled automatically; on those hosts it only prepares missing configuration. Ask the user first. Watches the job to completion |
nix_install_package(name, scope?, wait?, wait_seconds?) | Install one nixpkgs attribute through LinuxToys' declarative Nix module (never nix-env); name is the attribute (e.g. ripgrep) or a nix:<attr> catalog id. scope is home-manager (default when available) or system (NixOS only; password dialog appears on the user's screen). Watches the rebuild to completion |
nix_remove_package(name, scope?, wait?, wait_seconds?) | Remove one nixpkgs attribute from the managed module. Without scope, every scope recorded for the package is removed in one rebuild; other Nix packages and imported flakes stay applied |
nix_list_packages() | List Nix packages installed through LinuxToys with their attributes and scopes, for nix_remove_package |
nix_list_services(scope?, query?) | List discoverable Nix services with level (user for Home Manager, system for NixOS), description, option count and installed/pending state; scope limits the level and query filters names/descriptions |
nix_get_service(name, scope?) | Read one service's options: path, kind, description, upstream default, current effective value, enum choices and whether it is a saved override; reports the level and installed/pending status |
nix_install_service(name, options?, scope?, wait?, wait_seconds?) | Enable one service through the declarative queue with optional option overrides. Home Manager services are user-level and work outside NixOS; NixOS services are system-level. Watches the rebuild to completion |
nix_remove_service(name, scope?, wait?, wait_seconds?) | Disable/remove one service selection from its generated module(s) and rebuild once; without scope every installed/pending level is removed |
nix_set_service_options(name, options, scope?, wait?, wait_seconds?) | Replace a service's option overrides and rebuild; queues installation when the service is not installed yet. Only paths from nix_get_service are accepted |
nix_install_flake(reference, scope?, outputs?, wait?, wait_seconds?) | Import an external Nix flake. Accepts git references, FlakeHub URLs (https://flakehub.com/f/owner/repo/version) and the fh shorthand (owner/repo/version). Call first with only reference; the response is requires_selection with every discovered output (packages, Home Manager/NixOS modules, overlays; apps/configurations are informational). Present them to the user, then re-call with the chosen output keys in outputs. The flake is pinned in a locked wrapper and only the selected outputs are merged; other imported flakes stay applied. Watches the rebuild to completion |
nix_remove_flake(reference, wait?, wait_seconds?) | Remove every imported scope of one flake reference through its Action Registry transaction; only that flake's generated module code and state are removed. Get references from nix_list_flakes; watches the rebuild to completion |
nix_list_flakes() | List imported flakes with reference, description, scopes and selected outputs |
nix_list_generations(scope?) | List recorded Home Manager and NixOS system generations with number, date, current marker and store path; scope limits it to home-manager or system |
nix_activate_generation(scope, generation, wait?, wait_seconds?) | Activate (switch or roll back to) one recorded generation. Confirm with the user first: it replaces the running configuration, and a NixOS system switch also changes the boot entry and asks for the password on the user's screen. The current generation is a no-op |
nix_delete_generation(scope, generation, wait?, wait_seconds?) | Delete one recorded generation record after user confirmation; the current generation cannot be deleted and store paths remain until Nix garbage collection |
get_job(job_id, tail_lines?, wait_seconds?) | Re-attach to a queued job: state (queued/running/success/error), exit code, log tail (filled in while the script runs); wait_seconds (max 20) blocks until the job finishes; plus the script's dialog events: warnings (attention to relay), live_prompts (dialogs the user answered live), error_detail (fatal message on failure). Submissions already watch to completion — use this after a wait: false submission or a cut-off call |
list_jobs() | Recent jobs (find a job id here if a submission was cut off) |
get_settings() / set_settings(...) | Automatic updates, automatic bug reports, language |
translate_text(text, target_language?) | Same translation method as the app page; defaults to the user's language |
translate_app_description(app_id, target_language?) | Translate a full app description (shares the GUI cache) |
get_registry_entries(query?, limit?) | Action Registry: everything installed through LinuxToys, with changes |
export_registry_manifest(destination?) | Portable manifest of installed apps (linuxtoys --manifest <file> to replay) |
open_support_link(app_id, kind, index?) | Open one of the app's own links (homepage/donate/purchase/subscription) |
Install something: search_apps → show the best matches to the user →
get_app_details on the chosen one (tell the user what it does) → confirm →
install_app → the call itself runs the install and its response is the
job's final record (final: true, state: "success"/"error") → report
the outcome (log tail on failure; relay any warnings). Installs that need
root pop the password dialog on the user's screen while the call runs; tell
the user to expect it and wait for them to finish — do not ask them to
paste the password to you.
If get_app_details returns a sources list, the same app is available from
more than one source (native package, Flathub, FlatPark, Snap, AppImage,
...). Show the user the labels and versions, let them choose (or use the one
marked recommended if they have no preference), and pass the chosen
entry's exact key as install_app's source. Never silently switch to a
different source than the one the user picked.
Install a package file (the user gave you a link or a local file such as
.deb/.rpm/.appimage): fetch_package_url(url) when the file still needs
downloading → get_package_file_details(path) → tell the user what the file
is (name, version, format, maintainer/publisher, where it came from) and stop
if it is not supported on this system → warn them that this is an external,
unverified package — relay external_warning and risk_note, including
that it installs with the package manager's privileges and that LinuxToys
cannot verify its publisher or integrity → ask explicitly whether they trust
the package provider and want to continue. Only if they say yes, call
install_package_file(path, trusted_provider: true); the response is the
job's final record. Without trusted_provider: true the tool returns
requires_confirmation and installs nothing. Never set it preemptively,
never infer trust from a successful download or a familiar file name, and
never install a package the user did not point you at. It goes through the
same guarded machinery as a package-view install, so the usual root password
dialog appears on the user's screen when needed.
Enable the Nix subsystem: on a host where Nix is missing or the LinuxToys
module is not configured, call nix_enable_subsystem after the user agrees.
It installs Nix through the catalog installer when needed and prepares the
declarative configuration (plus GPU integration, time zone compatibility and
weekly generation cleanup/store optimisation on non-NixOS systems). NixOS,
its derivatives and GregOS use their native Nix and are enabled automatically;
there the tool only prepares any missing configuration. server_info reports
the current nix_subsystem state.
Install or remove Nix software: LinuxToys manages Nix declaratively
through its own linuxtoys.nix module — never use nix-env yourself through
this server. For a nixpkgs package, find the entry with search_apps /
get_app_details (Nix entries expose nix_name and nix_scopes) or call
nix_install_package directly with the attribute. Removal is
nix_remove_package; omit scope to remove every recorded scope at once.
For an external flake, call nix_install_flake with only the reference first
(github:owner/repo, a git URL or a local directory). The response is
requires_selection: show the discovered outputs to the user and ask which
they want, then re-call with outputs=[...]. Explain that a flake is
third-party configuration code — its modules, packages and overlays become
part of their configuration — and only proceed if they trust its source.
nix_list_flakes shows imported references and nix_remove_flake removes
one, rebuilding the affected scope(s). Home Manager is used by default when
available; the system scope needs NixOS and a root password dialog on the
user's screen.
Manage Nix services: some catalog attributes map to a service module.
Call nix_list_services (optionally filter with query or scope) and
nix_get_service(name, scope?) to see the editable options and their
current values. Home Manager services are user-level and work outside
NixOS; NixOS services are system-level and need a system configuration.
Install/enable with nix_install_service and pass only the options the
user wants to change; untouched options keep tracking upstream defaults.
Use nix_set_service_options to change an installed/queued service and
nix_remove_service to disable it. Confirm service changes with the user
first, especially system services, and expect the root password dialog for
system rebuilds.
Manage Nix generations: call nix_list_generations to see the recorded
Home Manager and NixOS system generations (number, date, current marker).
Show the relevant scope and generation to the user and confirm before
nix_activate_generation (switch or roll back; a system activation also
updates the boot entry and asks for the password on the user's screen) or
nix_delete_generation (removes only the generation record, not its store
path). The current generation cannot be deleted; activating it is a no-op.
Scripts that ask questions, warn or fail with dialogs: script dialogs do not pop on your behalf, and the machine tells you about them:
install_app and
update_system return requires_answers with a questions list instead
of queueing anything. This covers every installation shape: curated
scripts, repository-list entries (the composed pipeline and its pre/post
hook scripts) and AppStream overlays (hook scripts on top of an
AppStream component). Present each question to the user through your
own question UI (title/message, the listed options, and the suggested
default), then re-call the same tool with
answers={question id: choice}. Every listed id must be covered; radio
choices must match one listed option exactly; multi-select accepts
option string(s) comma-separated or an array; yes/no prompts take the
literal question id with "yes" or "no"; a text entry (kind: "input")
takes the exact text the user typed, on one line of at most 1024
characters, and its default is only the suggestion to offer. The run
then uses those answers instead of dialogs, so the user decides without
any popups. The service
pre-filters by branch: only questions whose enclosing branch actually
matches this host are listed (host-detectable conditions are evaluated
for real; conditions written as previous-step results — call_script
exports included — presume success; skipped_branches counts the
call sites filtered out, and the note points it out).get_job
while re-attached — carries a warnings list. These are messages the
script raised that need attention — relay them to the user promptly,
whether the job still runs or ends successfully. They are not
failures: a completed run with warnings still worked; do not frame them
as "the update failed".state: "error") the fatal
dialog's message arrives in error_detail (the log tail has more):
report the failure with that message, not just the exit code.live_prompts: let the user know what was asked
on screen and what they answered. Informational popups are omitted
entirely; their text lives in the log tail. Password dialogs always
appear on the user's screen as usual.Flathub app extensions (VLC plugins, Steam compatibility tools, ...):
when get_app_details reports extensions_available, run
list_app_extensions (each entry shows its installed state) → tell the user
which one you will add or remove → confirm → install_app_extension /
remove_app_extension (pass the component id or full flatpak ref from the
list) → the response is the job's final record → verify with
list_app_extensions. These are plain
flatpak install/uninstall operations: system-scope ones may pop a password
dialog on the user's screen, and unlike app installs they are not recorded in
the Action Registry — the installed state comes from list_app_extensions.
Flatpak leftover data (an app you can no longer see installed): Flatpak
keeps per-app user data in ~/.var/app/<AppID>, which outlives the app. When
get_app_details of a Flatpak app reports flatpak_residual_data (there is
also a flatpak_residual_note naming the exact directory), tell the user
what would be deleted and confirm → remove_flatpak_data(app_id) → the
response is the job's final record → verify with get_app_details
(flatpak_residual_data turns false). No password appears: the data lives
in the user's home. The tool
always refuses apps that are still installed — if the user wants both the
app and its data gone, run remove_app first, and only then the data
cleanup.
Remove something: check get_registry_entries / get_app_details
(install state) → confirm with the user → remove_app → the response is
the job's final record.
Update LinuxToys itself: get_update_status (networked; tells you current
version vs the newest published release, how many releases behind it sits,
and whether the app can update itself) → tell the user what changed
(release_notes) and get their OK → update_linuxtoys → the call runs the
update and its response is the job's final record → on success, restart the
service so the running MCP server picks up the new code:
systemctl --user restart linuxtoys-mcp.service
The GUI also needs reopening. If update_linuxtoys fails with "cancelled",
the user closed the password dialog — tell them and let them decide.
Run the full system update: update_system runs the app's own
"Update System" operation — the same sysup run the GUI's menu card and the
automatic-update service use. It refreshes Nix-managed packages when Nix is
available (NixOS system and/or Home Manager, including the non-NixOS GPU
setup refresh), and is separate from update_linuxtoys: the app keeps
updating itself, the system updates within its current release (no release
upgrade unless the user accepts a prompt). Ask the user first
(it changes the whole system) → update_system → the call runs the whole
update and its response is the job's final record; it can outlast any
client timeout, so delegate it to a subagent to stay responsive. The run
needs root: the password dialog appears on the user's screen — wait for
them to type it. Ubuntu and Fedora may also pop a release-upgrade question
there; that answer belongs to the user. Skip when the user's answer is no.
Report milestones, warnings and the reboot recommendation from the log
tail; when the run finishes, report what it printed: orphan cleanup
results and whether a reboot is recommended. If it ends error, read the
log tail and report exactly where it stopped — a package transaction can
need the user's hands — and do not blindly re-submit the same run.
Several jobs at once (a batch): jobs execute one at a time, but you do
not have to babysit them one by one. When the user gives a batch ("install
A, B and C" or a manifest-like list), confirm the whole list once, then
spawn one subagent per job (your platform's subagent/task tool) and tell
each exactly which submission tool and arguments to call — the
requires_answers question rounds are yours, handled before spawning (you
can also have each subagent handle its own app's round; then keep it
responsible for that app end to end). Each subagent makes its own blocking
submission and reports its job's final record; relay every outcome as the
subagents return. A queued subagent's call simply waits its turn (installs
serialize), so its password dialog appears when its job starts. Delegate
very long single jobs (like update_system) to a subagent the same way,
and keep the main conversation free while the runs unfold.
If a submission is cut off: a blocking submission can outlast your
client's tool timeout (opencode's default mcp.timeout.execution is 10
minutes). Nothing is lost: the run continues. Find the job id with
list_jobs and re-attach with get_job (optionally wait_seconds: 20)
until state is success or error. To block on long jobs comfortably,
raise the execution timeout (opencode, globally or per-server):
{ "mcp": { "timeout": { "execution": 600000 } } }
Job ids are in-memory per service run — they do not survive a restart.
Change settings: set_settings with only the fields to change
(automatic_updates, automatic_bug_reports, language). A running GUI
applies a language change on its next launch.
Translate for the user: translate_app_description (or translate_text
for arbitrary strings).
install_app/update_system answer requires_answers, ask every listed
question of the user before running (answers must match the offered
options, and a text entry takes what the user typed; every id must be
covered). Once the run is queued, the submission's response — or
get_job while re-attached — relays
warnings as attention-required messages without calling
the run a failure — only state: "error" with error_detail is a
failure — and mentions live_prompts (dialogs the user answered on
screen). Informational popups are omitted; their text is in the log.wait, default
true; wait_seconds caps the block; wait: false answers at once with
the job_id). If your client times the call out, the run continues:
find the job id with list_jobs and re-attach with get_job — never
re-submit the same app to "check" on it.get_app_details lists sources, the choice of source (native
package, Flathub, FlatPark, Snap, AppImage, ...) belongs to the user: show
the options and pass their chosen key to install_app. The
recommended default is fine only when the user has no preference. A bare
source name or label is accepted only while unambiguous; if the tool
refuses with the available keys, ask rather than guess.get_package_file_details / install_package_file /
fetch_package_url) follow the same rule: install only the URL or local
file the user pointed you at, after showing them what the inspection found.
Always relay the external-file warning and risk note and obtain explicit
trust in the provider before passing trusted_provider: true — the tool
refuses to queue anything without it, and that confirmation must be the
user's, never inferred. Never install a package type that the
host-compatibility guard refuses, and never pick a package URL yourself for
an install the user did not ask for.list_app_extensions / install_app_extension /
remove_app_extension) work the same way: only touch the extension the
user asked about, and never install extensions as a side effect of an app
install.remove_flatpak_data) permanently deletes
~/.var/app/<AppID>. Only run it when the user asked for exactly that or
confirmed it, show them the directory first (flatpak_residual_path),
and never treat the flag as something to "clean up" proactively for apps
they may want to reinstall — deleting the data also deletes its saved
settings and profiles. The tool is the judge of eligibility: it refuses
apps that are still installed, and a refusal message explains why.get_update_status
first, show the user what is new, and only run update_linuxtoys after
they agree. After a successful update, restart
linuxtoys-mcp.service and reopen the GUI so everything runs the new
version.update_system) changes the whole system: get the
user's explicit OK first, tell them the password prompt (and a possible
release-upgrade question on Ubuntu/Fedora) appears on their screen, and
never start it while the LinuxToys self-update is active. It is refused,
like every LinuxToys script run, when the installed app is more than two
releases behind — offer update_linuxtoys first in that case.install_app, remove_app or update_system is refused because the
installed LinuxToys is more than two releases behind the newest one, do
not look for workarounds: explain the refusal to the user, offer
update_linuxtoys, and retry after it succeeds. Package installs
(Flathub/Snap apps, AppImages, AUR, Homebrew, local package files) are
not affected by this gate.get_job
instead. update_linuxtoys runs in the same queue and refuses to start
while any other job is active; wait for the queue to finish first.get_app_details before retrying. For package files, re-check
the file path: the install re-verifies the exact file that was inspected.Write internal communications following company formats, including status reports, leadership updates, and newsletters.
ANanthropics/skills203k2,822 new stars in the last 7 days
GAgarrytan/gstack143k524 new stars in the last 7 days
ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days
A pre-launch checklist covering monitoring, staged rollouts and rollback plans.
ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days
PApaperclipai/paperclip119k1,727 new stars in the last 7 days
RUruvnet/RuView106k596 new stars in the last 7 days