From procore-pack
Provides Python patterns for Procore REST API integration with OAuth2 auth to handle construction project data, RFIs, and submittals.
How this skill is triggered — by the user, by Claude, or both
Slash command
/procore-pack:procore-data-handlingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Implementation patterns for Procore data handling using the REST API with OAuth2 authentication.
Implementation patterns for Procore data handling using the REST API with OAuth2 authentication.
procore-install-auth setupimport 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())}")
| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Expired token | Re-authenticate |
| 429 Rate Limited | Too many requests | Implement backoff |
| 403 Forbidden | Insufficient permissions | Check project role |
See related Procore skills for more workflows.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin procore-packImplements Procore REST API integration in Python with OAuth2 authentication for construction project management, RFIs, and submittals.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.