Reusable preferences for your AI agent.
Traits turns feedback into preferences your agent can use across tasks and
sessions. Each trait is a Markdown file in .agents/traits/<name>.md:
---
name: direct-callbacks
subject: Callbacks passed to functions.
requirement: >
Pass compatible functions directly instead of wrapping them in forwarding
arrows.
purpose: Expose callback behavior without redundant wrappers.
---Your agent proposes traits, asks you to approve changes, and checks its work against them through MCP. The files live in your project, so you can edit, review, and share them with your team.
Each trait requires name, subject, requirement, and purpose.
applicability and guidance are optional text fields; the Markdown body holds
supporting context, examples, and references. Additional frontmatter keys are
rejected. Guidance does not grant permission to act, and model assessments are
not guarantees.
Paste this into your agent inside your project:
Set up Traits using https://github.com/crosshatch/traits/blob/main/SETUP.md.
Follow this project's conventions, ask me to choose providers and models, and
preserve existing configuration.