prompt_generator

prompt_generator is a skill for Claude Code, Codex from ellmos-ai/bach. It costs 0 tokens per session (706 once invoked), scanned A, original, MIT.

A local service for building prompts and starting automated Claude sessions. It provides an editor, reusable templates, several ways to send a prompt, and daemon scheduling controls.

In plain words
What is it for?
Use it to edit or reset a starting prompt, choose system or agent templates, send prompts as tasks or sessions, copy prompt text, and control scheduled runs.
Why use it?
It removes repeated manual prompt preparation and provides one place to manage prompt templates and session timing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to edit or reset a starting prompt, choose system or agent templates, send prompts as tasks or sessions, copy prompt text, and control scheduled runs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ellmos-ai/bach/prompt_generator
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.

Any agent
npx skills add ellmos-ai/bach --skill prompt_generator
Clone the repo
git clone --depth 1 https://github.com/ellmos-ai/bach

Made for: Claude Code, Codex.

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 prompt_generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/ellmos-ai/bach/prompt_generator/github.svg)](https://agentmods.dev/skills/ellmos-ai/bach/prompt_generator)
Your own site
<a href="https://agentmods.dev/skills/ellmos-ai/bach/prompt_generator"><img src="https://agentmods.dev/badge/skills/ellmos-ai/bach/prompt_generator/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 prompt_generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/ellmos-ai/bach/prompt_generator"><img src="https://agentmods.dev/badge/skills/ellmos-ai/bach/prompt_generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 706 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.00000 $0.00706
Opus 5.5 $0.00000 $0.00282
Sonnet 5.5 $0.00000 $0.00141
Haiku 4.5 $0.00000 $0.00071

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

Security

Grade A, and why

prompt_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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (prompt_generator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

system/hub/_services/prompt_generator/SKILL.md · 69 lines

How it starts

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

BACH Prompt-Generator Service

Zweck

Der Prompt-Generator ist ein systemweites Service für Prompt-Management und automatisierte Claude-Sessions. Er ersetzt das ATI-spezifische Session-System durch ein einheitliches Prompt-Management mit folgenden Features:

  1. Texteditor für Startprompt (mit Reset-Funktion)
  2. Vorlagen-Auswahl (System/Agenten/Eigene)
  3. Vier Sendeoptionen (ALS TASK, DIREKT SESSION, TEXT KOPIEREN, DAEMON-STEUERUNG)
  4. Daemon-Steuerung (Zeitplanung)

Endpunkte/API

  • Lokale CLI (kein REST-API, lokale Dienst)
  • Prompt-Editor (interaktive Text-Editor-Funktion)
  • Konfiguration (config.json) - Intervall, Sperrzeiten, etc.
  • Template-System (prompts/ directory) - System-, Agenten- und User-Vorlagen

Abhängigkeiten

  • config.json (Konfiguration der Task-Intervalle und Sperrzeiten)
  • prompts/ (Template-Dateien für System-, Agenten- und User-Vorlagen)
  • hub/_services/chat/chat_runtime.py (Lazy-Import des Chat-Runtimes)
  • hub/_services/daemon_api.py (Daemon-Steuerung)

Dateien

  • prompt_generator.py — Hauptlogik (Prompt bauen, Session triggern)
  • config.json — Konfiguration (Intervall, Sperrzeiten, etc.)
  • templates/ — HTML-Vorlagen für Berichte (system/, agents/, custom/)
  • profiles/ — Daemon-Profile (ati.json, wartung.json)

Nutzung

# Hauptlogik (Prompt bauen, Session triggern)
python prompt_generator.py

# Konfiguration (Intervall, Sperrzeiten)
python prompt_generator.py config

Architektur

hub/_services/prompt_generator/
├── README.md              # Diese Datei
├── config.json            # Konfiguration (Intervall, Sperrzeiten, etc.)
├── prompt_generator.py    # Hauptlogik (Prompt bauen, Session triggern)
├── templates/
│   ├── system/            # System-Vorlagen (nicht editierbar)
│   │   ├── minimal.txt
│   │   ├── task.txt
│   │   └── review.txt
│   ├── agents/            # Agenten-Vorlagen
│   │   ├── ati.txt
│   │   ├── steuer.txt
│   │   └── wartung.txt
│   └── custom/            # User-Vorlagen (aus DB)
└── profiles/              # Daemon-Profile (wie bisher)
    ├── ati.json
    └── wartung.json

Read the full file on GitHub · 69 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. 1mo ago First seen · 69 lines · 0 tokens per session scan A 30f12ce7ef61

Subscribe to this mod's changes

prompt_generator is a skill published in the GitHub repository ellmos-ai/bach (9 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 706 tokens. 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-10-31.

Related

prompt_generator compared with skills from other repositories

prompt_generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prompt_generatorellmos-ai/bachSkill9todayMITA0Claude Code, Codex
fastapi-patternsaffaan-m/ECCSkill314kyesterdayMITA35Claude Code, Kiro
open-sourcebrowser-use/browser-useSkill122kyesterdayMITA101Claude Code
mem0-vercel-ai-sdkmem0ai/mem0Skill70k3d agoApache-2.0A146Claude Code, Codex
mem0-tourmem0ai/mem0Skill70k3d agoApache-2.0A47Claude Code, Codex
mineMemPalace/mempalaceSkill61ktodayMITA21Claude Code
mem0-test-integrationmem0ai/mem0Skill70k3d agoApache-2.0A207Claude Code, Codex