[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CS23P85MSVBX11XMFB29PF":3,"skill-same:01M6CS23P85MSVBX11XMFB29PF":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":6,"updatedAt":52,"install":53,"resources":65},"01M6CS23P85MSVBX11XMFB29PF","tmux-observer",null,"Attach a tmux window to an already-running fir session — observe its transcript and drive its input via tmux send-keys. Use when you need to watch or steer another fir agent.","kfet\u002Ffir","kfet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F14585?v=4","01M6CRZCB8P1V37WM3X0GB2DA6","Kalin Fetvadjiev","01M6CRZCFG1EW1WEN4RK84W1N5",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftmux-observer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"observer","tmux observer","tmux","via","running","when","send","window","steer","keys","true","you","input","watch","attach","observe","drive","use","session","transcript","2026-11-10 10:12:30",false,"---\nbuiltin: true\nname: tmux-observer\ndescription: Attach a tmux window to an already-running fir session — observe its transcript and drive its input via tmux send-keys. Use when you need to watch or steer another fir agent.\noverride: true\n---\n\nAttach a tmux window to an **already-running** fir session so you can both observe its transcript and drive its input. The fir session must already exist (started by someone else, or by you in a previous step) — this skill does not start sessions.\n\nThe whole skill is three tmux commands plus one fir command. There is no script.\n\n## First: you may not need a window at all\n\n`fir observe` and `fir send` work one-shot, without a TTY, and over ssh.\nFor an agent (rather than a human) that is strictly better than reading a\npane:\n\n```bash\nfir observe \u003Cid> --status [--json]   # idle | running | error | no-model | observe-lost | ended | crashed,\n                                     # model, current tool, last error, startup notice\nfir observe \u003Cid> -n 40               # status + last 40 transcript entries; exits\nfir observe \u003Cid> --wait --timeout 10m  # block until the current run ends, then snapshot\nfir send \u003Cid> --wait --timeout 10m 'do X'  # send, block for the turn, print the final reply\nfir send \u003Cid> '!stop, read foo.go'   # steer;  fir send \u003Cid> --abort  cancels the turn\n```\n\n**Another host:** run exactly the same commands there over ssh — e.g.\n`rexec(host, \"fir observe \u003Cid> --status\")`. The `observe_session` \u002F\n`send_session` tools are local-only. Do not scrape the remote tmux pane to\nlearn whether the agent works; `--status` shows things like\n`no-model: No models available…` or an auth error that the transcript\nalone does not.\n\nUse the observer window below when a human wants a live view, or you\nwant a persistent `--interact` pane.\n\n## When to use\n\n- You started or know about another fir session (ACP, interactive, or `-p`) and want to watch what it's doing.\n- You want to send prompts, steer mid-turn, or queue follow-ups into that session from your own process.\n- You want a persistent observation window the human (or you) can re-check anytime.\n\n## The model\n\n**One tmux window per fir session you want to drive.** The window runs `fir observe \u003Cid> --interact`, which both tails the transcript and accepts stdin as messages back into the session. You read state with `tmux capture-pane` and send input with `tmux send-keys`.\n\n## Step 1 — discover the session id\n\n```bash\nfir observe        # table of running sessions: ID PID NAME CWD STATUS AGE\n```\n\nPick the 8-char id prefix from the `ID` column. Or resolve by cwd:\n\n```bash\nfir observe --cwd \u002Fpath\u002Fto\u002Fproject   # errors if 0 or >1 matches\n```\n\nYou can also read sidecars directly: `~\u002F.local\u002Fstate\u002Ffir\u002Fagents\u002F\u003Cid>.json` contains `session_id`, `session_name`, `cwd`, `status`, `mode`, etc.\n\n## Step 2 — spawn the observer window\n\n```bash\ntmux new-window -n fir-\u003Cshort> \"fir observe \u003Cid> --interact\"\n```\n\n- Formatted transcript with full message text — no truncation. Best for capture-pane reading.\n- `--interact` = stdin lines are sent as messages. **Required** if you want to use `tmux send-keys` to drive the session.\n- Use `--json` if you need raw JSONL events for programmatic parsing (more tokens, less readable).\n- Window name `fir-\u003Cshort>` is just a convention — pick whatever helps you find it later. Use `tmux list-windows` to see your windows.\n\nIf you want the observer in a fresh tmux session instead of the current one, use `tmux new-session -d -s \u003Cname> ...` — that's your call. This skill does not prescribe layout, naming, or session strategy.\n\n## Step 3 — read the transcript\n\n```bash\ntmux capture-pane -p -t \u003Cwindow>           # currently visible content\ntmux capture-pane -p -S - -t \u003Cwindow>      # full scrollback from the start\ntmux capture-pane -p -S -200 -t \u003Cwindow>   # last 200 lines\n```\n\n`-p` prints to stdout. `-t` accepts window names (`fir-\u003Cshort>`) or indices.\n\n## Step 4 — send input\n\nEach `tmux send-keys ... Enter` sends one message because `--interact` is line-oriented (Enter sends immediately).\n\n```bash\n# Plain prompt — fresh turn (queues if mid-turn).\ntmux send-keys -t \u003Cwindow> 'what is your current plan?' Enter\n\n# Steer — interrupt the current turn.\ntmux send-keys -t \u003Cwindow> '!stop, read foo.go first' Enter\n\n# FollowUp — queue for after the current turn.\ntmux send-keys -t \u003Cwindow> '+also update the changelog' Enter\n\n# Literal leading ! or +  — escape with backslash.\ntmux send-keys -t \u003Cwindow> '\\!literal bang' Enter\n```\n\nSigil rules (first char of the line):\n- `!` → `deliver_as=steer` (interrupt)\n- `+` → `deliver_as=followUp` (queue)\n- `\\!` \u002F `\\+` → escape, send literal\n- anything else → fresh prompt\n\nEmpty \u002F whitespace-only lines are silently skipped.\n\n## Step 5 — close the window\n\n```bash\ntmux kill-window -t \u003Cwindow>\n```\n\nThe fir session itself keeps running; you only close your observer.\n\n## Caveats\n\n- **`--interact` against a `mode: interactive` session races with the human's TTY input.** Check the sidecar's `mode` field before driving an interactive session. ACP and print-mode sessions are the natural targets.\n- **Quoting in `tmux send-keys`.** Single-quote your message and the shell takes care of it. For messages containing single quotes, prefer a heredoc piped to `fir send`:\n  ```bash\n  fir send \u003Cid> \u003C\u003C'EOF'\n  message with 'quotes' and special chars\n  EOF\n  ```\n  (`fir send` is the alternative input path — same socket, no observer pane needed. Use it when send-keys quoting gets ugly.)\n- **Multi-line messages via send-keys.** Each Enter sends a separate message. For multi-line content, pipe via `fir send` instead — piped stdin is delivered as one message.\n- **Post-mortem.** If the session has ended, the sidecar still points at its transcript; `fir observe \u003Cid> -n 100` prints it. The window will not accept input.\n","Attach a tmux window to an **already-running** fir session so you can both observe its transcript and drive its input. The fir session must already exist (started by someone else, or by you in a previous step) — this skill does not start sessions.\n\nThe whole skill is three tmux commands plus one fir command. There is no script.\n\n## First: you may not need a window at all\n\n`fir observe` and `fir send` work one-shot, without a TTY, and over ssh.\nFor an agent (rather than a human) that is strictly better than reading a\npane:\n\n```bash\nfir observe \u003Cid> --status [--json]   # idle | running | error | no-model | observe-lost | ended | crashed,\n                                     # model, current tool, last error, startup notice\nfir observe \u003Cid> -n 40               # status + last 40 transcript entries; exits\nfir observe \u003Cid> --wait --timeout 10m  # block until the current run ends, then snapshot\nfir send \u003Cid> --wait --timeout 10m 'do X'  # send, block for the turn, print the final reply\nfir send \u003Cid> '!stop, read foo.go'   # steer;  fir send \u003Cid> --abort  cancels the turn\n```\n\n**Another host:** run exactly the same commands there over ssh — e.g.\n`rexec(host, \"fir observe \u003Cid> --status\")`. The `observe_session` \u002F\n`send_session` tools are local-only. Do not scrape the remote tmux pane to\nlearn whether the agent works; `--status` shows things like\n`no-model: No models available…` or an auth error that the transcript\nalone does not.\n\nUse the observer window below when a human wants a live view, or you\nwant a persistent `--interact` pane.\n\n## When to use\n\n- You started or know about another fir session (ACP, interactive, or `-p`) and want to watch what it's doing.\n- You want to send prompts, steer mid-turn, or queue follow-ups into that session from your own process.\n- You want a persistent observation window the human (or you) can re-check anytime.\n\n## The model\n\n**One tmux window per fir session you want to drive.** The window runs `fir observe \u003Cid> --interact`, which both tails the transcript and accepts stdin as messages back into the session. You read state with `tmux capture-pane` and send input with `tmux send-keys`.\n\n## Step 1 — discover the session id\n\n```bash\nfir observe        # table of running sessions: ID PID NAME CWD STATUS AGE\n```\n\nPick the 8-char id prefix from the `ID` column. Or resolve by cwd:\n\n```bash\nfir observe --cwd \u002Fpath\u002Fto\u002Fproject   # errors if 0 or >1 matches\n```\n\nYou can also read sidecars directly: `~\u002F.local\u002Fstate\u002Ffir\u002Fagents\u002F\u003Cid>.json` contains `session_id`, `session_name`, `cwd`, `status`, `mode`, etc.\n\n## Step 2 — spawn the observer window\n\n```bash\ntmux new-window -n fir-\u003Cshort> \"fir observe \u003Cid> --interact\"\n```\n\n- Formatted transcript with full message text — no truncation. Best for capture-pane reading.\n- `--interact` = stdin lines are sent as messages. **Required** if you want to use `tmux send-keys` to drive the session.\n- Use `--json` if you need raw JSONL events for programmatic parsing (more tokens, less readable).\n- Window name `fir-\u003Cshort>` is just a convention — pick whatever helps you find it later. Use `tmux list-windows` to see your windows.\n\nIf you want the observer in a fresh tmux session instead of the current one, use `tmux new-session -d -s \u003Cname> ...` — that's your call. This skill does not prescribe layout, naming, or session strategy.\n\n## Step 3 — read the transcript\n\n```bash\ntmux capture-pane -p -t \u003Cwindow>           # currently visible content\ntmux capture-pane -p -S - -t \u003Cwindow>      # full scrollback from the start\ntmux capture-pane -p -S -200 -t \u003Cwindow>   # last 200 lines\n```\n\n`-p` prints to stdout. `-t` accepts window names (`fir-\u003Cshort>`) or indices.\n\n## Step 4 — send input\n\nEach `tmux send-keys ... Enter` sends one message because `--interact` is line-oriented (Enter sends immediately).\n\n```bash\n# Plain prompt — fresh turn (queues if mid-turn).\ntmux send-keys -t \u003Cwindow> 'what is your current plan?' Enter\n\n# Steer — interrupt the current turn.\ntmux send-keys -t \u003Cwindow> '!stop, read foo.go first' Enter\n\n# FollowUp — queue for after the current turn.\ntmux send-keys -t \u003Cwindow> '+also update the changelog' Enter\n\n# Literal leading ! or +  — escape with backslash.\ntmux send-keys -t \u003Cwindow> '\\!literal bang' Enter\n```\n\nSigil rules (first char of the line):\n- `!` → `deliver_as=steer` (interrupt)\n- `+` → `deliver_as=followUp` (queue)\n- `\\!` \u002F `\\+` → escape, send literal\n- anything else → fresh prompt\n\nEmpty \u002F whitespace-only lines are silently skipped.\n\n## Step 5 — close the window\n\n```bash\ntmux kill-window -t \u003Cwindow>\n```\n\nThe fir session itself keeps running; you only close your observer.\n\n## Caveats\n\n- **`--interact` against a `mode: interactive` session races with the human's TTY input.** Check the sidecar's `mode` field before driving an interactive session. ACP and print-mode sessions are the natural targets.\n- **Quoting in `tmux send-keys`.** Single-quote your message and the shell takes care of it. For messages containing single quotes, prefer a heredoc piped to `fir send`:\n  ```bash\n  fir send \u003Cid> \u003C\u003C'EOF'\n  message with 'quotes' and special chars\n  EOF\n  ```\n  (`fir send` is the alternative input path — same socket, no observer pane needed. Use it when send-keys quoting gets ugly.)\n- **Multi-line messages via send-keys.** Each Enter sends a separate message. For multi-line content, pipe via `fir send` instead — piped stdin is delivered as one message.\n- **Post-mortem.** If the session has ended, the sidecar still points at its transcript; `fir observe \u003Cid> -n 100` prints it. The window will not accept input.\n",{"name":5,"builtin":44,"override":44,"description":7},true,"main","76b360b35f87ec18e1776cf6feafc7a025bdea64","pkg\u002Fresources\u002Fbuiltin_skills\u002Ftmux-observer",0,"https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir","https:\u002F\u002Fgithub.com\u002Fkfet","https:\u002F\u002Fgithub.com\u002Fkalin-sa","2026-11-15 03:16:15",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":44},[55,58,61],{"tool":56,"command":57},"npx","npx skills add kfet\u002Ffir --skill tmux-observer",{"tool":59,"command":60},"bunx","bunx skills add kfet\u002Ffir --skill tmux-observer",{"tool":62,"command":63},"pnpm","pnpm dlx skills add kfet\u002Ffir --skill tmux-observer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftmux-observer\u002FSKILL.md",[66,72,76,80],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"evals\u002Fevals.json","REFERENCE","参考文档",6702,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMarketing-and-Growth\u002Femail-sequence\u002Fevals\u002Fevals.json",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fcopy-guidelines.md",2332,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMarketing-and-Growth\u002Femail-sequence\u002Freferences\u002Fcopy-guidelines.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Femail-types.md",14250,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMarketing-and-Growth\u002Femail-sequence\u002Freferences\u002Femail-types.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fsequence-templates.md",3918,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMarketing-and-Growth\u002Femail-sequence\u002Freferences\u002Fsequence-templates.md",[85,106,126,144,170,188],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M6CS290490SZNX8V35TF3N6X","wt","Spawn a fresh fir agent in its own tmux session on its own git worktree. Use whenever the user wants the work — or the conversation about the work — to happen over there, not here. If the user points at this skill, or has directly loaded it in the context, that alone is the cue — spawn, don't inline.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fwt\u002FSKILL.md",[],[87,21,92,93,94,95,96,97,98,37,36,99,100,101,102,103,29,104,105],"git","worktree","git worktree","work","context","user","spawn","conversation","cue","fresh","it","about","at","inline",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":39},"01M6CS26KAKJ7VYRQ3RJ31SJ6S","wrap-up","Wrap up work on a project branch — review, fix, and simplify in a loop until clean, then ff-merge to main.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fwrap-up\u002FSKILL.md",[],[113,114,115,116,117,118,119,120,95,121,122,123,45,124,125,29],"wrap up","up","wrap","review","merge","simplify","loop","work on","branch","fix","clean","merge to main","project",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"01M6CS21ENQ3D7Z08TDKXHJRR6","tmux-driver","Drive interactive CLIs (python, gdb, etc.) via named tmux sessions with multi-window support. Falls back to fir's built-in PTY driver when tmux is unavailable.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftmux-driver\u002FSKILL.md",[],[21,133,134,135,136,137,138,139,35,140,141,22,142,143,29,26,24],"tmux driver","driver","python","support","sessions","interactive","PTY","back","gdb","multi","with",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":39},"01M6CS1YWSAH2TQ7S4VK7VKJT6","telegram-bot-setup","Set up a new Telegram bot channel for a fir project — install the telegram MCP, create a per-project state dir, drop in the bot token, wire .fir\u002Fmcp.json with TELEGRAM_STATE_DIR, pair the user, and verify. Use when the user asks to add, configure, or onboard a Telegram bot for a fir worktree\u002Fproject.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftelegram-bot-setup\u002FSKILL.md",[],[151,152,153,154,155,156,157,158,93,159,160,161,162,163,164,165,166,36,114,167,125,143,29,168,24,169],"bot","setup","telegram bot","telegram","telegram bot setup","MCP","create","state","SET","verify","onboard","configure","json","pair","install","channel","drop","for","new",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":39},"01M6CS1VSW4C1W1QED8NDHBHZ9","sync","Sync with an upstream source repo — detect changed files, apply equivalent downstream edits, update the baseline, and report any new features or non-trivial changes picked up.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fsync\u002FSKILL.md",[],[172,177,178,179,180,114,181,182,183,143,29,184,185,186,187,169],"update","report","baseline","repo","files","upstream","detect","source","changes","features","apply",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":39},"01M6CS1S97WRF201V66YC8GPY8","skill-creator","Create, write, add, edit, update, or review a fir skill — author SKILL.md with frontmatter and agent-facing instructions, run the quality checklist, and tell the user to \u002Freload.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fskill-creator\u002FSKILL.md",[],[195,196,116,157,197,177,198,199,200,201,202,97,203,204,143,29,205,206],"skill creator","creator","run","author skill","quality","write","edit","instructions","checklist","add","frontmatter","author"]