شعار Think Pairwise Comparison

Think Pairwise Comparison

مؤسسة
product-on-purpose
think-pairwise-comparison

Produces a binary-vote comparison matrix (every pair judged A-beats-B), a derived ranking, and a consistency check, ordering options without any criteria axis or absolute scoring. Use when items must be ranked but no defensible scale or articulable criteria exist. Not a criteria-weighted option matrix and not a base-rate forecast.

نظرة عامة

الناشرproduct-on-purpose
المستودعthinking-framework-skills
اسم المهارةthink-pairwise-comparison
النجوم
26
التفريعات
4
الملفات المرفقة
5
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • الملفات المرفقة: 5

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/product-on-purpose/thinking-framework-skills/tree/main/skills/think-pairwise-comparison
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/product-on-purpose/thinking-framework-skills.git /tmp/thinking-framework-skills
mkdir -p .claude/skills
cp -r /tmp/thinking-framework-skills/skills/think-pairwise-comparison .claude/skills/think-pairwise-comparison
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

يُحمّل النموذج مهارة Think Pairwise Comparison تلقائيًا بمجرد ورود طلب ذي صلة بها.

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

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

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

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

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

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

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

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

Pairwise Comparison

Ranking a set of options holistically forces an unstable judgment: "rank these six from best to worst" or "score each from 1 to 10" demands a fixed internal scale and a memory of how earlier items were scored, and that scale wobbles. Pairwise comparison replaces the one hard holistic ranking with a series of isolated two-item judgments. For every pair it asks the single easier question - which of these two is better? - then tallies each item's wins into a matrix and reads the ranking off the tally. The durable move is psychophysical: a person (or an agent) holds a far more stable signal for "A beats B" than for "A is a 7," because the binary judgment needs no absolute scale and no criteria axis. The matrix also exposes its own quality - a cycle (A beats B, B beats C, C beats A) is a visible inconsistency to revisit, not a hidden error.

