demo-file

Verify file existence, size, and content for pipeline checks.

7|2|Updated May 10, 2026
One-click install
npx skills add https://github.com/Wool-xing/Test-Agent --skill demo-file
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: demo-file
Source: https://github.com/Wool-xing/Test-Agent/tree/main/examples/skills/demo-file
Command: npx skills add https://github.com/Wool-xing/Test-Agent --skill demo-file

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for a quick and reliable way to verify the existence, size, and content of files, ensuring data integrity and correctness.

Core Features & Use Cases

  • File Existence Check: Confirm that a file exists in the specified location.
  • Size Validation: Ensure the file meets a specified minimum size requirement.
  • Content Verification: Check if the file contains specific text or content.
  • Use Case: Use this Skill to verify that a configuration file is present, meets the required size, and contains the necessary data before proceeding with a critical operation.

Quick Start

Check if the 'config.json' file exists and is not empty.

Frequently Asked Questions about demo-file

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

FAQPage Schema
How do I verify file existence and check content before running data pipelines?

You can verify file existence and check content by confirming the file is present at a specified location, validates against a minimum size requirement, and contains the specific text needed. This ensures data integrity before running data pipelines.

What is file size validation and when do I need it for configuration files?

File size validation is the process of ensuring a file meets a specified minimum size requirement. You need it for configuration files to confirm the file is not empty and contains the necessary data before proceeding with critical operations.

Do I need file system access to perform content checks on local files?

Yes, you need file system access to perform content checks on local files. Verifying file existence, size, and content requires basic text analysis capabilities and direct access to read the file system at the specified location.

What's the best way to check if a config.json file exists and is not empty?

The best way to check if a config.json file exists and is not empty is to run a pre-processing check that validates file existence and confirms the file size meets a minimum requirement, ensuring it contains the necessary data.

Why does file verification fail when checking content in data pipelines?

File verification fails when checking content in data pipelines if the file does not exist at the specified location, does not meet the required minimum file size, or lacks the specific text required for the pre-processing check.