Agent skill

Aif Grounded

by unxed in unxed/f4

Reliability gate for answers. An agent skill from unxed/f4.

BSD-3-ClauseAuto-check: notes

Install Aif Grounded

skills CLI
$ npx skills add unxed/f4 --skill aif-grounded -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install unxed/f4 aif-grounded --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/aif-grounded .claude/skills/aif-grounded && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aif-grounded
GitHub stars
243
Token cost
~1.3k tokens
SKILL.md length
611 words
Files
1
Skills in repo
36
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Reliability gate for answers. An agent skill from unxed/f4.

  • Works in 6 steps: Load Skill Context → Classify the request → Define evidence and unknowns → …
  • User says be 100% sure
  • SKILL.md covers When to use, Workflow, Artifact Ownership and Config… and Implementation guardrail
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Aif Grounded is an agent skill from unxed/f4. 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.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: dual pane like a charm. The licence is BSD-3-Clause.

When your agent uses it

  • User says be 100% sure
  • No hallucinations
  • Only if verified
  • Grounded answer

Example prompts

  • “insufficient information”
  • “be 100% sure”
  • “no hallucinations”
  • “/aif-grounded”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion, Questions

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Load Skill Context
  2. Classify the request
  3. Define evidence and unknowns
  4. Mandatory verification for changeable facts
  5. Confidence gate
  6. Output format (strict)

What it can do on your machine

Read from SKILL.md and the folder at commit 772edc7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • Bash
    • AskUserQuestion
    • Questions

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Aif Grounded loads about 1.3k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 611 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion, Questions

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from unxed/f4 at commit 772edc7, republished under its BSD-3-Clause licence (© unxed). 611 words, ~1,324 tokens.

