{
  "schema_version": "2026-03-26",
  "id": "llm-patterns",
  "slug": "llm-patterns",
  "display_name": "LLM Patterns",
  "description": "LLM application workflow skill. Use this skill when a user needs robust patterns for tool use, structured outputs, fallback paths, or agent behavior.",
  "version": "0.0.1",
  "category": "ai-agents",
  "raw_category": "ai-agents",
  "taxonomy": {
    "raw_category": "ai-agents",
    "canonical_category": "ai-agents",
    "inferred_category": "ai-agents",
    "category_source": "frontmatter"
  },
  "tags": [
    "llm",
    "agents",
    "tool-use",
    "structured-output",
    "reliability",
    "orchestration"
  ],
  "complexity": "advanced",
  "risk": "safe",
  "source": "omni-team",
  "author": "Omni Skills Team",
  "dates": {
    "added": "2026-03-27",
    "updated": "2026-03-27"
  },
  "entrypoint": "skills/llm-patterns/SKILL.md",
  "paths": {
    "root": "skills/llm-patterns",
    "manifest": "dist/manifests/llm-patterns.json",
    "metadata": "skills/llm-patterns/metadata.json"
  },
  "compatibility": {
    "tools": [
      "claude-code",
      "cursor",
      "gemini-cli",
      "codex-cli",
      "antigravity",
      "opencode"
    ],
    "install_targets": [
      {
        "tool": "claude-code",
        "scope": "user-global",
        "default_path": "~/.claude/skills",
        "installer_flag": "--claude",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": ">> /skill-name help me..."
      },
      {
        "tool": "cursor",
        "scope": "user-global",
        "default_path": "~/.cursor/skills",
        "installer_flag": "--cursor",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "@skill-name"
      },
      {
        "tool": "gemini-cli",
        "scope": "user-global",
        "default_path": "~/.gemini/skills",
        "installer_flag": "--gemini",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "Use @skill-name to..."
      },
      {
        "tool": "codex-cli",
        "scope": "user-global",
        "default_path": "~/.codex/skills",
        "installer_flag": "--codex",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "Use @skill-name to..."
      },
      {
        "tool": "antigravity",
        "scope": "user-global",
        "default_path": "~/.gemini/antigravity/skills",
        "installer_flag": "--antigravity",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "Use @skill-name to... (Agent Mode)"
      },
      {
        "tool": "opencode",
        "scope": "project-local",
        "default_path": ".opencode/skills",
        "installer_flag": "--opencode",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "opencode run @skill-name"
      }
    ]
  },
  "resources": {
    "sub_resources": [
      "agents",
      "examples",
      "references",
      "scripts"
    ],
    "artifacts_count": 8,
    "references_count": 3,
    "agents_count": 1,
    "assets_count": 0
  },
  "dependencies": {
    "skills": [],
    "external": []
  },
  "install": {
    "strategy": "copy-skill-directory",
    "current_installer": "npx omni-skills installs the full library by default today, and also supports selective installation with --skill and --bundle.",
    "recipes": [
      {
        "tool": "claude-code",
        "command": "npx omni-skills --claude",
        "scope": "user-global",
        "default_path": "~/.claude/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "cursor",
        "command": "npx omni-skills --cursor",
        "scope": "user-global",
        "default_path": "~/.cursor/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "gemini-cli",
        "command": "npx omni-skills --gemini",
        "scope": "user-global",
        "default_path": "~/.gemini/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "codex-cli",
        "command": "npx omni-skills --codex",
        "scope": "user-global",
        "default_path": "~/.codex/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "antigravity",
        "command": "npx omni-skills --antigravity",
        "scope": "user-global",
        "default_path": "~/.gemini/antigravity/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "opencode",
        "command": "npx omni-skills --opencode",
        "scope": "project-local",
        "default_path": ".opencode/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      }
    ]
  },
  "classification": {
    "maturity": {
      "skill_level": 3,
      "skill_level_label": "resources",
      "has_scripts": true,
      "has_extra_files": true
    },
    "best_practices": {
      "score": 99,
      "tier": "excellent",
      "signals": {
        "workflow_steps_count": 5,
        "workflow_section_length": 659,
        "when_to_use_section_length": 274,
        "best_practices_items_count": 5,
        "best_practices_section_length": 380,
        "troubleshooting_items_count": 0,
        "troubleshooting_section_length": 885,
        "resources_items_count": 5,
        "resources_section_length": 307,
        "examples_section_length": 1259,
        "examples_code_blocks_count": 8,
        "related_skills_section_length": 271,
        "decision_assets_count": 14,
        "table_count": 7,
        "linked_resource_families_count": 4,
        "linked_resource_families": [
          "agents",
          "examples",
          "references",
          "scripts"
        ],
        "support_links_count": 5,
        "support_files_count": 6,
        "references_files_count": 3,
        "scripts_files_count": 1,
        "examples_files_count": 1,
        "agents_files_count": 1,
        "assets_files_count": 0,
        "tools_count": 6,
        "tags_count": 6,
        "body_density": 6.41
      }
    },
    "quality": {
      "score": 97,
      "tier": "platinum",
      "breakdown": {
        "body": 16,
        "description": 10,
        "metadata": 12,
        "recency": 8,
        "resources": 10,
        "best_practices": 10,
        "semantic_depth": 16,
        "operational_depth": 10,
        "support_pack": 10
      }
    },
    "security": {
      "score": 95,
      "tier": "review",
      "status": "passed",
      "findings_count": 0,
      "findings": [],
      "signals": {
        "scanned_files": 7,
        "script_files": 1,
        "binary_like_files": 0
      },
      "scanners": {
        "static": {
          "enabled": true,
          "status": "completed"
        },
        "clamav": {
          "enabled": true,
          "status": "completed",
          "provider": "clamav",
          "detections": [],
          "infected_files": 0
        },
        "virustotal": {
          "enabled": true,
          "status": "completed",
          "provider": "virustotal",
          "lookups": 1,
          "positives": 0,
          "results": [
            {
              "path": "skills/llm-patterns/scripts/render_pattern_review.py",
              "sha256": "7408271f1c8cc353646bbcddaa487cf0e8d690de48f74fc81e52a150663ce35d",
              "status": "not_found"
            }
          ],
          "details": "Hash lookups only. Unknown files are not uploaded during validation."
        }
      }
    },
    "validation": {
      "errors": [],
      "warnings": [],
      "status": "passed"
    }
  },
  "content": {
    "body_length": 5749,
    "content_length": 6261,
    "body_lines": 119,
    "word_count": 763,
    "has_code_blocks": true,
    "typed_code_blocks_count": 2,
    "has_examples_section": true,
    "example_count": 4,
    "has_workflow_section": true,
    "has_when_to_use_section": true,
    "has_best_practices_section": true,
    "has_troubleshooting_section": true,
    "problem_count": 3,
    "troubleshooting_pairs_count": 2,
    "has_additional_resources_section": true,
    "has_related_skills_section": true,
    "related_skills_count": 3,
    "has_local_support_links": true,
    "local_support_links_count": 4,
    "has_local_script_example": true,
    "local_script_example_count": 1,
    "semantic_signals": {
      "workflow_steps_count": 5,
      "workflow_section_length": 659,
      "when_to_use_section_length": 274,
      "best_practices_items_count": 5,
      "best_practices_section_length": 380,
      "troubleshooting_items_count": 0,
      "troubleshooting_section_length": 885,
      "resources_items_count": 5,
      "resources_section_length": 307,
      "examples_section_length": 1259,
      "examples_code_blocks_count": 8,
      "related_skills_section_length": 271,
      "decision_assets_count": 14,
      "table_count": 7,
      "linked_resource_families_count": 4,
      "linked_resource_families": [
        "agents",
        "examples",
        "references",
        "scripts"
      ],
      "support_links_count": 5,
      "support_files_count": 6,
      "references_files_count": 3,
      "scripts_files_count": 1,
      "examples_files_count": 1,
      "agents_files_count": 1,
      "assets_files_count": 0,
      "tools_count": 6,
      "tags_count": 6,
      "body_density": 6.41
    }
  },
  "artifacts": [
    {
      "path": "skills/llm-patterns/SKILL.md",
      "kind": "entrypoint",
      "size_bytes": 6277,
      "sha256": "6edeedf6a69d888e04d83a91416675c799ec91de096a64dba85f520aaaa97bbc"
    },
    {
      "path": "skills/llm-patterns/metadata.json",
      "kind": "support",
      "size_bytes": 6035,
      "sha256": "25a2092b362802aa5f11891d91fa0ff2a3d6496570c5d55811c8e8895286467b"
    },
    {
      "path": "skills/llm-patterns/agents/openai.yaml",
      "kind": "agent",
      "size_bytes": 256,
      "sha256": "f46475c971da53bc5bafb9b84be37490d85ca3ae68b6cc097a5c8ca80bc09998"
    },
    {
      "path": "skills/llm-patterns/examples/task-state-matrix.md",
      "kind": "support",
      "size_bytes": 476,
      "sha256": "7cfd35605674b68f636d01f65573bf005c829402b27a8d2db97c5dfbc137af64"
    },
    {
      "path": "skills/llm-patterns/references/approval-boundary-worksheet.md",
      "kind": "reference",
      "size_bytes": 237,
      "sha256": "65d4f4e5004da276a73f3915bba413a7697d032248510fe6c2c1394ff83474e0"
    },
    {
      "path": "skills/llm-patterns/references/checklist.md",
      "kind": "reference",
      "size_bytes": 1048,
      "sha256": "ac44bfb810c89b097f7e071e71fc0b8483d67261026a2e86b46d9894abc43ec8"
    },
    {
      "path": "skills/llm-patterns/references/failure-mode-rubric.md",
      "kind": "reference",
      "size_bytes": 474,
      "sha256": "cdac5ebf2b24cc0a283db9b54a8c0eafa330d87b1ce3de0a30f9feeb8027325f"
    },
    {
      "path": "skills/llm-patterns/scripts/render_pattern_review.py",
      "kind": "support",
      "size_bytes": 1064,
      "sha256": "7408271f1c8cc353646bbcddaa487cf0e8d690de48f74fc81e52a150663ce35d"
    }
  ],
  "archives": [
    {
      "format": "zip",
      "path": "dist/archives/llm-patterns.zip",
      "file_name": "llm-patterns.zip",
      "size_bytes": 17099,
      "sha256": "d48b375031536510e89d28d5b3a403357eca9f527e8f4cdb1c425b5f5244b455",
      "signature": {
        "status": "signed",
        "path": "dist/archives/llm-patterns.zip.sig",
        "sha256": "78672b3e3f11db1082655fb00444a23023b7a6efd19e125fce2028b3cbfd06df",
        "public_key_path": "dist/signing/omni-skills-public.pem",
        "algorithm": "sha256",
        "verify_command": "openssl dgst -sha256 -verify dist/signing/omni-skills-public.pem -signature dist/archives/llm-patterns.zip.sig dist/archives/llm-patterns.zip"
      }
    },
    {
      "format": "tar.gz",
      "path": "dist/archives/llm-patterns.tar.gz",
      "file_name": "llm-patterns.tar.gz",
      "size_bytes": 30743,
      "sha256": "f9e8527eeeb942d5799169791499e568028a742b7007243b62dbe4677e8b833e",
      "signature": {
        "status": "signed",
        "path": "dist/archives/llm-patterns.tar.gz.sig",
        "sha256": "8bc9ceddf31305beb0230c5c9fc8815373e2a2e5c7bf2e2331714aa9d8b83c34",
        "public_key_path": "dist/signing/omni-skills-public.pem",
        "algorithm": "sha256",
        "verify_command": "openssl dgst -sha256 -verify dist/signing/omni-skills-public.pem -signature dist/archives/llm-patterns.tar.gz.sig dist/archives/llm-patterns.tar.gz"
      }
    }
  ],
  "archive_checksums": {
    "path": "dist/archives/llm-patterns.checksums.txt",
    "file_name": "llm-patterns.checksums.txt",
    "sha256": "18fa1e2e4fc8a2e2bfd32d1878400ebb007d0d9c3a0f02fdd251705199e15c27",
    "signature": {
      "status": "signed",
      "path": "dist/archives/llm-patterns.checksums.txt.sig",
      "sha256": "091c1c5b2291cbf37e1728d5f7d161a87fd19df5f13064fc54804611843b5098",
      "public_key_path": "dist/signing/omni-skills-public.pem",
      "algorithm": "sha256",
      "verify_command": "openssl dgst -sha256 -verify dist/signing/omni-skills-public.pem -signature dist/archives/llm-patterns.checksums.txt.sig dist/archives/llm-patterns.checksums.txt"
    }
  },
  "checksums": {
    "entrypoint_sha256": "6edeedf6a69d888e04d83a91416675c799ec91de096a64dba85f520aaaa97bbc",
    "package_sha256": "a5df84ae9c9afce573c8c7bdd9d813b95e9c66d6d9bb73ec3eea2a1d65d6c6dd"
  }
}
