From 458f382b414f5224708aeb3f0443660e42bd2289 Mon Sep 17 00:00:00 2001 From: owenisas Date: Thu, 29 Oct 2026 19:24:03 +0800 Subject: [PATCH] docs(agents): add agent instructions that point to the org rules The org rules in Parafield-Official/Parafield-Official load only for Claude Code sessions inside the hub folder. Codex stops at the repo root, and CI, cloud sessions and standalone clones never see the hub file, so this repo's agent instructions now link it, say this file wins where it is more specific, and show how to read the hub file. CLAUDE.md imports AGENTS.md so Claude Code and Codex read one file. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 9 +++++++++ CLAUDE.md | 1 + 2 files changed, 10 insertions(+) create mode 100644 AGENTS.md create mode 100644 CLAUDE.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..fb62e3c --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,9 @@ +# Kosmos agent instructions + +Setup: [README.md](README.md). Branches, pull requests and releases: [CONTRIBUTING.md](CONTRIBUTING.md). + +## Org rules + +Parafield-Official org members also follow the rules shared by every org repo, in [`AGENTS.md` in Parafield-Official/Parafield-Official](https://github.com/Parafield-Official/Parafield-Official/blob/main/AGENTS.md) (private). This file and [CONTRIBUTING.md](CONTRIBUTING.md) win where they are more specific. + +Claude Code loads that file by itself only inside a hub checkout. Anywhere else (Codex, CI, cloud sessions, a standalone clone), read it before the first commit: `gh api -H 'Accept: application/vnd.github.raw' repos/Parafield-Official/Parafield-Official/contents/AGENTS.md`. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..43c994c --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +@AGENTS.md