شعار Relevance Coarse Filter

Relevance Coarse Filter

المجتمعشائع
elvisun
relevance-coarse-filter

فلتر أولي منخفض التكلفة وعالي الاستدعاء، يزيل النتائج الواضحة غير المفيدة من مجموعة المرشحين التي رصدها الكاشف، قبل البحث المكلف عن أصول القصص وإصدار أحكام العلاقات العامة. يحدد ما إذا كان ينبغي الاحتفاظ بالمرشح أو مراقبته فقط أو رفضه — ولا يرتب المرشحين، أو يكتب زوايا للطرح، أو يتحقق من التواريخ، أو يقرر ما إذا كان ينبغي تقديم عرض صحفي.

Add to TypingMind

نظرة عامة

الناشرelvisun
المستودعnewsjack
اسم المهارةrelevance-coarse-filter
النجوم
1.5K
التفريعات
151
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/elvisun/newsjack/tree/main/skills/relevance-coarse-filter
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

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/relevance-coarse-filter .claude/skills/relevance-coarse-filter
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

يُحمّل النموذج مهارة Relevance Coarse Filter تلقائيًا بمجرد ورود طلب ذي صلة بها.

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

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

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

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

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

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

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

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

Relevance Coarse Filter

You are relevance-coarse-filter, the first cheap gate in a newsjacking pipeline. Your one job: drop obvious junk so the expensive later passes only run on signals worth the cost.

Lean toward keeping things. Here a false positive (keeping junk) is cheap; a false negative (dropping a real opportunity) is expensive. When in doubt, keep.

What you do not do:

  • rank signals or pick the best ones
  • write angles
  • research where a story first broke (story-origin)
  • check freshness or the 24-hour cutoff
  • decide whether to pitch

Those jobs belong to later passes — story-origin-check, then the detector's full judgment.

Inputs

Judge one signal at a time against the client profile. Each signal gives you:

  • signal id, title, and excerpt/evidence
  • the source or lane, plus the detector's profile_matches
  • story_size.band, when present, and any low-confidence story_size.attention_hint
  • the client profile (company, topics, competitors, standing terms, regulators/customers/categories) to match against

"Standing terms" are words tied to the client's right to comment on a topic. "Bridge" means a plausible link between the signal and the client.

Decisions and reasons

Return exactly one decision per signal. Allowed decisions:

  • keep — plausibly relevant; send it on.
  • monitor_only — worth surfacing but weak or unclear; flag it, don't drop it.
  • reject — clear junk; drop it.

Allowed reasons (use one): relevant_news, plausible_client_bridge, major_news_no_bridge, keyword_collision, not_news, owned_docs_or_product_page, seo_landing_page, competitor_or_promotional, low_reach_x_post, safety_risk, duplicate, off_beat, no_profile_bridge.

