Logo Slack Report

Slack Report

Cộng đồng
kevinslin
slack-report

Generate incremental Slack digests for channels, topics, and categories.

Tổng quan

Nhà phát hànhkevinslin
Kho mãagstack
Tên kỹ năngslack-report
Sao
26
Bản fork
1
Tệp đi kèm
3
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được kevinslin công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Slack Report trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/kevinslin/agstack/tree/main/active/slack-report
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinslin/agstack.git /tmp/agstack
mkdir -p .claude/skills
cp -r /tmp/agstack/active/slack-report .claude/skills/slack-report
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Slack Report trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Slack Report ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Slack Report với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Slack Report

Overview

Create a Slack report for a named stream such as super-agent by scanning the requested Slack channels, collecting only messages newer than the last successful check, merging the findings into that day’s report file, writing a short top-level summary, and writing the new watermark only after the report is complete. When the user asks for a Google Doc version, also write the report into a persistent Google Doc and reuse that same doc on later runs.

The report input is:

  • title: report title, used for the watermark file name
  • channels: Slack channels to scan
  • topic: the subject to prioritize while reading
  • categories (optional): ordered buckets such as announcements, updates, feedback
  • output (optional): markdown by default; when the user asks for a Google Doc or gdoc, write both the markdown report and the Google Doc

Report File

  • Resolve $DOCS_ROOT from the environment when set.
  • Default $DOCS_ROOT to ~/code/openai/0/notes when the environment variable is unset.
  • Default report root: $DOCS_ROOT/report
  • Per-report folder: $DOCS_ROOT/report/[report-title]/
  • Daily file: $DOCS_ROOT/report/[report-title]/[yyyy-mm-dd].md
  • Use the normalized report-title slug for the folder name so paths stay stable across runs.
  • When the same report is run multiple times on the same local calendar day, update the existing daily file instead of creating a second file.
  • Keep a ## Update Log section at the end of the report and append one line for each successful write or merge.

Use the helper script for deterministic report-path handling:

bash
python3 ./scripts/report_state.py report-path --title "<report-title>"

report-path prints JSON with the resolved docs root, report directory, report file path, and local report date.

State File

  • Watermark directory: ~/.llm/skills/slack-report/
  • Watermark file: ~/.llm/skills/slack-report/[report-title]_last_updated
  • Google Doc URL state file: ~/.llm/skills/slack-report/[report-title]_gdoc_url
  • If the watermark file exists, scan only messages created after that timestamp.
  • If the watermark file does not exist, look back 24 hours from now.
  • If the Google Doc URL state file exists, reuse that exact URL instead of creating a new doc.
  • If the Google Doc URL state file does not exist and the user asked for a Google Doc, create one named KL {Report Title} and persist its URL only after the first successful write.
  • Store the watermark only after a successful report run.

Use the helper script for deterministic timestamp handling:

bash
python3 ./scripts/report_state.py window --title "<report-title>"
python3 ./scripts/report_state.py report-path --title "<report-title>"
python3 ./scripts/report_state.py gdoc-url --title "<report-title>"
python3 ./scripts/report_state.py write --title "<report-title>" --timestamp "<end-iso>"
python3 ./scripts/report_state.py write-gdoc-url --title "<report-title>" --url "<google-doc-url>"

window prints JSON with the state file path, the effective start/end ISO timestamps, and Slack-compatible oldest_ts / latest_ts values. gdoc-url prints JSON with the persisted Google Doc URL, if any.

Workflow

  1. Resolve the scan window with ./scripts/report_state.py window --title "<report-title>".
  2. Resolve the target report file with ./scripts/report_state.py report-path --title "<report-title>".
  3. If the user asked for a Google Doc, resolve the existing doc URL with ./scripts/report_state.py gdoc-url --title "<report-title>".
  4. If the user asked for a Google Doc and no URL is stored yet, create a new Google Doc named KL {Report Title}, then persist its URL with ./scripts/report_state.py write-gdoc-url --title "<report-title>" --url "<google-doc-url>" after the first successful write.
  5. If the daily report file already exists, read it first and merge into it instead of starting over.
  6. Search or read only the requested channels.
  • Prefer slack_read_channel when the channel list is known and bounded.
  • Prefer slack_search_public when keyword filtering will substantially reduce noise.
  • Use slack_search_public_and_private only when the user explicitly wants private coverage or has already consented.
  1. Keep only messages created within the computed window.
  2. Expand threads only for messages that look directly relevant to the topic or a requested category.
  3. Summarize the strongest items into the requested categories.
  • If categories are provided, use them in the user-supplied order.
  • If categories are omitted, infer a small set of useful headings from the messages.
  1. Omit empty categories unless the user explicitly wants them shown.
  2. When merging into an existing same-day report:
  • de-duplicate entries by Slack permalink
  • keep the existing section order when possible
  • append genuinely new items into the correct category
  • rewrite the ## Summary section so it reflects the merged report, not just the newest delta
  • preserve prior write history in the ## Update Log section
  1. Write a ## Summary section near the top of the daily markdown report before the category sections.
  • Always generate the summary via a dedicated froge subagent when froge is available in the current Codex session.
  • Pass the merged report content to froge and request a short 2-4 sentence summary that is opinionated, technically informed, entertaining, and still genuinely useful.
  • If froge is unavailable or fails, write a direct high-signal summary yourself in a normal voice and note that fallback in your run notes.
  • When the summary references specific updates that already appear as headings lower in the file, prefer local Markdown anchor links to those headings.
  1. If the user asked for a Google Doc, keep a cumulative doc with the newest report day prepended near the top using this exact outer structure:
