meet-edward CLAUDE.md

meet-edward CLAUDE.md is an instructions file for coding agents from ben4mn/meet-edward. It costs 8,015 tokens per session, scanned A, original, Apache-2.0.

A repository instruction file for Edward, a full-stack AI assistant with long-term memory. It covers commit rules, the application’s frontend and backend, required services, setup, and development commands.

In plain words
What is it for?
Use it when developing or running Edward. It helps with first-time setup, restarting the frontend or backend, and checking the frontend code.
Why use it?
It gives coding agents the project context and prevents setup mistakes, such as running the backend in the wrong environment or adding prohibited commit attribution.

Instructions file

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/ben4mn/meet-edward/claude-md
Clone the repo
git clone --depth 1 https://github.com/ben4mn/meet-edward

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 meet-edward CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ben4mn/meet-edward/claude-md.svg)](https://agentmods.dev/instructions/ben4mn/meet-edward/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ben4mn/meet-edward/claude-md"><img src="https://agentmods.dev/badge/instructions/ben4mn/meet-edward/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 8,015 This file is loaded in full into every session.
When invoked 8,015 The same file — it is already loaded in full.
Security scan A 2 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.1 $0.08015 $0.08015
Opus 5 $0.04007 $0.04007
Sonnet 5 $0.01603 $0.01603
Haiku 4.5 $0.00801 $0.00801

Measured 5d ago against content hash 9db05265fcb2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

meet-edward CLAUDE.md scanned grade A with 2 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.

Makes network callslowCapability

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

- **Shell** (`shell_execution.py`): Bash with blocklist (sudo, curl, docker, etc.), restricted env

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- **JavaScript** (`javascript_execution.py`): Node.js subprocess, blocked network/child_process modules
CLAUDE.md · 596 lines

How it starts

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

Commit Rules

  • Do NOT add Co-Authored-By lines to any commit messages in this repository. No Claude attribution in git history.

Project Overview

Edward is a full-stack AI assistant with long-term memory, built with Next.js, FastAPI, and PostgreSQL. Uses LangGraph for conversation orchestration and pgvector for memory retrieval.

Running the App

The backend must run natively on macOS (not in a container). This is required for the scheduled events scheduler and AppleScript/MCP integrations.

# First-time setup
./setup.sh                    # Creates venv, installs deps, sets up .env

# Recommended: restart script (handles both services)
./restart.sh                  # Restart both frontend + backend
./restart.sh frontend         # Restart only frontend
./restart.sh backend          # Stop and restart only backend

# Individual services
cd backend && ./start.sh                       # Backend (FastAPI :8000)
cd frontend && npm install && npm run dev      # Frontend (Next.js :3000)

# Lint frontend
cd frontend && npm run lint

After initial setup, ./start.sh handles venv activation and auto-installs new dependencies.

Build frontend for production

cd frontend && npm run build

Architecture

Frontend (Next.js :3000)  →  Backend (FastAPI :8000)  →  PostgreSQL (:5432)
                                      ↓
                              LangGraph Agent
                                      ↓
                              Claude API (Anthropic)

Frontend Routes

Route Auth Description
/ Public Redirects to /login
/login Public Password login (AuthProvider only, no app shell)
/chat Protected Main chat interface (full app shell)
/settings Protected Settings page

Route wrappers controlled by ConditionalLayout.tsx:

  • / → redirects to /login
  • /login<AuthProvider> only
  • Everything else → <AuthProvider><AuthGuard><ChatProvider><ClientLayout>

Read the full file on GitHub · 596 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 · 596 lines · 8,015 tokens per session scan A 9db05265fcb2

Subscribe to this mod's changes

meet-edward CLAUDE.md is an instructions file published in the GitHub repository ben4mn/meet-edward (4 stars, last pushed 11d ago), licensed Apache-2.0. It adds 8,015 tokens to every session, about $0.0401 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.