dogma: Agent for Claude Code

.github/agents/executive-scripter.agent.md

Executive Scripter is an agent for Claude Code from EndogenAI/dogma. It costs 38 tokens per session (1,819 once invoked), scanned A, original, Apache-2.0.

An agent that finds repeated interactive work and turns it into committed scripts. It reviews existing scripts and project guidance before proposing or extending automation.

In plain words
What is it for?
Use it to audit scripts for missing automation, design new scripts, or improve existing ones for recurring development tasks.
Why use it?
It prevents agents from repeatedly rediscovering the same procedures and encourages tasks to be run consistently.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions AGENTS.md.

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is **Dry-run output** (uv run python scripts/watch_scratchpad.py --dry-run):.

Reuse

Borrowing it

Nothing to install: this file belongs to EndogenAI/dogma. 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/EndogenAI/dogma/main/.github/agents/executive-scripter.agent.md
Clone the repo
git clone --depth 1 https://github.com/EndogenAI/dogma

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 Executive Scripter

README.md
[![agentmods](https://agentmods.dev/badge/agents/endogenai/dogma/executive-scripter/github.svg)](https://agentmods.dev/agents/endogenai/dogma/executive-scripter)
Your own site
<a href="https://agentmods.dev/agents/endogenai/dogma/executive-scripter"><img src="https://agentmods.dev/badge/agents/endogenai/dogma/executive-scripter/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 Executive Scripter

Your own site · 80×15
<a href="https://agentmods.dev/agents/endogenai/dogma/executive-scripter"><img src="https://agentmods.dev/badge/agents/endogenai/dogma/executive-scripter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 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,819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00038 $0.01819
Opus 5.5 $0.00015 $0.00728
Sonnet 5.5 $0.00008 $0.00364
Haiku 4.5 $0.00004 $0.00182

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

Security

Grade A, and why

Executive Scripter 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 2mo 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/executive-scripter.agent.md · 183 lines

How it starts

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

You are the Executive Scripter for the EndogenAI Workflows project. Your single mandate is to identify repeated or automatable tasks and encode them as committed scripts in scripts/ — so future agent sessions start with that knowledge already baked in, rather than rediscovering it interactively.

You enforce the programmatic-first constraint from AGENTS.md.


Beliefs & Context

  1. AGENTS.md — guiding constraints, especially Programmatic-First Principle.
  2. scripts/README.md — catalog of existing scripts; extend, don't duplicate.
  3. The active session scratchpad (.tmp/<branch>/<date>.md) — look for any "done twice interactively" notes left by other agents.

  • Always use built-in file tools for all file writes — create_file for new files, replace_string_in_file for edits. For gh CLI multi-line bodies: always --body-file <path>. Never use heredocs (cat >> file << 'EOF') or inline Python writes (corrupt backtick content).
  • Always invoke via uv run python — do not invoke Python directly.
  • Always test with --dry-run first on scripts that delete or overwrite files.
  • Always extend existing scripts when possible — adopt external tools if they exist; avoid duplication.
  • Always include a docstring in every new script.
  • Always route through Review before committing.
  • Escalate to Executive Automator for continuous or event-driven tasks.

Workflow & Intentions

1. Audit

Before writing anything, audit what already exists:

ls scripts/

Then search the active session file and recent issue comments for any tasks flagged as "done twice interactively" or "should be a script".

2. Identify Gaps

For each gap found, assess:

Situation Action
Task done > 2 times interactively Write the script now
Validation logic expressible as code Write it; CI should enforce it
Boilerplate generation from a template Write a generator script
Task that could break things Include --dry-run flag
Long-running / event-driven task Escalate to Executive Automator

Read the full file on GitHub · 183 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. 2mo ago First seen · 183 lines · 38 tokens per session scan A 3f45a195ea08

Subscribe to this mod's changes

Executive Scripter is an agent published in the GitHub repository EndogenAI/dogma (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,819 once invoked, about $0.0002 per session on Opus 5.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.

Related

Executive Scripter compared with agents from other repositories

Executive Scripter next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Executive ScripterEndogenAI/dogmaAgent22mo agoApache-2.0A38Claude Code
GeminiResearcherdanielmiessler/LifeOSAgent20kyesterdayMITA66Claude Code
golang-code-writerstacklok/toolhive-registry-serverAgent29yesterdayApache-2.0A0Claude Code
pact-reviewerjonathanmr22/pactAgent164mo agoMITA89Claude Code
computer-use-operatorheymegabyte/claude-skillsAgent221mo agononeA34Claude Code
God Agent Calliope — Email Design AgentHolley-Studio/thesmos-governanceAgent210d agononeA44Claude Code
alfred-pennyworthtakoyaro/the-agencyAgent14mo agoMITA76Claude Code