local-file-grounding

Read and quote only from named files in the task directory.

58|1|Updated May 13, 2026
One-click install
npx skills add https://github.com/Simplified-Reasoning/Pi-Bench --skill local-file-grounding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-file-grounding
Source: https://github.com/Simplified-Reasoning/Pi-Bench/tree/main/data/pharmacist/skills/local-file-grounding
Command: npx skills add https://github.com/Simplified-Reasoning/Pi-Bench --skill local-file-grounding

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents hallucinations by forcing responses to be derived from the task’s local directory files rather than relying on generic knowledge.

Core Features & Use Cases

  • File-first reasoning: Inspect the task directory, identify required inputs/outputs, and read the named files before concluding.
  • Grounded summarization and quoting: Summarize or quote only what the files support, keeping claims aligned to the source material.
  • Deterministic output writing: When output is required, create or update the requested result file in the task directory in a way that matches the read contents.
  • Use case: You have an analysis request that references a specific local CSV and a JSON spec; the Skill reads those files and produces a grounded report plus a properly written output artifact.

Quick Start

Use this skill to generate a grounded summary and write an output file based on the local task directory contents.

Frequently Asked Questions about local-file-grounding

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

FAQPage Schema
How do I stop AI from hallucinating when analyzing local CSV and JSON files?

Grounding AI responses in local files prevents hallucinations by enforcing directory inspection and input-first reading. The assistant reads named txt, md, csv, or json files before concluding, ensuring summaries and output artifacts match the source content without fabricating unsupported details.

How do I generate a report based strictly on local markdown and txt documents?

To generate a report based strictly on local markdown and txt documents, use a file-first reasoning approach that inspects the task directory and reads the named files before summarizing. This process enforces grounded quoting and deterministic output writing aligned to the source material.

Can I enforce that AI output file creation matches the contents of my local task directory?

Yes, you can enforce deterministic output file creation by applying a grounding skill that reads local task directory files first. This ensures any created or updated result file in the directory strictly matches the read contents and prevents fabricating unsupported details.

What is the best way to summarize local task documents without fabricating unsupported details?

The best way to summarize local task documents without fabricating details is to enforce file-first reasoning. This mechanism requires inspecting the task directory, reading named input files, and producing grounded summaries or quotes supported only by those specific source materials.

Does grounded document summarization work with SVG and PNG files in a task directory?

Yes, grounded document summarization works with SVG and PNG files alongside txt, md, csv, and json formats. The process inspects the task directory, reads the named files, and applies grounded quoting to ensure all conclusions and output artifacts are supported by the local source files.