code-lens — 1-call inspection verbs (classify / grep / recent / profile) for agent skills.
Project description
code-lens-cli
Four 1-call inspection verbs for agent skills: tell me what kind of repo this is, where a symbol lives, what changed recently, and how this repo plugs into its neighbors.
code-lens-cli is the results-side catalog of the kata-cli (antoine) split: antoine ships the capture/reduce/assess loop that finds 1-call wins; this repo ships the 1-call verbs themselves. Most agents will install both.
Install
uv tool install code-lens-cli
Verbs
| Verb | Question it answers |
|---|---|
code-lens classify [path] |
What kind of project is this? (cli / library / dockerized / tested / packaged-pypi / …) |
code-lens grep <pattern> [path] |
Where is X used? Each ripgrep match annotated with its enclosing AST scope. |
code-lens recent [path] [-n N] |
What changed lately? Recent commits paired with per-file AST symbol diffs. |
code-lens profile [path] |
Mechanical facts about one repo — pyproject, deps, skills, CHANGELOG, layout. |
All verbs accept --json for structured output. Plus python -m code_lens.repo {profile,connections,graph} for the multi-repo workspace surface.
What this is
A greenfield AgentCulture sibling. Two skills under .claude/skills/ (code-lookup, repo-map) wrap these verbs as shell-callable kits; five baseline skills (cicd, communicate, run-tests, sonarclaude, version-bump) are vendored from agentculture/steward.
The first release was tagged v0.1.0 here after the antoine → code-lens-cli handover landed (issues #1 + #2).
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file code_lens_cli-0.11.0.tar.gz.
File metadata
- Download URL: code_lens_cli-0.11.0.tar.gz
- Upload date:
- Size: 132.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4262e8c04291579e01f517572e203ca7d7818f1a9f500c1b9ecbd3535aee811b
|
|
| MD5 |
8fd881c4a4f22f10e98f07115a2e34d6
|
|
| BLAKE2b-256 |
3a0c4f5c8a4a66d8e231da4d2bd77c96f768f71de987148c4f7d9d8a955a2c37
|
File details
Details for the file code_lens_cli-0.11.0-py3-none-any.whl.
File metadata
- Download URL: code_lens_cli-0.11.0-py3-none-any.whl
- Upload date:
- Size: 51.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52c0cc38a159865ebd17906b19caead99ae49469c635a93377fdfc41f90b84aa
|
|
| MD5 |
9283495aa0e9046f45d98d812a327ba1
|
|
| BLAKE2b-256 |
bd1fd9c9a14e9aa5470b3878a24c612b125e630e8f94873ebfb613a5b17bf0bc
|