/pigment:setting-up-calendarfrom Pigment
Configures an application calendar including calendar type, fiscal year, date range, and time dimensions. Use when setting up a new Pigment application.
Ships in Pigment. 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.
Every Pigment application has a Calendar defining the time structure. Configure it immediately after creating the application and before creating any dimension or metric.
Use tool:calendar_get to read the current configuration, tool:calendar_create to create a new calendar, tool:calendar_expand to extend the date range, tool:calendar_add_time_dimension and tool:calendar_remove_time_dimension to adjust granularity.
Use tool:calendar_create to create the calendar once its type is chosen (see "Choose Calendar Type" below).
The calendar does not split actuals from plan. Model that split with a Version Dimension carrying a
Switchover Monthproperty plusIs_Actual/Is_Planmetrics — seeskill:building-versions-and-planning-cycles.
tool:calendar_create produces Private time dimension lists (Month, Quarter, Year). For a Hub application where calendars must be shared:
tool:calendar_get to retrieve the time dimension list IDs.tool:bulk_update_lists for all the time dimension lists, each with sharing_status: "Shared".This is separate from tool:batch_share_blocks which is for metrics and other blocks.
| Type | Periods | Use when |
|---|---|---|
| Gregorian | Month-based (Jan–Dec) | Standard financial planning, month/quarter/year reporting. Most common choice. |
| Weekly | Week-based | Operations or retail planning requiring week-level cycles. |
Gregorian supports all time dimensions: Day, Week, Month, Quarter, Half, Year. Weekly supports Week and Day only.
The fiscal year starting month determines how Year, Quarter, and Half periods align.
Impact:
TIMEDIM(..., 'Year') returns fiscal year itemsYEARTODATE resets at fiscal year startExample with April start: FY 2026 = April 2025 - March 2026; Q1 = Apr-Jun 2025.
Set the fiscal year start during initial setup. It can't be changed afterwards.
Common pattern: 3 years historical + 5 years forward = 8-year range.
Use tool:calendar_expand to extend the range later. Extending is safe; existing data is preserved. Shortening will result in data loss.
Include only the time dimensions you need. Each adds complexity and performance cost.
Default: enable Year, Quarter, and Month unless the user explicitly requests fewer. Quarter is essential for standard financial reporting and costs little in performance. Only omit Quarter if the user specifically says they do not need quarterly aggregation.
| Dimension | Granularity | Include when |
|---|---|---|
| Year | Annual | Always for any planning application |
| Half | Semi-annual | Mid-year reporting, strategic reviews |
| Quarter | Quarterly | Enable by default for any planning application |
| Month | Monthly | Required for Gregorian calendars; standard for FP&A |
| Week | Weekly | Operations, retail, capacity planning |
| Day | Daily | Detailed operational analysis, daily transaction tracking |
These repeat across years and enable pattern analysis:
| Dimension | Items | Use for |
|---|---|---|
| DayOfWeek | Mon–Sun | Weekday vs weekend patterns |
| MonthOfYear | Jan–Dec | Seasonal analysis across years |
| QuarterOfYear | Q1–Q4 | Quarterly pattern comparison |
| WeekOfYear | Week 1–53 | Week-based pattern analysis |
| HalfOfYear | H1, H2 | Semi-annual comparison |
Year → Half → Quarter → Month → Week → Day
Each level aggregates its children. This hierarchy powers CUMULATE, YEARTODATE, and TIMEDIM. Week may overlap month boundaries; Pigment handles this automatically.
skill:building-versions-and-planning-cycles), not by the calendar.skill:diagnosing-performance-issues).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gopigment/ai-plugins --plugin pigment39 skills in this plugin
/aggregating-view-dataExecution skill. Use when a View needs totals or subtotals, when a value must roll up with something other than Sum (average, min, max, count, last), when a snapshot metric adds up across time instead of holding, or when a ratio, percentage, margin, growth or variance metric is added to a Table View or shows a wrong total (e.g. a row for margin as a percent of revenue). Covers metric default aggregators, pivot versus hidden-dimension aggregation, the aggregator reference per value type, and Advanced Aggregators on Table Views./architecting-multi-application-solutionsPlanning skill. Use when deciding how to split work across Pigment applications, designing Hub-and-spoke data flows, or planning Test & Deploy across environments./Other plugins' skills for the same job