openresto: Instructions file for Claude Code

CLAUDE.md

openresto CLAUDE.md is an instructions file for Claude Code from karanshukla/openresto. It costs 25,746 tokens per session, scanned A, original, MIT.

A set of instructions for coding agents working on OpenResto, an application with a .NET backend and an Expo mobile frontend.

In plain words
What is it for?
Use it when starting the project locally, running only the backend or frontend, testing changes, or connecting Expo Go on a phone to the API.
Why use it?
It explains the commands and local-network setup needed to run, test, and develop both parts of the application.

Instructions file for Claude Code

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

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is * @see [walkIn.test.ts](../__tests__/utils/walkIn.test.ts) — pins that a.

Reuse

Borrowing it

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

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 openresto CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/karanshukla/openresto/claude-md"><img src="https://agentmods.dev/badge/instructions/karanshukla/openresto/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25,746 This file is loaded in full into every session.
When invoked 25,746 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.25746 $0.25746
Opus 5.5 $0.10298 $0.10298
Sonnet 5.5 $0.05149 $0.05149
Haiku 4.5 $0.02575 $0.02575

Measured today against content hash 1f1bfb61694d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openresto 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 · 408 lines

How it starts

The opening of the file, as written. The whole thing — 408 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.

Commands

Run everything (recommended for local dev)

npm run dev          # starts backend (dotnet watch) + frontend (expo) concurrently
npm run dev:native   # the same stack, addressed so a phone running Expo Go can reach it
npm test             # the root dev scripts' own tests (node --test, no jest at this level)

Both pass --kill-others --kill-timeout to concurrently, so one half dying takes the other down instead of leaving the backend squatting on :8080 where the next dotnet watch cannot bind. concurrently kills through tree-kill, which is what reaches the dotnet watch → dotnet run → OpenRestoApi grandchild that actually holds the port.

dev:native exists because openresto-frontend/.env points the app at http://localhost:8080, and in Expo Go localhost is the phone, so the app resolves it to itself and reaches no API at all. scripts/dev-native.mjs resolves this machine's LAN address and passes it as EXPO_PUBLIC_API_URL, which Metro bakes into the bundle at build time; @expo/env skips any key already in the system environment, so that wins over the .env file rather than racing it. Docker and podman bridges are filtered out deliberately — bring the compose stack up and their 172.x/10.88.x addresses appear alongside the real one, and picking those fails exactly the way localhost does. Override with OPENRESTO_DEV_HOST / OPENRESTO_API_PORT when the guess is wrong; the script exits rather than falling back to an address the phone cannot route to.

Which address that is comes from openresto-frontend/scripts/lib/expo-go.mjs, shared with npm run native:go rather than reimplemented — the two answer the same question, and answering it twice is how the answers drift. It asks the routing table (a connected UDP socket fixes the local end of a route without sending anything) and only falls back to filtering interface names. OPENRESTO_DEV_HOST is that lib's HOST_ENV, so both commands take the same override; the lib imports node builtins only, so the root npm test needs no frontend install.

Read the full file on GitHub · 408 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 · +5 lines · +1,365 tokens per session 1f1bfb61694d
  2. 11d ago Changed · +2 lines · +572 tokens per session 6a23c5344933
  3. 14d ago Changed · +95 tokens per session 2a19e5e891a8
  4. 29d ago Changed · +157 tokens per session 916fa6af6a17
  5. 1mo ago Changed · +2 lines · +263 tokens per session 753bb19d643d
  6. 1mo ago Changed · +1 lines · +136 tokens per session 1ee622bd0b08
  7. 1mo ago Changed · +4 lines · +257 tokens per session 4aafd96ecb38
  8. 1mo ago Changed · +6 lines · +365 tokens per session 5354e057a6a0
  9. 1mo ago Changed · +9 tokens per session 6c86611540ba
  10. 1mo ago First seen · 388 lines · 22,527 tokens per session scan A 1a152ccf5d19

Subscribe to this mod's changes

openresto CLAUDE.md is an instructions file published in the GitHub repository karanshukla/openresto (102 stars, last pushed yesterday), licensed MIT. It adds 25,746 tokens to every session, about $0.1030 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-09-01.

Related

openresto CLAUDE.md compared with instructions from other repositories

openresto CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openresto CLAUDE.mdkaranshukla/openrestoInstructions file102yesterdayMITA25,746Claude Code
plan-forge database.instructions.mdsrnichols/plan-forgeInstructions file62d agoMITA1,890GitHub Copilot
plan-forge naming.instructions.mdsrnichols/plan-forgeInstructions file62d agoMITA1,453GitHub Copilot
plan-forge caching.instructions.mdsrnichols/plan-forgeInstructions file62d agoMITA733GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode