workspace-files

workspace-files is an agent for Claude Code from swoelffel/claw-pilot. It costs 0 tokens per session (910 once invoked), scanned A, original, MIT.

A set of files in an agent's workspace that defines its identity, instructions, team connections, user preferences, and memory. The runtime reads these files when building the agent's prompts.

In plain words
What is it for?
Use it to configure how an agent behaves, works with other agents, handles first contact, reads user preferences, and performs regular health checks.
Why use it?
It keeps an agent's behavior and background in one predictable place instead of relying only on the current conversation.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions AGENTS.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/swoelffel/claw-pilot/workspace-files
Clone the repo
git clone --depth 1 https://github.com/swoelffel/claw-pilot

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workspace-files

README.md
[![agentmods](https://agentmods.dev/badge/agents/swoelffel/claw-pilot/workspace-files.svg)](https://agentmods.dev/agents/swoelffel/claw-pilot/workspace-files)
Your own site
<a href="https://agentmods.dev/agents/swoelffel/claw-pilot/workspace-files"><img src="https://agentmods.dev/badge/agents/swoelffel/claw-pilot/workspace-files.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 910 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00910
Opus 5 $0.00000 $0.00455
Sonnet 5 $0.00000 $0.00182
Haiku 4.5 $0.00000 $0.00091

Measured 6d ago against content hash 05208ce80af0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

workspace-files scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

templates/system/workspace/system-pilot/docs/agents/workspace-files.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Workspace Files

Every agent in ClawPilot has a dedicated workspace directory containing files that shape its identity, behavior, team composition, and memory.

Standard Workspace Files

File Purpose When Used
SOUL.md Agent identity, capabilities, principles, personality Injected into system prompt when promptMode=full
AGENTS.md Team composition, communication links, delegation rules Loaded at prompt build time for multi-agent awareness
BOOTSTRAP.md First-contact guidance, onboarding instructions Shown only on the very first message of a new session
USER.md User preferences, custom instructions, working style Injected into system prompt alongside SOUL.md
HEARTBEAT.md Heartbeat check instructions, health verification steps Read by the heartbeat scheduler at each check interval

How Standard Files Are Loaded

The runtime reads workspace files during prompt construction. The loading order is:

  1. SOUL.md -- core identity block, always first
  2. USER.md -- user-specific overrides appended after SOUL
  3. AGENTS.md -- team topology for delegation-aware agents
  4. BOOTSTRAP.md -- conditional, only if session.messageCount === 0

When promptMode is set to minimal, only SOUL.md summary lines are included to reduce token usage. Set promptMode=full for complete injection of all workspace content.

Custom Documentation Files

Any .md file placed in the docs/ subdirectory (or deeper) becomes part of the agent's knowledge base. Examples:

  • docs/reference/glossary.md -- terminology definitions
  • docs/flows/daily-maintenance.md -- flow-specific instructions
  • docs/security/authentication.md -- security context

Custom files are not injected into the system prompt automatically. They are accessed on demand through workspace search tools.

Workspace Knowledge Plugin

Agents equipped with the workspace-knowledge plugin gain two MCP tools:

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 105 lines · 0 tokens per session scan A 05208ce80af0

Subscribe to this mod's changes

workspace-files is an agent published in the GitHub repository swoelffel/claw-pilot (10 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 910 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.