Security Ownership Map skill for Claude
Analyze git repositories to build a security ownership topology (people-to-file), compute bus factor and sensitive-code ownership, and export CSV/JSON for graph databases and visualization. Trigger only when the user explicitly wants a security-oriented ownership or bus-factor analysis grounded in git history (for example: orphaned sensitive code, security maintainers, CODEOWNERS reality checks for risk, sensitive hotspots, or ownership clusters). Do not trigger for general maintainer lists or non-security ownership questions.
Security Ownership Map SKILL.md
A preview of the skill file from openai/skills.
Security Ownership Map
Overview
Build a bipartite graph of people and files from git history, then compute ownership risk and export graph artifacts for Neo4j/Gephi. Also build a file co-change graph (Jaccard similarity on shared commits) to cluster files by how they move together while ignoring large, noisy commits.
Requirements
- Python 3
networkx(required; community detection is enabled by default)
Install with:
pip install networkx
Workflow
- Scope the repo and time window (optional
--since/--until). - Decide sensitivity rules (use defaults or provide a CSV config).
- Build the ownership map with
scripts/run_ownership_map.py(co-change graph is on by default; use--cochange-max-filesto ignore supernode commits). - Communities are computed by default; graphml output is optional (
--graphml). - Query the outputs with
scripts/query_ownership.pyfor bounded JSON slices. - Persist and visualize (see
references/neo4j-import.md).
How to install Security Ownership Map
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit openai/skills/skills/.curated/security-ownership-map#main ~/.claude/skills/security-ownership-mapCodex
npx degit openai/skills/skills/.curated/security-ownership-map#main ~/.codex/skills/security-ownership-mapClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Security Ownership Map skill do?
Analyze git repositories to build a security ownership topology (people-to-file), compute bus factor and sensitive-code ownership, and export CSV/JSON for graph databases and visualization. Trigger only when the user explicitly wants a security-oriented ownership or bus-factor analysis grounded in git history (for example: orphaned sensitive code, security maintainers, CODEOWNERS reality checks for risk, sensitive hotspots, or ownership clusters). Do not trigger for general maintainer lists or non-security ownership questions.
+How do I install Security Ownership Map in Claude Code?
Copy the skill folder into ~/.claude/skills/security-ownership-map, for example with "npx degit openai/skills/skills/.curated/security-ownership-map#main ~/.claude/skills/security-ownership-map". Claude Code loads it automatically and uses it when a task matches.
+Does Security Ownership Map work with ChatGPT or Codex?
Yes. Security Ownership Map uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/security-ownership-map. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Security Ownership Map free?
Security Ownership Map is published on GitHub by openai. The repository does not declare a license, so check with the author before reusing it.