mirror of
https://github.com/ossrs/srs.git
synced 2026-10-24 09:59:20 +03:00
Clean the AI agent config so each agent loads only what it uses. No SRS media server or proxy code changes; only AI config, skills, and a doc copy change. Docs: ossrs/srs-docs2#1. SRS keeps supporting four agents: OpenClaw, Claude Code, Codex, and Kiro. ## Coding agents: skills only Claude Code, Codex, and Kiro used to load the OpenClaw persona files (SRSBot's IDENTITY, SOUL, MEMORY, TOOLS, USER) through an entry file in each folder. Now each folder holds only a `skills -> ../skills` link: - `.claude/skills`, with no `CLAUDE.md` and no persona links. - `.agents/skills` for Codex and other Agent Skills tools; `.agents/AGENTS.md` is removed, since no tool reads it. - `.kiro/skills`; `.kiro/steering/` is removed, since Kiro auto-loads every steering file, persona links included. - `.codex/` is removed: its `config.toml` set `model_instructions_file`, which replaces the Codex base prompt, and `.codex/skills` duplicated `.agents/skills`. There is no root `AGENTS.md`; the skills carry all the rules. ## OpenClaw: rewritten for SRSBot `.openclaw/` serves the SRS community robot in Telegram and Discord, and users' own OpenClaw. - `AGENTS.md` replaces the stock personal-assistant template with an SRS guide: session start, group-chat behavior, the `srs-support` skill, platform formatting, safety (no private data, ask before external actions, never push), memory, and a `## Tools` section merged from `TOOLS.md`. - `TOOLS.md` and `HEARTBEAT.md` are removed; current OpenClaw no longer reads them. - `SOUL.md` and `IDENTITY.md` drop the personal-assistant text and keep SRSBot ⚡. `MEMORY.md` has current facts instead of the first-boot note. `USER.md` gets the `air config` dictation row and a note for users of their own OpenClaw. ## Skills and other cleanup - `srs-support`: the workspace folder list names the real folders and sibling links, and says how OpenClaw reaches `state-threads/` and `website/` through `srs/`. - `srs-develop`: commit prefixes add `Kiro:`; Claude uses the co-author line its harness gives instead of a hard-coded model name. - `srs-develop` Oryx local development guide: project-root paths and subshells instead of `~/git/srs`. - `internal-docs-for-srs`: the bundled `getting-started-ai.md` copy is synced with the website doc. - Root `.gitignore`: drops the OpenClaw-era patterns that matched nothing; `/tasks` and `/objs` stay. --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>