본문으로 건너뛰기
cccskills
무료GitHub에 공개

watch-channel

Put a nightly watcher on any Telegram channel or chat in one command: register the channel and a single nightly job doing an incremental zero-token fetch plus the shared detector, producing a private shortlist report. Triggers: "/watch-channel <@channel|id>", "watch this channel", "monitor <channel> nightly".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Telegram
설치 방법 보기

포함된 파일(1)

  • SKILL.md6.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/watch-channel - put a nightly watcher on a channel with one command

🧒 End the report to a non-technical owner with a simple "In plain words" recap (memory eli5-always).

This is the "turn /mine-channel into a nightly routine" button (its Step 5, "should this become a routine?"). One parametric runner + a registry + ONE nightly job on the hub - we do NOT write a new engine per channel. Cost ladder [[vault-data-architecture]]: the incremental detector (0 tokens) at night → the LLM judge ONLY on demand (/alpha-judge), NEVER in cron.

Boundary vs neighbors: /mine-channel = a one-off mine (full scrape + judge + vault). /watch-channel = put it on nightly autopilot (incremental + detector → a private report; the judge stays manual). /chat = find the channel id.

Steps

0. RECALL (don't duplicate). Is the channel already watched? Read $IMPORTS_ROOT/watchers/watchers.json - if the slug is there and active:true, it already works (tell the owner, don't spawn a second one). Legacy per-community watchers have their own engines and do NOT go through this registry.

1. Resolve the channel → id + slug. A username (@prompt_design) or a numeric id. Don't know the id - /chat <name> or mcp__telegram__search_dialogs. Pick a short latin slug (it doubles as the folder _imports\alpha\<slug>).

2. Confirmation fork (show BEFORE→AFTER, wait for +). Ask/confirm 3 things, because there are non-trivial choices here (this is not a "blind yes", [[informed-consent-explain-why]]):

  • the account session - which Telegram account we read as (that account must be subscribed / have access to the channel). Default TELEGRAM_SESSION_STRING_WORK_ACCT_A. ⚠️ AuthKey invariant ([[deterministic-script-gotchas]]): the watchers' session must NOT be used simultaneously by a live MCP from another IP - Telegram will invalidate the key. All watchers run sequentially on the HUB under one session - that is safe; but if the chosen account is the one holding a live listener, pick a dedicated ..._WATCH session instead.
  • sensitivity - a closed/delicate channel → sensitivity:"private" (anti-leak on the OUTPUT side - the report never goes outbound/public, [[telegram-safety]]).
  • window/top - window_days (default 3), top (default 25).

