AgentSkillsCN

buildai-procore

访问Procore建筑项目管理API(沙盒环境)。查询实时项目数据——包括项目、RFI、提交申请、预算、每日日志、变更订单、竣工项目、供应商、进度计划、文档等。

SKILL.md
--- frontmatter
name: buildai-procore
description: Access Procore construction project management API (sandbox). Query live project data — projects, RFIs, submittals, budgets, daily logs, change orders, punch items, vendors, schedules, documents.
metadata: {"clawdbot":{"emoji":"🏗️","requires":{"anyBins":["curl","jq"]}}}

BuildAI Procore Integration

Access Procore's construction management API for live project data.

Usage

Query an endpoint

bash
bash command:"cd /home/apoorvgarg/buildai/packages/engine/skills/buildai-procore && bash procore-api.sh projects"

Query with project scope

bash
bash command:"cd /home/apoorvgarg/buildai/packages/engine/skills/buildai-procore && bash procore-api.sh rfis 12345"

Check connection status

bash
bash command:"cd /home/apoorvgarg/buildai/packages/engine/skills/buildai-procore && bash procore-api.sh status"

Parameters

ArgumentRequiredDescription
$1YesEndpoint name (see below) or "status"
$2SometimesProject ID (required for project-scoped endpoints)

Available Endpoints

EndpointProject-scopedDescription
projectsNoList all projects
rfisYesRFIs for a project
submittalsYesSubmittals for a project
budgetYesBudget line items
daily_logsYesDaily logs
change_ordersYesChange order packages
punch_itemsYesPunch list items
vendorsYesVendors/subcontractors
scheduleYesSchedule tasks
documentsYesProject documents

Environment Variables

VariableRequiredDescription
PROCORE_CLIENT_IDYesOAuth2 client ID
PROCORE_CLIENT_SECRETYesOAuth2 client secret
PROCORE_REDIRECT_URINoOAuth redirect URI (default: http://localhost:3000/api/procore/callback)
PROCORE_COMPANY_IDNoProcore company ID for API header

Token Management

OAuth tokens are stored in .procore-tokens.json in the workspace root. The script auto-refreshes expired tokens.

To initiate OAuth:

bash
bash command:"cd /home/apoorvgarg/buildai/packages/engine/skills/buildai-procore && bash procore-auth.sh authorize"

This outputs a URL the user must visit to authorize. After callback, tokens are saved automatically.

Examples

bash
# List all projects
bash command:"... && bash procore-api.sh projects"

# Get RFIs for project 12345
bash command:"... && bash procore-api.sh rfis 12345"

# Check if Procore is connected
bash command:"... && bash procore-api.sh status"