Logo Coverage Tracker

Coverage Tracker

Cộng đồngPhổ biến
elvisun
coverage-tracker

Theo dõi mức độ phủ từ khóa theo kiểu Google Alerts. Dùng news-search để tìm các truy vấn từ khóa mới nhất, cho phép LLM loại bỏ mục trùng lặp và phân loại tin tức thực sự với nội dung rác, lưu quyết định vào SQLite và chỉ gửi cảnh báo khi có tin tức thực sự mới.

Add to TypingMind

Tổng quan

Nhà phát hànhelvisun
Kho mãnewsjack
Tên kỹ năngcoverage-tracker
Sao
1.5K
Bản fork
151
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được elvisun 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 Coverage Tracker 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/elvisun/newsjack/tree/main/skills/coverage-tracker
  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/elvisun/newsjack.git /tmp/newsjack
mkdir -p .claude/skills
cp -r /tmp/newsjack/skills/coverage-tracker .claude/skills/coverage-tracker
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 Coverage Tracker 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 Coverage Tracker 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 Coverage Tracker 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.

Coverage Tracker

Track whether configured keywords appeared in real coverage. Keep this simple: news-search collects dated article evidence, you dedupe and judge with the keyword's meaning snippet, and the CLI only stores config plus seen/alert state.

This is not newsjack-detector. Do not score newsjacking opportunities, generate angles, assess standing, or use monitor profiles.

Runtime Mode

  • Full Mode: Use this in Claude Code, Codex, OpenClaw, Hermes, or another capable agent harness with shell, filesystem, network, and local CLI access. Full Mode can read tracker config, check SQLite seen-state, record decisions, and suppress repeat alerts.
  • Limited Mode: Use this in Claude.ai chat, ChatGPT chat, Claude Cowork, or any restricted runtime without shell/filesystem/CLI access. Do not attempt curl, npm, or on-demand CLI installation. Run a one-off manual coverage check from pasted/searchable evidence and disclose that no tracker config, SQLite state, or repeat suppression was used.

Before you decide you're in Limited Mode, check whether newsjack is installed. It ships as a prebuilt, bundled binary — you do not need Go, a compiler, or any build/install step to run it. Never look for a Go toolchain, and never declare the CLI "missing" or tell the user they need a "Go environment" without running this check first:

  1. Run newsjack --version. If it prints a version, you're in Full Mode — use plain newsjack ... for every command.
  2. If newsjack isn't on PATH, try the bundled location ~/.newsjack/bin/newsjack --version. If that prints a version, use that full path in place of newsjack everywhere below.
  3. Only if both fail (and you genuinely have no shell) are you in Limited Mode.

The bundled binary is almost always already installed — assume Full Mode and verify, don't assume it's missing.

Workflow

In Limited Mode, skip the CLI state steps and:

  1. Ask for the keyword, what it means, lookback window, and any exclusions if they are not already present.
  2. Use pasted links first. If search tools are available, search the keyword plus a recency bound and keep dated, attributed article evidence when available.
  3. Dedupe obvious repeats by URL/title/outlet/date.
  4. Classify each item with the verdicts below.
  5. Return a short inline report with new likely coverage, filtered counts, and a Limited Mode caveat that repeat suppression was unavailable.

