Agentdir banner
NomaDamas NomaDamas

Agentdir

Development community

Description

mkdir for agents - agent-optimized & read-only virtual folder

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

agentdir

**Rust-built virtual file tree infrastructure for agent-ready file layouts across macOS, Linux, and Windows**

[![crates.io](https://img.shields.io/crates/v/agentdir)](https://crates.io/crates/agentdir) [![PyPI](https://img.shields.io/pypi/v/agentdir)](https://pypi.org/project/agentdir/) [![npm](https://img.shields.io/npm/v/@nomadamas/agentdir)](https://www.npmjs.com/package/@nomadamas/agentdir) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

agentdir lets your tools present the same original files in purpose-built, read-only folder structures without moving the originals. AI agents, scripts, and humans can navigate documents, media, datasets, generated artifacts, plain text, binaries, or any other OS-visible files through a layout optimized for the task at hand.

Built in Rust, agentdir runs on macOS, Linux, and Windows. On CoW-capable filesystems such as APFS, Btrfs, and XFS, alternate layouts and snapshots use reflinks, so large files do not get duplicated just because the folder structure changes. When CoW is unavailable, agentdir falls back to byte-copy materialization.

The point is simple: keep the human-facing file layout stable, give agents a better working layout, and keep the two mapped together as original files change.


Why agentdir

  • Better agent context — expose task-specific file layouts instead of forcing agents through whatever folder structure happened to grow over time
  • Originals stay put — rearrange the virtual namespace with mv, cp, rename, mkdir, and rmdir without moving the source files
  • No duplicate-data tax on CoW filesystems — big PDFs, images, media, and datasets can appear in multiple layouts without copying file data on supported filesystems
  • General-purpose files, not just developer projects — works with documents, spreadsheets, presentations, PDFs, images, media, datasets, plain text, binaries, and more
  • Cross-platform native core — Rust library, CLI