agentleFS
MathiasPaulenkoMathiasPaulenko/ai-toolkit/AGENTS.md

ai-toolkit

AGENTS.md2 starsChanged 4 months agoMITView on GitHub

This repository stores reusable AI agent definitions. Every agent follows a standardized structure and metadata format to ensure consistency and discoverability across tools (Cursor, Claude Dev, Continue, Aider, etc). This file also serves as the global repository rules document that the AI must follow when creating, modifying, or reviewing any resource in this repository. These conventions apply to all resource types (skills, agents, prompts, rules, workflows, tools). All resources MUST include YAML frontmatter: Rules: - author is ALWAYS Mathias Paulenko…

The file

We split this AGENTS.md into the rules it gives an agent

9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All resources MUST include YAML frontmatter:

    line 23
  2. Distinctive:

    Keep main files concise (~400-500 lines).

    line 48
  3. Very specific:

    Place runnable scripts and templates in assets/.

    line 50
  4. Distinctive:

    Every agent MUST be a Markdown file with YAML frontmatter followed by structured sections.

    line 76
  5. Very specific:

    Add knowledge/: only if the agent needs domain-specific docs.

    line 169
  6. Very specific:

    Add tools/: only if the agent invokes scripts.

    line 170
  7. Very specific:

    Update this file (AGENTS.md): if introducing a new type.

    line 172
  8. Very specific:

    Add the agent to .continue/config.yaml under agents: pointing to the agent.md file.

    line 206
  9. Very specific:

    Use the agent content as a system prompt or place in .aider/agents/.

    line 209

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

AI Agents in ai-toolkit

This repository stores reusable AI agent definitions. Every agent follows a standardized structure and metadata format to ensure consistency and discoverability across tools (Cursor, Claude Dev, Continue, Aider, etc).

This file also serves as the global repository rules document that the AI must follow when creating, modifying, or reviewing any resource in this repository.


Repository Conventions (Global Rules)

These conventions apply to all resource types (skills, agents, prompts, rules, workflows, tools).

Naming

ElementFormatExample
Folderskebab-casemy-cool-skill/, code-reviewer/
Fileskebab-case.mdapi-reference.md, python-coding-rules.md
Tagskebab-casecode-review, rest-api

Frontmatter (Mandatory)

All resources MUST include YAML frontmatter:

---
name: Display Name
version: 1.0.0
author: Mathias Paulenko Echeverz
description: One-line value proposition
tags: [tag1, tag2, tag3]
---

Rules:

  • author is ALWAYS Mathias Paulenko Echeverz.
  • version follows SemVer (1.0.0).
  • tags are 3-5 specific tags, not generic (ai, code).

File Organization

FolderPurpose
references/Markdown docs that extend the main resource (API refs, detailed guides)
assets/Executable files the user copies or runs (scripts, templates, configs, images)

Rules:

  • Keep main files concise (~400-500 lines).
  • Externalize extended content to references/.
  • Place runnable scripts and templates in assets/.

Versioning

  • Follow SemVer.
  • Bump version in frontmatter on every significant change.

Directory Structure

ai-toolkit/
  agents/
    _template/
      agent.md              # Reference template
    agent-name/             # kebab-case folder
      agent.md              # Agent definition
      knowledge/            # Optional: domain docs, schemas, references
        ref.md
      tools/                # Optional: scripts the agent can invoke
        tool.py

Agent Definition (agent.md)

Every agent MUST be a Markdown file with YAML frontmatter followed by structured sections.

Frontmatter (required)

---
name: Agent Display Name
version: 1.0.0
author: Mathias Paulenko Echeverz
description: One-line description of what this agent does
tags: [tag1, tag2, tag3]
role: primary-role-identifier
type: governance | coding | review | creative | research | automation
language: en | es
---
FieldDescription
nameHuman-readable name (Title Case)
versionSemVer (1.0.0)
authorMathias Paulenko Echeverz
descriptionSingle-line value proposition
tags3-5 specific tags, not generic (ai, code)
roleIdentifier used by IDEs to load the agent
typeCategory for grouping agents
languagePrimary language of responses

Required Sections

# Agent Name

## Role
What persona this agent adopts and its area of expertise.

## Objective
What the agent is meant to achieve in concrete terms.

## Capabilities
- Specific tasks the agent can perform
- Tools or APIs it can invoke
- Knowledge bases it references

## Constraints
- Hard rules the agent must NOT violate
- Boundaries and out-of-scope items

## Knowledge Base
Links to files in `knowledge/` or related skills/rules/tools.

## Communication Style
- Tone (direct, formal, casual)
- Response format (checklists, prose, structured)
- Language preference

## Workflow
Numbered steps the agent follows for its core task.

## Fallback Behavior
What the agent does when uncertain or out of scope.

## References
Links to related resources in this repository.

Naming Conventions

ElementFormatExample
Agent folderkebab-caseqa-lead/
Agent fileagent.mdagent.md
Knowledge fileskebab-case.mdapi-guidelines.md
Tool scriptskebab-case.extvalidate.py
Tagskebab-casecode-review, security-audit

Agent Types

TypePurposeExamples
governanceEnforce standards, review qualityqa-lead
codingWrite, refactor, debug codepython-refactorer
reviewPR review, code auditsecurity-reviewer
creativeGenerate content, designsui-designer
researchInvestigate, analyze, summarizetech-researcher
automationCI/CD, deployment, DevOpsdeploy-automator

Workflow for Creating an Agent

  1. Copy the template from agents/_template/agent.md.
  2. Name the folder in kebab-case matching the agent's purpose.
  3. Fill the frontmatter with real metadata; no placeholders.
  4. Write all required sections — incomplete agents are rejected.
  5. Add knowledge/ only if the agent needs domain-specific docs.
  6. Add tools/ only if the agent invokes scripts.
  7. Self-review against the checklist below.
  8. Update this file (AGENTS.md) if introducing a new type.

Quality Checklist

Metadata

  • Frontmatter YAML is present and valid.
  • name is descriptive and matches the folder.
  • version follows SemVer.
  • author is Mathias Paulenko Echeverz.
  • description explains value in one line.
  • tags are specific (3-5 items).
  • role and type are set.

Content

  • All 9 required sections are present (Role, Objective, Capabilities, Constraints, Knowledge Base, Communication Style, Workflow, Fallback Behavior, References).
  • No placeholder text (Agent Name, tu-usuario, TODO, etc.).
  • Constraints are actual prohibitions, not suggestions.
  • Workflow is numbered and actionable.
  • References point to existing files in the repo.

Structure

  • Folder name is kebab-case.
  • agent.md is the only required file at root of the agent folder.
  • knowledge/ and tools/ are optional but follow naming conventions if present.

Integration with IDEs

Cursor

Copy the agent folder to .cursor/agents/ or reference agent.md in Cursor Rules.

Claude Dev / Claude Code

Reference the agent.md path when starting a session or add to .claude/agents/.

Continue

Add the agent to .continue/config.yaml under agents: pointing to the agent.md file.

Aider

Use the agent content as a system prompt or place in .aider/agents/.

References

  • agents/_template/agent.md — Template
  • agents/qa-lead/agent.md — Benchmark example
  • AGENTS.md — Global repository conventions and agent standards

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.