no-hallucination

Verify codebases, configurations, and documentation before generating responses.

87|8|Updated Apr 9, 2025
One-click install
npx skills add https://github.com/FilenCloudDienste/filen-rs --skill no-hallucination
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: no-hallucination
Source: https://github.com/FilenCloudDienste/filen-rs/tree/main/.claude/skills/no-hallucination
Command: npx skills add https://github.com/FilenCloudDienste/filen-rs --skill no-hallucination

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that the AI provides only accurate information and avoids generating incorrect or fabricated content, preventing bugs, misleading decisions, and system failures.

Core Features & Use Cases

  • Confidence-Based Output: Prioritizes accuracy by refusing to generate content when uncertain.
  • Systematic Verification: Guides the AI to search codebases, configurations, and the internet before answering.
  • Clear Communication: Prompts the AI to articulate its uncertainties and ask clarifying questions.
  • Use Case: When asked to implement a complex feature, the AI will first verify all necessary API calls and configurations within the project's codebase before writing any code, ensuring it doesn't introduce errors.

Quick Start

If you are unsure about any part of a task, stop and ask the user for clarification.

Frequently Asked Questions about no-hallucination

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent AI from hallucinating unverified code and configurations?

To prevent AI hallucinations, mandate a strict honesty policy that requires the AI to systematically check codebases, configurations, and external documentation before generating any output. This approach ensures accuracy by refusing to produce speculative or unverified information.

What is confidence-based output for maintaining code quality and accuracy?

Confidence-based output prioritizes accuracy by prompting the AI to articulate its uncertainties and ask clarifying questions when unsure. It mandates stopping the generation process to verify information against project codebases and documentation before proceeding with any response.

How to verify API calls and configurations before writing AI-generated code?

Verify API calls and configurations by guiding the AI to systematically search the project's codebase and external documentation before writing any code. This ensures the AI doesn't introduce errors and maintains strict accuracy regarding necessary API implementations.

Does AI safety require stopping the generation process to ask for clarification?

AI safety requires stopping the generation process to ask for clarification whenever unsure about any part of a task. This prevents the AI from generating speculative or unverified content, thereby maintaining trust and preventing errors in factual statements.

When do I need to enforce a no hallucination policy for software engineering tasks?

Enforce a no hallucination policy when implementing complex features, writing configurations, or generating factual statements to prevent bugs and system failures. It is critical whenever maintaining trust and preventing errors in AI-generated outputs is required.

What are the limitations of relying on AI honesty policies for code verification?

Limitations include the reliance on the AI to correctly articulate its own uncertainties and the prerequisite of manually verifying external documentation. The policy cannot guarantee safety if the AI fails to recognize its own lack of confidence during generation.