analyzing-cants-graphs
Skill by codellm-devkit
Helps an AI assistant query the Neo4j graph that codeanalyzer-typescript (cants) produces. It covers call-graph, structure, dependency and configuration questions, and writing Cypher over schema v2.
Install analyzing-cants-graphs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/codellm-devkit/codeanalyzer-typescript /tmp/codeanalyzer-typescript && mkdir -p ~/.claude/skills && cp -r /tmp/codeanalyzer-typescript/docs/skills/analyzing-cants-graphs ~/.claude/skills/analyzing-cants-graphsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/codellm-devkit/codeanalyzer-typescript /tmp/codeanalyzer-typescript && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/codeanalyzer-typescript/docs/skills/analyzing-cants-graphs ~/.gemini/antigravity-cli/skills/analyzing-cants-graphsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install analyzing-cants-graphs in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The analyzing-cants-graphs skill helps an AI assistant query the Neo4j graph that codeanalyzer-typescript (cants) produces with --emit neo4j. It covers call-graph, structure, inheritance, control and data-flow, dependency and SBOM, and configuration-use questions, as well as writing Cypher over schema v2's projection. The vocabulary is fixed and listed in a reference file, so labels, properties and keys are looked up rather than guessed.
Each recipe states its minimum -a analysis level, and a table shows which nodes and edges exist at levels 1 to 4. The skill also documents traps where a correct-looking query gives the wrong answer, such as direct versus transitive dependencies, the --app-name join requirement, and ARG versus ENV config keys. It suits developers and analysts who work with cants graph output.
Written from the project's SKILL.md and checked against it.
What it can do
- Call-graph queriesAnswers questions about how callables call one another in the cants graph.
- Structure and inheritanceCovers structure and inheritance questions over the graph.
- Control and data-flowCovers control-flow and data-flow questions, including slicing.
- Dependency and SBOMCovers dependency, artifact and SBOM questions, including direct versus transitive packages.
- Configuration useCovers which configuration keys are read and used, and where.
- Schema v2 CypherGuides writing Cypher against schema v2's projection using a fixed vocabulary reference.
What you need
- codeanalyzer-typescript (cants) output projected to Neo4j
- A Neo4j database to run Cypher queries against
Try asking
- Which functions call readHost in this cants graph?
- Show the direct dependencies of this app from the cants graph.
- Where is this environment variable used in the cants graph?
Good to know
- Queries that name a nonexistent label, property or relationship return empty results without an error.
- Each recipe needs the minimum -a analysis level it states.
- Artifact ids only merge across analyzers when both runs use the same --app-name.
- config_reads counts can drop as the analysis level rises, because reads resolve at higher tiers.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: docs/skills/analyzing-cants-graphs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to analyzing-cants-graphs
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
analyzing-cants-graphs: common questions
What is the cants graph?
The cants graph is the Neo4j projection of codeanalyzer-typescript output, produced with --emit neo4j. It is organized as one additive tree with typed edge overlays.
Why do my Cypher queries return nothing?
Cypher does not reject unknown labels, properties or relationships, so a wrong name just returns an empty result. The skill says to cross-check the vocabulary reference when this happens.
Why do direct and transitive dependency counts differ so much?
The source says a lock file does not record why a package is present, and that most records in its example repo were transitive. Supply-chain questions need transitive records, while declared-surface questions use direct: true.
How do I install analyzing-cants-graphs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is analyzing-cants-graphs free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is analyzing-cants-graphs safe to use?
It scores 56 of 100. Grades: maintenance B, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to analyzing-cants-graphs?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