The output is a binary-vote comparison matrix: every pair judged A-beats-B, the derived ranking (each option's win count, ties broken by head-to-head), and a consistency check that surfaces any cycles. There is deliberately no criteria column and no absolute score. This is the narrow, honest reading of the technique - rank when you cannot score - and it is scoped precisely to the case the weighted-matrix skills disclaim.

When to Use

  • Items must be ordered, but no one can defend a 1-to-10 scale and the criteria that would justify a score genuinely cannot be articulated (qualitative artifacts - writing samples, design submissions, shortlisted proposals - where holistic marking is noisy).
  • The decision-maker can reliably say "this one beats that one" for any pair, even though they cannot say "this one is a 7."
  • The set is small enough to compare every pair by hand (roughly up to 6-8 items; the full set is n(n-1)/2 judgments - 15 for six items, 28 for eight).
  • A surfaced cycle (an intransitivity) would be useful information - a prompt to re-examine two judgments - rather than noise to suppress.

When NOT to Use

  • Do not use it when criteria are nameable and a scale is defensible. That is think-decision-option-review - the criteria-weighted option matrix. Its procedure already defines and weights the criteria, scores each option on a stated scale, and surfaces tradeoffs. If you can say what a high score means, that skill is faster and more inspectable, and pairwise voting on the criteria is just an elaborate way to fill one weight column it already owns. Pairwise comparison occupies the case think-decision-option-review explicitly disclaims ("when the criteria genuinely cannot be articulated").
  • Do not use it to weight criteria for a scoring model. Comparing two criteria at a time to set their relative importance (the AHP / PAPRIKA elicitation) produces no new artifact - it fills the weight vector of think-decision-option-review. Route criteria-weighting there as an optional elicitation, not here.
  • Do not use it to fix a repeatable formula over named cues. When you have explicit cues and want a weighted rule applied to many future cases (the same prediction made again and again), that is think-linear-model-aggregation. It needs the very cues and scale pairwise comparison refuses; pairwise produces a one-off ranking, not a reusable model.
  • Do not use it to anchor a number on a base rate. Estimating a quantity by comparing the case to a reference class of similar past cases is think-reference-class-forecasting. That anchors one number on outside-view data; pairwise comparison orders a fixed set by internal head-to-head votes.
  • Do not use it when the item count is large. Past roughly 8 items the n(n-1)/2 judgment count (45 for ten, 120 for sixteen) becomes punishing, and pruning the matrix while preserving the order needs adaptive or incomplete-design tooling a markdown-only agent cannot run by hand. Cut the set down first, or use a scored method.
  • Do not treat the derived ranking as objective output. A passing consistency check does not make a manufactured preference correct. Pairwise comparison launders subjective inputs into a clean-looking order; the cleanliness is presentational, and a near-duplicate option added to the set can shift the others' ranking (a structural artifact, not a judgment error).

Instructions

When asked to rank a set of options where no criteria or scale can be defended, follow these steps:

  1. State the ranking question and list the items. Name the single comparative question that will be asked of each pair ("which of these two better serves X?") and list the items to be ordered. Confirm there is genuinely no defensible absolute scale and no articulable criteria axis - if there is, stop and route to think-decision-option-review.
  2. Check the item count. Compute n(n-1)/2 for the list. If it is more than roughly 28 (eight items), say so and either cut the set down or hand off to a scored method - do not attempt a large matrix by hand.
  3. Enumerate every unordered pair. For n items there are n(n-1)/2 pairs. List them so none is missed.
  4. Judge each pair A-beats-B. For each pair, record which item wins the single comparative question. To dampen order effects, consider the pair in both orders before committing the winner. Ties are allowed only if genuinely undecidable; prefer forcing a winner.
  5. Build the comparison matrix. Fill an n-by-n grid: cell (row, col) records whether the row item beat the column item. Each off-diagonal pair is one win and one loss (the matrix is the votes, not scores).
  6. Derive the ranking. Count each item's wins (its row total). Order by win count, highest first. Break ties by the head-to-head result between the tied items.
  7. Run the consistency check. Scan for cycles - any A beats B, B beats C, C beats A triangle. Report each cycle found. A cycle is not auto-corrected: it is flagged as the pair(s) of judgments to revisit, because it signals the comparative question shifted or two judgments conflict.
  8. Emit the artifact per references/TEMPLATE.md: the ranking question, the comparison matrix, the derived ranking with win counts, and the consistency check (cycles found or "transitive, none found"). State plainly that the order is a forced-choice ranking, not an absolute score.

Output Format

Use the template in references/TEMPLATE.md. The deliverable is the filled artifact - the comparison matrix of binary A-beats-B votes, the derived ranking with win counts, and the consistency check - not a prose essay and not a scored or criteria-weighted matrix. Never attach an absolute score or a criteria column to the order.

Quality Checklist

Before finalizing, verify:

  • There is genuinely no defensible absolute scale and no articulable criteria axis - otherwise this is the wrong skill (route to think-decision-option-review).
  • The single comparative question is stated once and applied identically to every pair (a shifting question is what manufactures cycles).
  • Every one of the n(n-1)/2 pairs is judged - none skipped.
  • The item count was checked; a set too large to compare by hand was cut down or handed off, not forced.
  • The ranking is derived from win counts, with ties broken by head-to-head - no absolute scores and no criteria column appear anywhere.
  • The consistency check is run and reported: cycles are surfaced as judgments to revisit, not silently dropped or auto-resolved.
  • The output is framed as a forced-choice ranking, not an objective measurement; no false precision is claimed.
  • No overclaiming: the evidence is practitioner-grade and transferred; claim an easier-and-more-stable ranking aid, not a measured gain in decision quality (see evidence/dossier.md).

Evidence

Tier P (governing). Pairwise comparison has a deep lineage and a robust psychometric core for scaling - Thurstone's Law of Comparative Judgment (1927) places stimuli on an interval scale from paired comparisons, and educational comparative-judgement work (Pollitt, from 2004) reports high scale-separation reliability for ranking open-ended work. But that evidence is for the reliability of a scaling artifact, not for better decisions by an agent that runs the method, and it is contested: Bramley (2015) and Bramley and Vitello (2019) show the adaptivity in Adaptive Comparative Judgement inflates the reliability statistic (a reported 0.97 deflating to 0.84), and Verhavert and colleagues (2022) question the rationales. The often-quoted "88 percent versus 74 percent" weight-elicitation figure is real but belongs to Direct Rating versus Point Allocation (Bottomley, Doyle and Green 2000) and does not test pairwise comparison at all - it is excluded. In the AHP tradition the apparatus is criticised on its own terms (rank reversal under consistent judgments; an over-strict consistency ratio). The classic necessity argument (Tversky 1969, intransitivity of preference) has largely failed to replicate (Regenwetter and colleagues, 2011). All of this is from human subjects; the nearest agent-relevant evidence is the LLM-as-judge literature, which finds pairwise evaluation approximates human preference better than pointwise scoring but suffers a position bias that must be corrected by running both orders ("Judging the Judges," 2024) - and that is an agent evaluating outputs, not a decider running a decision. The evidence is transferred from human contexts and not validated for AI-augmented decision-making, which caps the grade at P. The skill ships as an easier-and-more-stable ranking aid, scoped to the no-scale case, never as an objective scorer. Full grading, sources, and the excluded figures: evidence/dossier.md.

Examples

See references/EXAMPLE.md for a completed comparison matrix on a real decision.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

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

ماذا تفعل مهارة الذكاء الاصطناعي Think Pairwise Comparison؟

Produces a binary-vote comparison matrix (every pair judged A-beats-B), a derived ranking, and a consistency check, ordering options without any criteria axis or absolute scoring. Use when items must be ranked but no defensible scale or articulable criteria exist. Not a criteria-weighted option matrix and not a base-rate forecast.

لماذا تستخدم Think Pairwise Comparison على TypingMind؟

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

كيف أثبّت Think Pairwise Comparison في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/product-on-purpose/thinking-framework-skills/tree/main/skills/think-pairwise-comparison. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Think Pairwise Comparison؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Think Pairwise Comparison؟

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

هل مهارة الذكاء الاصطناعي Think Pairwise Comparison مجانية؟

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

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

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

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

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

عرض الكل

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

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