Find code by asking what it does. A CLI for coding agents that uses Jev to discover relevant files and source context.
TypeScript ai-sdkclaude-codeclicode-searchcodexcoding-agentscontext-retrievaldeveloper-toolsjevsemantic-searchtypescriptvercel-ai-gateway
Document npm setup and explicit Codex and Claude skill installation
David Zhang715ec350f320
diff --git a/README.md b/README.mdindex 35b0c0c..a2cbda7 100644--- a/README.md+++ b/README.md@@ -33,8 +33,10 @@ workflow and accounting rules. Older custom evals are deprecated and stay out of## Agent skill-The canonical [Jevgrep skill](skills/jevgrep/SKILL.md) lives under `skills/` for-agent discovery and installation through the skills CLI. It describes the `jg` search workflow and is embedded in the installed CLI.+See the [package guide](apps/cli/README.md) for installation, authentication and+Codex/Claude skill setup. The canonical [Jevgrep skill](skills/jevgrep/SKILL.md)+lives under `skills/` and is embedded unchanged in the installed CLI. Agent+configuration changes only when the user explicitly installs or exports it.## Releasesdiff --git a/apps/cli/README.md b/apps/cli/README.mdnew file mode 100644index 0000000..8ca0e06--- /dev/null+++ b/apps/cli/README.md@@ -0,0 +1,54 @@+# Jevgrep (`jg`)++Ask a repository question and get relevant file locations plus verbatim source+excerpts. Jevgrep helps a coding agent begin unfamiliar multi-file work with+useful context; the agent still owns implementation and verification.++Requires Node.js 22 or newer on macOS or Linux. The development version is not+published yet. After a release is available:++```sh+npm install --global @dzhng/jevgrep+jg auth+jg doctor+jg "How are telemetry events recorded and sent?" ./my-project+```++`auth` saves your Vercel AI Gateway key; `doctor` verifies it with synthetic input.+You can instead supply `AI_GATEWAY_API_KEY`. Searches send eligible source to Jev+through AI Gateway. Credentials use an owner-only config file. Evaluation answers+are cached locally; `jg --help` describes overrides and cache commands.++The summary comes first, followed by file and declaration locations and selected+source. Locations are reading leads, not a checklist. Omitted excerpts are marked;+`--max-source-bytes 0` includes all selected source. An incomplete result can still+be useful. Read what it supplies, then fill specific gaps with ordinary tools.+Application output goes to stdout; `jg` does not create a report file.++## Agent skill++Install the canonical skill into the project where your coding agent works:++```sh+npx skills add dzhng/jevgrep --skill jevgrep --agent codex --agent claude-code+```++Select only the agent you use, or add `--global` for user-wide installation. These+options come from the [skills CLI](https://github.com/vercel-labs/skills#install-a-skill).+Installing the skill does not install the `jg` executable or configure its key.++You can also export the exact skill bundled with your installed `jg` into your+chosen agent skill directory. For example, set `skill_root` to that directory:++```sh+skill_root=/absolute/path/to/your/agent/skills+mkdir -p "$skill_root/jevgrep"+jg skill > "$skill_root/jevgrep/SKILL.md"+```++Jevgrep never edits agent configuration automatically. The skill directs the agent+to read returned excerpts before further discovery, skip redundant searches when+the needed context is already known, and handle incomplete results honestly.++See the [repository](https://github.com/dzhng/jevgrep) for architecture, official+benchmark evidence and development. Jevgrep is MIT licensed.