Commit Graph

15 Commits

Author SHA1 Message Date
yuhao b995155828 fix(preview): remove cli-matrix leakage 2026-04-24 15:34:29 +00:00
yuhao 51b55aaa52 feat: CLI-Matrix with multi-approach stages, skill discovery, and matrix search
Introduce CLI-Matrix — curated multi-CLI workflow matrices that agents can
install in one command. The video-creation matrix bundles 11 CLIs across 8
production stages (AI video gen, capture, audio, voice/TTS, music, NLE
editing, captions, thumbnails).

Each stage now exposes a goal, alternative approaches (Python libs, cloud
APIs, native commands), and skill_search_hints that encourage agents to
dynamically discover relevant skills via `npx skills search` rather than
relying on hard-coded tool lists.

Key changes:
- matrix_registry.json: extended stage schema with goal, alternatives,
  skill_search_hints fields
- cli-hub matrix list/search/info/install commands
- matrix_skill.py: renders dynamic SKILL.md with stage tooling overview,
  install status, and aggregated discovery commands
- Fixed brittle parents[2] repo root detection with git-based lookup
- 85 tests passing (10 new)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-24 14:40:57 +00:00
yuhao 412754f216 feat(hub): fetch live analytics from PostHog in-browser, drop static snapshot
- Page now runs a HogQL countIf query directly against PostHog on load
  and every 60s, using a read-only personal API key scoped to query:read
  on project 393992. Numbers are baseline (Umami cutover) + live increment.
- Remove the static snapshot pipeline: delete
  .github/scripts/update_hub_analytics_stats.py,
  docs/hub/analytics-stats.json, and the Generate hub analytics stats step
  and path trigger in deploy-pages.yml.
- Drop the JS static-fallback branch that read analytics-stats.json.
2026-04-23 16:42:10 +00:00
yuhao 8cae111a48 feat(cli-hub): migrate analytics to PostHog, add stats pipeline and refined footer
- Switch cli-hub analytics client from Umami to PostHog (us.i.posthog.com),
  with agent/human classification derived from env vars and parent-process
  names, and persistent analytics id at ~/.cli-hub/.analytics_id.
- Add daily deploy-pages step running .github/scripts/update_hub_analytics_stats.py
  to pull PostHog totals into docs/hub/analytics-stats.json.
- Redesign docs/hub footer analytics panel (index.html + index-modern.html)
  as a compact Apple/OpenAI-style card: live eyebrow, total, 2px ratio bar,
  and inline Human/Agent split with percentages computed client-side.
- Expand cli-hub tests to cover the new analytics context fields and
  provider switch.
2026-04-23 16:27:14 +00:00
yuhao 87bdfe7697 fix CI 2026-04-18 16:59:59 +00:00
yuhao 42fc5c096d update cli-hub 2026-04-18 16:57:25 +00:00
yuhao e1e48ba6d0 fix missing skills 2026-04-18 11:53:57 +00:00
yuhao 99f92f0525 WIP transfer root-skills and hub updates 2026-04-18 10:12:58 +00:00
yuhao 2c8a7815a8 update cli-hub 2026-04-16 07:47:10 +00:00
yuhao 69a64a30b6 fix update date for outer repo 2026-04-13 09:16:44 +00:00
yuhao e59b7ee367 launch cli-anything-hub pkg manager. 2026-04-10 15:43:51 +00:00
yuhao a81d5b2c0e launch meta-skill for cli-hub 2026-03-23 16:20:30 +00:00
yuhao 3e10b0ab2d fix CLI-Hub 2026-03-22 09:36:34 +00:00
yuhao 776569427f fix github pages build workflow 2026-03-22 09:28:36 +00:00
yuhao b8b21ffe43 update CLI-Hub 2026-03-22 09:21:50 +00:00