بنقرة واحدة
setup
Configure Claude Office as your Claude Code statusline
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Configure Claude Office as your Claude Code statusline
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | setup |
| description | Configure Claude Office as your Claude Code statusline |
You are setting up the Claude Office statusline plugin. Follow these steps precisely:
Run bun --version to confirm Bun is available. This plugin requires Bun.
The plugin directory is the directory containing this skills/setup/SKILL.md file — two levels up from skills/setup/.
Verify by checking that package.json exists in that directory.
Store this absolute path as PLUGIN_DIR.
Run a quick test to verify it works:
echo '{}' | bun run PLUGIN_DIR/src/statusline/index.ts
It should produce output (possibly just a newline if no data is available). It must not error.
Read ~/.claude/settings.json and check if statusLine.command is already configured.
"You currently have
<existing command>configured as your statusline. Shall I replace it with Claude Office?" Wait for confirmation before proceeding. If the user declines, stop here.
Update ~/.claude/settings.json to set the statusline command. Read the file first, merge the new config, and write it back to preserve all existing settings:
{
"statusLine": {
"type": "command",
"command": "bun run PLUGIN_DIR/src/statusline/index.ts"
}
}
Replace PLUGIN_DIR with the actual absolute path found in Step 2.
Tell the user:
Claude Office statusline is now configured! It will appear at the bottom of your Claude Code sessions. You can switch back at any time by editing
~/.claude/settings.json.The statusline shows:
- Plan: Max, Pro, or Team
- Quota: 5-hour and 7-day rate limit utilization bars
- Costs: Today, week, and month estimated spend