agentleFS
jsuvicjsuvic/agent-profile/AGENTS.md

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…

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
  1. Distinctive:

    If generated and manual instructions conflict, follow the manual project instructions unless they would weaken safety, privacy, or …

    line 6
  2. Distinctive:

    No literal tokens in generated configs.

    line 48
  3. Distinctive:

    No telemetry by default.

    line 49
  4. Distinctive:

    No hosted execution in the MVP.

    line 50
  5. Distinctive:

    Run golden tests when generated files change.

    line 59
  6. Distinctive:

    Run doctor/check once available.

    line 60
  7. Distinctive:

    Prefer explicit contracts over implicit behavior.

    line 83
  8. Very specific:

    Read the relevant spec in docs/specs/.

    line 91
  9. Distinctive:

    Do not expand scope beyond the spec.

    line 93
  10. Distinctive:

    Add or update tests first where practical.

    line 97
  11. Distinctive:

    Keep changes small and focused.

    line 98
  12. Distinctive:

    Do not change generated output fixtures unless the spec explicitly requires it.

    line 100
  13. Distinctive:

    Run doctor/check if available.

    line 106
  14. Distinctive:

    Treat static-only evidence as weaker than a regression test and call that out.

    line 114
  15. Distinctive:

    Document or revert any intentional UX divergence from existing behavior.

    line 118
  16. Common:

    read or print secrets

    line 124
  17. Distinctive:

    write literal tokens into generated configs

    line 125
  18. Distinctive:

    add telemetry by default

    line 127
  19. Distinctive:

    Do not add this header to JSON, Markdown, YAML fixtures, or tsconfig files unless a later spec requires it.

    line 140
  20. Distinctive:

    Do not add Cursor, Aider, Copilot, or enterprise features unless a spec explicitly adds them.

    line 153

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md
<!-- 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

PermissionMode
filesystem readallow
filesystem writeask
shell runask
dependency installask
external networkask
secrets accessdeny
production accessdeny

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:

  1. Read the relevant spec in docs/specs/.
  2. Confirm the goal, non-goals, contracts, and acceptance criteria.
  3. Do not expand scope beyond the spec.

During implementation:

  1. Add or update tests first where practical.
  2. Keep changes small and focused.
  3. Preserve public contracts.
  4. Do not change generated output fixtures unless the spec explicitly requires it.

After implementation:

  1. Run tests.
  2. Run golden tests.
  3. Run doctor/check if available.
  4. Review the implementation against the spec.
  5. List any incomplete or risky items.

For final spec reviews:

  1. Build a spec-to-test matrix for every MUST, acceptance criterion, and error contract.
  2. For each item, cite either a focused test or explicit static-only evidence.
  3. Treat static-only evidence as weaker than a regression test and call that out.
  4. For local-first, no-upload, no-secret, and no-source-read claims, prefer runtime sentinels over import inspection alone.
  5. For documented error tables, require table-driven CLI or API tests covering code, exit/status, and redaction behavior.
  6. For parsers and token formats, review canonical decoding, malformed encodings, size limits, and validation order.
  7. 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 contributors

Do 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:

  1. What changed
  2. Tests run
  3. Contract impact
  4. Security impact
  5. Remaining risks or TODOs
  6. Whether the spec acceptance criteria are fully met
<!-- agent-profile:manual:end -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.