Download SKILL.mdSave it as .claude/skills/aif-grounded/SKILL.md (or your agent's skills folder).
name
aif-grounded
description
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.
allowed-tools
Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion, Questions
argument-hint
[question or task]
disable-model-invocation
true

Grounded - Reliability Gate (No Guessing)

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.

Workflow

Step 0: Load Skill Context

Read .ai-factory/skill-context/aif-grounded/SKILL.md — MANDATORY if the file exists.

This file contains project-specific rules accumulated by /aif-evolve from patches, codebase conventions, and tech-stack analysis. These rules are tailored to the current project.

How to apply skill-context rules:

  • Treat them as project-level overrides for this skill's general instructions
  • When a skill-context rule conflicts with a general rule written in this SKILL.md, the skill-context rule wins (more specific context takes priority — same principle as nested CLAUDE.md files)
  • When there is no conflict, apply both: general rules from SKILL.md + project rules from skill-context
  • Do NOT ignore skill-context rules even if they seem to contradict this skill's defaults — they exist because the project's experience proved the default insufficient
  • CRITICAL: skill-context rules apply to ALL outputs of this skill — including the response format, evidence requirements, and confidence assessment. If a skill-context rule says "analysis MUST include X" or "confidence MUST account for Y" — you MUST comply. Producing an analysis that ignores skill-context rules is a bug.

Enforcement: After generating any output artifact, verify it against all skill-context rules. If any rule is violated — fix the output before presenting it to the user.

Step 1: Classify the request

Classify into one of:

  1. Repo-grounded — can be answered purely from the local codebase and command outputs.
  2. Doc-grounded — requires authoritative docs/specs/logs provided by the user or accessible tooling.
  3. External-facts — depends on changeable facts outside the repo (must be verified, otherwise refuse).
Step 2: Define evidence and unknowns

Before answering, list:

  • Evidence sources you will use (files, command outputs, provided docs).
  • Unknowns (anything not present in evidence).

Hard rule:

  • If a claim is not supported by evidence, it becomes an unknown (not an assumption).
Show full SKILL.md (230 more words)Show less
Step 3: Mandatory verification for changeable facts

If the request contains any changeable fact (“latest”, “current”, “today”, “default in vX”, “does library Y support Z now”):

  • Verify via authoritative docs/specs, release notes, or logs.
  • If verification is not possible with available tools/context, return INSUFFICIENT INFORMATION and ask for the needed source (link excerpt, version, log output).
Step 4: Confidence gate

Compute a confidence score 0–100:

  • 100 only if every factual claim is supported by evidence you can point to (repo files, command outputs, provided docs), and there are no open unknowns.
  • If any unknown remains → confidence < 100 → do not answer/implement.
Step 5: Output format (strict)

If confidence is 100:

Answer:
<final answer or patch summary>

Confidence: 100/100
Evidence:
- <file/command/doc used>

Checks:
- <3 concrete checks someone can run/inspect to confirm>

If confidence is < 100:

Result: INSUFFICIENT INFORMATION (no guessing)
Current confidence: <N>/100
Why not 100:
- <top reasons>

Missing evidence:
- <what exact file/output/doc is needed>

To reach 100:
- <1–3 concrete asks or commands for the user to run and paste output>

Artifact Ownership and Config Policy

  • Primary ownership: none. This skill is a reliability gate for answers, not an artifact-producing workflow.
  • Write policy: do not create or modify project artifacts by default.
  • Config policy: config-agnostic by design. Evidence comes from the repo, command outputs, provided docs, and authoritative sources, not from config.yaml.

Implementation guardrail

If the user asks for code changes:

  • You may explore the repo and propose what evidence is needed.
  • Only apply patches once confidence can be 100 (e.g., requirements are precise + you can verify build/tests or equivalent checks).
  • If the repo lacks a verification path (no build/tests and behavior can’t be validated), do not claim 100; return INSUFFICIENT INFORMATION and propose the minimal validation needed.

© unxed, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/aif-grounded of unxed/f4.

Open the folder on GitHubat commit 772edc7

Compare with similar skills

Aif Grounded next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Aif Grounded compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aif Grounded this skillunxed/f4243—~1.3kAutomated safety check: NotesBSD-3-Clause
Gate Testsvercel/next.js143k—~2.8kAutomated safety check: PassMIT
Grounded CitationsNousResearch/hermes-agent253k—~3.1kAutomated safety check: PassMIT
Deepseek Reasonruvnet/ruflo74k—~626Automated safety check: NotesMIT
Gateplugin87/ux-ui-agent-skills1.6k—~532Automated safety check: PassMIT
Brain Ingest Gategarrytan/gbrain31k—~3.9kAutomated safety check: PassMIT

Similar skills

  • Gate Tests

    vercel/next.js

    Official

    How to use the @gate / @force-gate test directives instead of it.skip or fake-green skip patterns.

    143k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Grounded Citations

    NousResearch/hermes-agent

    Attaches a numbered, URL-backed citation to every outside fact in an answer or document, rejecting quotes that aren't real.

    253k GitHub stars~3.1k tokensUpdated today
    Research & ScienceAuto-check passed
  • Deepseek Reason

    ruvnet/ruflo

    Reasoning-mode completion against DeepSeek's deepseek-reasoner model (R1) via /v1/chat/completions.

    74k GitHub stars~626 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Gate

    plugin87/ux-ui-agent-skills

    Run the one-command quality gate and report the real N/N result.

    1.6k GitHub stars~532 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Brain Ingest Gate

    garrytan/gbrain

    Pre-write quality gate for content entering the brain. An agent skill from garrytan/gbrain.

    31k GitHub stars~3.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Google Cloud Waf Reliability

    davila7/claude-code-templates

    Generates reliability-focused guidance for Google Cloud workloads based on the Google Cloud Well-Architected Framework.

    33k GitHub stars~1.8k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from unxed/f4

All 36 skills in this repo
  • Comprehensive documentation guide for Golang projects, covering godoc comments, README, CONTRIBUTING, CHANGELOG, Go Playground, Example tests, API docs, and llms.txt.

    244 GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check passed
  • Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt.

    244 GitHub starsUsed in 3 repos~2.5k tokens
    Auto-check passed
  • Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context…

    244 GitHub starsUsed in 2 repos~2.9k tokens
    Auto-check passed
  • Security audit checklist based on OWASP Top 10 and best practices.

    244 GitHub stars~5.4k tokensUpdated today
    Auto-check: notes
  • Go (Golang) naming conventions — covers packages, constructors, structs, interfaces, constants, enums, errors, booleans, receivers, getters/setters, functional options, acronyms, test functions, and…

    244 GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed
  • Golang concurrency design — goroutine lifecycle and leak prevention, channels and select, channel ownership and direction, sync.Mutex/RWMutex/sync.Map/sync.Once/atomics, errgroup, singleflight…

    244 GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed

Questions about Aif Grounded

What does Aif Grounded do?

Reliability gate for answers. An agent skill from unxed/f4. Aif Grounded is an agent skill from unxed/f4. Reliability gate for answers.

When should I use Aif Grounded?

Aif Grounded fits situations like: user says be 100% sure; no hallucinations; only if verified; grounded answer.

How do I install Aif Grounded in Claude Code?

Run `npx skills add unxed/f4 --skill aif-grounded -a claude-code`. Or copy the skill folder (.agents/skills/aif-grounded in unxed/f4) into .claude/skills/aif-grounded in your project. Claude Code loads it when a task matches its description.

How do I install Aif Grounded in Codex?

Run `npx skills add unxed/f4 --skill aif-grounded -a codex`. Or copy the skill folder (.agents/skills/aif-grounded in unxed/f4) into .agents/skills/aif-grounded in your project. Codex loads it when a task matches its description.

Can I use Aif Grounded in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add unxed/f4 --skill aif-grounded -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aif-grounded, .gemini/skills/aif-grounded, .github/skills/aif-grounded and .opencode/skills/aif-grounded in your project.

What does Aif Grounded need to run?

SKILL.md names no scripts, command-line tools or credentials: Aif Grounded is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion, Questions.

Does Aif Grounded access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Aif Grounded safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Aif Grounded use?

Aif Grounded is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Aif Grounded use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Aif Grounded?

Skills that share tags, products or a category with Aif Grounded: Gate Tests (vercel/next.js, 143k stars), Grounded Citations (NousResearch/hermes-agent, 253k stars), Deepseek Reason (ruvnet/ruflo, 74k stars) and Gate (plugin87/ux-ui-agent-skills, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aif Grounded?

unxed (a GitHub user) maintains it in unxed/f4, which has 243 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on October 10, 2026.

Source: unxed/f4 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.