A Claude Code plugin for trekker, the AI-optimized issue tracker. Provides MCP tools, slash commands, agents, and skills for seamless task management in Claude Code.
- trekker CLI installed globally
- Node.js 18+
- Claude Code CLI
npm install -g @obsfx/trekker# Add the trekker marketplace
claude /plugin marketplace add obsfx/trekker-claude-code
# Install the plugin
claude /plugin install trekkerOr in Claude Code interactive mode:
/plugin marketplace add obsfx/trekker-claude-code
/plugin install trekker
The MCP server is bundled with the plugin and auto-configured.
# Clone the repository
git clone https://github.com/obsfx/trekker-claude-code.git
# Symlink to Claude plugins directory
ln -s $(pwd)/trekker-claude-code ~/.claude/plugins/trekkercd your-project
trekker initThe MCP server exposes trekker functionality as tools:
| Category | Tool | Description |
|---|---|---|
| Task | trekker_task_create |
Create a new task |
| Task | trekker_task_list |
List tasks with filters |
| Task | trekker_task_show |
Show task details |
| Task | trekker_task_update |
Update task fields |
| Task | trekker_task_delete |
Delete a task |
| Epic | trekker_epic_create |
Create an epic |
| Epic | trekker_epic_list |
List epics |
| Epic | trekker_epic_show |
Show epic details |
| Epic | trekker_epic_update |
Update an epic |
| Epic | trekker_epic_delete |
Delete an epic |
| Subtask | trekker_subtask_create |
Create a subtask |
| Subtask | trekker_subtask_list |
List subtasks |
| Subtask | trekker_subtask_update |
Update a subtask |
| Subtask | trekker_subtask_delete |
Delete a subtask |
| Comment | trekker_comment_add |
Add a comment |
| Comment | trekker_comment_list |
List comments |
| Comment | trekker_comment_update |
Update a comment |
| Comment | trekker_comment_delete |
Delete a comment |
| Dependency | trekker_dep_add |
Add a dependency |
| Dependency | trekker_dep_remove |
Remove a dependency |
| Dependency | trekker_dep_list |
List dependencies |
| Search | trekker_search |
FTS5 full-text search |
| System | trekker_init |
Initialize trekker |
| System | trekker_quickstart |
Get workflow guide |
| System | trekker_wipe |
Wipe database |
| Command | Description |
|---|---|
/trekker:prime |
Load workflow context |
/trekker:create |
Interactive task creation |
/trekker:list |
List tasks with filters |
/trekker:show |
Show task details |
/trekker:ready |
Find unblocked work |
/trekker:start |
Begin working on a task |
/trekker:done |
Complete task with summary |
/trekker:blocked |
Mark task as blocked |
/trekker:epic |
Manage epics |
/trekker:comment |
Add comment to task |
/trekker:deps |
Manage dependencies |
/trekker:history |
View audit trail of changes |
/trekker:task-agent |
Run autonomous task agent |
The task agent (/trekker:task-agent) provides autonomous task completion:
- Discovery - Find ready tasks
- Engagement - Select and start a task
- Execution - Complete the work
- Documentation - Track progress and discoveries
- Closure - Add summary and mark complete
- Iteration - Move to next task
Invoke with /trekker:task-agent to let Claude work through tasks autonomously.
The plugin includes smart hooks for context management:
SessionStart - When Claude Code starts:
- Shows in-progress tasks with recent comments (resume context)
- If no work in progress, shows ready tasks
- Provides workflow reminder
PreCompact - Before context compaction:
- Reminds to save checkpoint comments
- Lists all in-progress tasks with details
- Shows recent comments for context preservation
- Provides checkpoint comment template
# Create a task
trekker task create -t "Implement feature X" -p 1
# Start working
trekker task update TREK-1 -s in_progress
# Add progress notes
trekker comment add TREK-1 -a "claude" -c "Progress: completed step 1"
# Complete with summary
trekker comment add TREK-1 -a "claude" -c "Summary: implemented X in files A, B"
trekker task update TREK-1 -s completedIn Claude Code:
/trekker:ready # Find tasks to work on
/trekker:start TREK-1 # Start a task
/trekker:done TREK-1 # Complete with summary
/trekker:history # View recent changes
Before ending a session or when prompted by PreCompact hook:
trekker comment add TREK-1 -a "claude" -c "Checkpoint: done X. Next: Y. Files: a.ts, b.ts"trekker-claude-code/
├── .claude-plugin/
│ ├── plugin.json # Plugin metadata and hooks
│ └── marketplace.json # Marketplace distribution config
├── mcp-server/
│ ├── src/
│ │ ├── index.ts # MCP server entry
│ │ ├── cli-runner.ts # CLI execution utility
│ │ ├── types.ts # TypeScript types
│ │ └── tools/ # MCP tool definitions
│ ├── package.json
│ └── tsconfig.json
├── commands/ # Slash command definitions (13 commands)
├── agents/
│ └── task-agent.md # Task completion agent
├── skills/
│ └── trekker/ # Trekker workflow skill
│ ├── SKILL.md
│ ├── README.md
│ └── CLAUDE.md
├── hooks/
│ ├── session-start.sh # SessionStart hook script
│ └── pre-compact.sh # PreCompact hook script
└── docs/
├── state-management.md # SQLite persistence and conflict handling
└── plans/ # Design documents
# Clone the repository
git clone https://github.com/obsfx/trekker-claude-code.git
cd trekker-claude-code
# Build MCP server
cd mcp-server
pnpm install
pnpm build
# Watch mode for development
pnpm dev- Verify trekker CLI is installed:
trekker --version - Check plugin is in correct location:
ls ~/.claude/plugins/trekker
- Verify plugin is installed:
ls ~/.claude/plugins/trekker - Check MCP server exists:
ls ~/.claude/plugins/trekker/mcp-server/dist/index.js - Restart Claude Code after installation
- Ensure hook scripts are executable:
chmod +x hooks/*.sh - Verify trekker is initialized in project:
ls .trekker
MIT