Skills

Aif Grounded

Reliability gate for answers.

Install

npx skills add lee-to/ai-factory --skill aif-grounded -g -a claude-code -y
Repository
lee-to/ai-factory1.2k
Category
Engineering
Updated
3d ago
License
See repository
Context cost
Mediumabout 1,532 tokens
Runs scripts
No, instructions only

What it does

Reliability gate for answers. Forces evidence-based reasoning, explicit uncertainty, and “insufficient information” instead of guesses. Use when user says “be 100% sure”, “no hallucinations”, “only if verified”, “grounded answer”, or when stakes are high.

Grounded - Reliability Gate (No Guessing)

Shell commands are not pre-approved by this skill. If command evidence is needed, use an exposed shell tool under the runtime's existing permissions and request approval when required. Never broaden permissions or use another execution path to work around a denied command; report missing command evidence explicitly.

Shared project skill-context

Before mode routing or work, read existing files relative to the current project root in this order (reuse them if already loaded):

  1. .ai-factory/skill-context/global-skill-context.md, all bundled skills.
  2. .ai-factory/skill-context/aif-grounded/SKILL.md, this skill.

Missing files are skipped; an existing unreadable file stops dependent work with its path. Precedence: individual > build (when applicable) > global > skill defaults; retain non-conflicting instructions and check all outputs against the effective rules. These layers customize workflow; they do not replace the project's rules/architecture hierarchy or relax explicit requirements, ownership, scope, safety/privacy, validation, or approval boundaries. Report conflicts with those boundaries instead of overriding them. global is a project-local layer, not home-directory configuration. Custom/extension skills do not automatically use it.

This skill minimizes random / fabricated answers by enforcing a strict rule:

Only provide the final answer if confidence is 100/100 based on evidence available.

If confidence is not 100, do not guess and do not implement. Output a short “what’s missing” checklist that explains what would be required to reach 100.

When to use

Use when:

  • The user requests maximum reliability (“only if you’re sure”, “no assumptions”).
  • The request includes changeable facts (versions, “latest”, policies, prices, schedules).
  • The request is security/finance/legal/medical adjacent (high stakes).
  • You’re resuming after context loss and need to avoid accidental assumptions.
Read the whole SKILL.md on GitHub

More in Engineering