/bamboohr-pack:bamboohr-core-workflow-bfrom bamboohr-pack
Manages BambooHR time off requests, PTO balances, benefits administration, and employee files/photos via the API.
Ships in bamboohr-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Secondary BambooHR workflows covering time off requests, PTO balance tracking, employee file management, photos, goals, and training records.
bamboohr-install-auth setupBambooHRClient from bamboohr-sdk-patterns// GET /time_off/requests/?start=YYYY-MM-DD&end=YYYY-MM-DD
const requests = await client.request<any[]>(
'GET',
`/time_off/requests/?start=2026-03-01&end=2026-03-31&status=approved`,
);
for (const req of requests) {
console.log(`${req.employeeId}: ${req.start} to ${req.end} (${req.type.name})`);
console.log(` Status: ${req.status.status} | ${req.amount.amount} ${req.amount.unit}`);
}
Time off request response shape:
[
{
"id": "100",
"employeeId": "123",
"status": { "status": "approved", "lastChanged": "2026-03-15" },
"name": "Jane Smith",
"start": "2026-03-20",
"end": "2026-03-22",
"type": { "id": "1", "name": "Vacation" },
"amount": { "unit": "days", "amount": "3" },
"notes": { "employee": "Spring break trip", "manager": "" },
"dates": {
"2026-03-20": "1", "2026-03-21": "1", "2026-03-22": "1"
}
}
]
// PUT /employees/{id}/time_off/request
await fetch(`${BASE}/employees/123/time_off/request`, {
method: 'PUT',
headers: { Authorization: AUTH, 'Content-Type': 'application/json' },
body: JSON.stringify({
status: 'requested',
start: '2026-04-15',
end: '2026-04-18',
timeOffTypeId: 1, // 1 = Vacation, varies by company
amount: 4,
notes: { employee: 'Family vacation' },
dates: {
'2026-04-15': '1',
'2026-04-16': '1',
'2026-04-17': '1',
'2026-04-18': '1',
},
previousRequest: 0,
}),
});
// PUT /time_off/requests/{requestId}/status
await fetch(`${BASE}/time_off/requests/100/status`, {
method: 'PUT',
headers: { Authorization: AUTH, 'Content-Type': 'application/json' },
body: JSON.stringify({
status: 'approved', // or 'denied', 'canceled'
note: 'Approved. Enjoy your trip!',
}),
});
// GET /employees/{id}/time_off/calculator?end=YYYY-MM-DD
const balances = await client.request<any>(
'GET',
`/employees/123/time_off/calculator?end=2026-12-31`,
);
// Returns balances for each time off type
for (const [typeId, balance] of Object.entries(balances)) {
const b = balance as any;
console.log(`${b.name}: ${b.balance} days remaining (accruing ${b.accrualRate}/period)`);
}
// GET /meta/time_off/types — list all time off types
const types = await client.request<Record<string, any>>(
'GET', '/meta/time_off/types',
);
for (const [id, type] of Object.entries(types)) {
console.log(`Type ${id}: ${(type as any).name}`);
}
// GET /time_off/policies — list all time off policies
const policies = await client.request<any[]>('GET', '/meta/time_off/policies');
for (const policy of policies) {
console.log(`Policy: ${policy.name} (${policy.type})`);
}
// GET /employees/{id}/files/view — list all files for an employee
const files = await client.request<{ categories: any[] }>(
'GET', `/employees/123/files/view`,
);
for (const category of files.categories) {
console.log(`Category: ${category.name}`);
for (const file of category.files || []) {
console.log(` ${file.name} (${file.originalFileName}) — ${file.createdDate}`);
}
}
// GET /employees/{id}/files/{fileId}/ — download a specific file
// Returns binary file content
const fileRes = await fetch(`${BASE}/employees/123/files/42/`, {
headers: { Authorization: AUTH },
});
const fileBuffer = await fileRes.arrayBuffer();
// POST /employees/{id}/files — upload a new file
const formData = new FormData();
formData.append('file', new Blob([fileContent]), 'offer-letter.pdf');
formData.append('fileName', 'Offer Letter 2026');
formData.append('category', 'Unsigned Documents');
await fetch(`${BASE}/employees/123/files`, {
method: 'POST',
headers: { Authorization: AUTH },
body: formData,
});
// GET /employees/{id}/photo/small — get employee photo (small, medium, large, original)
const photoRes = await fetch(`${BASE}/employees/123/photo/small`, {
headers: { Authorization: AUTH },
});
// Returns image binary (JPEG/PNG)
// POST /employees/{id}/photo — upload a new photo
const photoForm = new FormData();
photoForm.append('file', photoBlob, 'headshot.jpg');
await fetch(`${BASE}/employees/123/photo`, {
method: 'POST',
headers: { Authorization: AUTH },
body: photoForm,
});
// GET /v1/performance/employees/{id}/goals — list goals for an employee
const goals = await client.request<{ goals: any[] }>(
'GET', `/v1/performance/employees/123/goals`,
);
for (const goal of goals.goals) {
console.log(`${goal.title} — ${goal.percentComplete}% (${goal.status})`);
}
// GET /training/record/{employeeId} — get training records
const training = await client.request<any[]>(
'GET', `/training/record/123`,
);
for (const record of training) {
console.log(`${record.type}: completed ${record.completedDate}`);
}
| Error | Cause | Solution |
|---|---|---|
| 400 on time off create | Missing required date fields | Include start, end, dates object |
| 403 on file download | Key lacks file access | Use API key with file permissions |
| 404 on time off type | Invalid timeOffTypeId | Fetch valid types from /meta/time_off/types |
| 409 on overlapping request | Existing request for same dates | Check existing requests first |
For common errors and debugging, see bamboohr-common-errors.
What SKILL.md sets; muted values are Claude Code's defaults
18 skills in this plugin
/bamboohr-ci-integrationConfigure CI/CD pipelines for BambooHR integrations with GitHub Actions,
automated testing, and secret management.
Use when setting up automated testing, configuring CI pipelines,
or integrating BambooHR API tests into your build process.
Trigger with phrases like "bamboohr CI", "bamboohr GitHub Actions",
"bamboohr automated tests", "CI bamboohr", "bamboohr pipeline".
/bamboohr-common-errorsDiagnose and fix BambooHR API errors and exceptions.
Use when encountering BambooHR errors, debugging failed requests,
or troubleshooting HTTP 400/401/403/404/429/500/503 responses.
Trigger with phrases like "bamboohr error", "fix bamboohr",
"bamboohr not working", "debug bamboohr", "bamboohr 401", "bamboohr 429".
/bamboohr-core-workflow-aExecute BambooHR primary workflows: employee CRUD, directory sync, and custom reports.
Use when managing employees, syncing employee data to external systems,
or building HR data pipelines with BambooHR.
Trigger with phrases like "bamboohr employees", "bamboohr employee management",
"sync bamboohr directory", "bamboohr custom report", "add employee bamboohr".
/bamboohr-cost-tuningOptimize BambooHR integration costs through request reduction, caching,
and usage monitoring. Use when analyzing API usage patterns, reducing
unnecessary calls, or implementing request budgets.
Trigger with phrases like "bamboohr cost", "bamboohr usage",
"reduce bamboohr calls", "bamboohr optimization", "bamboohr budget".
/bamboohr-debug-bundleCollect BambooHR debug evidence for support tickets and troubleshooting.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic information for BambooHR API problems.
Trigger with phrases like "bamboohr debug", "bamboohr support bundle",
"collect bamboohr logs", "bamboohr diagnostic", "bamboohr troubleshoot".
/bamboohr-deploy-integrationDeploy BambooHR integrations to Vercel, Fly.io, and Cloud Run platforms.
Use when deploying BambooHR-powered applications to production,
configuring platform-specific secrets, or setting up deployment pipelines.
Trigger with phrases like "deploy bamboohr", "bamboohr Vercel",
"bamboohr production deploy", "bamboohr Cloud Run", "bamboohr Fly.io".
npx claudepluginhub flight505/skill-forge --plugin bamboohr-packOther plugins' skills for the same job