villoh/dotfiles/pi-dms-matugen
Claude Code and agent skill by villoh/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Maintain Pi's dynamic Matugen theme generated by Dux Shell (DMS 2). Use when editing or debugging the Pi theme, DMS custom Matugen templates, or worker failures during wallpaper/theme changes.
Install
npx vskill@latest install villoh/dotfiles/pi-dms-matugenSKILL.md
The same SKILL.md was published earlier as villoh/dotfiles/pi-dms-matugen.
Pi theme from DMS Matugen
DMS generates Pi's DMS theme from the active Material palette:
- Matugen config fragment:
dot_config/matugen/dms/configs/pi.toml - JSON template:
dot_config/matugen/dms/templates/pi.json - Generated theme:
~/.pi/agent/themes/DMS.json(do not track; DMS owns it)
Chezmoi symlinks the config and template into ~/.config/matugen/dms/. DMS regenerates the theme when wallpaper or theme changes. Select DMS in Pi once through /settings.
Important config rule
DMS merges files under ~/.config/matugen/dms/configs/ into its own Matugen configuration. Keep pi.toml as a [templates.pi] fragment. Do not add a [config] table: DMS already provides one, and duplicate tables fail Matugen with duplicate key \config\ in document root, breaking every theme worker.
Two ways to register a template (both work, DMS 1.6.2)
~/.config/matugen/dms/configs/<app>.toml (used here) | ~/.config/matugen/config.toml (documented at duxlabs.dev/docs/dms/application-themes) | ||
|---|---|---|---|
[config] table | Forbidden (DMS already adds it) | Required; templates go under it | |
| Loaded when | Always | Only if the DMS setting "run user Matugen templates" is on (default on) | |
| Layout | One file per app | One central file |
The dms/configs/ route is DMS's plugin mechanism (userPluginConfigDir in core/internal/matugen/matugen.go); it is not in the public docs page. If a DMS update stops loading it, move the [templates.<name>] entries into config.toml under a single [config] table. Existing fragments to copy from: pi.toml, strata.toml, zapfast.toml.
To theme a new app: add configs/<app>.toml and templates/<app>.* under dot_config/matugen/dms/, then chezmoi apply; DMS picks it up on the next wallpaper/theme change.
Use absolute paths in input_path and output_path. Use standard Matugen colors such as {{colors.primary.default.hex}} for surfaces and text, and DMS palette colors such as {{dank16.color2.default.hex}} for distinct ANSI, syntax, and diff colors. dank16 exists in DMS's worker context, not plain Matugen; inject it when testing the template standalone.
Troubleshooting
- Inspect DMS logs:
journalctl --user -u dms --since '10 minutes ago' --no-pager. - On a worker failure mentioning duplicate
config, remove[config]from the
custom fragment; keep template definitions under [templates.<name>].
- Validate a template with Matugen using a temporary merged config containing
one [config] table plus the custom [templates.<name>] entry. Render to a temporary output path so the real Pi theme is untouched.
- Change wallpaper/theme in DMS to regenerate; then check
~/.pi/agent/themes/DMS.json and select it with Pi /settings.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdot_agents/skills/pi-dms-matugen/SKILL.md
Popularity
- Repository stars
- 6
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/villoh/dotfiles/pi-dms-matugen)