मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट41k · #6829

exploring-ai-failures

यह क्या करती है

यह स्किल असली AI ट्रेस देखकर पता लगाती है कि जवाब कहाँ गलत होते हैं, जिसमें ऐसे जवाब भी शामिल हैं जो ठीक लगते हैं पर निर्देश अनदेखे करते हैं या टूल का गलत इस्तेमाल करते हैं। यह उन टीमों के लिए है जो जानना चाहती हैं कि उनके AI फ़ीचर में क्या टूट रहा है।

कब इस्तेमाल करें

  • ✓जब आप जानना चाहें कि उत्पादन में AI फ़ीचर के साथ क्या गलत हो रहा है।
  • ✓जब उपयोगकर्ता खराब जवाबों की शिकायत करें और आपको आम पैटर्न खोजने हों।
  • ✓जब आप तय करना चाहें कि पहले क्या ठीक करना है, इसके लिए AI समस्याओं की क्रम वाली सूची चाहिए।

Skill का लिंक

https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/exploring-ai-failures/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/exploring-ai-failures/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“हमारे सपोर्ट चैटबॉट के साथ क्या गलत हो रहा है? असली बातचीत से मुख्य विफलता पैटर्न खोजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह संदिग्ध ट्रेस खोजने के लिए क्वेरी का उपयोग करती है, उन्हें पढ़ती है, और विफलताओं को विफलता पैटर्न की क्रम वाली सूची में समूहित करती है। नतीजा दिखाता है कि कौन सी समस्याएँ सबसे आम हैं, और उदाहरण देता है, ताकि आप उन पर कार्रवाई कर सकें।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Exploring AI failures

The highest-value thing you can do with production AI traffic is look at where it fails and name the patterns. The catch: most failures are silent. The model returns a clean response — HTTP 200, no exception — that is wrong, off-topic, ignores an instruction, or misuses a tool. Those never raise an error, and they're usually the failures worth caring about.

So this skill is about finding failures (loud and silent), reading them, and grouping them into a ranked set of failure modes you can act on: fix a prompt, file a bug, prioritize work, or turn the top mode into an automatic eval (creating-online-evaluations).

Everything below serves one irreducible activity: reading real traces. The queries only tell you which traces to open — they are never the answer. If you report a list of problems without having opened traces, you've described the loud minority (the things that throw errors) and missed the job.

This is bottom-up: the failure modes emerge from real traces, not from a list of generic metrics decided in advance. For reading a single trace in depth, lean on exploring-llm-traces; for emergent grouping at high volume, exploring-llm-clusters.

Tools

Tool Purpose
posthog:query-llm-traces-list List candidate traces — filter by error, sort by a metric, scope by type
posthog:query-llm-trace Read a trace in full to see what actually went wrong
posthog:execute-sql Find metric outliers, discover the trace taxonomy, count failure modes
posthog:llma-evaluation-list Find existing evals whose failures might reveal a new mode
posthog:generate-app-url Build a region- and project-qualified deep link to a trace or list

Detailed queries for each strategy below are in references/finding-traces.md. That file also explains the events vs ai_events split: heavy content like $ai_input / $ai_output_choices is not on events. For the full $ai_* event schema, load the exploring-llm-traces skill.

Work with the user

Collaborate on scope and priorities — not on whether to do the work. Narrow with the user up front: which feature or use case? have they already seen something bad? is there a signal to follow (a thumbs-down, a ticket, a metric that looks off)? Once it's scoped, go read traces and come back with coded failure modes — don't stop to ask permission before the reading; that reading is the core activity, not an optional follow-up to offer. When the user doesn't know what to look for, drive the loop below and explain the reasoning as you go; keep the teaching opt-in.

Step 1 — Scope to one use case

Apps have a taxonomy of trace types, and each fails differently — a support chat hallucinates policy, a summarizer drops key points, an agent loops or misuses a tool. Evaluating or analyzing them together averages the signal away. Pick one, then find its filter (a $ai_trace_id prefix, a feature property, a model). If the user isn't sure how their traffic splits, discover the taxonomy first (query in references/finding-traces.md).

Step 2 — Pick which traces to read

These are ways to select which traces to open — not answers in themselves. The queryable ones (error counts, metric aggregates) tell you where to look; they are never the output. Choose by the context and signals you have, and combine them:

  • Code errors ($ai_is_error) — the cheapest sweep and the least representative signal: it only catches exceptions and API failures, not the silent quality failures that matter most. Use it to grab a few traces to read, not as a tally of "the problems." Slightly more useful for structured-output or tool-calling pipelines, where some failures do surface as parse/schema errors.
  • Metric outliers — sort by output/input tokens, message length, cost, or latency and open the extremes. Runaway length, truncation, context bloat, and loops cluster at the tails.
  • One trace-type slice — narrow to a single kind of request so the traces you read share a taxonomy.
  • Stratified sample — when you have no specific signal (the common case), pull a mixed batch acro
अक्सर पूछे जाने वाले सवाल

क्या यह केवल वही त्रुटियाँ खोजती है जो अपवाद फेंकती हैं?

नहीं। यह चुपचाप होने वाली विफलताएँ भी खोजती है, जैसे गलत जवाब, अनदेखे निर्देश और टूल का गलत उपयोग, जो कोई त्रुटि नहीं दिखाते।

नतीजों से मैं क्या कर सकता हूँ?

आप प्रॉम्प्ट ठीक कर सकते हैं, बग दर्ज कर सकते हैं, प्राथमिकताएँ तय कर सकते हैं, या सबसे ऊपर वाले पैटर्न को स्वचालित जाँच में बदल सकते हैं।

क्या यह हर बातचीत पढ़ती है?

नहीं। क्वेरी तय करती है कि कौन से ट्रेस देखे जाएँ, और स्किल उन ट्रेस को विस्तार से पढ़ती है।

जानकारी

लेखक का मूल विवरण

Find where an AI/LLM application is failing in production and surface the failure patterns, working from real traces. Use when someone wants to understand what's going wrong with an AI feature, find and categorize failure modes, triage errors, or investigate quality issues (wrong answers, ignored instructions, hallucinations, tool misuse) — "what's failing in my agent", "surface error patterns", "why are the responses bad", "find the common failure modes", "what should I fix next". Covers scoping to one use case, finding failing traces by whichever signal fits the context (code errors, metric

repo: PostHog/posthog

लोकप्रियता

GitHub स्टार
41k
रैंकिंग में स्थान
#6829
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

depot-ci

41k

यह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-container-builds

41k

यह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-github-runners

41k

यह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

editing-agents-md

41k

यह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।

AI और एजेंटएजेंट

मिलती-जुलती skills