md
# [Report title]
- [last updated time]

## [today report]

## [yesterday report]
  1. In the Google Doc, treat each dated section such as ## 2026-03-11 Report as a daily block that contains that day's summary, categories, and items. Insert the newest day's block immediately after the title and last-updated line so the doc reads newest-to-oldest.
  2. When updating an existing Google Doc:
  • replace the single - [last updated time] line with the current run time
  • replace that day’s existing ## [date] Report block if it already exists, otherwise insert a new block at the top
  • preserve older dated sections below it
  1. Append a new ## Update Log line at the end of the markdown daily file, for example - 2026-02-27 11:10 PST: merged 4 new items from 2026-02-27 09:00 PST to 2026-02-27 11:10 PST.
  2. After the markdown report and optional Google Doc are successfully written, advance the watermark with ./scripts/report_state.py write.

Categorization Rules

  • announcements: launches, milestones, invitations, trackers, POR changes, enablement notices
  • general feedback: bugs, UX complaints, reliability issues, approval friction, connector mismatches
  • gmail feedback: Gmail-specific auth, scope, send-email, write-action, or connector behavior
  • tips: how-to advice, settings, workarounds, model overrides, recommended prompts
  • usecases: real workflows, demos, success stories, examples of value

If a message fits multiple categories, place it in the most decision-useful one and mention the overlap in the description when needed.

Output Template

Use this Markdown shape for each dated report section:

md
## Summary

[2-4 sentence summary of the current report]

## [yyyy-mm-dd Report]

## [category]
### [title]
- source: [Slack permalink](https://openai.slack.com/archives/...)
- time: [posted timestamp]

[description]

When the user asks for a Google Doc, the cumulative doc should start with:

md
# [Report title]
- [last updated time]

End each markdown daily file with:

md
## Update Log
- 2026-02-27 10:54 PST: created report from 2026-02-26 10:54 PST to 2026-02-27 10:54 PST

Descriptions should be short and concrete:

  • what happened
  • why it matters for the topic
  • key reply or resolution when a thread adds important context

The summary should be short and decision-useful:

  • lead with the main takeaway from the full merged report
  • use froge subagent output when available; otherwise use concise direct fallback text
  • if it cites specific items below, link to them with local Markdown anchors when practical

Notes

  • Treat the report as incremental. Do not repeat items older than the stored watermark.
  • If this is the first run, state that the scan window used the last 24 hours.
  • Store the report in the daily file under $DOCS_ROOT/report/[report-title]/.
  • Reuse the same file for same-day reruns and merge in new items instead of replacing the file.
  • Recompute the summary after each same-day merge so it describes the whole file as it stands now.
  • When a Google Doc is requested, always write the markdown daily file first, then sync the cumulative Google Doc from that merged result.
  • Use the Google Docs tools to create or update the doc; do not create duplicate docs for the same report title once a URL has been persisted.
  • When the requested channels are noisy, bias toward fewer high-signal entries instead of exhaustively listing every message.
  • Preserve Slack permalinks for every item.
  • Write source values as explicit Markdown links, not bare URLs. This preserves clickability in downstream conversions such as Markdown -> HTML -> Google Docs, where plain URLs may not be auto-linked.
  • When descriptions mention additional URLs that should stay clickable, prefer explicit Markdown links there too.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Slack Report làm được gì?

Generate incremental Slack digests for channels, topics, and categories.

Vì sao nên dùng Slack Report trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Slack Report là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Slack Report trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/kevinslin/agstack/tree/main/active/slack-report. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Slack Report?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Slack Report với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Slack Report với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Slack Report có miễn phí không?

Kỹ năng này được kevinslin phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