شعار Industry News Monitor

Industry News Monitor

المجتمع
XuanRanL
industry-news-monitor

جمع أخبار القطاع أسبوعيًا — يشغّل موصلات حتمية من Tier-A وذراع بحث من Tier-B، ويزيل التكرارات، ويطبّق فلاتر مقارنة الأسابيع وفلاتر المنافسين (Rule 8)، ويرتّب مجموعات الأخبار حسب الأهمية، ويحدّث حالة covered/issues. تستدعيه المهارة /weekly (الخطوتان 3–4). لا يمكن للمستخدم تشغيله بشكل مستقل.

Add to TypingMind

نظرة عامة

الناشرXuanRanL
المستودعloamwright-SEO-Skill
اسم المهارةindustry-news-monitor
النجوم
52
التفريعات
9
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها XuanRanL على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Industry News Monitor في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/research/industry-news-monitor
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill.git /tmp/loamwright-SEO-Skill
mkdir -p .claude/skills
cp -r /tmp/loamwright-SEO-Skill/subskills/research/industry-news-monitor .claude/skills/industry-news-monitor
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Industry News Monitor في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Industry News Monitor تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Industry News Monitor بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Industry News Monitor — Harvest Subskill

This subskill documents the full harvest architecture for the weekly digest. The /weekly skill orchestrates it (Steps 3–4); this file is the definitive reference for how harvesting works and how to extend it.


Harvest architecture: two tiers

Tier-A (deterministic, scriptable)        Tier-B (MCP / deep-web, researcher agent)
─────────────────────────────────         ──────────────────────────────────────────
RSS feeds                                 MCP tools (pubmed, tavily, biorxiv, etc.)
HackerNews search                         Community deep searches (Reddit/X)
GDELT news graph                          Specialised industry APIs
NewsAPI (paid, per-project)               Broad Tavily news searches
Community (Tavily reddit/x)               Paywalled trade publication extracts
Tavily topic="news" search                ─────────────────────────────────────────
─────────────────────────────             Writes: memory/workspace/{tid}/tier-b.json
Writes: memory/workspace/{tid}/           (NewsItem JSON array)
        news-digest.json (initial pass)   ↓
                                          Merged by runner via --extra-items flag

Tier-A executor

Invocation (Rule 6 — concrete bash command, not pseudo-code)

bash
python -m scripts.research.industry_news_runner \
    --project {slug} \
    --task-id {tid} \
    [--extra-items memory/workspace/{tid}/tier-b.json] \
    [--lookback-days N] \
    [--window-weeks N] \
    --json

scripts/research/industry_news_runner.py is the single source of truth for Tier-A. It reads projects/{slug}/business-context.json :: weekly_digest.connectors and calls the enabled connector modules from scripts/fetch/.

Single-pass harvest (Step 4 of /weekly)

The /weekly skill runs the runner exactly once with --extra-items pointing at the researcher's tier-b.json output (written in Step 3). The runner appends Tier-B items to the Tier-A set before de-dup/filter/rank — it does NOT replace the Tier-A results:

bash
python -m scripts.research.industry_news_runner \
    --project {slug} \
    --task-id {tid} \
    --extra-items memory/workspace/{tid}/tier-b.json \
    --json

Running the runner only once (not separately for Tier-A then again for Tier-B) prevents the cross_week_filter from silently dropping Tier-A stories that were just written to covered.json with status:"reported" moments earlier.

Outputs

FileDescription
memory/workspace/{tid}/news-digest.jsonRanked digest with items[], theme_of_week, rejected_competitor_domains[], connectors_run[]
projects/{slug}/weekly/covered.jsonCross-process-locked append of newly-reported URLs + status
projects/{slug}/weekly/issues.jsonCross-process-locked append of issue stub {date, task_id, item_count}

Connector registry

Per-project connector config lives at:

projects/{slug}/business-context.json :: weekly_digest.connectors

Tier-A connector map

KeyModuleRequired config keys
rssscripts.fetch.rss_fetchfeeds: [url, ...]
hackernewsscripts.fetch.hackernews_searchquery: "..."
gdeltscripts.fetch.gdelt_queryqueries: ["...", ...]
newsapiscripts.fetch.newsapi_querydomains: [...], queries: [...]
communityscripts.fetch.community_searchquery: "...", sources: ["reddit"|"x"]
tavily_newsscripts.fetch.tavily_search (topic=news)query: "...", max_results: N

