talkthrough-mcp
AGENTS.md32 starsChanged 3 months agoMITView on GitHub
Instructions for AI coding agents working in this repository. Humans: see CONTRIBUTING.md. A local-first MCP server (Python) that turns narrated screen recordings into agent-ready data: local Whisper transcript, scene keyframes, OCR text, wall-clock anchoring. No LLM inside the server. Recordings never leave the machine — keep it that way. CI: Ubuntu runs ruff + strict mypy + unit/integration/e2e. macOS runs ruff + unit; Windows adds real CLI/reuse/diarization smokes to ruff + unit. Python 3.11/3.12/3.13 run unit + inventory (3.13 also…
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- talkthroughSkill
The file
Files
AGENTS.md
Instructions for AI coding agents working in this repository. Humans: see CONTRIBUTING.md.
What this is
A local-first MCP server (Python) that turns narrated screen recordings into agent-ready data: local Whisper transcript, scene keyframes, OCR text, wall-clock anchoring. No LLM inside the server. Recordings never leave the machine — keep it that way.
Commands
uv sync --extra diarization --extra url # env (python pinned via .python-version)
uv run pytest tests/unit -q # fast suite — run on every change
uv run pytest -q # full suite (downloads whisper tiny once)
uv run ruff check # lint (must be clean)
uv run mypy src # strict typing (must be clean)
uv run python scripts/gen_integrations.py # regenerate ALL engine artifactsCI: Ubuntu runs ruff + strict mypy + unit/integration/e2e. macOS runs ruff + unit; Windows adds real CLI/reuse/diarization smokes to ruff + unit. Python 3.11/3.12/3.13 run unit + inventory (3.13 also real CLI). Fresh wheel installs with both extras are checked on all three OSes; Ubuntu also runs the full suite against the installed wheel, plus sdist and minimal installs.
Architecture in one breath
src/talkthrough_mcp/core/ — deterministic pipeline (no MCP imports):
probe → wallclock → stt → frames → dedup → ocr → manifest → jobs, orchestrated
by core/pipeline.py. core/url_ingest.py + core/url_download.py — the
one network boundary (process_url): classify → destination gate →
download under caps → verify → install as a managed source → the same
pipeline. server.py — thin MCPServer layer (9 tools, 6 prompts).
cli.py — serve/process/process-url/gc. Full map: docs/DESIGN.md.
Hard rules
guidance.pyis the single source of truth for tool descriptions and prompt templates. Never edit a tool description, prompt, example prompt file, or plugin command anywhere else.- Generated files are never hand-edited.
examples/prompts/,integrations/**(exceptclaude-desktop/manifest.json), and.mcp.jsonare rendered byscripts/gen_integrations.py; edit the generator (or the canonical sources below) and re-run it. A drift test byte-pins every generated file. - Canonical sources mirrored by the generator: the Agent Skill at
.agents/skills/talkthrough/SKILL.mdand the example agent atexamples/agents/feedback-triage.md. - New/changed tools ship guidance: 10–15 one-line examples (≤120 chars) in
the description — gated by
tests/unit/test_guidance.py. - Tool responses stay token-budgeted: paginate or cap any new output
(see "Token-budget rules" in
docs/DESIGN.md). - Privacy: no runtime network beyond one-time model/tool downloads and the
single explicit
process_urldownload, no telemetry, nothing uploaded. Network code lives only incore/url_ingest.py/core/url_download.py; raw URLs never reach manifests, the URL index, logs, progress or errors. - Tests accompany changes: unit for pure logic; integration when behavior
needs real ffmpeg/whisper (fixtures are committed; regenerating them is
macOS-only —
tests/fixtures/make_fixtures.py— and must updatetests/integration/fixture_facts.pytogether). - Conventional commits (
feat:,fix:,docs:,test:,chore:).
Layout signals
integrations/<engine>/— per-engine install adapters (generated).integrations/claude-code/— the Claude Code plugin body; the marketplace manifest at.claude-plugin/marketplace.jsonpoints here..agents/skills/talkthrough/— cross-engine Agent Skill (canonical)..mcp.jsonat repo root runs the LOCAL dev server for agents working in this checkout (talkthrough-dev).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

