一键导入
configure
Configure Claude Office display options (layout, presets, display elements)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure Claude Office display options (layout, presets, display elements)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | configure |
| description | Configure Claude Office display options (layout, presets, display elements) |
You are configuring the Claude Office statusline display. The config file lives at ~/.claude/plugins/claude-office/config.json.
Read ~/.claude/plugins/claude-office/config.json. If it does not exist or is empty JSON, this is a new user — follow Flow A. If it has content, this is a returning user — follow Flow B.
Ask the user:
How should the statusline be laid out?
- Expanded (recommended) — costs on line 1, quota bars on line 2
- Compact — everything on a single line
Ask the user:
Pick a preset to start from:
- Full — all features enabled (quota bars, current context, all costs, saving, tools, agents, todos)
- Minimal — just the basics (5h quota, current context, today cost, saving)
Show the user which elements are ON based on their chosen preset, then ask:
Want to turn anything OFF? Select any you'd like to hide:
- 5h quota bar (
showQuota5h)- 7d quota bar (
showQuota7d)- Current Context bar (
showContext)- Today cost (
showToday)- Week cost (
showWeek)- Month cost (
showMonth)- Monthly Saving indicator (
showSaving)- Tools activity (
showTools)- Agents status (
showAgents)- Todo progress (
showTodos)
Allow multiple selections or "none".
Show the user which elements are currently OFF, then ask:
Want to turn anything ON? Select any you'd like to show:
List only the elements that are currently OFF. Allow multiple selections or "none".
Show a preview of what the statusline will look like with their config, using a text mockup like:
Line 1: Max Today $3.40 Week $22 Monthly Saving +$180
Line 2: 5h ●●○○○○○○○○ 15% 7d ●●○○○○○○○○ 21% Current Context ●●●○○○○○○○ 34%
(Adjust based on which elements are enabled and the chosen layout.)
Ask: Does this look good? Save it?
If yes, write the config file. If no, restart from A1.
Read the config file and display the current settings in a summary table:
| Setting | Value |
|---|---|
| Layout | expanded/compact |
| Preset | full/minimal/custom |
| 5h quota | on/off |
| ... | ... |
Ask the user:
What would you like to change?
- Turn off elements — hide specific features
- Turn on elements — show specific features
- Change layout — switch between expanded/compact
- Reset to preset — start fresh from a preset
- Done — keep current settings
After each action, show updated preview (same as A5) and confirm save.
The config file is JSON at ~/.claude/plugins/claude-office/config.json:
{
"preset": "full",
"display": {
"lineLayout": "expanded",
"showQuota5h": true,
"showQuota7d": true,
"showContext": true,
"showToday": true,
"showWeek": true,
"showMonth": true,
"showSaving": true,
"showTools": true,
"showAgents": true,
"showTodos": true
}
}
Rules:
preset is always saved to indicate the starting point.display contains only overrides from the preset defaults. If a value matches the preset default, omit it from display to keep the file clean.lineLayout in display since it's the user's explicit layout choice.showPlan is always true and not configurable — the plan name always shows.~/.claude/plugins/claude-office/ directory exists before writing (create it if needed).After saving, tell the user:
Configuration saved! Your changes will take effect immediately.
You can re-run
/claude-office:configureanytime to adjust settings.