Opensource-Contribution-Leaderboard AGENTS.md

Opensource-Contribution-Leaderboard AGENTS.md is an instructions file for Codex, OpenCode from RocketChat/Opensource-Contribution-Leaderboard. It costs 1,026 tokens per session, scanned A, original, MIT.

A project guide for an open-source contribution leaderboard, a website that ranks or displays contributions to public software projects. It maps the frontend, backend, GitHub data collection, administrator panel, configuration, and common development commands.

In plain words
What is it for?
Developing the leaderboard’s web interface, backend, GitHub API integration, administrator panel, cached data, and local development workflow.
Why use it?
It helps coding agents quickly find the right files and understand how GitHub data moves through the application. It also explains which commands start the website, server, and setup process.

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/rocketchat/opensource-contribution-leaderboard/agents-md
Clone the repo
git clone --depth 1 https://github.com/RocketChat/Opensource-Contribution-Leaderboard

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 Opensource-Contribution-Leaderboard AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rocketchat/opensource-contribution-leaderboard/agents-md.svg)](https://agentmods.dev/instructions/rocketchat/opensource-contribution-leaderboard/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/rocketchat/opensource-contribution-leaderboard/agents-md"><img src="https://agentmods.dev/badge/instructions/rocketchat/opensource-contribution-leaderboard/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,026 This file is loaded in full into every session.
When invoked 1,026 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.01026 $0.01026
Opus 5 $0.00513 $0.00513
Sonnet 5 $0.00205 $0.00205
Haiku 4.5 $0.00103 $0.00103

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

Security

Grade A, and why

Opensource-Contribution-Leaderboard 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 5d 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 · 114 lines

How it starts

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

AI Coding Agents — Opensource Contribution Leaderboard

This file provides context for any AI coding agent (Copilot, Cursor, Windsurf, Cline, Aider, etc.) working on this project.

Quick Orientation

What Where
Frontend entry src/index.js
Frontend HTML index.html
Backend server src/server/app.js
GitHub data fetcher src/server/refresh.js
GitHub API wrapper src/server/util/API.js
Utility helpers src/server/util/Util.js
Config template src/server/config-example.json
Live config (gitignored) src/server/config.json
Admin panel admin/ (separate webpack build)
Webpack config (main) build/webpack.config.js
Webpack config (admin) admin/build/webpack.config.js
REST API docs REST-API.md
Cached leaderboard data src/assets/data/data.json (auto-generated)

npm Scripts

Command What it does
npm run add Installs dependencies for root, server, and admin
npm start Dev mode — webpack-dev-server with hot reload on :8080
npm run serve Starts the backend server (run in separate terminal during dev)
npm run build Production build — compiles admin + main frontend
npm run lint ESLint

How It Works (in plain english)

  1. app.js starts an Express server on port 8080
  2. It spawns refresh.js as a child process
  3. refresh.js reads config.json, loops through the contributors array, and calls the GitHub API for each one
  4. Results are written to src/assets/data/data.json
  5. The frontend fetches /data endpoint which serves data.json
  6. Real-time updates via socket.io
  7. The API endpoints (/api/stats, /api/rank, /api/contributor) read from the same data.json

Critical Design Decisions

Hidden Rank Column

The rank column and some aggregate stats are rendered with invisible/white text. This is intentional — admins can select-all and copy the table to get full stats in one stroke. Do not "fix" this visibility.

Read the full file on GitHub · 114 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. 5d ago First seen · 114 lines · 1,026 tokens per session scan A 43b99152dcdd

Subscribe to this mod's changes

Opensource-Contribution-Leaderboard AGENTS.md is an instructions file published in the GitHub repository RocketChat/Opensource-Contribution-Leaderboard (49 stars, last pushed 4mo ago), licensed MIT. It adds 1,026 tokens to every session, about $0.0051 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-30.

Related

Other instructions, from other repositories

sigrank-mcp AGENTS.md

AGENTS.md instructions for SunrisesIllNeverSee/sigrank-mcp, covering sigrank mcp — agent rules, quick reference, publishing, master canon context (search authority) and when to load canon context.

SunrisesIllNeverSee/sigrank-mcp · 1,074 tokens

platform AGENTS.md

AGENTS.md instructions for doka-guide/platform, covering agents.md — как работать с платформой доки, 1. правила работы, сначала подумай, потом пиши, минимум кода and правки хирургические.

doka-guide/platform · 2,820 tokens

zapo CLAUDE.md

Instructions for vinikjkkj/zapo: The contributor handbook for this repository lives in AGENTS.md. Read that file and follow it as your primary source of project conventions, architecture rules, performance constraints, and review anti-patterns.

vinikjkkj/zapo · 152 tokens

OSS-Skills CLAUDE.md

Instructions for chiruu12/OSS-Skills, covering oss-skills development, project structure, skill format, core principle and skill interconnection.

chiruu12/OSS-Skills · 1,602 tokens

Silex AGENTS.md

AGENTS.md instructions for silexlabs/Silex, covering agents.md, tech stack, run it locally, building the desktop app and when writing code for silex (editing source).

silexlabs/Silex · 1,155 tokens

SoDam-WikiMate AGENTS.md

AGENTS.md instructions for sodam-ai/SoDam-WikiMate, covering wikimate 작업 규칙 (크로스툴 — claude code · codex · gemini 공용), 문체, 자동 동작 (자연어 트리거 — 강제 호출 불필요), 접근 규칙 (자동 감지 — 특정 도구에 한정하지 않음) and obsidian 규칙.

sodam-ai/SoDam-WikiMate · 2,495 tokens