p-daily-report

Use when reviewing what you worked on, creating standups, writing status updates, tracking daily/weekly progress, or asking "what did I do today"

12 stars

Best use case

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

Use when reviewing what you worked on, creating standups, writing status updates, tracking daily/weekly progress, or asking "what did I do today"

Teams using p-daily-report 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/p-daily-report/SKILL.md --create-dirs "https://raw.githubusercontent.com/jackchuka/skills/main/p-daily-report/SKILL.md"

Manual Installation

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

How p-daily-report Compares

Feature / Agentp-daily-reportStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use when reviewing what you worked on, creating standups, writing status updates, tracking daily/weekly progress, or asking "what did I do today"

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

# Daily Report Generator

<!-- skillctx:begin -->
## Setup
Locate this skill's directory (the folder containing this SKILL.md), then run the
resolver script from there:

```bash
python <skill-dir>/scripts/skillctx-resolve.py resolve p-daily-report
```

The resolver outputs each binding as `key: value` (one per line). Substitute each `{binding_key}` placeholder below with the resolved value.

If any values are missing or the user requests changes, use:
```bash
python <skill-dir>/scripts/skillctx-resolve.py set p-daily-report <key> <value>
```
<!-- skillctx:end -->

Generate activity reports from Claude Code conversation history, GitHub activity, and Slack messages.

**IMPORTANT output rule**: The generated report file must never mention "Claude", "Claude Code", "sessions", "history.jsonl", or any implementation details about how the data was gathered. The report should read as a clean, source-agnostic activity log. This rule applies only to the written output — these skill instructions may freely reference Claude internals.

## When to Use

- End of day/week summaries
- Standup prep
- Status updates for stakeholders
- Tracking accomplishments across projects

## Options

- `--days N` or number: Last N days (default: today)
- `--yesterday`: Yesterday only
- `--project NAME`: Filter by project
- `--summary`: Add project summary table

## Date Range Reference

Determine `{date}` and `{next_date}` from options. Get today's date with `date +%Y-%m-%d`.

| Option          | `{date}`   | `{next_date}` |
| --------------- | ---------- | ------------- |
| default (today) | today      | tomorrow      |
| `--yesterday`   | yesterday  | today         |
| `--days N`      | N days ago | tomorrow      |

## Steps

### Parallel Initialization

Before gathering data, check tool availability concurrently (parallelize if possible):

```bash
# Run all three concurrently
gh api /user --jq '.login'      # confirms gh is authenticated; capture as gh_user
gws calendar +agenda --today    # confirms gws is available (or note unavailable)
slack_read_user_profile          # confirms Slack MCP is connected (or note unavailable)
```

Use results to skip unavailable data sources in subsequent steps.

### Aggregate Claude Activity

**Location:** `{claude_history_path}`

If this file doesn't exist or is empty, skip this step and proceed to GitHub activity.

**Format:** JSONL with fields:

- `timestamp`: Unix milliseconds → convert to local date
- `project`: Full path → extract last segment as name
- `display`: User's message
- `sessionId`: Groups related work

#### Reading Entries

1. Get line count: `wc -l {claude_history_path}`
2. Read a generous buffer: `offset=(lines - 3000)` to cover ~2 weeks of activity
3. Filter entries by timestamp — convert `timestamp` (Unix ms) to local date, compare against target date range, discard entries outside the range

#### Extract GitHub Repos from Project Paths

Project paths using `ghq` convention contain the `owner/repo`:

```
/Users/*/ghq/github.com/{owner}/{repo} → {owner}/{repo}
```

Extract with pattern: match `github.com/` then take the next two path segments.

- Build a map of `owner/repo` → project display name
- Non-GitHub project paths (e.g., `~/notes/project-x`) have no repo — keep them for the report as local projects, skip them for GitHub queries

#### Filter Noise

Remove:

