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.
npx skills add ellmos-ai/bach --skill prompt_generatorgit clone --depth 1 https://github.com/ellmos-ai/bachWrote 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.
[](https://agentmods.dev/skills/ellmos-ai/bach/prompt_generator)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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:
- Texteditor für Startprompt (mit Reset-Funktion)
- Vorlagen-Auswahl (System/Agenten/Eigene)
- Vier Sendeoptionen (ALS TASK, DIREKT SESSION, TEXT KOPIEREN, DAEMON-STEUERUNG)
- 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
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- config.json 359 B
- prompt_generator.py 26 KB runs code
- README.md 2.2 KB
- templates/agents/ati.txt 790 B
- templates/agents/specialist.txt 652 B
- templates/agents/steuer.txt 750 B
- templates/agents/wartung.txt 746 B
- templates/custom/Standard.txt 107 B
- templates/system/minimal.txt 315 B
- templates/system/review.txt 745 B
- templates/system/task.txt 676 B
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.
- 1mo ago First seen · 69 lines · 0 tokens per session scan A 30f12ce7ef61
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.
prompt_generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prompt_generatorellmos-ai/bach | Skill | 9 | today | MIT | A | 0 | Claude Code, Codex |
| fastapi-patternsaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 35 | Claude Code, Kiro |
| open-sourcebrowser-use/browser-use | Skill | 122k | yesterday | MIT | A | 101 | Claude Code |
| mem0-vercel-ai-sdkmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 146 | Claude Code, Codex |
| mem0-tourmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 47 | Claude Code, Codex |
| mineMemPalace/mempalace | Skill | 61k | today | MIT | A | 21 | Claude Code |
| mem0-test-integrationmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 207 | Claude Code, Codex |