agent-profile
AGENTS.md3 starsChanged 3 months agoApache-2.0View on GitHub
If generated and manual instructions conflict, follow the manual project instructions unless they would weaken safety, privacy, or permission limits. Safety, privacy, and explicit deny rules always win. Name: agent-profile Description: Local AI-agent setup. Cursor, Aider, Copilot, hosted gateways, enterprise RBAC, SIEM integrations, and custom sandbox runtimes are out of scope unless an approved spec adds them. - Run tests. - Run golden tests when generated files change. - Run doctor/check once available. - Review the implementation against the relevant…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- final-reviewSkill
- grill-changeSkill
- implement-nextSkill
- request-to-spec-issuesSkill
- sdd-changeSkill
- subagent-driven-changeSkill
- tdd-changeSkill
- final-reviewSkill
- grill-changeSkill
- implement-nextSkill
- request-to-spec-issuesSkill
- sdd-changeSkill
- subagent-driven-changeSkill
- tdd-changeSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
20 rules. About 1 is common, 18 are distinctive, and 1 is very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
1
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
- Distinctive: line 6
If generated and manual instructions conflict, follow the manual project instructions unless they would weaken safety, privacy, or …
- Distinctive: line 48
No literal tokens in generated configs.
- Distinctive: line 49
No telemetry by default.
- Distinctive: line 50
No hosted execution in the MVP.
- Distinctive: line 59
Run golden tests when generated files change.
- Distinctive: line 60
Run doctor/check once available.
- Distinctive: line 83
Prefer explicit contracts over implicit behavior.
- Very specific: line 91
Read the relevant spec in docs/specs/.
- Distinctive: line 93
Do not expand scope beyond the spec.
- Distinctive: line 97
Add or update tests first where practical.
- Distinctive: line 98
Keep changes small and focused.
- Distinctive: line 100
Do not change generated output fixtures unless the spec explicitly requires it.
- Distinctive: line 106
Run doctor/check if available.
- Distinctive: line 114
Treat static-only evidence as weaker than a regression test and call that out.
- Distinctive: line 118
Document or revert any intentional UX divergence from existing behavior.
- Common: line 124
read or print secrets
- Distinctive: line 125
write literal tokens into generated configs
- Distinctive: line 127
add telemetry by default
- Distinctive: line 140
Do not add this header to JSON, Markdown, YAML fixtures, or tsconfig files unless a later spec requires it.
- Distinctive: line 153
Do not add Cursor, Aider, Copilot, or enterprise features unless a spec explicitly adds them.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
<!-- agent-profile:generated:start -->AGENTS.md
Instruction Precedence
If generated and manual instructions conflict, follow the manual project instructions unless they would weaken safety, privacy, or permission limits. Safety, privacy, and explicit deny rules always win.
Project
Name: agent-profile
Description: Local AI-agent setup.
Stack
- Languages: typescript
- Frameworks: None declared
- Package managers: npm
- Testing: None declared
Enabled AI Clients
- Codex
- Claude
Development Workflow
- SDD: Required
- TDD: Required
- Final implementation review: Required
Permissions
| Permission | Mode |
| filesystem read | allow |
| filesystem write | ask |
| shell run | ask |
| dependency install | ask |
| external network | ask |
| secrets access | deny |
| production access | deny |
Safety Rules
- No source-code upload.
- No secret upload.
- No literal tokens in generated configs.
- No telemetry by default.
- No hosted execution in the MVP.
Scope Limits
Cursor, Aider, Copilot, hosted gateways, enterprise RBAC, SIEM integrations, and custom sandbox runtimes are out of scope unless an approved spec adds them.
Completion Checklist
- Run tests.
- Run golden tests when generated files change.
- Run doctor/check once available.
- Review the implementation against the relevant spec.
- List remaining risks or TODOs.
<!-- agent-profile:generated:end --><!-- agent-profile:manual:start -->AGENTS.md
Project
This repository implements a local-first AI Agent Profile Compiler.
The tool defines one canonical ai-profile.yaml and compiles it into
agent-specific configuration for Tabnine, Codex, and Claude.
Product Principles
- Local-first by default.
- No source-code upload.
- No secret upload.
- No hosted execution in the MVP.
- Generated files must be deterministic.
- Safety checks are part of the product, not an afterthought.
- Prefer explicit contracts over implicit behavior.
Development Workflow
Use SDD/TDD.
Before implementation:
- Read the relevant spec in
docs/specs/. - Confirm the goal, non-goals, contracts, and acceptance criteria.
- Do not expand scope beyond the spec.
During implementation:
- Add or update tests first where practical.
- Keep changes small and focused.
- Preserve public contracts.
- Do not change generated output fixtures unless the spec explicitly requires it.
After implementation:
- Run tests.
- Run golden tests.
- Run doctor/check if available.
- Review the implementation against the spec.
- List any incomplete or risky items.
For final spec reviews:
- Build a spec-to-test matrix for every MUST, acceptance criterion, and error contract.
- For each item, cite either a focused test or explicit static-only evidence.
- Treat static-only evidence as weaker than a regression test and call that out.
- For local-first, no-upload, no-secret, and no-source-read claims, prefer runtime sentinels over import inspection alone.
- For documented error tables, require table-driven CLI or API tests covering code, exit/status, and redaction behavior.
- For parsers and token formats, review canonical decoding, malformed encodings, size limits, and validation order.
- Document or revert any intentional UX divergence from existing behavior.
Safety Rules
Never:
- read or print secrets
- write literal tokens into generated configs
- upload repository content
- add telemetry by default
- execute shell commands without explicit user intent
- install dependencies without explicit user intent
Copyright Headers
TypeScript source files must start with:
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2026 Agent Profile Compiler contributorsDo not add this header to JSON, Markdown, YAML fixtures, or tsconfig files unless a later spec requires it.
Package Manager
Use npm.
First Supported Targets
- Tabnine
- Codex
- Claude
Do not add Cursor, Aider, Copilot, or enterprise features unless a spec explicitly adds them.
Required Final Response For Implementation Tasks
End every implementation task with:
- What changed
- Tests run
- Contract impact
- Security impact
- Remaining risks or TODOs
- Whether the spec acceptance criteria are fully met
<!-- agent-profile:manual:end -->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.

