Skip to content

fix(skills): give the notebook mirror a fallback when the markdown tool is absent - #376

Draft
gewenyu99 wants to merge 1 commit into
mainfrom
posthog/notebook-tool-fallback
Draft

fix(skills): give the notebook mirror a fallback when the markdown tool is absent#376
gewenyu99 wants to merge 1 commit into
mainfrom
posthog/notebook-tool-fallback

Conversation

@gewenyu99

Copy link
Copy Markdown
Collaborator

Stops the notebook mirror wasting a turn when notebooks-create-markdown isn't in the MCP catalog.

The integration skills name that tool and tell the agent to use it verbatim, "no tool search" — but production MCP exposes only notebooks-create (rich-text content). Agents rediscover this every run and improvise a fallback: ~130 runs/day leave a remark about it, and it's the likeliest driver of report being the top orchestrator failure type (24 runs/7d). This names both shapes and the markdown-code-block workaround, so the agent takes whichever the deployment offers — correct either way, no follow-up needed when the tool lands. The audit / events-audit skills already have an explicit "log one line and skip" path, so they're left alone.


Created with PostHog Desktop

…ol is absent

The integration skills name `notebooks-create-markdown` and tell the agent to
use that exact tool with no search. Production MCP exposes only
`notebooks-create` (rich-text `content`), so every run burns a discovery turn
rediscovering that and improvising a fallback — ~130 runs a day, and it is the
likeliest driver of `report` being the top orchestrator failure type.

Names both shapes and the markdown-code-block workaround so the agent takes
whichever the deployment offers. Correct either way, so it needs no follow-up
when the tool lands.

Generated-By: PostHog Desktop
Task-Id: ecbe6b2f-c266-41d5-be54-272f86314c88
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci ai-observability
  • /wizard-ci basic-integration
  • /wizard-ci mcp-analytics
  • /wizard-ci replay-vision
  • /wizard-ci revenue
  • /wizard-ci self-driving
  • /wizard-ci warehouse
  • /wizard-ci warehouse-seeded

Test an individual app:

  • /wizard-ci ai-observability/anthropic
  • /wizard-ci ai-observability/groq
  • /wizard-ci ai-observability/manual-capture
Show more apps
  • /wizard-ci ai-observability/openai
  • /wizard-ci ai-observability/openai-agents
  • /wizard-ci ai-observability/vercel-ai
  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/flutter
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci mcp-analytics/custom-dispatcher
  • /wizard-ci mcp-analytics/typescript-sdk
  • /wizard-ci replay-vision/javascript-node
  • /wizard-ci replay-vision/next-js
  • /wizard-ci replay-vision/react-vite
  • /wizard-ci revenue/stripe
  • /wizard-ci self-driving/astro
  • /wizard-ci self-driving/fastapi
  • /wizard-ci self-driving/nuxt
  • /wizard-ci self-driving/react-router
  • /wizard-ci self-driving/sveltekit
  • /wizard-ci warehouse/monorepo-env
  • /wizard-ci warehouse/multi-source-next
  • /wizard-ci warehouse/stripe-node
  • /wizard-ci warehouse/zero-source
  • /wizard-ci warehouse-seeded/next-stripe
  • /wizard-ci warehouse-seeded/next-stripe-declined

Test against a wizard branch:

  • /wizard-ci all wizard:my-branch

Add wizard:<branch> to any command above to pin the wizard branch. It defaults to main.

Results will be posted here when complete.

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