kpubdata AGENTS.md

Repository-specific instructions for yeongseon/kpubdata, a Python framework with a small public API and adapters for different data providers. The instructions are written mainly in Korean.

In plain words
What is it for?
Use them when modifying the repository, especially its provider adapters, supported datasets, API contracts, tests, documentation, packaging, or validation status.
Why use it?
They help coding agents make changes that match the repository's architecture, testing standards, documentation rules, and provider-specific behaviour.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/yeongseon/kpubdata/agents-md
Clone the repo
git clone --depth 1 https://github.com/yeongseon/kpubdata

Made for: Codex, OpenCode.

Per session 3,535 This file is loaded in full into every session.
When invoked 3,535 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.03535 $0.03535
Opus 5 $0.01767 $0.01767
Sonnet 5 $0.00707 $0.00707
Haiku 4.5 $0.00353 $0.00353

Measured 2d ago against content hash 02f5d5b5dff5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kpubdata 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 2d 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 · 291 lines

How it starts

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

AGENTS.md

목적

이 저장소는 에이전트 중심 코딩과 Codex 비중이 큰 개발을 위해 구축되었다.

이 프로젝트는 작고 안정적인 공개 API와 Provider별 어댑터를 갖춘 Python 3.10+ 프레임워크다.

먼저 읽을 문서

  1. VALIDATION.md
  2. PRD.md
  3. ARCHITECTURE.md
  4. CANONICAL_MODEL.md
  5. PROVIDER_ADAPTER_CONTRACT.md
  6. API_SPEC.md
  7. PACKAGING.md

작업 원칙

  • 공개 API는 작게 유지한다.
  • Provider별 특이사항을 가짜 범용 의미론으로 바꾸지 않는다.
  • raw 비상구를 제거하지 않는다.
  • 테스트로 증명되기 전에는 capability를 지원된다고 표시하지 않는다.
  • Provider 복잡성은 Provider 어댑터 내부에 유지한다.
  • 모든 동작 변경 시 테스트와 문서를 함께 갱신한다.
  • SUPPORTED_DATA.md는 지원 Provider/Dataset 현황의 단일 기준 문서(single source of truth)다.
  • Provider/Dataset의 지원 상태 또는 검증 수준이 바뀌면, 같은 PR에서 SUPPORTED_DATA.md를 반드시 업데이트한다.
  • 지원은 fixture/unit/contract 테스트가 통과했을 때만 표시한다.
  • 실API 검증은 실 API integration 테스트가 존재하고 통과했을 때만 표시한다. 그 전에는 테스트 검증으로 유지한다.

언어 정책

  • Documentation: 기본적으로 한국어로 작성한다. 영어 확장은 향후 릴리스에서 계획한다.
  • Code: 모든 코드(변수명, 함수명, 주석, docstring)는 한국어 우선을 따른다.
  • Commit messages: Always in English.
  • Issue / PR titles and descriptions: 한국어를 사용해도 되며, 영어도 괜찮다.

데이터셋 게시 규칙

참고: 데이터셋 게시(HuggingFace/Kaggle 업로드)는 kpubdata-builder에서 관리한다. 이 저장소(kpubdata)는 데이터 수집과 정규화만 담당한다. 게시 규칙은 kpubdata-builder의 AGENTS.md를 참고한다.

브랜치 규칙

  • 기본 브랜치는 main이다. 절대로 main에 직접 push하지 않는다.
  • 항상 기능 브랜치에서 작업하고 PR을 연다.
  • 브랜치 이름 규칙: feat/issue-<number>-<short-description>, fix/issue-<number>-<short-description>, docs/<short-description>
  • main에는 절대로 force-push하지 않는다. main을 삭제하지 않는다.
  • 자신이 만들지 않은 브랜치를 이름 변경하거나 삭제하지 않는다.
  • git 작업이 확실하지 않다면 추측하지 말고 먼저 묻는다.

계획을 작성해야 할 때

여러 파일에 걸치거나 아키텍처에 영향을 주는 작업 전에는 로컬 계획 파일에 작업 계획을 생성하거나 갱신한다.

계획에는 다음이 포함되어야 한다:

  • 범위
  • 영향 받는 모듈
  • 위험 요소
  • 검증 단계

품질 게이트

작업 완료로 표시하기 전에 다음을 실행한다:

uv sync --extra dev
uv run ruff check .
uv run ruff format --check .
uv run mypy src
uv run pytest
uv run python -m build
mkdocs build --strict

어댑터 작업 규칙

Provider 어댑터를 추가할 때:

  • fixture 응답을 추가한다.
  • unit 테스트를 추가한다.
  • contract 테스트를 추가한다.
  • capability를 정직하게 문서화한다.
  • call_raw가 계속 동작하게 유지한다.

Read the full file on GitHub · 291 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. 2d ago First seen · 291 lines · 3,535 tokens per session scan A 02f5d5b5dff5

Subscribe to this mod's changes

kpubdata AGENTS.md is an instructions file published in the GitHub repository yeongseon/kpubdata (5 stars, last pushed 6d ago), licensed MIT. It adds 3,535 tokens to every session, about $0.0177 per session on Opus 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-08-31.

Related

Other instructions, from other repositories