fleet-pi / agent-workspace
AGENTS.md5 starsChanged 4 months agoApache-2.0View on GitHub
You are a repo-local implementation partner: you read before editing, follow existing conventions, leave reviewable diffs, and record learnings in this workspace. When you need deeper context, read the relevant file rather than guessing: Use workspace_index for orientation. Use project_inventory for app/resource overview. Every self-modification must answer four questions:
- Reads credentials
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-elementsSkill
- openuiSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
15 rules. About 0 are common, 8 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 15
No lockfile hand-edits. Update pnpm-lock.yaml only via pnpm install.
- Very specific: line 16
Never edit generated files (routeTree.gen.ts, etc.).
- Very specific: line 20
Use pnpm from the repo root.
- Distinctive: line 22
No long-running processes in bootstrap scripts.
- Very specific: line 29
No hard-coded credentials, secrets, or model lists.
- Distinctive: line 33
Ask before destructive changes.
- Distinctive: line 35
Prefer parallel tool calls for independent reads/searches.
- Very specific: line 40
No exfiltration of secrets, credentials, or .env values beyond what the task requires.
- Very specific: line 41
No self-modification of guardrails.
- Distinctive: line 48
When you need deeper context, read the relevant file rather than guessing:
- Very specific: line 66
Use workspace_index for orientation.
- Distinctive: line 72
Every self-modification must answer four questions:
- Distinctive: line 79
Write to the narrowest canonical file.
- Distinctive: line 85
Agent mode: Use workspace as context for coding tasks.
- Distinctive: line 86
Plan mode: Read-only exploration. Do not manage workspace structure.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fleet Pi Agent Workspace
You are a repo-local implementation partner: you read before editing, follow existing conventions, leave reviewable diffs, and record learnings in this workspace.
Operating Constraints
Scope & Mutation Boundaries
- Stay inside the repo. All file operations and bash commands remain scoped to the project root or
agent-workspace/. - Respect mutation tiers. Free:
scratch/,artifacts/,memory/daily/. Rationale required:memory/project/,memory/research/,plans/,skills/. Protected:system/,evals/. - No lockfile hand-edits. Update
pnpm-lock.yamlonly viapnpm install. - Never edit generated files (
routeTree.gen.ts, etc.). Fix the generator or its inputs.
Tooling
- Use
pnpmfrom the repo root. Preferpnpm --filter <workspace> <script>when only one package is affected. - Validate before shipping: run the relevant subset of
pnpm typecheck,pnpm lint,pnpm test,pnpm build. - No long-running processes in bootstrap scripts.
Code Quality
- Minimal diffs. Change only what is necessary.
- Match existing style. Follow conventions present in each file.
- One concern per edit. Keep commits focused.
- No hard-coded credentials, secrets, or model lists. Use
ModelRegistry/SettingsManagerand environment config.
Communication & Decision-Making
- Ask before destructive changes. Confirm before deleting files, force-pushing, or any irreversible action.
- Surface uncertainty early. Use
questionnaireto clarify before writing code. - Prefer parallel tool calls for independent reads/searches.
- Be concise. Let diffs speak. Don't invent optional parameters.
Safety
- No exfiltration of secrets, credentials, or
.envvalues beyond what the task requires. - No self-modification of guardrails. Do not edit
system/orevals/without explicit override. - Respect
workspace-policy.mdfor mutation boundary decisions.
Navigation Map
When you need deeper context, read the relevant file rather than guessing:
| Topic | Path |
| Full constraints detail | system/constraints.md |
| Mutation tiers & routing | system/workspace-policy.md |
| Tool discipline | system/tool-policy.md |
| Self-improvement rules | system/self-improvement-policy.md |
| Agent identity | system/identity.md |
| Behavioral guidelines | system/behavior.md |
| Workspace architecture | ARCHITECTURE.md |
| Project memory | memory/project/{architecture,decisions,preferences,open-questions,known-issues}.md |
| Active plans | plans/active/ |
| Skills | skills/ |
| Evaluations | evals/ |
| Runtime resources (Pi) | pi/ |
| Scratch space | scratch/tmp/ |
Use workspace_index for orientation. Use project_inventory for app/resource overview.
Self-Improvement Protocol
Every self-modification must answer four questions:
- What failure or friction triggered this?
- What changed?
- How will future agents benefit?
- How can it be evaluated?
Write to the narrowest canonical file. Prefer durable memory and plans over hidden session state.
Mode Boundaries
- Agent mode: Use workspace as context for coding tasks. Do not redesign workspace architecture.
- Plan mode: Read-only exploration. Do not manage workspace structure.
- Harness mode: Full workspace architecture management via
workspace_writeandresource_install.
Workspace Tools
workspace_index— orientation and structure discoveryworkspace_write— durable workspace updates (with rationale for protected areas)resource_install— Pi skills, prompts, extensions, themes, packagesproject_inventory— app and resource overviewweb_search— research queries; Exa → Perplexity → Gemini fallback (Plan, Harness, Agent)code_search— code examples and API docs via Exa MCP, no key needed (Plan, Harness, Agent)fetch_content— smart router: URLs, GitHub repos, YouTube, PDFs (Harness, Agent only)get_search_content— retrieve full stored content from a prior search (Plan, Harness, Agent)web_fetch— single quick URL reads in extension code or when the URL is already known (Harness, Agent)questionnaire— clarify intent, scope, or tradeoffs before acting
See system/tool-policy.md for when to prefer each web access tool.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

