agentleFS
AgoraIOAgoraIO/skills/AGENTS.md

skills

AGENTS.md83 starsChanged 9 months agoMITView on GitHub

This repository contains AI agent skills for building with Agora — covering RTC, RTM, Conversational AI, Agora CLI workflows, server-side tokens, and Cloud Recording. Ask: will this still be correct in 6 months without any updates? If yes, put it inline. If no, route to Level 2 docs lookup or an external link. MCP is preferred only when installed and supported in the current tool/runtime. Validation covers: Claude validation additionally covers the marketplace schema, plugin manifest, and public skill frontmatter.…

  • 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 35,266 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 repository2 other files it gives its agents.

The file

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

7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Ask: will this still be correct in 6 months without any updates?

    line 38
  2. Very specific:

    Use agora- prefix for new product skill directories

    line 43
  3. Very specific:

    Never: use shengwang- prefixes

    line 44
  4. Very specific:

    Create skills/agora/references/{product}/README.md (Layer 3 — 20–100 lines)

    line 48
  5. Very specific:

    Add an entry to the Products section of skills/agora/SKILL.md

    line 49
  6. Very specific:

    Create topic files: skills/agora/references/{product}/{topic}.md (Layer 4 — 34–500 lines)

    line 50
  7. Very specific:

    Add at least one eval case to tests/eval-cases.md

    line 52

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

AGENTS.md

This repository contains AI agent skills for building with Agora — covering RTC, RTM, Conversational AI, Agora CLI workflows, server-side tokens, and Cloud Recording.

Repository Structure

scripts/
└── validate-skills.sh              # Static validation
skills/
└── agora/                          # Skill root
    ├── SKILL.md                    # Entry point, product index
    └── references/
        ├── doc-fetching.md         # Two-tier lookup procedure
        ├── mcp-tools.md            # MCP tool reference + graceful degradation
        ├── integration-patterns.md # RTC + RTM + ConvoAI coordination
        ├── cli/                    # Agora CLI: install, auth, init, quickstarts, env, doctor, automation
        ├── rtc/                    # RTC: Web, React, Next.js, iOS, Android, RN, Flutter
        ├── rtm/                    # RTM v2: Web, iOS, Android
        ├── conversational-ai/      # ConvoAI: REST, SDKs, toolkits, auth flow
        ├── server/                 # Token generation
        ├── cloud-recording/        # Cloud Recording REST API
        ├── server-gateway/         # Linux Server Gateway
        └── testing-guidance/       # Mocking patterns and test guidance

4-Layer Progressive Disclosure

LayerWhatSizeWhen Loaded
1 — DescriptionTrigger keywords in SKILL.md frontmatter~100 wordsAlways (skill index)
2 — SKILL.md bodyProduct routing, guardrails, ambiguity rules~90 linesOn activation
3 — Product READMEOverview, critical rules, topic links20–100 linesPer product
4 — Topic filesImplementation detail, code examples, API reference34–500 linesPer topic

Freeze-Forever Rule

Ask: will this still be correct in 6 months without any updates? If yes, put it inline. If no, route to Level 2 docs lookup or an external link. MCP is preferred only when installed and supported in the current tool/runtime.

Naming Conventions

  • Directory names: lowercase kebab-case
  • Use agora- prefix for new product skill directories
  • Never use shengwang- prefixes

Adding a New Product

  1. Create skills/agora/references/{product}/README.md (Layer 3 — 20–100 lines)
  2. Add an entry to the Products section of skills/agora/SKILL.md
  3. Create topic files: skills/agora/references/{product}/{topic}.md (Layer 4 — 34–500 lines)
  4. Apply the freeze-forever test to all inline content
  5. Add at least one eval case to tests/eval-cases.md

Validation

bash scripts/validate-skills.sh
skills-ref validate skills/agora
claude plugin validate . --strict
claude plugin validate ./.claude-plugin/plugin.json
claude plugin validate ./skills --strict

Validation covers:

  • frontmatter checks for all frontmatter-bearing markdown files under skills/agora/
  • the official Agent Skills schema and naming rules through skills-ref
  • duplicate skill names
  • broken relative links
  • Layer 4 topic files over 500 lines
  • absolute local path leakage (/Users/...)
  • blocklisted internal terms

Claude validation additionally covers the marketplace schema, plugin manifest, and public skill frontmatter. Direct manifest validation may emit the expected non-blocking warning that the repository-root CLAUDE.md is not plugin context.

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.