Skip to content

docs(tubelab-mcp): note a fallback when a transcript read comes back empty - #24

Open
pushkarsingh32 wants to merge 1 commit into
TubeLabHQ:mainfrom
pushkarsingh32:docs/transcript-fallback
Open

pushkarsingh32 wants to merge 1 commit into
TubeLabHQ:mainfrom
pushkarsingh32:docs/transcript-fallback

Conversation

@pushkarsingh32

Copy link
Copy Markdown

What

One sentence added to the Transcripts rule in tubelab-mcp: if a transcript read comes back empty or fails, the agent can get that video's transcript from a second MCP (GetYouTubeTranscript). With timestamps: true each line starts with its [m:ss] time, and the rule says to turn that into seconds so moment links keep the format the skills already use.

Why

Six skills read transcripts: script-breakdown, reverse-engineer-channel, reverse-engineer-niche, trend-report, revenue-maxxing and audit-channel-risk. When a read returns nothing, trend-report gives no hook for that winner and the others lose that video's beats. A fallback keeps the report complete without changing any workflow or skill text.

Testing

  • node scripts/validate-skills.mjs: 17 skills checked, 0 errors, 0 warnings.
  • Client: curl, MCP JSON-RPC over Streamable HTTP, no agent. Ran initialize, tools/list, then tools/call get_youtube_transcript with timestamps: true on jNQXAC9IVRw. It returned the transcript with a [m:ss] time on every line in 0.58 s.
  • I did not run the TubeLab skills end to end, as I don't have a TubeLab plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant