agentleFS
harindukavishkaharindukavishka/agentify/self/CLAUDE.md

agentify / self

CLAUDE.md4 starsChanged 9 months agoMITView on GitHub

Agentify helps agents understand and work with APIs. Give it an OpenAPI spec (Swagger 2.0 or OpenAPI 3.x), and it either gives you structured data about the API or generates ready-to-use agent interface code. agentify parse — Returns the API's intermediate representation (IR) as JSON. Use this when you want to understand an API's structure, write your own documentation, or build custom integrations. The IR includes product metadata, domain groupings, individual capabilities with typed inputs/outputs, auth requirements, and a generation…

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. MonadWorks/agentify★ 42100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

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

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If you are an agent that wants to write CLAUDE.md, AGENTS.md, or .cursorrules for an API, use parse to get the structured IR, then write …

    line 15
  2. Very specific:

    If you need generated code (an MCP server, a CLI tool, an A2A card), use transform.

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md

Agentify — Agent Interface Compiler

Agentify helps agents understand and work with APIs. Give it an OpenAPI spec (Swagger 2.0 or OpenAPI 3.x), and it either gives you structured data about the API or generates ready-to-use agent interface code.

Two Modes of Operation

agentify parse — Returns the API's intermediate representation (IR) as JSON. Use this when you want to understand an API's structure, write your own documentation, or build custom integrations. The IR includes product metadata, domain groupings, individual capabilities with typed inputs/outputs, auth requirements, and a generation strategy based on API scale.

agentify transform — Generates agent interface code: MCP servers, CLIs, A2A discovery cards, skills files, and more. Use this when you need runnable artifacts, not just data.

There is also agentify self-describe which outputs Agentify's own agent interface files.

When to Use Which

If you are an agent that wants to write CLAUDE.md, AGENTS.md, or .cursorrules for an API, use parse to get the structured IR, then write the documentation yourself. You will produce better, more contextual results than a template ever could.

If you need generated code (an MCP server, a CLI tool, an A2A card), use transform. These formats require deterministic, correct code — not prose.

Commands

# Get structured API data as JSON
npx agentify-cli parse <spec-url-or-path>

# Generate agent interface code (default: all formats)
npx agentify-cli transform <spec-url-or-path> [-o dir] [-n name] [-f format1 format2 ...]

# Output Agentify's own interface files
npx agentify-cli self-describe [-o dir]

Transform Formats

mcp (MCP Server), claude.md, agents.md, cursorrules, skills (skills.json), llms.txt, gemini.md, a2a (A2A Card), cli (Commander.js CLI)

What the IR Contains

The parse command outputs an AgentifyIR object with:

  • product — Name, description, version, base URL, docs link
  • domains — Logical groupings of related capabilities (e.g., "pets", "users", "billing")
  • capabilities — Individual API operations, each with: name, description, agent-optimized description, operation type (create/read/update/delete/list/search/execute), typed input/output schemas, HTTP metadata, auth requirements, side effects, idempotency, examples, and tags
  • auth — Detected authentication scheme (apiKey, bearer, oauth2, basic, or none) with the environment variable name to use
  • strategy — Generation strategy based on API scale: small (<30 endpoints), medium (30-100), or large (100+)

Input Handling

Agentify uses lenient parsing. It handles non-compliant specs gracefully — missing descriptions, unusual schema patterns, and vendor extensions are tolerated rather than rejected. This matters because real-world OpenAPI specs are often imperfect.

Tested against: Petstore (20 endpoints), Notion (13), httpbin (73), Slack (174), Stripe (452), GitHub (1,093).

Examples

# Understand what an API offers
npx agentify-cli parse https://petstore.swagger.io/v2/swagger.json

# Generate an MCP server for Stripe
npx agentify-cli transform https://raw.githubusercontent.com/.../stripe.yaml -f mcp

# Generate a CLI and A2A card
npx agentify-cli transform ./my-api.yaml -f cli a2a -o my-tools

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.