In Full Mode, run the persistent workflow:

  1. Find the tracker.

    • If the user gave a slug, run newsjack coverage status <slug>.
    • If working in a source checkout, prefer bin/newsjack.
    • If no slug is given, ask which tracker to run unless local context makes it obvious.
    • Read the returned config_path.
  2. Search each keyword.

    • Read the current date from the system (e.g. run date); do not recall it from memory. Compute since_date as that date minus lookback_days from the config, defaulting to 2.

    • For each keyword, call news-search with exactly:

      text
      "keyword" after:YYYY-MM-DD
    • If the keyword has aliases, search each alias the same way, but keep the original keyword entry attached.

    • Keep dated, attributed article fields from news-search: title, url, outlet, author, published_at, and snippet/summary when available.

  3. Dedupe and check stored decisions before using the LLM.

    • Dedupe exact canonical URLs first, then obvious same-article duplicates by title/outlet/date.

    • Create a minimal candidate JSON file only because the CLI helper consumes a file. Put it in a temporary location, or in a timestamped run folder if your harness normally keeps run artifacts:

      json
      {
        "items": [
          {
            "keyword": "profound",
            "title": "Article title",
            "url": "https://...",
            "outlet": "Outlet",
            "author": "Author or null",
            "published_at": "2026-06-05T12:00:00Z",
            "snippet": "Search snippet or summary"
          }
        ]
      }
    • Run:

      bash
      newsjack coverage check <slug> --input candidates.json
    • Do not reclassify known_items unless the user explicitly asks for a fresh review. Use their prior_decision to count filtered/known results and suppress repeat alerts.

    • Classify only unknown_items.

  4. LLM classify unknown items.

    • Use the keyword's means field as the authority for entity matching.
    • Reject generic-word usage and wrong entities, especially for ambiguous keywords like profound.
    • Do not alert from title/snippet keyword presence alone. When the snippet leaves the verdict unclear, read the article before deciding.

    Use these verdicts:

    • real_feature: the article is substantially about the intended entity/product/person. Alert.
    • substantive_mention: meaningful paragraph-level mention, but not a feature. Save, normally no alert.
    • passing_mention: brief mention only. Save, no alert.
    • wrong_entity: the keyword refers to something else. Save, no alert.
    • junk: SEO, scraper, duplicate landing page, job post, docs/help page, or non-news. Save, no alert.
    • uncertain: insufficient evidence. Save, no alert.
  5. Record only newly classified unknown items. If there are no unknown_items, skip coverage record and report from the coverage check result.

    If you classified new items, write the minimum decisions.json needed by the CLI:

    json
    {
      "items": [
        {
          "keyword": "profound",
          "title": "Article title",
          "url": "https://...",
          "outlet": "Outlet",
          "author": "Author or null",
          "published_at": "2026-06-05T12:00:00Z",
          "verdict": "real_feature",
          "confidence": "high",
          "alert": true,
          "rationale": "Why this is about the intended keyword."
        }
      ]
    }

    Include every newly classified unknown item, not only alerts. Saving rejects lets future runs skip them through coverage check.

  6. Persist decisions and suppress repeat alerts.

    bash
    newsjack coverage record <slug> --input decisions.json

    Add --run-dir RUN_DIR only when you already created a run folder for harness provenance. Read the command's JSON stdout directly. Do not write record.json unless the user or harness explicitly wants artifacts. Only articles in new_alerts are newly alertable; previously alerted URLs must not be re-alerted.

  7. Deliver the result to the user. SQLite is the durable record. Do not write a separate report file; compose a short, readable message straight to the user from coverage check and, when run, coverage record:

    • If new_alerts is non-empty, lead with the new real coverage items.
    • If there are no new alerts, say there is no new confirmed coverage.
    • Include a short run summary: keywords searched, since date, candidate count, skipped-known count, newly judged count, new alert count.
    • Include a quiet "Filtered" line with counts by verdict, including prior decisions from known items, not a dump of every junk item.
    • Use clickable links.

    This skill is meant to run unattended on a schedule, so the message must stand alone — the user should not have to open any file to understand the run.

Output Discipline

  • Do not invent publication dates, outlets, or authors. If news-search cannot recover a date, classify cautiously.
  • Do not use story-origin or freshness gates; this is not a newsjack opportunity scan.
  • Do not call angle-generator, journalist-fit-check, or meanest-editor.
  • Do not install native cron. Recurrence belongs to the agent harness.

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

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

Theo dõi mức độ phủ từ khóa theo kiểu Google Alerts. Dùng news-search để tìm các truy vấn từ khóa mới nhất, cho phép LLM loại bỏ mục trùng lặp và phân loại tin tức thực sự với nội dung rác, lưu quyết định vào SQLite và chỉ gửi cảnh báo khi có tin tức thực sự mới.

Vì sao nên dùng Coverage Tracker 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. Coverage Tracker 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 Coverage Tracker trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/elvisun/newsjack/tree/main/skills/coverage-tracker. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Coverage Tracker?

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 Coverage Tracker 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 Coverage Tracker 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 Coverage Tracker có miễn phí không?

Có. Kỹ năng này được elvisun phát hành trên GitHub theo giấy phép MIT. 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 👇