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 comprehensive session management.

25 stars

Best use case

chronicle-workflow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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 comprehensive session management.

Teams using chronicle-workflow should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/chronicle-workflow/SKILL.md --create-dirs "https://raw.githubusercontent.com/ComeOnOliver/skillshub/main/skills/aiskillstore/marketplace/chandlerhardy/chronicle-workflow/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/chronicle-workflow/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How chronicle-workflow Compares

Feature / Agentchronicle-workflowStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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 comprehensive session management.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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:**
```bash
# 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):**
```bash
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):**
```bash
# 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):**
```bash
# 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):**
```python
# 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:**
```bash
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

Related Skills

step-functions-workflow

25
from ComeOnOliver/skillshub

Step Functions Workflow - Auto-activating skill for AWS Skills. Triggers on: step functions workflow, step functions workflow Part of the AWS Skills skill category.

sprint-workflow

25
from ComeOnOliver/skillshub

Execute this skill should be used when the user asks about "how sprints work", "sprint phases", "iteration workflow", "convergent development", "sprint lifecycle", "when to use sprints", or wants to understand the sprint execution model and its convergent diffusion approach. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

n8n-workflow-generator

25
from ComeOnOliver/skillshub

N8N Workflow Generator - Auto-activating skill for Business Automation. Triggers on: n8n workflow generator, n8n workflow generator Part of the Business Automation skill category.

jira-workflow-creator

25
from ComeOnOliver/skillshub

Jira Workflow Creator - Auto-activating skill for Enterprise Workflows. Triggers on: jira workflow creator, jira workflow creator Part of the Enterprise Workflows skill category.

building-gitops-workflows

25
from ComeOnOliver/skillshub

This skill enables Claude to construct GitOps workflows using ArgoCD and Flux. It is designed to generate production-ready configurations, implement best practices, and ensure a security-first approach for Kubernetes deployments. Use this skill when the user explicitly requests "GitOps workflow", "ArgoCD", "Flux", or asks for help with setting up a continuous delivery pipeline using GitOps principles. The skill will generate the necessary configuration files and setup code based on the user's specific requirements and infrastructure.

git-workflow-manager

25
from ComeOnOliver/skillshub

Git Workflow Manager - Auto-activating skill for DevOps Basics. Triggers on: git workflow manager, git workflow manager Part of the DevOps Basics skill category.

fathom-core-workflow-b

25
from ComeOnOliver/skillshub

Sync Fathom meeting data to CRM and build automated follow-up workflows. Use when integrating Fathom with Salesforce, HubSpot, or custom CRMs, or creating automated post-meeting email summaries. Trigger with phrases like "fathom crm sync", "fathom salesforce", "fathom follow-up", "fathom post-meeting workflow".

fathom-core-workflow-a

25
from ComeOnOliver/skillshub

Build a meeting analytics pipeline with Fathom transcripts and summaries. Use when extracting insights from meetings, building CRM sync, or creating automated meeting follow-up workflows. Trigger with phrases like "fathom analytics", "fathom meeting pipeline", "fathom transcript analysis", "fathom action items sync".

exa-core-workflow-b

25
from ComeOnOliver/skillshub

Execute Exa findSimilar, getContents, answer, and streaming answer workflows. Use when finding pages similar to a URL, retrieving content for known URLs, or getting AI-generated answers with citations. Trigger with phrases like "exa find similar", "exa get contents", "exa answer", "exa similarity search", "findSimilarAndContents".

exa-core-workflow-a

25
from ComeOnOliver/skillshub

Execute Exa neural search with contents, date filters, and domain scoping. Use when building search features, implementing RAG context retrieval, or querying the web with semantic understanding. Trigger with phrases like "exa search", "exa neural search", "search with exa", "exa searchAndContents", "exa query".

evernote-core-workflow-b

25
from ComeOnOliver/skillshub

Execute Evernote secondary workflow: Search and Retrieval. Use when implementing search features, finding notes, filtering content, or building search interfaces. Trigger with phrases like "search evernote", "find evernote notes", "evernote search", "query evernote".

evernote-core-workflow-a

25
from ComeOnOliver/skillshub

Execute Evernote primary workflow: Note Creation and Management. Use when creating notes, organizing content, managing notebooks, or implementing note-taking features. Trigger with phrases like "create evernote note", "evernote note workflow", "manage evernote notes", "evernote content".