fs-stat

Retrieve file and directory metadata within a sandboxed filesystem.

10|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill fs-stat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fs-stat
Source: https://github.com/bdambrosio/Cognitive_workbench/tree/main/src/world-tools/fs/fs-stat
Command: npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill fs-stat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides quick access to metadata for files and directories within a sandboxed filesystem, helping you understand file properties without manual inspection.

Core Features & Use Cases

  • File Metadata Retrieval: Obtain details like file size, modification date, and permissions.
  • Directory Information: Get information about directories, such as their contents and permissions.
  • Use Case: When working with configuration files or data files in your agent's environment, use this Skill to quickly check a file's last modified date or its size.

Quick Start

Use the fs-stat skill to get metadata for the file 'data/config.json'.

Frequently Asked Questions about fs-stat

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

FAQPage Schema
How do I get file metadata like size and modification date within a sandboxed filesystem?

To get file metadata like size and modification date, you can retrieve details for a specified file path within a sandboxed filesystem. This allows you to inspect file properties such as size, type, and timestamps for operational decision-making.

Can I retrieve directory information such as contents and permissions in my agent's environment?

Yes, you can retrieve directory information such as contents and permissions in your agent's environment. The skill supports getting information about directories to help you understand their properties without manual inspection.

What is the best way to check a configuration file's last modified date during operational decision-making?

The best way to check a configuration file's last modified date is to use a file metadata retrieval skill to quickly access the file's timestamps. This provides quick access to metadata for files in your agent's environment.

Does retrieving filesystem metadata require path resolution relative to a specific root?

Yes, retrieving filesystem metadata requires path resolution relative to a world-specific filesystem root. This ensures that the file or directory properties are safely accessed within the sandboxed environment.

What file properties can I inspect without manually opening files in a sandboxed environment?

You can inspect file properties like size, type, and timestamps without manually opening files in a sandboxed environment. This allows agents to quickly check file details for operational decision-making.