The best-benchmarked open-source AI memory system. And it's free.
PLG journey analysis tool for codebases and SQL
Skene reads a repository and builds a `journey.yaml` that describes the product’s user lifecycle, milestones, and supporting evidence. It can analyze code, SQL schemas, or both, then show the result in an interactive terminal UI.
Builders who want to inspect a product codebase for lifecycle stages, milestones, and growth-loop evidence.
You can turn a codebase into a structured product journey instead of mapping it by hand.
What it does
Codebase and schema analysis
Reads source code, SQL schema files, or both to find lifecycle milestones and supporting evidence.
Canonical user journey model
Organizes products into seven stages: discovery, onboarding, activation, engagement, retention, expansion, and virality.
Evidence-backed milestones
Attaches tracked events, confidence scores, and evidence chips that point to specific code, tables, or config files.
Interactive journey visualizer
Opens a local web view from the TUI so you can review stages, cards, and evidence together.
Multiple ways to run
Supports the interactive TUI, direct CLI use with `uvx` or `pip`, and a Cursor plugin.
How to get it
- 1Install and launch the interactive terminal UI
curl -fsSL https://raw.githubusercontent.com/SkeneTechnologies/skene/main/tui/install.sh | bash skene
- 2The TUI is an interactive wizard that guides you through the entire workflow. No…
# Install the TUI curl -fsSL https://raw.githubusercontent.com/SkeneTechnologies/skene/main/tui/install.sh | bash # Launch it skene
README
Skene reads your codebase and produces a user journey for your product: the lifecycle stages a user moves through, the milestones inside each stage, and the code or database evidence that proves each milestone is real.
Quick Start
Install and launch the interactive terminal UI:
curl -fsSL https://raw.githubusercontent.com/SkeneTechnologies/skene/main/tui/install.sh | bash
skene
The wizard walks you through provider selection, authentication, and analysis — no configuration needed upfront.
What It Does
Skene turns a repository into a single journey.yaml describing your product's user lifecycle, and renders it as an interactive diagram.
- Agentic analysis — two parallel agents read your project: one walks the codebase, one walks your SQL schemas. They each propose candidate milestones, which are then merged and classified into a canonical seven-stage lifecycle.
- Seven-stage user journey — every product maps to the same canonical stages (discovery, onboarding, activation, engagement, retention, expansion, virality) so journeys are comparable across products. Stage names are specialized to your product where useful.
- Evidence-backed milestones — each milestone carries a
tracked_event, aconfidencescore, and one or moreevidencechips pointing back to the exact code path, database table, or config file that justifies it. - Journey visualizer — the TUI opens a local web app that lays out the stages as columns, with milestone cards and clickable evidence chips, so you can review the journey alongside the underlying source.
- Code-only, schema-only, or both — run against just a codebase, just a directory of
*.sqlfiles, or both for richer evidence.
Supports OpenAI, Gemini, Claude, LM Studio, Ollama, and any OpenAI-compatible endpoint.
Installation
Terminal UI (recommended)
The TUI is an interactive wizard that guides you through the entire workflow. No prerequisites — the installer handles everything.
# Install the TUI
curl -fsSL https://raw.githubusercontent.com/SkeneTechnologies/skene/main/tui/install.sh | bash
# Launch it
skene
Python CLI
If you prefer the command line, you can run Skene directly with uvx (no install needed) or install it globally:
# Install uv (if you don't have it)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Run directly (no install needed)
uvx skene analyse-journey .
# Or install globally
pip install skene
skene analyse-journey .
Useful flags:
--schema-dir <dir>— point at a directory of exported*.sqlfiles to enable the schema agent-o <path>— override the output file (default./skene-context/journey.yaml)--no-specialize— keep the canonical stage names instead of letting the LLM specialize them
For full CLI usage, see the documentation.
Output Layout
Both the Python CLI and the TUI write artifacts to a single bundle directory in your project root, created automatically if missing.
- Default:
./skene-context/journey.yaml— the analysed user journey for your product. - Override: set
output_dirin.skene.configor pass-o/--outputto write elsewhere.
Monorepo Structure
| Directory | Description | Language | Distribution |
|---|---|---|---|
src/skene/ | CLI + analysis engine | Python | PyPI |
tui/ | Interactive terminal UI wizard | Go | GitHub Releases |
cursor-plugin/ | Cursor IDE plugin | — | — |
The TUI (tui/) is a Bubble Tea app that provides an interactive wizard experience and orchestrates the Python CLI via uvx. Each package has independent CI/CD pipelines.
Contributing
Contributions are welcome. Please open an issue or submit a pull request.
License
Files in the repo
- .cursor-plugin
- .github
- benchmarks
- cursor-plugin
- docs
- src
- tests
- tui
- .gitignore
- .sqlfluff
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE
- pyproject.toml
- README.md
- RELEASING.md
- uv.lock
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More tools

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
Never stop coding. Free MIT AI gateway: one endpoint, 352 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 550+ contributors
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.
the runtime your coding agents live on