ai-research-arm: Instructions file for Claude Code

CLAUDE.md

ai-research-arm CLAUDE.md is an instructions file for Claude Code, Codex from guzus/ai-research-arm. It costs 17,808 tokens per session, scanned A, original, MIT.

Project instructions for AI Research Arm, an automated AI-news pipeline that gathers information from sources such as Twitter/X, RSS feeds, Bluesky, Hacker News, Reddit, and arXiv, then publishes research and digests to a web app.

In plain words
What is it for?
They guide agents working on source collection, scheduled aggregation, research synthesis, model timelines, articles, workflows, and the dashboard.
Why use it?
They explain the project’s architecture, operating assumptions, and which parts require accounts or special infrastructure.

Instructions file for Claude CodeCodex

Written for Codex and Claude Code: reads ~/.codex or $CODEX_HOME, but also the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

This is guzus/ai-research-arm's own configuration. It tells Claude Code and Codex how to work on ai-research-arm 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 ai-research-arm configures →

Reuse

Borrowing it

Nothing to install: this file belongs to guzus/ai-research-arm. 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/guzus/ai-research-arm/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/guzus/ai-research-arm

Made for: Claude Code, Codex.

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 ai-research-arm CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/guzus/ai-research-arm/claude-md/github.svg)](https://agentmods.dev/instructions/guzus/ai-research-arm/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/guzus/ai-research-arm/claude-md"><img src="https://agentmods.dev/badge/instructions/guzus/ai-research-arm/claude-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 ai-research-arm CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/guzus/ai-research-arm/claude-md"><img src="https://agentmods.dev/badge/instructions/guzus/ai-research-arm/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17,808 This file is loaded in full into every session.
When invoked 17,808 The same file — it is already loaded in full.
Security scan A 1 finding. 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.17808 $0.17808
Opus 5 $0.08904 $0.08904
Sonnet 5 $0.03562 $0.03562
Haiku 4.5 $0.01781 $0.01781

Measured yesterday against content hash 9b04d1c5542a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ai-research-arm CLAUDE.md scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `market-quotes.yml` | every 3h `:53` | Deterministic refresh of `research/market/quotes.json` from Yahoo for every wiki entity carrying `market` frontmatter — the price row in the wiki hover card and on the entity page
CLAUDE.md · 811 lines

How it starts

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

CLAUDE.md

Operating guide for AI agents working in this repo. Read this before touching workflows, research output, or the dashboard.

New here, or just found this on GitHub? This file is the operator's manual for the live deployment and assumes the maintainer's infrastructure (self-hosted runners, S3, telemetry, X cookies). If you are exploring or forking the project, start with README.md: its Quickstart runs with no accounts, and the License and "What you can run vs. what needs accounts" sections explain what is reproducible outside the original deployment.

Project Overview

ai-research-arm (ARA) is an automated AI-news intelligence pipeline. GitHub Actions on the self-hosted gunux Linux runner aggregate signal from Twitter/X, RSS, Bluesky, Hacker News, Reddit, and arXiv; synthesize it into daily digests, model-release timelines, and long-form generative articles; and publish everything to a Vite/TS SPA at ara.guzus.xyz.

Core Pipeline Architecture

sources (Twitter/RSS/Bluesky/HN/Reddit/arXiv)
    → aggregator workflows (hourly/4h/daily) write into research/<source>/
    → synthesis workflows (digest, news research, model timeline) read research/
    → output workflows (front-page, generative-research) produce shareable artifacts
    → dashboard prebuild copies research/* into dashboard/public/research/
    → Railway rebuilds the root Dockerfile image and deploys on every push to main

Daily-improve runs at the tail of the cycle, reads yesterday's output, and opens a PR with methodology fixes.

Key Components

Path What it is
ARA_DSL.md Source format for generative-research articles; scripts/compile_ara.py turns .ara.md into a validated <article> fragment.
ARA_CATALOG.json + COMPONENTS.md The ara-* class allowlist the validator loads, and its human reference. Kept in lockstep by CI — see "Component catalog" below.
data/agent-backends.json Routing SSOT: per-lane backend, profile table, ordered fallback chain. See Backends.
data/artifact-slos.json Artifact/SLO SSOT: producer, exact output paths, cadence kind, freshness threshold, validators, content policy, and degraded behavior. Event/on-demand artifacts are inventoried without false clock-based paging.
docs/*.md Per-lane contracts, read at runtime by the agents and enforced by the matching validator: model-tickets, model-onboarding, wiki-schema, okf, headline-dedupe, blog-subscriptions, twitter-account-curation, twitter-model-ab, generative-research-backends, backend-matrix (generated), claim-store, hooker-telemetry. docs/archive/ holds superseded docs + improvement logs.
dashboard/ Vite + Bun + TypeScript SPA. prebuild.mjs copies research/* into public/research/ and emits manifest.json.
Dockerfile + Caddyfile + railway.json The Railway stack serving ara.guzus.xyz behind Cloudflare (responses carry x-railway-edge): bun build → Caddy serves dashboard/dist; railway.json pins the DOCKERFILE builder + / healthcheck. Vercel no longer serves the domain — rule 3.
data/, research/ Static lookup data for aggregation scripts; all generated artifacts (subdir map in "Output Locations").

Read the full file on GitHub · 811 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. yesterday Changed · +10 lines · +202 tokens per session 9b04d1c5542a
  2. 3d ago Changed · +15 lines · +590 tokens per session 177b9115d844
  3. 5d ago Changed · +11 lines · +271 tokens per session ab92f2a5ad13
  4. 9d ago First seen · 775 lines · 16,745 tokens per session scan A bfb73888d5ac

Subscribe to this mod's changes

ai-research-arm CLAUDE.md is an instructions file published in the GitHub repository guzus/ai-research-arm (11 stars, last pushed today), licensed MIT. It adds 17,808 tokens to every session, about $0.0890 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

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

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

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

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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens