# Fs Stat

> Return metadata for a file or directory under scenarios/<world_name>/fs.

- Skill: `bdambrosio/fs-stat` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add bdambrosio/fs-stat`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bdambrosio/fs-stat/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: bdambrosio (https://skillmd.com/u/bdambrosio)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/bdambrosio/fs-stat

---


# fs-stat

Return metadata for a file or directory in the filesystem sandbox.

## Input

- `path`: Relative path under `scenarios/<world_name>/fs` (required)

## Output

Success returns:
- `resource_id`: Note ID containing text content.
- Note content format:
  - metadata Note linked by meta Relation (file/directory metadata)
  - body text with JSON-form metadata

## Examples

```json
{"type":"fs-stat","path":"data/config.json","out":"$stat"}
```

