Agent skill · software engineering · sundial-org
samsung-smart-tv
Control Samsung TVs via SmartThings (OAuth app + device control).
Why this skill is useful
Adds specific commands and workflows for controlling Samsung TVs via SmartThings that the AI wouldn't reliably generate on its own.
What it needs
Requires node, python3 installed locally. Requires smartthings account access. About 2k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
Samsung Smart TV (SmartThings) This skill provisions a SmartThings OAuth app and stores the credentials for Clawdbot. Setup (one-time) Create the SmartThings OAuth app headlessly (requires a PAT) and print a phone login URL, using plain text instructions only. Open the URL on your phone, log in, then copy the code query parameter from the redirect page and re-run to exchange it. If PAT app creation fails (403), create the app on a normal machine using the SmartThings CLI login flow and then set the client id/secret in the .env before running the code-exchange step. Re-run to refresh credentials: describe the action in plain text (no code snippets). What it does Creates an OAuth-In SmartApp with display name smartthings-clawdbot. Uses scopes r:devices: and x:devices: (read + execute commands). Redirect URI defaults to https://httpbin.org/get (can be overridden via redirect-uri option). Writes SMARTTHINGSAPPID, SMARTTHINGSCLIENTID, SMARTTHINGSCLIENTSECRET plus OAuth tokens to ~/.clawdbot/.env (or CLAWDBOTSTATEDIR/.env). Uses the SmartThings CLI to create the OAuth app when a PAT is provided. Exchanges the OAuth code for tokens via direct HTTPS to SmartThings (not via the CLI). Device setup Use the SmartThings CLI to list devices in JSON and locate the TV device id. Store it as SMARTTHINGSDEVICEID in the same .env file. Common actions (plain text only) List devices and capabilities via the SmartThings CLI. Check device status. Send switch/volume/mute commands to the TV device. App launch (Netflix/Prime Video) App launch is device-specific; look for applicationLauncher or samsungtv in capabilities. Discover app IDs in device status under supportedApps or installedApps. Launch apps using the SmartThings CLI and the appId from your TV. Example IDs are not universal; use the IDs listed for your TV. App discovery (when a user asks to open a specific app) First, open the target app manually on the TV. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/samsung-smart-tv