Skip to content
chronicle-workflow logo

Chronicle Workflow

chronicle-workflow

Complete workflow for tracking development work with Chronicle - session recording, git tracking, AI summarization, and Obsidian documentation. Works with CLI commands (portable) or MCP tools (faster). Use when starting a new development session, setting up project tracking, or when user wants co...

SKILL.md

Full skill instructions

Chronicle Workflow

This skill guides you through the complete Chronicle workflow for tracking and documenting development work. Primarily uses CLI commands for portability, with optional MCP tools for faster programmatic access.

Auto-Activation

This skill auto-activates! (Milestone #13)

Prompts like "start a new session" or "is this tracked?" automatically trigger this skill. No manual loading needed!

Trigger patterns: start session, is this tracked, chronicle workflow, setup See: docs/​HOOKS.md for full details

When to Use This Skill

Use this skill when:

  • User is starting a new development session
  • Setting up Chronicle for the first time
  • Want to ensure all work is being tracked
  • Need guidance on Chronicle best practices
  • Building a comprehensive development knowledge base

Complete Workflow

1. Session Start (If Not Already Tracking)

Check if in Chronicle session:

  • Current session is likely NOT being tracked unless started with chronicle start claude
  • To track current work, user must exit and restart with Chronicle

Guide user:

# Exit current session
exit

# Start new Chronicle-tracked session
chronicle start claude

# Or for other tools:
chronicle start gemini

Important: Chronicle sessions must be started explicitly - they don't auto-track.

2. During Development

Best Practices:

  • Work naturally - Chronicle captures everything automatically
  • Make frequent git commits with descriptive messages
  • Chronicle links commits to sessions automatically (±30 min window)

Available Commands (don't interrupt work to run these):

chronicle sessions              # List recent sessions
chronicle show today           # See today's commits
chronicle timeline today       # Combined view

3. Session End

Automatic on Exit:

  • Full transcript captured to ~/​.ai-session/​sessions/​session_N.log
  • Metadata saved (duration, timestamp, repo)
  • Session record created in database

What happens:

📊 Session #{id} complete! Duration: {minutes} minutes
💾 Full transcript saved
✨ Use 'chronicle session {id}' to view

4. Post-Session Documentation

Generate Summary (Automatic on first view):

# View session and auto-generate summary
chronicle session {id}

# For very large sessions (>50K lines)
chronicle summarize-chunked {id}

Document to Obsidian: Use the chronicle-session-documenter skill or manually:

"Document session {id} to my Obsidian vault"

5. Retrieval & Context

Find Past Work: Use the chronicle-context-retriever skill:

"How did I implement authentication last time?"
"What was the blocker with database migrations?"
"Show me all work on the API refactor"

Browse Sessions (CLI):

# Filter by repo
chronicle sessions --repo /​path/​to/​project

# View timeline
chronicle timeline week

# Search sessions
chronicle search "authentication" --limit 5

Browse Sessions (MCP - if available):

# Faster programmatic access
sessions = mcp__chronicle__get_sessions(repo_path="/​path/​to/​project", limit=20)
results = mcp__chronicle__search_sessions(query="authentication", limit=5)

Workflow Patterns

Pattern 1: Quick Feature Work

1. chronicle start claude
2. [Make changes, commit]
3. exit
4. [Summary auto-generates on next view]

Pattern 2: Multi-Session Project

1. chronicle start claude (Day 1)
2. [Work, commit]
3. exit
4. Document to Obsidian
5. chronicle start claude (Day 2)
6. "What did I do yesterday?" (retrieves context)
7. [Continue work]

Pattern 3: Research & Context

1. "Show me all sessions about X" (context retriever)
2. Review past approaches and decisions
3. chronicle start claude
4. [Implement with informed approach]

Multi-Project Tracking

Automatic Detection:

  • Sessions detect working directory and git repo
  • Stored in database for filtering

Filter by Project:

chronicle sessions --repo /​path/​to/​project
chronicle timeline today --repo /​path/​to/​project
chronicle summarize today --repo /​path/​to/​project

Key Features to Highlight

Chunked Summarization

  • Handles sessions of unlimited size
  • Tested with 83,000+ line sessions
  • Uses rolling summaries (10,000 lines/​chunk)
  • No rate limit issues

Obsidian Integration

  • Full MCP server integration
  • Create structured session notes
  • Search past work
  • Build knowledge graph
  • Wikilinks between sessions/​commits/​repos

Local-First

  • Everything stored locally (~/​.ai-session/)
  • SQLite database
  • No data leaves your machine (except AI summarization)

Common Questions

Q: "Is this session being tracked?" A: Only if started with chronicle start claude. Must be explicit.

Q: "Can I track a session retroactively?" A: No - must start with Chronicle from the beginning.

Q: "How do I see what I did yesterday?" A: Use chronicle timeline yesterday or search Obsidian vault

Q: "How do I link commits to sessions?" A: Automatic! Commits within ±30 minutes of session are linked.

Database Location

All data stored at:

~/​.ai-session/
├── sessions.db              # Main database
├── sessions/
│   ├── session_N.log       # Transcripts
│   └── session_N.meta      # Metadata
└── config.yaml             # Configuration

Pro Tips

  1. Start Chronicle early - Can't retroactively track
  2. Commit frequently - Better session-commit linking
  3. Document important sessions - Build knowledge base in Obsidian
  4. Search before building - Use context retriever to avoid repeating work
  5. Use tags in Obsidian - Makes finding past work easier
  6. Review summaries - Helps remember key decisions

Integration with Other Skills

  • Use chronicle-session-documenter after completing sessions
  • Use chronicle-context-retriever when starting related work
  • Combine with git workflows for comprehensive tracking

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View