SecurityOfficial · openai

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

  1. Scope the repo and time window (optional --since/--until).
  2. Decide sensitivity rules (use defaults or provide a CSV config).
  3. Build the ownership map with scripts/run_ownership_map.py (co-change graph is on by default; use --cochange-max-files to ignore supernode commits).
  4. Communities are computed by default; graphml output is optional (--graphml).
  5. Query the outputs with scripts/query_ownership.py for bounded JSON slices.
  6. Persist and visualize (see references/neo4j-import.md).

Read the full SKILL.md on GitHub →

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-map

Codex

npx degit openai/skills/skills/.curated/security-ownership-map#main ~/.codex/skills/security-ownership-map

Claude.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.

Related security skills

  1. Security Review

    Official

    Security code review for vulnerabilities. Use when asked to "security review", "find vulnerabilities", "check for security issues", "audit…

    getsentry/skills★ 1.2k
  2. Audit

    a user-authored audit skill

    pbakaus/impeccable★ 112k
  3. Semgrep

    Official

    Runs a Semgrep security scan over a codebase: detects languages, selects rulesets, presents the plan for explicit approval, then runs every…

    trailofbits/skills★ 8.3k
  4. Security Threat Model

    Official

    Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and…

    openai/skills★ 29k
  5. Aflpp

    Official

    Sets up and runs AFL++ for multi-core fuzzing of C/C++ projects built with afl-clang-fast or afl-gcc-fast.

    trailofbits/skills★ 8.3k
  6. Agentic Actions Auditor

    Official

    Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI…

    trailofbits/skills★ 8.3k
  7. Algorand Vulnerability Scanner

    Official

    Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field…

    trailofbits/skills★ 8.3k
  8. Audit Augmentation

    Official

    Augments Trailmark code graphs with external audit findings from SARIF static analysis results, weAudit annotation files, and version-gated…

    trailofbits/skills★ 8.3k
  9. Audit Context Building

    Official

    Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere.

    trailofbits/skills★ 8.3k

See all security skills →

More skills from openai

  1. Sentry

    Official

    Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the…

    openai/skills★ 29k
  2. Skill Creator

    Official

    Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that…

    openai/skills★ 29k

All skills by openai →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.