Skip to main content

Vibe coding terminal capture toolkit

Project description

Vybe

  ____   ____       ___
  \   \ /   /___ __ | |__   ____
   \   Y   /(   |  || __ \ / __ \
    \     /  \___  || \_\ \  ___/
     \___/   (_____||_____/\____)

Vybe is a vibe coding terminal toolkit: run a command, capture its output, and instantly reuse it — copy to clipboard, wrap in Markdown, search errors, jump to the last failure, or grab tmux scrollback.

Highlights

  • vybe run ... streams output live and saves it.
  • vybe retry reruns your last vybe run command.
  • vybe snipclip copies output only (perfect for issues/ChatGPT).
  • vybe snipclip --redact copies output with common secrets masked.
  • vybe errors extracts likely error blocks from latest capture.
  • vybe export --last --json emits machine-readable context for agents.
  • vybe run --tag <name> groups captures by task/session.
  • vybe diff shows what changed between your latest two captures.
  • vybe share builds a Markdown-ready report for issues/LLM chats.
  • vybe doctor prints a fast environment snapshot for debugging setup issues.
  • vybe fail jumps back to the most recent failing run.
  • Works great on Kali (zsh) and supports tmux scrollback capture.

Install (dev / from source)

python -m venv .venv
source .venv/bin/activate
pip install -e .
vybe --help
python -m vybe --help

Install (recommended on Kali/Ubuntu)

Use pipx to avoid PEP 668 "externally-managed-environment" issues:

sudo apt install pipx
pipx ensurepath
pipx install vybe

From a local checkout:

cd ~/dev/Vybe
pipx install . --force

Check install/update guidance:

vybe self-check
vybe self-check --json

Usage

vybe run pytest -q
vybe retry
vybe r pytest -q
vybe run --tag auth pytest -q
vybe rr --cwd
vybe fail
vybe s
vybe sc
vybe sc --redact
vybe ll 5
vybe ls --tag auth
vybe snipclip
vybe errors
vybe export --last --json --snip
vybe diff
vybe share --redact --errors
vybe share --clip
vybe share --json
vybe share --json --errors --redact
vybe doctor
vybe self-check
vybe cfg
vybe init
vybe completion install zsh
vybe md bash
vybe grep "Traceback|ERROR" --i

Speed aliases

  • vybe r ... is the same as vybe run ...
  • vybe rr is the same as vybe retry
  • vybe rr --cwd retries in the original working directory
  • vybe rr --tag <name> retries and assigns a tag
  • vybe l is the same as vybe last
  • vybe s is the same as vybe snip
  • vybe sc is the same as vybe snipclip
  • vybe o is the same as vybe open
  • vybe ll [N] is the same as vybe ls [N]
  • Full commands remain the canonical docs and are recommended in scripts/automation

Quick recipes

Fast debug loop:

vybe r pytest -q
vybe errors
vybe share --redact --errors --clip
vybe rr

Tagged task loop:

vybe run --tag auth pytest -q
vybe rr --tag auth
vybe ls --tag auth
vybe diff --tag auth

Agent handoff loop:

vybe export --last --json --snip --redact
vybe share --json --errors --redact
vybe doctor --json

LLM-friendly JSON export

Use this to hand structured context to coding agents.

vybe export --last --json
vybe export --last --json --snip
vybe export --last --json --snip --redact

Tagging and diffs

Use tags to keep one debugging thread grouped:

vybe run --tag auth pytest -q
vybe rr --tag auth
vybe ls --tag auth
vybe tags

See exactly what changed between your latest two captures:

vybe diff
vybe diff --tag auth
vybe diff --full

Share bundles and doctor

Generate a ready-to-paste Markdown bundle:

vybe share
vybe share --redact --errors
vybe share --clip
vybe share --json
vybe share --json --errors --redact

Get quick environment diagnostics:

vybe doctor
vybe doctor --json
vybe self-check
vybe self-check --json
vybe cfg --json
vybe init

CLI stability

Vybe keeps a stable v1 CLI contract for humans, scripts, and agents:

  • See docs/CLI_CONTRACT.md
  • Machine-readable JSON outputs are additive: existing keys remain, new keys may be added

Agent quickstart (human + LLM loop)

Use this when pairing with ChatGPT/Codex/Claude during debugging.

  1. Run and capture
vybe r pytest -q
  1. Copy output-only to clipboard for your LLM
vybe sc
  1. Apply changes, then retry quickly
vybe rr
  1. If you moved directories, retry in the original working dir
vybe rr --cwd
  1. Check recent attempts fast
vybe ll 8

Failure-first loop:

vybe fail
vybe s
vybe sc

Tip for agents and scripts:

  • Prefer full commands in automation (vybe run, vybe retry) for clarity.
  • Use aliases interactively for speed.

Command reference

Run:

vybe --help

Clipboard support

Vybe auto-detects clipboard tools:

  • X11: xclip or xsel
  • Wayland: wl-copy

Shell completion install

Install directly from the CLI:

vybe completion install zsh
vybe completion install bash
vybe completion install fish

tmux scrollback capture

vybe pane 4000
vybe open

Environment variables

  • VYBE_DIR log dir (default ~/.cache/vybe)
  • VYBE_STATE state file (default ~/.config/vybe/state.json)
  • VYBE_INDEX index file (default ~/.cache/vybe/index.jsonl)
  • VYBE_CONFIG config file (default ~/.config/vybe/config.json)
  • VYBE_MAX_INDEX max index entries (default 2000)

Shell completions

See completions/:

  • bash: completions/vybe.bash
  • zsh: completions/_vybe
  • fish: completions/vybe.fish

Use vybe completion install <shell> instead of copying files manually.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vybe-0.8.2.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vybe-0.8.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file vybe-0.8.2.tar.gz.

File metadata

  • Download URL: vybe-0.8.2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for vybe-0.8.2.tar.gz
Algorithm Hash digest
SHA256 bf15e9a7cfe7d29661c4de0fa819c9b063fedbbc67db17d21feb0f2cfac810a8
MD5 739845ede8070422b94d8b94747471bb
BLAKE2b-256 3c958e7e9ea5192a0921d21f6ac50fbbfb48402533a00658a3615253839cdbd5

See more details on using hashes here.

File details

Details for the file vybe-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: vybe-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for vybe-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e9e71cc20244c012f02c399e997bd8e21d174855a55270e31027f6f04205e7a8
MD5 be8b445d3e72a7fc11fbf1c2756c8a8c
BLAKE2b-256 c7b859ecc42d87fe922340d23c6fe99952bc3189336883695f9a29395db3a443

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page