Repository navigation
feat(onboarding)!: customer deep dive runs on PostHog only (2.0.0) - #234
Merged
Merged
Conversation
Vitally was turned off on 16 October 2026. The skill now reads Customer Analytics, the onboarding model and its Onboarding:: workflows, the email sync and PostHog's billing tables, and nothing built on Vitally. - account state from Customer Analytics and onboarding_accounts_v8 - every Onboarding:: send, stage, tag and owner change per account - the email sync as the comms record, with the frozen archives before the cutover - money from the live invoice tables, in UTC days, with what is still outstanding - routing that follows the team's rules: first touch only where the workflows would send, follow-up wherever onboarding already wrote, an account brief with the loop-in everywhere else, opt-outs absolute - ownership, history and the shared Slack channel read before the mode - one site scan per surface; site-scan.sh gains --url and --token - phq.py surfaces paused syncs and truncation, and never parses half a body - personal config moves outside the skill folder so updates keep it Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vitally was turned off at PostHog on 16 October 2026, and this skill was built on it. 2.0.0 reads only PostHog's own data, and the onboarding team's whole record now lives in PostHog, so the skill can finally see what onboarding itself sent and what happened after.
All changes are in
skills/team/onboarding/posthog-customer-deep-dive/, plus the marketplace description and the onboarding folder README.What it reads now
system.accounts: tags, relationships, custom properties, notes, tasks, meetings, feature requests) and the onboarding modelonboarding_accounts_v8(stage, eligibility, forecast, cooldown, engagement), with PostHog's own health score.Onboarding::workflow email, stage change, tag and owner change on the account (the$workflows_*and$account_*events), and when the Email sequence wakes next.posthog_conversations_email_thread*), labelled by who wrote (onboarding, the rest of PostHog, the customer), plus the two frozen archives for anything before the cutover.postgres.revenue.invoiceand its line items), the open billing period, credits and runway. Dates are UTC days, the way the invoice shows them, and a paid invoice no longer reads as owed.Nothing reads
vitally.*or anything built on it. The one deliberate path left is v8's account-wideconvo_*history, which the skill never quotes as an onboarding number.Routing
Step 3 now follows the team's own rules, so a draft never goes where the workflows would not send:
Flow
~/.claude/posthog-customer-deep-dive.local.md, outside the skill folder, so a plugin update no longer wipes it. An olderconfig.local.mdin the folder still works.Scripts
site-scan.shgains--urlfor product hosts and path-mounted sub-apps and--tokenfor a token the page hides. It reads every token found, including older ones without thephc_prefix, each in the region that answers, and prints the replay settings instead of cutting the config at 60 lines. It resolves relative script paths, reads bundles up to 20 MB, and says which file each tool hit came from. posthog-js's own vendor strings are kept apart, and parallel scans no longer share a folder.phq.pyprints paused-sync warnings andTRUNCATEDinstead of a silent empty result, and treats a 2xx with no results as an error. It retries gateway errors that come back as HTML and keeps the API key off the command line.Testing
phq.pycases. Each new check was seen failing before the fix.For teammates on 1.x
claude mcp remove vitally -s user, and drop theVITALLY_*keys.config.local.mdto~/.claude/posthog-customer-deep-dive.local.md, or let Setup recreate it on the next run.🤖 Generated with Claude Code