3. Register it. Append an object to watchers.json → watchers[] (fields are described in the file's _fields), active:true. That is all the "code" a new channel needs - you do NOT create a new scheduler task (one shared task runs the whole registry).

4. Create/verify the nightly task - ON THE HUB ([[hub-master-machine]], [[desktop-max-laptop-min]]; night window [[routines-run-at-night]]). All automatic Telegram jobs are consolidated on the always-on hub. If WatchChannelsNightly does not exist yet - create it there (via a _machine-bus task to the hub, [[machine-bus-telegram-rail]]):

  • command: watch_run.cmd → python $IMPORTS_ROOT/watchers/watch_run.py (PYTHONUTF8=1, PYTHONIOENCODING=utf-8, log in _watch_run_log.txt);
  • a slot inside the night window, spaced apart from the other nightly miners (03:30 / 04:15 / voice) - e.g. 04:45;
  • _imports is NOT synced → stage the engine into _machine-bus\_transit\_imports-engines\watchers\ and ask the hub to copy it. If the task already exists - the registry simply got updated, and the new channel is picked up the next night.

5. Prove it (/tt) while the session is alive. One-off run of a single channel: python $IMPORTS_ROOT/watchers/watch_run.py <slug> → check that _imports\alpha\candidates\<slug>-report.md appeared and the counter says +N new. A repeat run = +0 (idempotent). ⚠️ Check the report's CONTENT too, not just the counters: it must contain clickable t.me/... links (for that the registry entry needs the username field - without it detect() only gets a numeric id and writes no links; this pitfall was caught 2026-07-04). On a laptop with a dead/foreign session skip the live test - the first run happens on the hub.

Management

  • list: read watchers.json (or /arch).
  • remove/pause: active:false (don't delete - the history and the db stay).
  • reports: _imports\alpha\candidates\<slug>-report.md (overwritten nightly, the latest one is the fresh one). Want it in the vault - run /alpha-judge or Step 4 of /mine-channel (judge → atomic notes + concept links).

Boundaries

READING the channel only, never send anything into it. The detector is generic (KW/PROMO/BANTER in mine_channel.py); per-channel tuning happens there too. Sensitive channels → #private, never outbound. The judge (LLM) - ON DEMAND ONLY, never in the nightly cron (token economy).

<!--kit-footer-->

Like this skill? It is part of second-brain-starter-kit: the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with npx skills add tonydzi/second-brain-starter-kit. Everything is open source and free, so take what you need.

Flagships worth a look on their own: secondop-panel (a second opinion from a panel of external models), claude-memory-tidy (stop your agent's memory from rotting), telegram-mcp-kit (your own Telegram over MCP in about 15 minutes).

Author: Anton Dziatkovskii, Palo Alto AI Research Lab. Telegram @tonydzi - WhatsApp +1 341 222 9178 - X @Tony_Stef_

Engineers: want to test-drive this setup? Message me. I hand out free starter seeds to engineers who test and report back, and custom skill requests are welcome.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

03

무료

Run an autonomous consensus round between agent peers on several machines: they negotiate a decision over a shared channel and execute it without a human relaying messages. Use when multiple machines must agree on a change. Triggers: "/03", "work it out among yourselves", "find consensus". Wakes the human only for irreversible actions or a deadlock.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tonydzi/second-brain-starter-kit92026년 10월 20일 업데이트

1

무료

Recover a session after a hard crash (app died, machine rebooted, context lost mid-work): replay the turn-state ledger for the last requests, files and decisions, run a green/red health ping over the system map, file sync and MCP connectors, then rebuild the previous session history for pickup. Triggers: "/1", "resume after crash", "wake".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tonydzi/second-brain-starter-kit92026년 10월 20일 업데이트

agenda

무료

Show the operator's day: today's calendar plus what needs them personally (leads due, people awaiting a reply, deadlines), pulled from Calendar and Telegram and ranked. Read-only: sends and commits nothing. Triggers: "/agenda", "what's on today", "my agenda".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tonydzi/second-brain-starter-kit92026년 10월 20일 업데이트

ai-slop

무료

Rewrite machine-written text so it reads like a busy human wrote it: cut 50-70%, break the even rhythm, drop AI-tell words and filler, keep facts and protected terms. Use before publishing any post, reply or email drafted by a model. Triggers: /ai-slop, /slop, humanize, anti-slop, make it shorter and alive.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tonydzi/second-brain-starter-kit92026년 10월 20일 업데이트

Decision protocol for strategic work: recall the knowledge vault, run a gap analysis, emit a deep-research prompt for external tools, then synthesize the returned reports into a decision memo. Use before any new product, feature, market, pricing, GTM or architecture call, where local recall alone is not enough. Triggers: "/alfa-search-recall-deepresearch", "alpha protocol", "R+DR".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tonydzi/second-brain-starter-kit92026년 10월 20일 업데이트

- КРЕДИТ АВТОРУ ИДЕИ: совет из комментария (TG @ClawRus / @ClawInga, комменты под постами Антона в FB, треды и issue на… Триггеры: “/alpha-credit“, “/credit“, “кто нам это посоветовал“, “запиши совет“, “поблагодари советчиков“, “кому мы должны спасибо“, “кредит автору“, “чей это был совет“, “credit the author“

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tonydzi/second-brain-starter-kit92026년 10월 20일 업데이트

tonydzi의 스킬 모두 보기

이 스킬의 문제 신고