agentleFS
Lukk17Lukk17/agent-standards/.agents/skills/kde-plasma/SKILL.md

kde-plasma

Skill1 starsChanged 8 days agoMITView on GitHub

Changing KDE Plasma 6 safely from the command line: panels and widgets through the scripting API, kwriteconfig6, KWin effects and rules, shortcuts, themes and konsave, plus building and publishing plasmoids and themes. Use when the user says "add a widget to the panel", "bind a shortcut", "plasmashell is stuck" or "write a plasmoid". Not for packages, audio or systemd, use `arch-linux`.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Prefer the live interfaces (evaluateScript, plasma-apply-*, kwriteconfig6 --notify) over editing files.

    line 58
  2. Very specific:

    Never touch /usr/share or /usr/lib.

    line 59
  3. Very specific:

    Use qdbus6. Check with command -v qdbus6 qdbus, because plain qdbus is often absent on Plasma 6.

    line 60
  4. Very specific:

    After a change, read it back with kreadconfig6 or a read-only script, and report what you saw.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

KDE Plasma 6 Administration

How to read and change a Plasma 6 desktop through its live interfaces, so a change applies at once, is easy to read back, and has a snapshot behind it. Plasma rewrites several of its own files while it runs, which is why the live API comes first and a hand edit comes last.

Written for Plasma 6 and KWin 6 on Wayland, with Qt 6. The commands that ran were run on one CachyOS host, and commands that were not executed are marked UNVERIFIED in the topic files.

TaskOpen
Snapshot before a change, restart plasmashell, roll backsafety.md
Read the layout, add, remove, reorder or configure panels and widgetspanels-and-widgets.md
Find a widget plugin id, install a plasmoidwidget-plugin-ids.md
kreadconfig6, kwriteconfig6, which file holds what, reloadingconfig-files.md
Color scheme, Plasma theme, cursor, icons, look-and-feel, wallpapertheming.md
Global shortcuts and kglobalshortcutsrcshortcuts.md
KWin effects, window rules, tiling, virtual desktopskwin.md
Save, export, import and apply konsave profileskonsave.md
Build, test, package and publish a Plasma 6 widget (plasmoid)widget-development.md
Make a Plasma Style, color scheme, style or decoration fork, icon theme or Global Theme safelytheme-development.md

Machine facts

Machine-specific facts live in MACHINE.md next to the global AGENTS.md: the monitors and their scales, the owner's saved konsave profile and where its archive lives, custom widgets, and the change log. Read it before acting. This skill describes no particular layout. Read the live one with the read-only commands in panels-and-widgets.md, and never assume a panel or widget id.


When to activate

  • Any change to a panel, a widget, the system tray or a desktop containment
  • kreadconfig6, kwriteconfig6, or a file under ~/.config that Plasma or KWin owns
  • KWin effects, window rules, tiling layouts or virtual desktops
  • Global shortcuts
  • Themes, colors, cursors, icons, look-and-feel packages or wallpapers
  • konsave, or restarting, recovering or rolling back plasmashell
  • Writing, testing, packaging or publishing a plasmoid, or building a theme set
  • Also covers panels, widgets and plasmoids through the Plasma scripting API and evaluateScript, widget plugin ids, kreadconfig6 and kwriteconfig6, which file under ~/.config holds what, KWin effects, window rules, tiling and virtual desktops, global shortcuts in kglobalshortcutsrc, color scheme, Plasma theme, cursor, icons, look-and-feel and wallpaper, konsave profiles, and restarting plasmashell. Also building, testing and publishing a plasmoid, and making a Plasma Style or Global Theme
  • The user says "move the clock", "what is the plugin id", "change the color scheme", "disable the blur effect", "save my desktop with konsave", "restore my panel layout", "publish my widget on the KDE Store", "make a Plasma theme" or "build a Global Theme"

When not to activate

  • Installing or upgrading Plasma packages, or KDE breaking after an upgrade, use arch-linux
  • cachyos-kde-settings, /etc/skel or the login manager, use cachyos
  • Audio devices and volume routing, use arch-linux

Hard rules

  1. Snapshot before any write, see safety.md. No exception for a tiny edit.
  2. Prefer the live interfaces (evaluateScript, plasma-apply-*, kwriteconfig6 --notify) over editing files. plasmashell rewrites plasma-org.kde.plasma.desktop-appletsrc on exit and on its own schedule, so a hand edit made while it runs is lost or merged badly.
  3. Never touch /usr/share or /usr/lib. Everything user level lives under ~/.config and ~/.local/share.
  4. Use qdbus6. Check with command -v qdbus6 qdbus, because plain qdbus is often absent on Plasma 6.
  5. Restart plasmashell through its user unit, systemctl --user restart plasma-plasmashell, never kquitapp6 plasmashell && plasmashell. The unit restarts on failure and a manual launch fights it.
  6. After a change, read it back with kreadconfig6 or a read-only script, and report what you saw.

Related skills

  • arch-linux owns packages, partial upgrades, journal triage and audio
  • cachyos owns the CachyOS defaults package and the login manager
  • bash owns any script that wraps these commands

Checklist

  • MACHINE.md read, and the live layout read before any panel change
  • Config files copied and the layout dumped before the first write
  • The live API used, or plasmashell stopped before a hand edit
  • Nothing written under /usr/share or /usr/lib
  • The change read back and reported
  • The change and its undo recorded in the MACHINE.md change log

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.