Chinteyley/tiktok-break

Chinteyley/tiktok-break

一個非官方 Claude Code 外掛,會在 Claude 工作時於側邊面板播放 TikTok 的 For You 動態。它使用自己的設定檔執行無頭 Chromium,透過 DevTools 協定將動態錄製成 PNG 畫格,再透過終端機的 kitty graphics 協定重繪面板。指令包括 /tiktok 和 /tiktok login;面板控制包括下一個/上一個、暫停、靜音、按讚和轉發。需要 macOS 或 Linux、以 Chromium 為基礎的預設瀏覽器、PATH 上的 Bun、支援 kitty graphics 的終端機,以及帶有 function-hook 外掛的 Claude Code 建置。注意:它會關閉自動化旗標啟動 Chrome,以繞過 TikTok 的自動化檢查,並執行真實帳號操作;同時會以每秒約 30 次的速度寫入約 0.5 MB 的 PNG 畫格。授權條款為 MIT。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add Chinteyley/tiktok-break claude plugin install tiktok-break
Watch TikTok inside Claude Code while Claude works, in a pane beside the transcript.

Unofficial. Not affiliated with TikTok or Anthropic.
| Command | What it does |
| --- | --- |
| /tiktok | Plays your For You feed in a pane; run it again to close. |
| /tiktok login | Opens a real browser window on the mod's profile so you can log in. Close it, then run /tiktok. |
The pane docks at the side, full height, when Claude Code is in its fullscreen layout and the terminal is at least 110 columns wide. In a smaller terminal it is a block above the prompt. Docked, a video is framed with its creator, likes, comments, saves and shares; above the prompt, the video alone.
Click a control under the picture, or press ctrl+x tab to give the pane the keyboard and use its key. Esc hands the keyboard back to the prompt.
| Key | Control |
| --- | --- |
| k | Previous video |
| j | Next video |
| p | Pause or play |
| m | Mute or unmute |
| l | Like |
| r | Repost (again takes it back) |
A video that finishes moves on to the next by itself. Like and Repost are real actions on the account you logged in with.
env or flatpak isn't
detected. A snap-packaged Chromium can't write the profile in ~/.config
and won't work.PATHclaude plugin marketplace add Chinteyley/tiktok-break
claude plugin install tiktok-break@tiktok-break
Then start Claude Code, or run /reload-plugins in a session that is already
open.
To work on the mod instead, clone the repository and load the folder directly; edits to it reload live:
git clone https://github.com/Chinteyley/tiktok-break
claude --plugin-dir ./tiktok-break
viewer/viewer.ts runs a headless Chrome on a profile of its own
(~/Library/Application Support/tiktok-break on macOS,
~/.config/tiktok-break on Linux), opens the For You feed and
screencasts it over the DevTools protocol. Each frame is written to one PNG
file, and the mod (hooks/register.tsx) repaints the pane's picture from that
file through the terminal's graphics protocol. The controls go the other way
over a Unix socket: the viewer presses TikTok's own keyboard shortcuts in the
page. Sound comes from that Chrome.
/tiktok login opens a plain app window of the same browser on the same profile, which is
how the pane comes to be logged in.
/tiktok login window for comments and search./tiktok login.claude plugin validate .
claude plugin test .
tsc -p .
tsc needs the type declarations Claude Code lays into .claude-plugin/types/
the first time it loads the mod; that folder is not checked in.
MIT