- Slash commands (`/clear`, `/model`, etc.)
- Single responses: "yes", "no", "1", "2", "a", "b"
- Empty/duplicate entries

#### Summarize by Session

Group same-sessionId entries into meaningful summaries:

| Raw Messages                       | Summary                      |
| ---------------------------------- | ---------------------------- |
| "fix lint", "yes", "run tests"     | Working on linting and tests |
| "implement X", "yes", "continue"   | Implementing X feature       |
| "investigate bug", "this error..." | Debugging issues             |

#### Categorize

Tag with: **feat**, **fix**, **refactor**, **docs**, **test**, **ci**, **plan**

---

Steps 2, 3, and 4 are independent data sources. Dispatch all three concurrently (parallelize if possible). Proceed to Output only after all three complete.

---

### Get GitHub Activity (parallelize if possible)

→ See `references/agent-gather-github-report.md`

If `gh` is not installed or not authenticated, skip this step and note in the report.

### Get Google Calendar (parallelize if possible)

→ See `references/agent-gather-calendar-report.md`

If `gws` is not installed, skip this step and omit the Calendar section from the report.

### Get Slack Activity (parallelize if possible)

→ See `references/agent-gather-slack-report.md`

If the Slack MCP server is not connected, skip this step and omit the Slack section from the report.

---

**SYNC: Proceed to Output only after all data gathering steps complete.**

**Deduplicate**: Before formatting, deduplicate across sources — the same PR may appear in both GitHub API results and Slack messages. Use PR URLs as primary keys to merge overlapping records.

---

### Output Format

```yaml
---
date: YYYY-MM-DD
type: daily-report
---
```

```markdown
# Daily Activity Report YYYY-MM-DD

## Calendar

- 14:30 Design review
- 16:00 1:1 with manager

## owner/repo-name

Implemented user authentication and fixed pagination bug. Added logout button
and improved empty state handling.

- PR #12 Add status line styles [merged]
- Review #45 Cleanup implementation [APPROVED]

## notebook

Worked on meeting notes and snippets conversion.

## Slack

- **#eng**: Discussed deployment rollback strategy and shared post-mortem findings
- **#project-x**: Reviewed design mockups and confirmed timeline for v2 launch

## Other Repositories

- Review myorg/repo#5 bump time dep [APPROVED]
- Issue myorg/other-repo#10 Bug report [open]
```

**Per-project format:**

1. **Summary** (required): 1-3 sentences synthesized from all sources (Claude history, commit messages, PR descriptions). Written as prose, no tags or prefixes. Captures _what you did_, not how the data was gathered.
2. **PRs and reviews** (optional): Listed below the summary only when they exist. No subheader — just the items. Format: `- PR #N title [state]` or `- Review owner/repo#N title [STATE]`.
3. If a project has no PRs or reviews, it's summary-only.

**Other rules:**

- Non-GitHub projects from Claude history use their directory name as the section header (e.g., "notebook").
- Items from GitHub that don't match any known project go under "Other Repositories".
- Omit any section that has no activity.
- No `[tag]` prefixes, no commit hashes, no "N commits pushed".

### Output Path

1. **Create date directory**: `mkdir -p {notebook_daily_dir}/YYYY-MM-DD/`
2. **Write report file**: `{notebook_daily_dir}/YYYY-MM-DD/report.md`
   - For multi-day reports: `{notebook_daily_dir}/YYYY-MM-DD/report-N-days.md`
3. **Summarize**: After writing, tell the user the file path and give a brief overview of what was captured.

## Summary Table (with --summary)

```markdown
| Project | Days Active | Activities | PRs | Reviews | Top Focus |
| ------- | ----------- | ---------- | --- | ------- | --------- |
| my-proj | 5           | 45         | 3   | 2       | feat, fix |
```

Related Skills

p-daily-standup

12
from jackchuka/skills

Aggregate previous business day activity and post standup update to Slack. Use when the user says "standup", "daily standup", "post status", "status update", or "/daily-standup".