A connector is active when its key is present in the config dict, enabled: true (or no enabled key — absence means enabled), and has the required config keys populated.

Tier-B connector map (MCP — researcher arm)

The mcp[] array in weekly_digest.connectors is a list of MCP connector descriptors. The researcher agent reads this list and calls the corresponding MCP tools:

json
"mcp": [
  { "tool": "mcp__tavily__tavily_search",  "query_template": "{series_keyword} site:reddit.com" },
  { "tool": "mcp__pubmed__search_articles", "query_template": "{series_keyword}" },
  { "tool": "mcp__biorxiv__search_preprints", "category": "bioinformatics" }
]

The researcher is the ONLY agent with MCP access. It dispatches exactly the MCP tools listed, writes normalized NewsItem objects, and stops.


NewsItem shape (exact 10-key contract)

All items — Tier-A and Tier-B — must conform to this shape:

json
{
  "headline":      "string  — concise factual title, max 120 chars",
  "url":           "string  — canonical URL of primary source",
  "source_domain": "string  — e.g. techcrunch.com (no www.)",
  "source_name":   "string  — publication display name",
  "published_at":  "string  — ISO-8601 UTC timestamp",
  "summary_raw":   "string  — 1-3 sentence factual summary, max 500 chars",
  "connector":     "string  — e.g. 'rss' | 'tavily_news' | 'mcp_pubmed' | 'extra'",
  "raw_score":     "float | null  — provider relevance score",
  "entities":      ["string", ...],
  "topic_tags":    ["string", ...]
}

source_domain is derived automatically by scripts/_core/news_item.make_item() from url; Tier-B items may set it explicitly or omit it (the loader derives it).

Tier-B items written to tier-b.json should use the {"items": [...]} envelope.


De-dup / cross-week filter / Rule-8 filter / rank pipeline

After Tier-A + Tier-B items are loaded, the runner applies a 4-stage pipeline:

Stage 1 — Cluster (de-duplicate)

cluster_items(items) groups items by canonical_url (scheme-normalised, www-stripped, trailing-slash-stripped). Each cluster has a head (most-recent item) and a corroboration count (distinct source domains).

Stage 2 — Cross-week filter

cross_week_filter(clusters, covered) drops clusters whose canonical_url was already reported AND whose status in covered.json is NOT in {"developing", "unconfirmed", "watch"}.

Active follow-up stories (status ∈ the active set) pass through so they can be re-surfaced as kind: "follow_up" items APPENDED after the fresh items (2026-08-02: follow-ups trail the issue and can never own theme_of_week — pre-cure they were prepended, which made a stale follow-up the theme/H1 three issues running).

Stage 3 — Competitor filter (Rule 8)

competitor_filter(clusters, do_not_cite_domains) applies the per-project citation_source_policy.do_not_cite_domains blocklist (suffix-match; subdomains blocked).

  • Clusters where all members are from blocked domains → dropped entirely.
  • Clusters with some clean members → head reassigned to the most-recent clean member; blocked members removed from the cluster.
  • Rejected domains logged in news-digest.json :: rejected_competitor_domains[].

The blocklist is the SAME list used by the article pipeline (Rule 8, root CLAUDE.md).

Stage 4 — Rank

rank_clusters(clusters, now_iso, project_terms, authority_domains) scores each cluster (doc synced to the REAL formula 2026-07-01 — the old doc omitted the authority term):

significance = 0.30 × recency
             + 0.25 × corroboration_norm
             + 0.20 × relevance(project_terms)
             + 0.15 × authority(head domain ∈ authority_domains)
             + 0.10 × raw_score_norm

recency = 1.0 for items published today, 0.0 for items 7+ days old. project_terms comes from _digest_relevance_terms(bc) (v3.42.11): it prefers business-context.json :: weekly_digest.relevance_terms — short NEWS-topic phrases in the vocabulary the trade press actually writes in — and falls back to content_strategy.primary_clusters only when a project has not supplied one. Feeding primary_clusters directly (the pre-v3.42.11 behaviour this line used to document) is a category error: those are SERVICE-LINE labels, and on real harvests they scored 6 of 7 on-topic items 0.0, making the 0.20 weight anti-correlated (see skills/weekly-digest Step 4b for the full account and per-project setup guidance). authority_domains is derived from the project's RSS feeds + NewsAPI domains, plus an optional explicit weekly_digest.authority_domains override.

