Borrowing it
Nothing to install: this file belongs to DaleStudy/github. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/DaleStudy/github/main/AGENTS.mdgit clone --depth 1 https://github.com/DaleStudy/githubWrote 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.
[](https://agentmods.dev/instructions/dalestudy/github/agents-md)<a href="https://agentmods.dev/instructions/dalestudy/github/agents-md"><img src="https://agentmods.dev/badge/instructions/dalestudy/github/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.
<a href="https://agentmods.dev/instructions/dalestudy/github/agents-md"><img src="https://agentmods.dev/badge/instructions/dalestudy/github/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02392 | $0.02392 |
| Opus 5.5 | $0.00957 | $0.00957 |
| Sonnet 5.5 | $0.00478 | $0.00478 |
| Haiku 4.5 | $0.00239 | $0.00239 |
Grade A, and why
github 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
DaleStudy 조직의 GitHub App이 받는 웹훅과 자동화 요청을 처리하는 Cloudflare Worker. 주 대상은 leetcode-study 저장소다.
- 운영: https://github.dalestudy.com (workers.dev: https://github.dalestudy.workers.dev)
- 스택: Cloudflare Workers, JavaScript(ES Modules), Vitest, Bun
명령어
bun install
bun run test # 전체 테스트 (CI 와 배포 전에 같은 명령을 돈다)
bun run test -- handlers/webhooks.test.js
wrangler dev # http://localhost:8787
wrangler tail # 운영 로그
구조
index.js 엔드포인트 라우팅만 한다 (POST 만 받는다)
handlers/ 기능별 핸들러와 단위 테스트(*.test.js)
utils/ 공통 유틸리티와 단위 테스트 (github.js: App 인증, prActions.js: 승인·병합 공통 로직)
tests/ Worker runtime smoke test, subrequest 예산, 교차 모듈 테스트
wrangler.jsonc Worker 설정과 공개 값(vars)
새 기능은 handlers/ 에 핸들러를 만들고 index.js 에 경로를 추가한다. 필요한 GitHub App 권한이 있는지 확인하고, 핸들러 옆에 테스트를 둔다.
엔드포인트
repo_owner 를 받는 엔드포인트는 DaleStudy 가 아니면 403 이다 (생략하면 DaleStudy). /check-weeks 는 저장소도 leetcode-study 만 받는다.
| 경로 | 하는 일 |
|---|---|
POST /webhooks |
GitHub App 웹훅 수신 (아래 "웹훅") |
POST /check-weeks |
열린 PR 전체의 Week 설정을 검사해 경고 댓글을 달거나 지운다. { "repo_name" } |
POST /approve-prs |
해당 주차 풀이 PR 을 일괄 승인한다. { "repo_name", "week": "Week 8", "excludes"? } |
POST /merge-prs |
해당 주차의 승인된 PR 을 일괄 병합한다. { "repo_name", "week", "excludes"?, "merge_method"? } (기본 squash) |
POST /resolve-iteration |
날짜가 몇 기 몇 주차인지 프로젝트 보드에서 읽는다. { "date": "2026-08-08" } |
POST /internal/* |
웹훅 핸들러가 AI 작업을 별도 invocation 으로 넘길 때 쓴다 (X-Internal-Secret 인증) |
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.
- 8d ago Changed · -1 lines · -38 tokens per session b5194d9c20a0
- 11d ago Changed · +2 lines · +106 tokens per session e2d811de3d58
- 12d ago Changed · +5 tokens per session d7fac0eff213
- 18d ago Changed · +9 lines · +244 tokens per session 9a4b9c5917ca
- 26d ago Changed · +1 tokens per session 2de8904ac47b
- 28d ago Changed · -422 lines · -2,943 tokens per session 309e4ed0ce4d
- 2mo ago First seen · 537 lines · 5,017 tokens per session scan A c9273cfeec9d
github AGENTS.md is an instructions file published in the GitHub repository DaleStudy/github (2 stars, last pushed 4d ago), licensed MIT. It adds 2,392 tokens to every session, about $0.0096 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-08-31.
github AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| github AGENTS.mdDaleStudy/github | Instructions file | 2 | 4d ago | MIT | A | 2,392 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |