ontoly-software-graph
What it does
This skill lets an AI agent answer questions about how a software project is built, using a prebuilt map of its code. It is for developers reviewing architecture or planning changes.
When to use it
- ✓When you want to understand how a software project is structured.
- ✓When you need to trace how a request moves through the code.
- ✓When you plan a refactor and want to see what it might affect.
Skill link
https://github.com/anbeime/skill/blob/main/skills/ontoly-software-graph/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Using the code map, show me which services depend on the payments module before I refactor it.”
5 new skills a week. 1 minute to read.
How it works
It checks for an existing Ontoly graph, uses its tools to answer questions with cited evidence, and searches source files only when the graph cannot help.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Ontoly Software Graph
Use this skill when a coding agent needs evidence-backed software understanding from an Ontoly graph before searching repository files directly.
When to Use
- Explaining a repository architecture
- Tracing a request, route, controller, service, or dependency path
- Finding owners of services, modules, routes, configuration, or environment variables
- Reviewing dependency impact before a refactor
- Auditing dead code, cycles, unresolved imports, graph quality, or semantic coverage
- Preparing documentation, onboarding notes, or architecture review from graph evidence
Required Workflow
Check whether an Ontoly graph already exists by looking for
.ontoly/,SoftwareGraph.json,diagnostics.json, validation reports, or an Ontoly MCP configuration.If no graph exists and the user permits local analysis, run:
ontoly build .Inspect graph health before answering: diagnostics, graph hash, semantic coverage, trust or quality score, framework detection, and generation timestamp.
Prefer Ontoly CLI or MCP capabilities for graph questions instead of scanning source files first.
Use repository search only when Ontoly cannot answer, the graph is stale, the graph is incomplete, or the user explicitly asks for source-level verification.
Always cite graph evidence in the answer: node IDs, edge types, file paths, source locations, diagnostics, or framework analyzer output.
State confidence from graph evidence. Do not guess confidence.
Useful Ontoly Capabilities
ExplainArchitecturefor repository and package topologyFindDependenciesfor dependency trees and direct consumersImpactAnalysisfor refactor blast radiusTraceExecutionfor request, route, and call-flow tracingFindConfigurationUsagefor configuration and environment variable usageFrameworkReportfor detected framework concepts such as modules, controllers, providers, and routesFindDeadCodefor unreachable or unused graph regions
Answer Shape
When answering, include:
- the direct answer
- graph evidence
- confidence
- diagnostics or caveats
- fallback source inspection only if needed
Example:
AuthController handles authentication.
Evidence:
- node: class:src/auth/auth.controller.ts:AuthController
- route edges: HANDLES POST /login, POST /logout
- dependency edges: USES AuthService, JwtService
Confidence: high, because the graph has controller, route, and dependency edges with source locations.
Fallback Rules
- If the graph is missing, build it first when allowed.
- If graph validation fails, report the failure and use source search only to verify the affected area.
- If multiple nodes match the same name, ask for disambiguation or show the candidates with package/module context.
- If the requested concept is not in the graph, return
NOT_FOUNDwith the closest graph evidence instead of inventing an answer.
FAQ
What if I do not have a graph yet?
If you allow it, the skill can build one locally with the ontoly command.
Will the answers point to real code?
Yes, the skill asks the agent to cite node IDs, connection types and file paths from the graph.
Can it find unused code?
Yes, it covers audits of dead code, dependency cycles and unresolved imports.
Details
Original description by the author
Use Ontoly's deterministic Software Graph and MCP capabilities for architecture review, request tracing, dependency analysis, configuration lookup, and impact analysis before falling back to source-file search.
repo: anbeime/skill
Popularity
- GitHub stars
- 9.0k
- Ranking position
- #12314
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
archify
9.0kHelps your agent create clear architecture, workflow and flow diagrams as standalone web pages that you can explore and export as images.
email-concierge
9.0kHelps your agent check your inbox, sort mail, draft replies and queue messages for approval, with the AI running on your own computer.
ip-as-logo
9.0kHelps your agent create simple, cute character images, such as an animal or robot, that work as a small logo or mascot for a product.
photo-abstract-editorial
9.0kHelps your agent turn one photo into a clean editorial artwork that keeps the photo intact and adds a restrained abstract panel below it.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.