agentleFS
korovin-aa97korovin-aa97/talkthrough-mcp/AGENTS.md

talkthrough-mcp

AGENTS.md30 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…

The file

Files
AGENTS.md

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 artifacts

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 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

  1. guidance.py is 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.
  2. Generated files are never hand-edited. examples/prompts/, integrations/** (except claude-desktop/manifest.json), and .mcp.json are rendered by scripts/gen_integrations.py; edit the generator (or the canonical sources below) and re-run it. A drift test byte-pins every generated file.
  3. Canonical sources mirrored by the generator: the Agent Skill at .agents/skills/talkthrough/SKILL.md and the example agent at examples/agents/feedback-triage.md.
  4. New/changed tools ship guidance: 10–15 one-line examples (≤120 chars) in the description — gated by tests/unit/test_guidance.py.
  5. Tool responses stay token-budgeted: paginate or cap any new output (see "Token-budget rules" in docs/DESIGN.md).
  6. Privacy: no runtime network beyond one-time model/tool downloads and the single explicit process_url download, no telemetry, nothing uploaded. Network code lives only in core/url_ingest.py / core/url_download.py; raw URLs never reach manifests, the URL index, logs, progress or errors.
  7. 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 update tests/integration/fixture_facts.py together).
  8. 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.json points here.
  • .agents/skills/talkthrough/ — cross-engine Agent Skill (canonical).
  • .mcp.json at repo root runs the LOCAL dev server for agents working in this checkout (talkthrough-dev).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.