Skip to main content

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

code_lens_cli-0.10.0.tar.gz (123.7 kB view details)

Uploaded Source

Built Distribution

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

code_lens_cli-0.10.0-py3-none-any.whl (51.0 kB view details)

Uploaded Python 3

File details

Details for the file code_lens_cli-0.10.0.tar.gz.

File metadata

  • Download URL: code_lens_cli-0.10.0.tar.gz
  • Upload date:
  • Size: 123.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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

Hashes for code_lens_cli-0.10.0.tar.gz
Algorithm Hash digest
SHA256 860932eb33b3bf5e96c18bd896e612a61c43f4f83c6e31817745f19434751594
MD5 76e693de5918000af5d2f00ab2f0e24f
BLAKE2b-256 08452b9f8448cdd198d5a8773dff119d0e2db5faaac31e4ed1ae15ae176f7e2d

See more details on using hashes here.

File details

Details for the file code_lens_cli-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: code_lens_cli-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 51.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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

Hashes for code_lens_cli-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec48217ef76fe74b5d274c66815669d598795446001f43a81e08ef18148f875c
MD5 9986868a0e3d59e8328140ae81e60cdf
BLAKE2b-256 af92182160904d06e312779320d78e8887d37daa9cecebbfca8569370eaa35fa

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