GENesis-AGI: Instructions file for Claude Code

CLAUDE.md

GENesis-AGI CLAUDE.md is an instructions file for Claude Code from WingedGuardian/GENesis-AGI. It costs 14,438 tokens per session, scanned D, original, MIT.

A project instruction file for Genesis v3, an autonomous AI agent system with messaging, a dashboard, memory, routing, and monitoring services.

In plain words
What is it for?
Use it when working on Genesis v3 code, managing its processes, finding services and data stores, or following its local setup instructions.
Why use it?
It gives coding agents the project’s architecture, environment details, operating rules, and common commands in one place.

Instructions file for Claude Code

Written for Claude Code: $CLAUDE_PROJECT_DIR variable. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

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

Reuse

Borrowing it

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

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 GENesis-AGI CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wingedguardian/genesis-agi/claude-md"><img src="https://agentmods.dev/badge/instructions/wingedguardian/genesis-agi/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14,438 This file is loaded in full into every session.
When invoked 14,438 The same file — it is already loaded in full.
Security scan D 3 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.14438 $0.14438
Opus 5.5 $0.05775 $0.05775
Sonnet 5.5 $0.02888 $0.02888
Haiku 4.5 $0.01444 $0.01444

Measured 2d ago against content hash 5eb253f3331a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

GENesis-AGI CLAUDE.md scanned grade D with 3 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

auto-updater suppression in `~/.claude/settings.json`, because the align path

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **NEVER `rm -rf` the working directory.** Never run destructive commands

Makes network callslowCapability

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

curl -s http://localhost:6333/collections | jq . # Verify Qdrant
CLAUDE.md · 933 lines

How it starts

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

Genesis v3 — Project Instructions

Genesis v3 is an autonomous AI agent system.

Architecture

Channels (Telegram, Dashboard, OpenClaw) → Cognitive Core (CCInvoker, triage, reflection) → Services (routing, memory, outreach, autonomy, surplus) → Data (SQLite WAL, Qdrant, ~/.genesis/) → Observability (event bus, health). Use codebase_navigate MCP to explore.

Environment

  • Python: 3.12 (venv at ~/genesis/.venv)
  • Node: 22.x
  • Host VM: Configured in ~/.genesis/guardian_remote.yaml (set by install_guardian.sh). Guardian runs here. SSH access is Guardian-only via the guardian-gateway.sh command dispatcher. NOT the Ollama server.
  • Network: Install-specific. See ~/.genesis/config/genesis.yaml (generated by scripts/setup-local-config.sh). Dashboard proxied host:5000 → container:5000.
  • Qdrant: localhost:6333 (systemd service)
  • GitHub: configured in ~/.genesis/config/genesis.yaml (github.user / github.public_repo)
  • Config sources: where a setting is read from and what wins (secrets.env, genesis.yaml, config/ overlays, env) → docs/architecture/CONFIG_SOURCES.md
  • Database: ~/genesis/data/genesis.db (NOT ~/genesis/genesis.db)
  • Backups: encrypted, every 6h via genesis-backup.timer (systemd user unit; enable deliberately after configuring) running scripts/backup.sh → your private genesis-backups repo (SQLite, Qdrant, memory, transcripts, config, secrets). Restore via scripts/restore.sh or python -m genesis restore.
  • Env scrub: CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1 is NOT used — Genesis hooks and MCP servers require inherited API keys (DeepInfra, Qwen, etc.).
  • Setup: ./scripts/bootstrap.sh (venv, config, services, memory)
  • Temp files: ~/tmp/ for transient files and any LARGE temp (downloads, media, DB dumps, exports). NEVER write large files to /tmp/ (often a small tmpfs/RAM) or ~/.genesis/cc-tmp/ — the latter is Claude Code's working temp ("oxygen"), usually a quota-capped volume: filling it breaks EVERY session's temp at once. The genesis-tmp-watchgod service guards whole disks and sweeps cc-tmp of what ended sessions left behind (untouched 7 days, nothing holding it); it never kills a session and never deletes live work — so nothing will clean up a big file you park there in time. One exception: a Bash task whose output is filling cc-tmp fast (ORANGE/RED) is PAUSED (SIGSTOP), never killed, until scripts/watchgod thaw <pid> (or scripts/watchgod kill <pid>), and its output is emptied (last MB kept in ~/tmp/watchgod-truncated when there is room); status lists pauses. A CC session's TMPDIR points at cc-tmp by design; do NOT override TMPDIR in scripts or service files (breaks CC — see the tmp_filesystem_limit procedure). Code that creates large temp must pass an explicit dir (mktemp -p ~/tmp / tempfile(dir=…)), never the default. For a heavy one-off you run interactively, prefix TMPDIR=~/tmp/job <cmd>. Clean up after use.

Read the full file on GitHub · 933 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. 2d ago Changed · +7 lines · +130 tokens per session 5eb253f3331a
  2. 3d ago Changed · +1 lines · +27 tokens per session 8bc8adc70db2
  3. 4d ago Changed · +11 lines · +186 tokens per session 716a24f1471a
  4. 9d ago Changed · +1 lines · +25 tokens per session a6b801cfeb9b
  5. 10d ago Changed · +2 lines · +60 tokens per session 24d454645167
  6. 11d ago Changed · +4 lines · +55 tokens per session 4e24ba6392d3
  7. 16d ago Changed · +1 lines · +31 tokens per session bd1d24868658
  8. 17d ago Changed · +8 tokens per session 78aaec902fc9
  9. 18d ago Changed · +16 lines · +413 tokens per session 9cedc97768f7
  10. 19d ago First seen · 890 lines · 13,503 tokens per session scan D 29cdfe2ca01f

Subscribe to this mod's changes

GENesis-AGI CLAUDE.md is an instructions file published in the GitHub repository WingedGuardian/GENesis-AGI (99 stars, last pushed today), licensed MIT. It adds 14,438 tokens to every session, about $0.0578 per session on Opus 5.5. A static security scan graded it D with 3 findings (reads agent configuration directories, recursive force delete, makes network calls). 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

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 · 9,715 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,581 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 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 · 4,261 tokens