p-daily-reflection

12
from jackchuka/skills

Reflect on past work and iterate to improve. Analyzes Claude sessions, GitHub, Slack, and Fireflies to generate a journal entry with actionable improvements. Updates persistent memory with confirmed learnings. Use when the user says "reflect", "reflection", "what can I improve", "retrospective", "review my work", or "/daily-reflection".

gh-issue-report

12
from jackchuka/skills

Investigate and file bug reports on GitHub repositories. Searches existing issues to avoid duplicates, checks contributing guides and issue templates, optionally confirms the bug in source code, and files a well-structured issue. Works on both local and remote repos. Triggers: "file a bug", "report issue", "is there a bug for", "check if reported", "investigate and file", "bug report on", "/gh-issue-report"

restaurant-search

12
from jackchuka/skills

Search for Japanese restaurants using the `hpp` CLI (HotPepper Gourmet API). Use when the user wants to find a restaurant, plan a dinner, search for izakayas, or book a group meal in Japan. Triggers on requests like "find a restaurant near Shibuya", "search for izakayas in 新宿", "restaurant for 10 people in 浜松町", "dinner spot near Tokyo station".

project-namer

12
from jackchuka/skills

Use when naming a project, repository, tool, or product and wanting a memorable, unique name

p-slack-triage

12
from jackchuka/skills

Scan Slack for messages needing your attention, walk through them one-by-one, and draft/send replies. Covers DMs, mentions, threads, and channel activity. Use when the user wants to triage Slack, check what needs attention, or draft replies. Triggers on "triage slack", "check slack", "what needs my attention on slack", "slack replies", "review slack messages", "/slack-triage".

p-news-briefing

12
from jackchuka/skills

Use when the user asks for news, wants a briefing, says "/news-briefing", or asks to aggregate recent information on any topic. Triggers on requests like "what's happening with AI", "get me news on crypto", "news briefing on climate".

p-md-to-slides

12
from jackchuka/skills

Convert a structured Markdown deck source into a styled Google Slides presentation. Use this skill when the user has a slide.md file (or wants to write one) and wants Google Slides output — talks, LT decks, lecture slides, conference presentations, internal explainers. Trigger phrases include "md からスライド作って", "slide.md を Google Slides にして", "発表資料を Google Slides で", "convert this markdown to slides", "build a Google Slides deck from this markdown", "make slides from md", "/md-to-slides", and similar. Also use when the user references a presentation/<date>/slide.md file structure with `## Slide N — title`, `**話すこと:**`, and `**スライド要素:**` sections.

p-ego-search

12
from jackchuka/skills

Search for mentions of you across Slack, Fireflies, and GitHub. Triggers on "egosearch", "/egosearch", "search for mentions of me", "who's talking about me".

p-blog-writer

12
from jackchuka/skills

Write blog posts in {user_name}'s voice with theoretical depth and persuasive arguments. Iterative workflow: intake → outline → section-by-section expansion → polish. Adapts to tool announcements, opinion pieces, deep-dives, and tutorials. Use when the user says "/blog-writer", "write a blog post", "draft an article about", "help me write about", or wants to create blog content.

p-blog-post-mining

12
from jackchuka/skills

Mine development activities for blog-worthy topics and create outlines. Analyzes Claude session history, GitHub commits/PRs, Slack discussions, and Fireflies meeting recordings to find interesting stories. Use when the user wants blog ideas, content inspiration, or asks "what can I write about", "find blog material", "blog ideas from my work", "/blog-post-mining".

p-activity-digest

12
from jackchuka/skills

Summarize recent communication activity from Slack and meeting recordings. Use when the user wants to know what happened on Slack, review meeting action items, find mentions, or get a communication summary. Triggers on "summarize Slack", "meeting action items", "what was discussed", "activity summary", "search my mentions", "highlight of the day", "/activity-digest".