Claude-code-plugins-plus procore-debug-bundle

install
source · Clone the upstream repo
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jeremylongshore/claude-code-plugins-plus-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/saas-packs/procore-pack/skills/procore-debug-bundle" ~/.claude/skills/jeremylongshore-claude-code-plugins-plus-procore-debug-bundle && rm -rf "$T"
manifest: plugins/saas-packs/procore-pack/skills/procore-debug-bundle/SKILL.md
source content

Procore Debug Bundle

Overview

Implementation patterns for Procore debug bundle using the REST API with OAuth2 authentication.

Prerequisites

  • Completed
    procore-install-auth
    setup

Instructions

Step 1: API Call Pattern

import os, requests

token_resp = requests.post("https://login.procore.com/oauth/token", data={
    "grant_type": "client_credentials",
    "client_id": os.environ["PROCORE_CLIENT_ID"],
    "client_secret": os.environ["PROCORE_CLIENT_SECRET"],
})
access_token = token_resp.json()["access_token"]
headers = {"Authorization": f"Bearer {access_token}"}

companies = requests.get("https://api.procore.com/rest/v1.0/companies", headers=headers)
print(f"Companies: {len(companies.json())}")

Output

  • Procore API integration for debug bundle

Error Handling

ErrorCauseSolution
401 UnauthorizedExpired tokenRe-authenticate
429 Rate LimitedToo many requestsImplement backoff
403 ForbiddenInsufficient permissionsCheck project role

Resources

Next Steps

See related Procore skills for more workflows.