olas-website: Instructions file for Claude Code

CLAUDE.md

olas-website CLAUDE.md is an instructions file for Claude Code from valory-xyz/olas-website. It costs 5,240 tokens per session, scanned A, original, Apache-2.0.

A repository instruction file for the Olas Network marketing website, documenting its technology, architecture, layout, and development commands.

In plain words
What is it for?
It helps agents work on the site's Next.js application, CMS content, GraphQL metrics, styling, and development checks.
Why use it?
It gives coding agents the project context needed to make consistent changes in that repository.

Instructions file for Claude Code

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

This is valory-xyz/olas-website's own configuration. It tells Claude Code how to work on olas-website 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 olas-website configures →

Reuse

Borrowing it

Nothing to install: this file belongs to valory-xyz/olas-website. 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/valory-xyz/olas-website/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/valory-xyz/olas-website

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 olas-website CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/valory-xyz/olas-website/claude-md"><img src="https://agentmods.dev/badge/instructions/valory-xyz/olas-website/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,240 This file is loaded in full into every session.
When invoked 5,240 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.05240 $0.05240
Opus 5 $0.02620 $0.02620
Sonnet 5 $0.01048 $0.01048
Haiku 4.5 $0.00524 $0.00524

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

Security

Grade A, and why

olas-website 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 today.

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 · 208 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is the Olas Network marketing website — a Next.js 15 (Pages Router) application that showcases autonomous AI agents, staking programs, and the Olas protocol. The site uses Strapi as a headless CMS for editorial content, queries multi-chain GraphQL subgraphs for on-chain metrics, and persists those metrics as JSON snapshots in Vercel Blob storage that are refreshed by Vercel cron jobs.

Stack at a glance: Next.js 15 + React 19, Node 22, TypeScript-first (.ts/.tsx) with allowJs for legacy .js/.jsx, Tailwind CSS + shadcn/ui (Radix primitives), graphql-request, swr, @vercel/blob, viem, dayjs.

Development Commands

Use yarn for all commands (preferred in this repo):

yarn dev            # Start dev server at http://localhost:3000
yarn build          # Production build (postbuild runs next-sitemap)
yarn start          # Start production server
yarn lint           # ESLint
yarn lint:fix       # ESLint with auto-fix
yarn lint:lockfile  # Validate yarn.lock integrity (lockfile-lint)

Architecture

Directory Structure

  • pages/ — Next.js Pages Router routes
    • pages/api/refresh-metrics/*.ts — cron-driven endpoints that fetch from subgraphs and write Vercel Blob snapshots
    • pages/api/og/[[...slug]].tsx — dynamic Open Graph image generation (@vercel/og)
    • pages/api/olas/[endpoint].ts — thin proxy to OLAS_API_URL (api.olas.autonolas.tech)
    • pages/data/index.tsx — "Data Verification" page; documents the provenance/methodology behind published metrics (e.g. DailyActiveAgentsInfo, BabydegenMetricsInfo, MechGlobalsInfo)
    • pages/card/index.tsx — shareable agent/card page
    • Dynamic routes use bracket notation: [slug].tsx, [id].tsx, [[...slug]].tsx
  • components/ — React components organized by page (e.g., BuildPage/, AgentEconomies/, HomepageSection/, StakingPage/, PredictionAgentsTable/)
    • components/ui/ — Reusable UI primitives (shadcn/ui patterns over Radix)
    • components/Layout/Header, Footer, Menu, MenuMobile, PageWrapper, SectionWrapper, banners
  • common-util/ — Shared utilities and business logic
    • common-util/api/ — Subgraph aggregation logic per category (main-metrics.ts, predict/, agent-economies/, other-metrics/) plus index.ts for Strapi calls (blogs, education articles)
    • common-util/graphql/client.ts (GraphQL clients per chain), queries.ts, types.ts (MetricWithStatus, WithMeta, SubgraphMeta), metric-utils.ts (lag detection / stale status helpers)
    • common-util/snapshot-storage.ts — Vercel Blob save/get with mergeWithFallback semantics
    • Other helpers: numberFormatter.ts, time.ts, web3.ts, charts.ts, og/, useFetchApi.ts, olasApr.ts, calculate7DayAverage.ts, subgraph.ts
  • data/ — Static JSON: agents.json, chains.json, tokens.json, kits.json, useCases.json, resources.json, ABIs in data/ABIs/, etc.
  • hooks/usePersistentSWR, useWindowWidth, useHash
  • lib/utils.ts (only the cn() helper today)
  • styles/ — Global CSS and Tailwind layers
  • public/ — Static assets (fonts, images, OG images, documents)
  • middleware.ts — Edge middleware (geo-blocking)
  • vercel.json — Function limits + cron schedules
  • next-sitemap.config.js — Adds /agents/<slug> paths from data/agents.json

Read the full file on GitHub · 208 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. today Changed · +1 lines · +90 tokens per session 68400626d2c2
  2. 5d ago First seen · 207 lines · 5,150 tokens per session scan A 63d495419db1

Subscribe to this mod's changes

olas-website CLAUDE.md is an instructions file published in the GitHub repository valory-xyz/olas-website (2 stars, last pushed today), licensed Apache-2.0. It adds 5,240 tokens to every session, about $0.0262 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-09-04.

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,737 tokens