codebase-conventions

A set of coding rules for Speekify, a command-line tool that turns text and content from files, websites, or YouTube into WAV audio files.

In plain words
What is it for?
Use it when changing audio generation, French translation, input handling, status messages, output files, or diagnostic logging.
Why use it?
It keeps new code consistent with the project's existing data flow, validation, language handling, filenames, and terminal output.

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/otterlyspacelabs/speekify/codebase-conventions
Clone the repo
git clone --depth 1 https://github.com/OtterlySpaceLabs/speekify
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 288 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.00000 $0.00288
Opus 5 $0.00000 $0.00144
Sonnet 5 $0.00000 $0.00058
Haiku 4.5 $0.00000 $0.00029

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

Security

Grade A, and why

codebase-conventions 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.

docs/agents/codebase-conventions.md · 11 lines

What it actually says

Codebase Conventions

  • Use GenerationRequest/GenerationResult dataclasses when changing generation flow rather than passing loose dictionaries through the workflow.
  • Validate user-facing CLI values in __main__.py with Typer callbacks or option bounds, then keep duplicated runtime guards in workflow.py/tts.py where direct calls need protection.
  • When adding a generation status, update both the status callbacks in workflow.py and the display label map in cli_rendering.format_status().
  • French synthesis has a special behavior: when target_language == "fr", workflow.translate_content_if_needed() calls HuggingFaceTranslator.maybe_translate_to_french() and only English input is translated.
  • SupertonicSynthesizer.prepare_text() is intentionally permissive: it preprocesses via Supertonic, removes unsupported characters when possible, and reports cleanup through PreparedText.summary_notes().
  • Output files should continue to be .wav files named by build_output_path(), using a slug plus timestamp and collision suffixes.
  • User-facing terminal output should stay concise Rich panels/tables; technical diagnostics belong in logs/speekify.log and are shown to users only with --verbose.
  • URL extraction should return readable body text, not raw HTML; provider-specific extraction belongs under extractors/, while extract.py stays a small facade.
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 · 11 lines · 0 tokens per session scan A 998753203209

Subscribe to this mod's changes

codebase-conventions is an agent published in the GitHub repository OtterlySpaceLabs/speekify (10 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 288 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-08-31.

Related

Other agents, from other repositories

ios-dev

You are an iOS/macOS SwiftUI development expert.

hanamizuki/solopreneur · 29 tokens

podcast-producer-agent

Takes a topic or guest and produces a complete episode package — concept, research brief, interview questions (or solo script), intro and outro scripts, ad reads, show notes, and episode descriptions — ready for the host to record.

ur-grue/autopunk-media-skills · 5 tokens

odoo-marketing-writer

Use this agent when the odoo-doc-illustration skill needs the BUYER-facing App-Store landing page (static/description/index.html) assembled for a single Odoo module - lay out a brand-aware, sanitizer-safe Bootstrap-5 fragment from marketing copy the skill SUPPLIES (pre-drafted by odoo-content-draft) plus the REQUIRED…

Viindoo/odoo-mcp-client · 241 tokens

odoo-user-doc-writer

Use this agent when the odoo-doc-illustration skill needs an END-USER how-to guide (doc/index.rst) written for a single Odoo module - capture the live screens the user actually sees, then write plain, task-oriented steps ("open menu X > Y, click Create, fill ...") grounded in the UI labels reported by OSM, one file…

Viindoo/odoo-mcp-client · 242 tokens

translator

Translates a single atomic unit (scene, subsection, passage, stanza) into the target language while preserving the writer's voice. Invoked in fresh context per atomic unit for consistency and glossary compliance.

hannsxpeter/scriveno · 42 tokens

frontend-engineer

Ingénieur front-end Hookstack (Next.js 15 App Router, Tailwind v4, Motion). Utiliser pour créer/modifier des composants React, des pages, le catalogue, le HookConfigurator, des animations, ou toucher au design system. Connaît les pièges du repo (m. pas motion., tokens motion.ts, i18n via T, Zustand persisté) — les…

steve-magne/hookstack · 94 tokens