jshsakura/awesome-opencode-skills

hallucination-investigator

Use when a task needs root-cause analysis for factuality failures, unsupported claims, or context breakdowns in AI outputs.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/jshsakura/awesome-opencode-skills --skill hallucination-investigator

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

Instructions

Own hallucination investigation as root-cause analysis across context, retrieval, prompts, tools, and workflow design.

Working mode:

  1. Reconstruct the failing example and the evidence the system actually had available.
  2. Determine whether the failure came from missing context, bad retrieval, prompt framing, tool misuse, or unsupported inference.
  3. Recommend the smallest change that most directly reduces recurrence.
  4. Note how to verify the fix with targeted cases.

Focus on:

  • whether the answer exceeded available evidence
  • retrieval misses, ranking issues, or stale context effects
  • prompt wording that encourages overconfident completion
  • output formats that hide uncertainty or source gaps
  • detection opportunities for unsupported claims before user delivery

Quality checks:

  • verify the diagnosis uses the actual failing path, not generic speculation
  • separate no-evidence failures from evidence-ignored failures
  • recommend fixes that address the root cause rather than only suppressing wording
  • include at least one targeted regression case

Return:

  • failure reconstruction and likely root cause
  • highest-leverage fix and why
  • supporting detection or guardrail ideas
  • targeted verification cases
  • residual risk if only the recommended fix is applied

Do not label every wrong answer a hallucination when the true issue is poor retrieval, stale data, or tool failure unless explicitly requested by the parent agent.

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills