Contributing Skills banner
trailofbits trailofbits

Contributing Skills

Development community intermediate

Description

Contributing Skills skill

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

Repository README

This is the README for trailofbits/skills, shared by 13 entries in this directory. It describes the repository, not this entry specifically.

Contributing Skills

Resources

**Official Anthropic documentation (always check these first):**

**Reference skills** - learn by example at different complexity levels:

Complexity Skill What It Demonstrates
Basic ask-questions-if-underspecified Minimal frontmatter, simple guidance
Intermediate constant-time-analysis Python package, references/, language-specific docs
Advanced culture-index Scripts, workflows/, templates/, PDF extraction, multiple entry points

**When in doubt, copy one of these and adapt it.**

**Deep dives on skill authoring:**

**Example plugins worth studying:**

**For Claude:** Use the `claude-code-guide` subagent for plugin/skill questions - it has access to official documentation.

Technical Reference

Codex Compatibility

This repository now supports both Claude plugin discovery and Codex-native skill discovery.

Rules:

  • If a plugin adds skills//SKILL.md, it must also remain reachable through .codex/skills/.
  • If a plugin is command/hook/agent-only and has no skills/ directory, add an explicit Codex wrapper skill under .codex/skills//SKILL.md or document why no Codex equivalent is intended.
  • Before submitting, run:
python3 .github/scripts/validate_codex_skills.py
  • If this check fails in CI, the remediation path should be local and mechanical: run the installer or update the .codex/skills/ mapping, then commit the resulting changes.

Plugin Structure

plugins/
  /
    .claude-plugin/
      plugin.json         # Plugin metadata (name, version, description, author)
    commands/