prototype
MAmattpocock/skills288k10,178 new stars in the last 7 days
Edits Letta Code Desktop (LCD) preferences by safely reading and updating ~/.letta/desktop_preferences.json. Use only when the user asks to change current Desktop/LCD settings such as theme, default working directory, remote access preference, or remote environment name via the preferences JSON.
Use this skill only to edit the active Letta Code Desktop preferences JSON file. Do not use it for Desktop product-code changes, Electron IPC work, UI changes, or general Letta Cloud Desktop implementation tasks.
The Desktop preferences file is:
~/.letta/desktop_preferences.json
User-editable preference keys:
defaultWorkingDirectory: default folder for new local sessions.theme: auto, light, or dark.allowRemoteAccess: boolean for whether remote access should be enabled in preferences.runInBackground: boolean for whether Desktop stays alive in tray/menu bar when all windows close.startAtLogin: boolean for whether Desktop starts hidden at login.remoteEnvName: environment name shown in the Letta Cloud environment picker for the cloud listener.localBackendDirectory: directory containing local backend agents, conversations, and memory.allowLocalAgentsWhenSignedIn: boolean for whether signed-in Desktop sessions can see local/offline agents.System-managed keys (do not edit directly):
artifactsByAgent: per-agent artifacts panel state, written by Desktop UI.debugPanelEnabled: developer debug panel, controlled via app menus.remoteAppServerEnabled: Remote App Server toggle, applied at startup.remoteAppServerUrl: Remote App Server URL, configured via preferences UI.Use a merge-style edit like this, changing only the requested keys:
node - <<'NODE'
const fs = require('fs');
const os = require('os');
const path = require('path');
const file = path.join(os.homedir(), '.letta', 'desktop_preferences.json');
fs.mkdirSync(path.dirname(file), { recursive: true });
const current = fs.existsSync(file)
? JSON.parse(fs.readFileSync(file, 'utf8'))
: {};
const next = {
...current,
// Example update. Replace this with the user's requested setting.
theme: 'dark',
};
fs.writeFileSync(file, JSON.stringify(next, null, 2) + '\n');
NODE
After editing, read the file back or parse it to confirm valid JSON:
node -e "JSON.parse(require('fs').readFileSync(require('os').homedir() + '/.letta/desktop_preferences.json', 'utf8')); console.log('desktop_preferences.json is valid')"
MAmattpocock/skills288k10,178 new stars in the last 7 days
AFaffaan-m/ECC278k4,046 new stars in the last 7 days
FIfirecrawl/firecrawl191k2,010 new stars in the last 7 days
Set visual direction and typography for UI, avoiding templated defaults.
ANanthropics/skills181k1,119 new stars in the last 7 days
Apply color and font themes to slides, docs and web pages, with 10 built-in themes.
ANanthropics/skills181k1,119 new stars in the last 7 days
Build complex HTML artifacts with React, Tailwind CSS, state management and routing.
ANanthropics/skills181k1,119 new stars in the last 7 days