agents-radar: Instructions file for Claude Code

CLAUDE.md

agents-radar CLAUDE.md is an instructions file for Claude Code from duanyytop/agents-radar. It costs 4,299 tokens per session, scanned A, original, MIT.

A project guide for agents-radar, a scheduled digest generator for the open-source artificial-intelligence ecosystem. It explains its commands, GitHub Actions schedule, Markdown output, and supported language-model providers.

In plain words
What is it for?
Use it to start the digest, run tests, type checks, and formatting checks, configure an AI provider, and optionally publish reports as GitHub issues and Markdown files.
Why use it?
It shows contributors how the digest runs and which environment settings are needed for local work or automated publishing.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

This is duanyytop/agents-radar's own configuration. It tells Claude Code how to work on agents-radar 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 agents-radar configures →

About the project

agents-radar is an automated GitHub Actions workflow that gathers AI-related updates from sources such as GitHub, ArXiv, Hacker News, Hugging Face, and Product Hunt, then publishes bilingual daily digests. Developers and AI enthusiasts use its issues, Markdown reports, web interface, RSS feed, and messaging notifications to follow the ecosystem. The catalogue instructions relate to running or using this reporting workflow.

duanyytop/agents-radar · 1,053 stars · on GitHub · duanyytop.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to duanyytop/agents-radar. 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/duanyytop/agents-radar/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/duanyytop/agents-radar

Made for: Claude Code.

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 agents-radar CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/duanyytop/agents-radar/claude-md.svg)](https://agentmods.dev/instructions/duanyytop/agents-radar/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/duanyytop/agents-radar/claude-md"><img src="https://agentmods.dev/badge/instructions/duanyytop/agents-radar/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,299 This file is loaded in full into every session.
When invoked 4,299 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.04299 $0.04299
Opus 5 $0.02150 $0.02150
Sonnet 5 $0.00860 $0.00860
Haiku 4.5 $0.00430 $0.00430

Measured 4d ago against content hash 668f7caf7e9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

agents-radar CLAUDE.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 4d 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.

CLAUDE.md · 168 lines

How it starts

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

CLAUDE.md

Project overview

agents-radar is a daily digest generator for the AI open-source ecosystem. A GitHub Actions cron job runs at 22:37 UTC (06:37 CST next day) and produces bilingual (Chinese + English) reports, published as GitHub Issues and committed Markdown files.

Commands

pnpm start          # run the full digest locally
pnpm test           # vitest (unit tests)
pnpm typecheck      # tsc --noEmit
pnpm lint           # ESLint
pnpm lint:fix       # ESLint --fix
pnpm format         # Prettier --write src
pnpm format:check   # Prettier --check src

Required env vars for local runs:

export GITHUB_TOKEN=ghp_xxxxx
export DIGEST_REPO=owner/repo   # omit to skip GitHub issue creation

# LLM provider (default: anthropic)
export LLM_PROVIDER=anthropic   # anthropic | openai | github-copilot | openrouter | deepseek | qwen

# Anthropic (default)
export ANTHROPIC_API_KEY=sk-ant-xxxxx

# OpenAI
# export OPENAI_API_KEY=sk-xxxxx

# GitHub Copilot — uses GITHUB_TOKEN

# OpenRouter
# export OPENROUTER_API_KEY=sk-or-xxxxx

# DeepSeek
# export DEEPSEEK_API_KEY=sk-xxxxx

# Qwen (Alibaba Model Studio) — provider used by the GitHub Actions cron
# export DASHSCOPE_API_KEY=sk-xxxxx

Architecture

The pipeline runs in five sequential phases, each implemented as a named async function in src/index.ts:

  1. fetchAllData — all network I/O in parallel: GitHub API (issues/PRs/releases) for 18 repos, Claude Code Skills, Anthropic/OpenAI sitemaps, GitHub Trending HTML + Search API, Hacker News Algolia API.
  2. generateSummaries — per-repo LLM calls in English only, all in parallel, rate-limited to 5 concurrent requests by a queue in src/report.ts.
  3. translateSummaries — translates the English bodies to Chinese via translateToZh.
  4. Comparisons — three English LLM calls (cross-tool CLI, OpenClaw cross-ecosystem, infra), each then translated.
  5. Save phasebuildCliReportContent / buildOpenclawReportContent / buildInfraReportContent (in src/report-builders.ts) build Markdown strings; the saveXxxReport functions (in src/report-savers.ts) generate their body in English, translate it, then write both language files and create both GitHub Issues.

Read the full file on GitHub · 168 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. 4d ago Changed · +4 lines · +362 tokens per session 668f7caf7e9e
  2. 8d ago First seen · 164 lines · 3,937 tokens per session scan A 7e469b0aa85d

Subscribe to this mod's changes

agents-radar CLAUDE.md is an instructions file published in the GitHub repository duanyytop/agents-radar (1,053 stars, last pushed today), licensed MIT. It adds 4,299 tokens to every session, about $0.0215 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

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens