agentleFS
AgoraIOAgoraIO/skills/CLAUDE.md

skills

CLAUDE.md83 starsChanged 9 months agoMITView on GitHub

This repo contains AI agent skills for Agora (agora.io) platform integration — RTC, RTM, Conversational AI, server-side tokens, and Cloud Recording. The skill content lives under a nested path: skills/agora/. When adding or editing files, always place them here — not at repo root or in a flat skills/ directory. Do not modify the following files without an explicit instruction from the user: - skills/agora/references/rtc/web.md - skills/agora/references/rtc/react.md - skills/agora/references/rtc/ios.md - skills/agora/references/rtc/android.md - skills/agora/references/rtm/web.md These files contain stable, high-value inline examples.…

  • In this repository2 other files it gives its agents.

The file

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

4 rules. About 0 are common, 3 are distinctive, and 1 is 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.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not modify the following files without an explicit instruction from the user:

    line 28
  2. Distinctive:

    Before adding any inline content, ask: will this still be correct in 6 months without any updates?

    line 39
  3. Very specific:

    Never use shengwang- prefixes.

    line 63
  4. Distinctive:

    Before suggesting any PR, run:

    line 67

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

CLAUDE.md

This repo contains AI agent skills for Agora (agora.io) platform integration — RTC, RTM, Conversational AI, server-side tokens, and Cloud Recording.

File Structure

The skill content lives under a nested path: skills/agora/. When adding or editing files, always place them here — not at repo root or in a flat skills/ directory.

skills/
└── agora/                     ← skill root (all edits go here)
    ├── SKILL.md               ← entry point; do not restructure this file
    └── references/
        ├── doc-fetching.md    ← two-tier lookup procedure (agent-facing)
        ├── mcp-tools.md       ← Agora Docs MCP install guide (docs traversal only)
        ├── integration-patterns.md  ← multi-product coordination (RTC+RTM+ConvoAI)
        ├── rtc/               ← Web, React, Next.js, iOS, Android, React Native, Flutter
        ├── rtm/               ← Web, iOS, Android (all v2)
        ├── conversational-ai/ ← REST API, server SDKs, iOS/Android toolkits, React hooks
        ├── server/
        ├── cloud-recording/
        ├── server-gateway/
        └── testing-guidance/

Protected Files

Do not modify the following files without an explicit instruction from the user:

  • skills/agora/references/rtc/web.md
  • skills/agora/references/rtc/react.md
  • skills/agora/references/rtc/ios.md
  • skills/agora/references/rtc/android.md
  • skills/agora/references/rtm/web.md These files contain stable, high-value inline examples. Edits require a verified reason and an updated eval case.

Freeze-Forever Rule

Before adding any inline content, ask: will this still be correct in 6 months without any updates?

  • Yes → put it inline (stable APIs, initialization sequences, gotchas)
  • No → route to Level 2 fetch or an external link (REST API schemas, SDK changelogs, vendor configs, model names)
Content typeWhere it lives
RTC initialization, track management, event registrationInline — references/rtc/
RTM messaging and presence patternsInline — references/rtm/
Token generation (RTC, RTM, AccessToken2)Inline — references/server/ (server/ is token generation only — not ConvoAI SDKs)
ConvoAI gotchas, field-type rules, REST API lifecycleInline — references/conversational-ai/README.md
ConvoAI server SDK patterns (auth modes, state machine, session lifecycle, avatar+TTS)Inline — references/conversational-ai/server-sdks.md
ConvoAI auth flow (three-token distinction, sequence diagram)Inline — references/conversational-ai/auth-flow.md
ConvoAI Python SDK patterns (sync/async, deprecations, debug)Inline — references/conversational-ai/python-sdk.md
ConvoAI Go SDK patterns (context.Context, functional options, status constants)Inline — references/conversational-ai/go-sdk.md
ConvoAI quick-start code with vendor-specific imports (Python, Go, Java)Level 2 fetch
ConvoAI full request/response schemasLevel 2 fetch
TTS / ASR / LLM vendor configs and model namesLevel 2 fetch
Cloud Recording REST API field detailsLevel 2 fetch
Error code listingsLevel 2 fetch
Release notes and new parametersLevel 2 fetch

Naming Rule

Never use shengwang- prefixes. All paths, directory names, and skill names use Agora-branded identifiers. New product directories use the agora- prefix.

Validation

Before suggesting any PR, run:

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

Zero errors required. Direct manifest validation may emit the expected warning that this contributor-only CLAUDE.md is not loaded as 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.