Clusters are sorted descending. Follow-ups are capped at weekly_digest.max_followups_per_issue (default 2, ≥1 fresh slot always reserved) and a follow-up PUBLISHED this issue is closed to reported by close_published_followups (v3.42.13 — its first version read the cluster shape instead of the item shape and silently no-opped; the regression test now drives _emit_followups itself). Only the top items_per_issue (default 7) appear in the digest body.


Follow-up state machine

Stories with active status are tracked across issues to enable longitudinal reporting.

Status values

StatusMeaningCross-week behavior
reportedCovered; story resolvedDropped from next digest
developingStory is actively evolvingPasses cross-week filter; re-surfaced as follow-up
unconfirmedClaim unverified at publish timePasses filter; researcher re-checks
watchOperator manually flagged for monitoringAlways passes filter

Lifecycle

New item appears in harvest
     ↓ (runner: _load_covered + cross_week_filter)
Story is NEW (not in covered.json) → appended to digest as kind:"new"
     ↓ (runner: _write_covered, status="reported")
Covered with status="reported" → dropped from next week's digest
     ↓ (manual edit or future automation)
Operator edits covered.json status → "developing" / "watch"
     ↓ (runner: _emit_followups)
Next week: story re-surfaces as kind:"follow_up" item, appended after fresh items

Covered.json cross-process write (Rule 7)

python
# Locked write in industry_news_runner._write_covered():
with locked(path):
    path.write_text(json.dumps(entries, ...), encoding="utf-8")

scripts/_core/file_lock.locked(path) is the ONLY sanctioned way to write covered.json and issues.json. Never write them directly — concurrent sessions corrupt the file.


Pre-write artifacts (Step 5 of /weekly)

After the digest is final, digest_artifacts.py converts it into the 5 standard pipeline artifacts so the orchestrator can advance without running the research/plan stages:

bash
python -m scripts.research.digest_artifacts \
    --task-id {tid} \
    --project {slug} \
    --json

See scripts/research/digest_artifacts.py for the 5-artifact builder functions.

research.json competitor exemption: The digest's research.json emits competitor_titles: [] intentionally — digests have no competitors — and is written via plain Python outside the PostToolUse schema-validate hook, so it is NOT subject to research.schema.json's minItems:3 rule; do not fabricate titles or weaken the schema.


Error degradation

FailureBehavior
Tier-A connector HTTP errorConnector recorded as "degraded" in connectors_run[]; other connectors continue
Tier-B researcher agent failstier-b.json absent → runner silently ignores --extra-items (Tier-A digest stands)
covered.json locked (concurrent session)_write_covered retries via file_lock.locked; if timeout → warning logged, digest proceeds
All Tier-A connectors degradeEmpty digest → runner exits with {"ok": true, "items": 0}; /weekly skill reports to user before continuing
do_not_cite_domains removes all clustersdigest has 0 items → /weekly skill reports to user; do NOT publish an empty article

Testing

Structural wiring: tests/test_weekly_skill_wiring.py
NewsItem contract: tests/test_news_item.py
Rule 8 competitor filter: tests/test_competitor_domains.py, tests/test_competitor_citation_e2e.py


See also

  • scripts/research/industry_news_runner.py — full Tier-A executor + --extra-items loader
  • scripts/_core/news_item.py — NewsItem TypedDict + make_item() factory
  • scripts/_core/file_lock.py — cross-process locking (Rule 7)
  • scripts/_core/competitor_domains.py — Rule 8 domain filter (shared with article pipeline)
  • skills/weekly-digest/SKILL.md — the /weekly orchestration skill that calls this subskill
  • scripts/research/digest_artifacts.py — pre-writer that converts digest → 5 pipeline artifacts

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Industry News Monitor؟

جمع أخبار القطاع أسبوعيًا — يشغّل موصلات حتمية من Tier-A وذراع بحث من Tier-B، ويزيل التكرارات، ويطبّق فلاتر مقارنة الأسابيع وفلاتر المنافسين (Rule 8)، ويرتّب مجموعات الأخبار حسب الأهمية، ويحدّث حالة covered/issues. تستدعيه المهارة /weekly (الخطوتان 3–4). لا يمكن للمستخدم تشغيله بشكل مستقل.

لماذا تستخدم Industry News Monitor على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Industry News Monitor عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Industry News Monitor في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/research/industry-news-monitor. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Industry News Monitor؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Industry News Monitor؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Industry News Monitor معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Industry News Monitor مجانية؟

نعم. نشرها XuanRanL على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