Agent skill
work-item
Update the current work item displayed in the status line. Use when you want to set or analyze what task is being worked on. Triggers on "/work-item", "update work item", "set current task", or "what am I working on".
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/work-item-tracker-orient-bot-orient
SKILL.md
Work Item Tracker
Updates the current work item displayed in the Claude Code status line.
Usage
/work-item- Analyze conversation and auto-detect current task/work-item "Custom description"- Set a specific work item manually
How It Works
The work item is displayed in the status line between the git branch and model name, giving you constant visibility into what task Claude is tracking.
Instructions
When this skill is invoked:
If an argument is provided (e.g., /work-item "Adding dark mode")
- Extract the argument text (remove surrounding quotes if present)
- Write it directly to the cache file:
bash
echo "Adding dark mode" > ~/.claude/work-item-cache.txt - Confirm to the user: "Work item updated to: Adding dark mode"
If no argument is provided (e.g., just /work-item)
- Analyze the recent conversation context to determine the current task
- Generate a concise summary (max 25 characters) that describes what's being worked on
- Use action-oriented phrasing like:
- "Adding user auth"
- "Fixing API bug"
- "Refactoring tests"
- "Implementing search"
- Write the summary to the cache file:
bash
echo "Your summary here" > ~/.claude/work-item-cache.txt - Confirm to the user: "Work item updated to: [summary]"
Cache File Location
~/.claude/work-item-cache.txt
This file is:
- Initialized to "New session" when a Claude Code session starts
- Updated when this skill is invoked
- Read by the statusLine command to display the current work item
Example Status Line Output
orient | dev | Adding user auth | opus | ctx: 15%
Tips
- Run
/work-itemperiodically when switching tasks - Use custom descriptions when auto-detection doesn't capture the right context
- Keep descriptions short - they're truncated to 30 characters in the status line
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?