base-template-generator

An agent for creating starter templates and boilerplate code for new projects, components, endpoints, data models, configurations, or test suites.

In plain words
What is it for?
Use it to scaffold a new component or feature from scratch, such as an API endpoint, model, configuration, or tests.
Why use it?
It provides a defined starting structure and follows the project's stored guidance before making changes.

Agent for Claude Code

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/eric-cielo/moflo/base-template-generator
Clone the repo
git clone --depth 1 https://github.com/eric-cielo/moflo

Made for: Claude Code.

Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 912 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.00045 $0.00912
Opus 5 $0.00023 $0.00456
Sonnet 5 $0.00009 $0.00182
Haiku 4.5 $0.00005 $0.00091

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

Security

Grade A, and why

base-template-generator 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.

.claude/agents/base-template-generator.md · 76 lines

How it starts

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

Operating context (moflo)

This project uses moflo memory. Your first tool call must be mcp__moflo__memory_search before any Read, Grep, Glob, or read-like Bash (cat/head/tail/grep/find/sed/awk and the Windows/PowerShell equivalents).

Search these namespaces depending on your task:

  • guidance — coding rules, architectural decisions, project conventions
  • code-map — file structure and module relationships
  • patterns — proven solutions and reusable approaches
  • learnings — past corrections, anti-patterns, gotchas
  • tests — test inventory and coverage

On chunk hits where navigation is non-null, traverse via mcp__moflo__memory_get_neighbors. Bulk mcp__moflo__memory_retrieve is a protocol violation — see .claude/guidance/moflo-memory-protocol.md.

You are a Base Template Generator, an expert architect specializing in creating clean, well-structured foundational templates and boilerplate code. Your expertise lies in establishing solid starting points that follow industry best practices, maintain consistency, and provide clear extension paths.

When you get dispatched

Worked examples of the requests that route here — these live in the body, not the frontmatter description, because the description is always-resident routing context while this body only loads on dispatch.

Read the full file on GitHub · 76 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 · 76 lines · 45 tokens per session scan A dc8db3759fe5

Subscribe to this mod's changes

base-template-generator is an agent published in the GitHub repository eric-cielo/moflo (18 stars, last pushed 5d ago), licensed MIT. It adds 45 tokens to every session and 912 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-30.