security-ownership-map

Analyzes git history to build a bipartite ownership graph of people and files.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/Gabrielloopes33/nexIA --skill security-ownership-map-gabrielloopes33
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-ownership-map
Source: https://github.com/Gabrielloopes33/nexIA/tree/main/.copilot/skills/security-ownership-map
Command: npx skills add https://github.com/Gabrielloopes33/nexIA --skill security-ownership-map-gabrielloopes33

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires networkx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The skill analyzes git history to build a security ownership topology (people-to-files), quantify bus factor and sensitive-code ownership, and export CSV/JSON artifacts ready for graph databases and visualization.

Core Features & Use Cases

  • Build a bipartite ownership graph from commit history to surface who touches which files and identify risk hotspots.
  • Compute ownership metrics such as bus factor and sensitive-touches, and compare against CODEOWNERS for drift detection.
  • Export artifacts (CSV/JSON/graph-friendly formats) for Neo4j or Gephi and support targeted queries via LLM tools.

Quick Start

Run the ownership map builder on your repository and generate the default outputs for analysis.

Frequently Asked Questions about security-ownership-map

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate bus factor and identify risk hotspots from git history?

To calculate bus factor from git history, this skill processes commit data to build a bipartite ownership graph of people-to-files, quantifying sensitive-code ownership and highlighting risk hotspots. It outputs CSV and JSON artifacts for downstream analysis.

How do I detect CODEOWNERS drift in a large monorepo?

Detecting CODEOWNERS drift involves analyzing commit history to map actual file ownership and comparing these relationships against your CODEOWNERS file. This skill computes ownership metrics to surface discrepancies and sensitive-touches in security-sensitive projects.

Can I export git commit ownership graphs to Neo4j or Gephi?

Yes, you can export git commit ownership graphs to Neo4j or Gephi. This skill generates graph-friendly CSV and JSON artifacts from commit history, allowing you to import the security ownership topology directly into visualization platforms.

Do I need Python 3 and networkx to analyze code ownership?

Yes, you need Python 3 and the networkx library to analyze code ownership. This skill relies on networkx to process git commits, build the bipartite ownership graph, and compute the security metrics required for your analysis.

What is a bipartite ownership graph and when do I need it for risk analysis?

A bipartite ownership graph maps relationships between people and files based on commit history. You need it for risk analysis when evaluating large monorepos or security-sensitive projects to identify sensitive-code ownership concentration and bus factor risks.