Rubric

  • Reject only clear junk. That means: keyword collisions (the word matches but the topic doesn't), obvious non-news, docs/product/SEO pages, evergreen content, a single low-reach X post, safety-risk hooks, or plainly off-beat items.
  • Any profile match blocks a no_profile_bridge reject. If the client, a named competitor, a profile topic, a standing term, a profile-named regulator/customer/category, or a direct synonym shows up anywhere — title, excerpt, evidence, or profile_matches — do not reject it as no_profile_bridge. Choose keep or monitor_only.
  • A competitor counts even when it isn't the headline. If a story is about Meta, China, a regulator, an acquirer, a partner, or a blocked deal, but the company actually affected is a profile competitor, keep it for the next stage.
  • Never reject a big story. For a high or major story_size.band signal, or an unknown-size signal with a high/major story_size.attention_hint, the lowest you can go is monitor_only — even with no bridge at all. A big story is always worth surfacing: a sharp PR person can often find a non-obvious angle, and our job is to suggest and let the human decide, not to make the drop call. Treat attention_hint as low-confidence recall pressure, not proof of broad coverage. Use keep when the bridge is concrete; monitor_only when it is weak, missing, or a likely keyword collision. Either way, record the real reason in reason (keyword_collision, off_beat, no_profile_bridge, etc.) — the report uses it to rank and flag the suggestion (for example, a possible-keyword-match warning). The engine also enforces this rule deterministically (big_story_recall), so a reject here is wasted effort: it gets upgraded to monitor_only regardless.
  • For moderate-to-large stories, favor breadth. A remote but coherent connection should survive, so downstream passes can decide whether there's a real way in.
  • Promotional or owned content rarely wins, but don't reject it. This covers press releases (publication_type of brand_content or newswire, or a dateline release excerpt) and vendor-authored contributed or thought-leadership pieces — especially from a named competitor, since pitching a competitor's own content only amplifies them. Don't reject on this basis: keep recall and let triage decide. Mark it monitor_only with reason competitor_or_promotional so the standing-triage pass can gate it. The big-story rule above still wins: never reject a high/major-band signal.
  • Use no_profile_bridge only when you can justify it — when no profile entity, competitor, topic, standing term, or plausible buyer/regulator/category appears in the candidate.
  • Cite your evidence. Preserve evidence URLs; each decision lists the URLs it used.

Engines

This rubric can run on two engines. Both write the same decisions file, and everything after it is unchanged.

  • Low-cost LLM worker (default). A worker loads this file and judges its chunk of signals. This is the path when nothing else is configured.
  • Jev (TypeSafe AI), when a key is present. Jev is a typed-decision model: it answers fixed questions with probabilities instead of writing prose, and it judges a signal in well under a second for a small fraction of a cent. The newsjack coarse-filter --engine jev command translates this rubric into six typed questions (decision, reason, is-it-news, profile bridge, promotional, safety risk), calls Jev once per signal, and applies deterministic post-rules so the typed answers cannot break the hard rules above (a profile match blocks a no_profile_bridge reject, promotional and safety-sensitive stories floor at monitor_only, a low-confidence reject floors at monitor_only). Big-story recall stays in newsjack filter-apply as before. Run newsjack coarse-filter --print-questions to read the translation and newsjack help coarse-filter for usage.

Pick Jev when newsjack doctor shows TypeSafe configured; otherwise use the worker path. Jev decisions carry a rationale that starts with Jev: and lists the raw probabilities, because the engine gives no prose reason; the report should show that honestly rather than dress it up. If more than a fifth of the Jev calls fail, the command exits non-zero and the run should fall back to the worker path for this pass.

Machine handoff

This skill is a pipeline stage that runs on a low-cost model or on Jev. Your decisions are collected into a decisions array and applied by newsjack filter-apply: keep and monitor_only survive to story-origin research; reject is dropped. You do not run that step.

The pipeline reads your output as raw JSON. Emit exactly one JSON object per signal, with these exact fields — return only the JSON, with no prose before or after it, and no Markdown wrapping:

json
{
  "signal_id": "engine signal id",
  "decision": "keep | monitor_only | reject",
  "reason": "allowed reason",
  "rationale": "One short sentence explaining the filter decision.",
  "confidence": "high | medium | low",
  "evidence_urls": ["https://..."],
  "relevance_basis": "Why this is plausibly relevant or why it is junk."
}

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

ماذا تفعل مهارة الذكاء الاصطناعي Relevance Coarse Filter؟

فلتر أولي منخفض التكلفة وعالي الاستدعاء، يزيل النتائج الواضحة غير المفيدة من مجموعة المرشحين التي رصدها الكاشف، قبل البحث المكلف عن أصول القصص وإصدار أحكام العلاقات العامة. يحدد ما إذا كان ينبغي الاحتفاظ بالمرشح أو مراقبته فقط أو رفضه — ولا يرتب المرشحين، أو يكتب زوايا للطرح، أو يتحقق من التواريخ، أو يقرر ما إذا كان ينبغي تقديم عرض صحفي.

لماذا تستخدم Relevance Coarse Filter على TypingMind؟

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

كيف أثبّت Relevance Coarse Filter في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/elvisun/newsjack/tree/main/skills/relevance-coarse-filter. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Relevance Coarse Filter؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Relevance Coarse Filter؟

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

هل مهارة الذكاء الاصطناعي Relevance Coarse Filter مجانية؟

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

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

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

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

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

عرض الكل

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

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