CLAUDE

CLAUDE is an agent for coding agents from notforyou23/home23. It costs 0 tokens per session (3,452 once invoked), scanned D, original, MIT.

Project instructions for the COSMO agent subsystem, which creates, runs, tracks, and queues work from software agents.

In plain words
What is it for?
Use them when developing agent execution, registration, concurrency, goal deduplication, routing, or result-queue behavior.
Why use it?
They define how agents are spawned, limited, routed, and checked so changes to the subsystem follow its existing rules.

Agent

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 agents/notforyou23/home23/claude
Clone the repo
git clone --depth 1 https://github.com/notforyou23/home23

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 CLAUDE

README.md
[![agentmods](https://agentmods.dev/badge/agents/notforyou23/home23/claude.svg)](https://agentmods.dev/agents/notforyou23/home23/claude)
Your own site
<a href="https://agentmods.dev/agents/notforyou23/home23/claude"><img src="https://agentmods.dev/badge/agents/notforyou23/home23/claude.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,452 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 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.00000 $0.03452
Opus 5 $0.00000 $0.01726
Sonnet 5 $0.00000 $0.00690
Haiku 4.5 $0.00000 $0.00345

Measured 5d ago against content hash 44c2e3fae2a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

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

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Blocked commands: `rm -rf /`, `sudo`, `chmod 777`, `curl|sh`, `wget|sh`, fork bombs

Recursive force deletehighDestructive command

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

- Blocked commands: `rm -rf /`, `sudo`, `chmod 777`, `curl|sh`, `wget|sh`, fork bombs

Makes network callslowCapability

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

- Blocked commands: `rm -rf /`, `sudo`, `chmod 777`, `curl|sh`, `wget|sh`, fork bombs
cosmo23/engine/src/agents/CLAUDE.md · 278 lines

How it starts

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

CLAUDE.md — Agent System (engine/src/agents/)

This file provides guidance to Claude Code (claude.ai/code) when working on the COSMO 2.3 agent subsystem.


Overview

Every agent is a subclass of BaseAgent (base-agent.js). AgentExecutor (agent-executor.js) is the single point of control for spawning, executing, and integrating agent results. AgentRegistry (agent-registry.js) tracks live and historical state. AgentResultsQueue (results-queue.js) persists results to coordinator/results_queue.jsonl.


Agent Executor — Spawn Flow

spawnAgent(missionSpec) is the single entry point. Returns agent.agentId immediately; execution is async.

Check sequence:

  1. Concurrency guard: registry.canSpawnMore(maxConcurrent). Strategic/urgent goals bypass this.
  2. Goal dedup: registry.isGoalBeingPursued(goalId) — rejects if already active.
  3. SpawnGate evaluation: Memory similarity (≥0.9 cosine) and results queue similarity (≥0.55 Jaccard). See spawn-gate details below.
  4. IDE-First routing: When config.ideFirst.enabled, all types except research and consistency are remapped to ide.
  5. Agent class lookup: Unregistered type logs error with all registered keys, returns null.
  6. Mission enrichment: enrichMissionWithArtifacts() discovers predecessor task artifacts.
  7. Resource injection: memory, goals, messageQueue, mcp, pathResolver, frontierGate, capabilities, clusterStateStore.
  8. Fire-and-forget execution: executeAgentAsync(agent) — not awaited.

agent.run() lifecycle (BaseAgent):

  1. Status → running, emit start
  2. onStart() hook
  3. Promise.race([execute(), timeoutPromise(maxDuration)]) — default 5 min
  4. On success: status → completed, onComplete(), buildFinalResults()
  5. assessAccomplishment() — if zero substantive output, status → completed_unproductive

Complete Agent Catalog

Agent Class Type Key Purpose
ResearchAgent research Web search, code analysis via MCP, synthesizes findings. NOT remapped by IDE-First.
AnalysisAgent analysis Multi-perspective deep analysis; randomly selects 3 of 13 frameworks per run
SynthesisAgent synthesis Writes structured synthesis reports; handles final deliverable assembly when isFinalSynthesis
ExplorationAgent exploration Creative lateral thinking; 3 exploration vectors + cross-vector connections
PlanningAgent planning Decomposes goals into 3–7 sub-goals with topological sort
IntegrationAgent integration Finds patterns/contradictions across recent agent work (4-hour lookback)
QualityAssuranceAgent qualityassurance Validates agent outputs before memory integration. Never QA-checks itself.
IDEAgent ide Multi-turn agentic LLM loop with tool calls. COSMO's "motor cortex."
CodeCreationAgent codecreation Generates code files; plan-mode by default; local or container execution
CodeExecutionAgent codeexecution Runs Python in containers or locally; persistent validation tracking
CodebaseExplorationAgent codebaseexploration READ-ONLY codebase audit: architecture, deps, quality, patterns
DocumentCreationAgent documentcreation Business/technical docs; 25+ templates; Markdown/HTML output
DocumentAnalysisAgent documentanalysis Document comparison, evolution tracking, metadata extraction
DocumentCompilerAgent documentcompiler Dual-substrate compilation: narrative + technical specification
SpecializedBinaryAgent specializedbinary Text extraction from PDF, DOCX, XLSX, .gz files
ConsistencyAgent consistency Branch divergence evaluation. NOT remapped by IDE-First.
ExperimentalAgent experimental Local OS autonomy; requires user approval; hard limits: 900s/200 actions (Deprecated — replaced by AutomationAgent)
CompletionAgent completion Oversight and completion validation; human-in-the-loop review
DataAcquisitionAgent dataacquisition Web scraping, API consumption, file downloading, feed ingestion. CLI-first, tool-composing.
DataPipelineAgent datapipeline ETL, database creation (SQLite/DuckDB), validation, export. Transforms raw data into structured knowledge.
InfrastructureAgent infrastructure Container management, service setup, environment provisioning. Docker, compose, venv, nvm.
AutomationAgent automation General-purpose OS automation, file operations, process management. Graduated safety model. Replaces ExperimentalAgent.

Read the full file on GitHub · 278 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 · 278 lines · 0 tokens per session scan D 44c2e3fae2a7

Subscribe to this mod's changes

CLAUDE is an agent published in the GitHub repository notforyou23/home23 (11 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,452 tokens. A static security scan graded it D with 3 findings (asks for root, 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.