skip to content
FILESYSTEM.md

Claude Code Mapping

Last updated:

View Markdown source

Agent procedure

Use this page when your harness is Claude Code (or a CLAUDE.md-based adapter). FILESYSTEM.md stays harness-agnostic; this page only maps abstractions.

1. Keep one behavior source

  1. Put shared rules in AGENTS.md.
  2. Keep CLAUDE.md as a thin adapter (@AGENTS.md import or symlink).
  3. Do not fork the same rules into multiple files.

2. Map abstract ops to Claude Code–style tools

FILESYSTEM.md abstract opTypical Claude Code–style toolNotes
list / tree orientBash (ls, find) or search/list helpersPrefer workspace-scoped paths
read_fileFileReadRead before large edits
write_file / patchFileWrite / FileEditPrefer edit over full rewrite when possible
grepripgrep via Bash or dedicated search toolExact match before broad semantic search
append_file (logs/memory)FileEdit / FileWrite append patternNever silently overwrite LOGS/
skill loadSkill / plugin load, then read_file SKILLS/.../SKILL.mdIndex first; full body on demand
external toolsMCP-wrapped toolsStill respect workspace + secrets policy

3. Session mapping

FILESYSTEM.md stepClaude Code–oriented action
Bootstrap FILESYSTEM.mdEnsure it is readable in workspace; follow Bootstrap
Inject AGENTS.mdLoad via CLAUDE.md adapter if needed
Daily memoryRead/append MEMORY/daily/YYYY-MM-DD.md
Skills indexList SKILLS/; load one SKILL.md when required
LogAppend LOGS/YYYY-MM-DD.log

4. Further reading (public study guide)

For architecture depth (tools, permissions, memory, skills, context), read the public study site:

Treat that site as educational analysis, not Anthropic official documentation. Prefer verifying behavior against your installed harness and this workspace contract.

Human notes

Why this page exists

Humans often ask “how does a production coding agent touch the filesystem?” The study guide explains one industrial harness’s tool/permission/memory shape. FILESYSTEM.md standardizes the workspace contract those tools should honor.

Complementary, not competing

ResourceRole
FILESYSTEM.md + For AgentsPortable workspace procedures
Claude Code studyHarness internals & engineering patterns
Official Anthropic docsAuthoritative product behavior

Out of scope here