GENesis-AGI CLAUDE.md

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

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/wingedguardian/genesis-agi/claude-md
Clone the repo
git clone --depth 1 https://github.com/WingedGuardian/GENesis-AGI
Per session 7,512 This file is loaded in full into every session.
When invoked 7,512 The same file — it is already loaded in full.
Security scan C 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 $0.07512 $0.07512
Opus 5 $0.03756 $0.03756
Sonnet 5 $0.01502 $0.01502
Haiku 4.5 $0.00751 $0.00751

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

Security

Grade C, and why

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

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

How it starts

The opening of the file, as written. The whole thing — 530 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)
  • 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/ (a small tmpfs/RAM) or ~/.genesis/cc-tmp/ — the latter is Claude Code's working temp ("oxygen"), policed by the genesis-tmp-watchgod service, which kills CC sessions when it fills. 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 · 530 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 · +25 lines · +430 tokens per session dcaf6920e40f
  2. yesterday First seen · 505 lines · 7,082 tokens per session scan C d15af32dd43d

Subscribe to this mod's changes

GENesis-AGI CLAUDE.md is an instructions file published in the GitHub repository WingedGuardian/GENesis-AGI (93 stars, last pushed today), licensed MIT. It adds 7,512 tokens to every session, about $0.0376 per session on Opus 5. A static security scan graded it C with 2 findings (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

lihongwei-cn CLAUDE.md

Instructions for LiHongwei-cn/lihongwei-cn, covering claude.md — claude code 项目记忆, 用户身份, 回复风格(红线), 网站 and 技术栈.

LiHongwei-cn/lihongwei-cn · 2,364 tokens

lihongwei-cn copilot-instructions.md

Instructions for LiHongwei-cn/lihongwei-cn: 1|# Universal Agent Spec — 通用规范核心 2| 3|> 本文件是所有 AI Agent 共享的行为规范。 4|> 各 Agent 适配文件(agents/ 目录)在部署时会把本文件内容与 Agent 专属配置合并。 5|> 修改本文件 = 修改所有 Agent 的行为。 6| 7|## 语言规则 8| 9|始终使用中文(简体中文)回复。 10| 11|仅以下内容使用英文: 12|- 代码本身(变量名、函数名、类名、关键字) 13|- URL 链接、命令行指令、API Key 14|…

LiHongwei-cn/lihongwei-cn · 1,631 tokens

edgecrab AGENTS.md

AGENTS.md instructions for raphaelmansuy/edgecrab, covering edgecrab — development guide, development environment, project structure, agent architecture (edgecrab-core) and agentbuilder + agent (agent.rs).

raphaelmansuy/edgecrab · 9,503 tokens

headless-agentic-codebase CLAUDE.md

Instructions for nkhdiscovery/headless-agentic-codebase, covering what {{projectname}} is, your authority, architecture invariants (challenge via adr, not silently), coding conventions and unattended mode.

nkhdiscovery/headless-agentic-codebase · 712 tokens

Browser4 CLAUDE.md

Instructions for platonai/Browser4, covering browser4 — project context for claude, architecture, key dispatch chain (cli → browser), batch commands and e2e test structure.

platonai/Browser4 · 1,205 tokens

crystal CLAUDE.md

Instructions for stravu/crystal, covering crystal - multi-session claude code manager, project overview, references, implementation status: ✅ complete and ✅ implemented features.

stravu/crystal · 6,391 tokens