How to set up Track CLI to work seamlessly with Claude Code via the personal skill system.
Claude Code Skills are modular capabilities that extend Claude's functionality. The track-cli skill teaches Claude how to:
- Automatically check project status at session start
- Create and update tracks as you work
- Maintain progress context across sessions
- Coordinate with other AI agents
-
Install track CLI globally:
npm install -g @lackeyjb/track-cli
-
Verify installation:
track --version
Option A: Copy Skill Files (Recommended for Testing)
# Create skill directory
mkdir -p ~/.claude/skills/track-cli
# Copy skill files from track-cli repo
cp -r track-cli-repo-path/docs/claude-skills/* ~/.claude/skills/track-cli/Option B: Create Symlink (For Development)
# Create skill directory
mkdir -p ~/.claude/skills/track-cli
# Symlink to skill files in track-cli repo
ln -s /absolute/path/to/track-cli/docs/claude-skills/* ~/.claude/skills/track-cli/-
Check skill files exist:
ls -la ~/.claude/skills/track-cli/You should see:
SKILL.md(main skill file)reference.md(detailed command reference)workflows.md(common patterns)schema.json(JSON schema)
-
Test in Claude Code:
# Start Claude Code in a test directory cd /path/to/test-project # Mention track CLI to trigger the skill # Ask Claude: "Check if there's a track project here"
Claude should automatically use the track-cli skill to check for a project.
The skill is configured to be proactive. Claude will automatically use it when:
-
Session Start:
- Claude detects you're in a project directory
- Automatically runs
track status --jsonto resume context - Reports current state and suggests next steps
-
Creating Work:
- You mention creating a feature or task
- Claude suggests using
track newto organize work - Creates appropriate hierarchy (features → tasks)
-
During Work:
- Claude updates tracks as work progresses
- Associates files with
--fileflag - Provides comprehensive summaries
-
Session End:
- Before concluding, Claude updates in-progress tracks
- Saves comprehensive summaries and clear next steps
- Ensures context is preserved for next session
You can also explicitly ask Claude to use track CLI:
"Create a track for the authentication feature"
"Update the login form track with our progress"
"Show me all in-progress tracks"
"What should I work on next?"
# 1. Navigate to your project
cd /path/to/your-project
# 2. Start Claude Code
claude
# 3. Ask Claude to initialize tracking
> "Initialize track CLI for this project"
# Claude will run: track init "Project Name"# 1. Start Claude Code in project directory
cd /path/to/your-project
claude
# 2. Claude automatically checks status
# Runs: track status --json
# Reports: "You have 2 in-progress tracks: ..."
# 3. Ask Claude to continue
> "Resume work on the login form"
# Claude reads track details and continues> "I want to add user authentication"
# Claude suggests structure:
# - Creates feature track: "User Authentication"
# - Suggests breaking into tasks:
# - Login Form
# - Logout Button
# - Session Management
# - Creates tracks with --parent relationships> "I need to stop for now"
# Claude automatically:
# 1. Gets all in-progress tracks
# 2. Updates each with comprehensive summary
# 3. Adds clear next steps
# 4. Confirms state savedEdit ~/.claude/skills/track-cli/SKILL.md to customize:
Change proactivity triggers:
description: Use track CLI ... PROACTIVELY check at session start...Restrict tools (optional):
allowed-tools: Bash, Read # Remove Grep if not neededChange model (optional):
model: haiku # Use faster, cheaper modelTo share the skill with your team, create a project-level skill:
# In your project repo
mkdir -p .claude/skills/track-cli
# Copy skill files
cp ~/.claude/skills/track-cli/* .claude/skills/track-cli/
# Commit to git
git add .claude/
git commit -m "Add track-cli skill for team"Team members will automatically use the skill when working in this project.
Check skill directory:
ls -la ~/.claude/skills/track-cli/Ensure SKILL.md exists and has valid YAML frontmatter.
Check SKILL.md syntax:
head -20 ~/.claude/skills/track-cli/SKILL.mdShould start with:
---
name: track-cli
description: ...
---Be explicit: Instead of: "What's the status?" Try: "Check track status"
Verify skill description: The description in SKILL.md should mention "PROACTIVELY" and "session start".
Verify track CLI is installed:
which track
track --versionCheck you're in a project directory:
track statusIf error "No project found", run track init.
Skill directory permissions:
chmod -R 755 ~/.claude/skills/track-cli/Track database permissions:
# Check .track/ ownership
ls -la .track/Multiple Claude Code sessions can work on same project:
Agent 1 (Feature A):
> "Work on authentication feature"
# Claude updates track abc123 with status: in_progressAgent 2 (Feature B - concurrent):
> "Work on dashboard feature"
# Claude updates track def456 with status: in_progress
# No conflict - different tracksWhen track-cli is updated with new features:
# Update skill files
cp track-cli-repo-path/docs/claude-skills/* ~/.claude/skills/track-cli/
# Claude will use updated skill on next invocation-
Let Claude be proactive:
- Don't manually run track commands unless needed
- Claude will handle status checks and updates
-
Trust the summaries:
- Claude generates comprehensive summaries
- Review periodically to ensure accuracy
-
Provide feedback:
- If Claude's summaries are too brief, ask for more detail
- If too verbose, ask for concise updates
-
Use for team projects:
- Commit
.claude/skills/to git - Team benefits from shared context
- Commit
- Read AGENTS.md for AI agent integration patterns
- Check examples/ai-agent-usage.md for complete examples
- Review commands.md for command details
When track-cli is published as a Claude Code plugin:
# Install via plugin system (future)
claude plugin install track-cli
# Plugin includes:
# - track CLI binary (or installation script)
# - Skill files (SKILL.md, reference.md, workflows.md)
# - Automatic setupStay tuned for plugin release!