datagsm-server: Instructions file for Codex

AGENTS.md

datagsm-server AGENTS.md is an instructions file for Codex, OpenCode from themoment-team/datagsm-server. It costs 1,394 tokens per session, scanned A, original, MIT.

An AGENTS.md instruction file for a multi-module Kotlin and Spring Boot school-information API. It describes the project structure, technology choices, commands, testing tools, and Korean-language coding guidance.

In plain words
What is it for?
It helps agents work on the API, its OAuth2 login, MySQL and Redis data services, external integrations, and tests.
Why use it?
It gives coding agents repository rules and background they would not otherwise know. This reduces mistakes caused by using the wrong module, command, or convention.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md.

This is themoment-team/datagsm-server's own configuration. It tells Codex and OpenCode how to work on datagsm-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything datagsm-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to themoment-team/datagsm-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/themoment-team/datagsm-server/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/themoment-team/datagsm-server

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for datagsm-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/themoment-team/datagsm-server/agents-md/github.svg)](https://agentmods.dev/instructions/themoment-team/datagsm-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/themoment-team/datagsm-server/agents-md"><img src="https://agentmods.dev/badge/instructions/themoment-team/datagsm-server/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for datagsm-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/themoment-team/datagsm-server/agents-md"><img src="https://agentmods.dev/badge/instructions/themoment-team/datagsm-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,394 This file is loaded in full into every session.
When invoked 1,394 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01394 $0.01394
Opus 5.5 $0.00558 $0.00558
Sonnet 5.5 $0.00279 $0.00279
Haiku 4.5 $0.00139 $0.00139

Measured 19d ago against content hash 2c3bb22072fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

datagsm-server AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

한국어로 응답하고 작업해주세요.

프로젝트와 모듈

DataGSM은 광주소프트웨어마이스터고등학교의 학생·동아리·프로젝트·급식·일정 정보를 제공하는 REST API 서버입니다. Google OAuth2, JWT, API 키를 사용합니다.

  • 기술: Kotlin, Spring Boot 4.0, Spring Security, Spring Data JPA, QueryDSL, OpenFeign, Jackson 3.0, MySQL, Redis
  • 테스트: Kotest + MockK + JUnit 5
  • datagsm-common: 공통 Entity/DTO/Repository/Config, Health API
  • datagsm-oauth-authorization: OAuth2 인증, 회원가입·비밀번호 재설정
  • datagsm-oauth-userinfo: 외부 클라이언트용 OAuth2 UserInfo
  • datagsm-openapi: 학생·동아리·프로젝트 읽기/쓰기, NEIS 연동 공개 API
  • datagsm-web: 사용자·관리자 기능, Excel 처리
  • datagsm-shared: Maven/npm으로 배포하는 Kotlin Multiplatform 타입 정의
  • datagsm-ksp-processor: datagsm-common의 @KmpExport에서 KMP/TypeScript 타입 생성

서비스 모듈은 controller/, service/, repository/, entity/, dto/ 계층을 사용합니다. 공통 Entity/DTO는 datagsm-common/src/main/kotlin/team/themoment/datagsm/common/domain/, 예외 처리는 같은 Kotlin 루트의 global/common/error/에 있습니다. /v1/health는 공통 모듈의 global/controller/HealthController.kt가 제공합니다.

실행 명령

Gradle 빌드에는 Java 25를 사용합니다.

  • 빌드: ./gradlew build
  • 테스트: ./gradlew test
  • 포맷: ./gradlew ktlintFormat
  • 실행: ./gradlew :<module>:bootRun — datagsm-oauth-authorization, datagsm-oauth-userinfo, datagsm-openapi, datagsm-web

핵심 코딩 규칙

  • Controller → Service → Repository 구조와 생성자 주입을 사용합니다.
  • val과 Kotlin null-safety를 우선하고, 불필요한 var, !!, 과도한 주석을 피합니다.
  • Jackson은 @field:, Swagger는 요청 DTO에 @param:Schema, 응답 DTO에 @field:Schema를 사용합니다.
  • @Transactional은 메서드에만 적용합니다. 읽기는 readOnly = true, 쓰기는 기본 트랜잭션을 사용합니다.
  • 모든 API 응답에 CommonApiResponse를 사용하고, Fetch Join 또는 @EntityGraph로 N+1을 방지합니다.
  • @RequestBody는 reqDto, @ModelAttribute는 queryReq를 사용합니다. 검색 의도가 명확하면 searchReq도 허용합니다.
  • 로그는 영어 동사로 시작하고 SLF4J {}를 사용합니다. 문자열 보간·콜론 구분자·println()은 금지합니다.
  • ExpectedException을 직접 사용합니다. 메시지는 동적 데이터 없이 한국어 합쇼체와 마침표로 작성합니다.
  • student/club/project 쓰기 서비스는 EventDispatchRequested를 발행합니다. EventDispatchConventionTest가 검사합니다.

상세 규칙 읽기

파일 생성·수정·리뷰 전에 해당 규칙이 컨텍스트에 있는지 확인하고, 없다면 본문을 읽습니다. 새 파일은 예정 경로를 기준으로 판단합니다. Claude Code의 자동 로딩을 지원하지 않는 도구도 이 절차를 따릅니다.

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed · -35 lines · +215 tokens per session 2c3bb22072fd
  2. 29d ago First seen · 104 lines · 1,179 tokens per session scan A efae2500064e

Subscribe to this mod's changes

datagsm-server AGENTS.md is an instructions file published in the GitHub repository themoment-team/datagsm-server (29 stars, last pushed yesterday), licensed MIT. It adds 1,394 tokens to every session, about $0.0056 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.

Related

datagsm-server AGENTS.md compared with instructions from other repositories

datagsm-server AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
datagsm-server AGENTS.mdthemoment-team/datagsm-serverInstructions file29yesterdayMITA1,394Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode