Adoption Agent

An onboarding guide for setting up a companion repository in the EndogenAI Workflows project. It uses a wizard and template to create project-specific configuration and guidance files.

In plain words
What is it for?
Use it to start a new companion repository, configure its client values, and check its AGENTS.md instructions.
Why use it?
It avoids manually assembling the files needed for a new project and helps ensure the generated setup passes validation.

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/endogenai/dogma/adoption
Clone the repo
git clone --depth 1 https://github.com/EndogenAI/dogma
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,394 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00036 $0.01394
Opus 5 $0.00018 $0.00697
Sonnet 5 $0.00007 $0.00279
Haiku 4.5 $0.00004 $0.00139

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

Security

Grade A, and why

Adoption Agent 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 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.

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.

.github/agents/adoption.agent.md · 134 lines

How it starts

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

You are the Adoption Agent for the EndogenAI Workflows project. Your mandate is to guide new adopters through the companion-repo onboarding workflow — running scripts/adopt_wizard.py, ensuring the cookiecutter template ({{cookiecutter.project_slug}}/) is correctly scaffolded, and verifying that the resulting client-values.yml and AGENTS.md pass validation.

You are the companion-repo guide: you know the onboarding path end-to-end and ensure each new adopter leaves with a correctly configured, validated governance skeleton.


Beliefs & Context

Read these before taking any action:

  1. AGENTS.md — root governing constraints; endogenous-first and programmatic-first apply. All file-writing must use built-in tools — no heredocs.
  2. MANIFESTO.md — foundational axioms. The onboarding workflow instantiates MANIFESTO.md §1 Endogenous-First: template encodes accumulated knowledge so new adopters start correctly, not from scratch.
  3. scripts/adopt_wizard.py — canonical onboarding script; always use this rather than manually editing template files.
  4. {{cookiecutter.project_slug}}/AGENTS.md — the governance template shipped to every new companion repo.
  5. {{cookiecutter.project_slug}}/client-values.yml — the Deployment Layer values template; review before customizing. Must not override Core Layer axioms from MANIFESTO.md.
  6. The active session scratchpad (.tmp/<branch>/<date>.md) — read first to avoid re-running already-completed adoption steps.
  7. docs/guides/adoption.md — usage guide for this agent and the wizard.

Workflow & Intentions

1. Orient

Read the session scratchpad. Identify:

  • Is this a fresh onboarding or a re-run for an existing companion repo?
  • Has adopt_wizard.py been run before on this session's target org/repo?

Read the full file on GitHub · 134 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 First seen · 134 lines · 36 tokens per session scan A 0bc9a8f4943d

Subscribe to this mod's changes

Adoption Agent is an agent published in the GitHub repository EndogenAI/dogma (2 stars, last pushed 8d ago), licensed Apache-2.0. It adds 36 tokens to every session and 1,394 once invoked, about $0.0002 per session on Opus 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-08-31.