Audit Report Daily logo

Audit Report Daily

Community
RickyTong1
audit-report-daily

基于 .claude/runs/ 目录的审计数据自动生成工作日报。日报每个数字都可追溯到审计记录。当用户说"生成日报"、"今天做了什么"、"写报告"、"总结一下今天的工作",或通过 cron 每日 08:03 自动触发时使用。

Overview

PublisherRickyTong1
Repositoryaudit-harness
Skill nameaudit-report-daily
Stars
467
Forks
3
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by RickyTong1 on GitHub. Read the source before you install it.

Installation

Install the Audit Report Daily AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/RickyTong1/audit-harness/tree/main/skills/audit-report-daily
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RickyTong1/audit-harness.git /tmp/audit-harness
mkdir -p .claude/skills
cp -r /tmp/audit-harness/skills/audit-report-daily .claude/skills/audit-report-daily
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Audit Report Daily in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Audit Report Daily on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Audit Report Daily is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/report-daily — 审计驱动工作日报

触发方式

/report-daily              # 生成今天的日报(截止到当前时刻)
/report-daily 20260319     # 生成指定日期的日报
/report-daily review       # 生成日报 + 晨间自我修正报告

数据源

日报的每个数字都有明确的数据源,不允许"凭记忆"填写。

所有数据来自 .claude/runs/ 目录:

日报板块数据源
任务总览.claude/runs/index.json
工具操作统计.claude/runs/*/audit_trail.jsonl 中的 tool 记录
变更记录.claude/runs/*/audit_trail.jsonl 中含 "change"/"prompt"/"edit" 的条目
[AUDIT] 块汇总.claude/runs/audit_pending.jsonl + 各 session 的 audit_trail
异常与告警.claude/runs/*/anomalies.json(如果存在)
用户反馈与修正audit_trail 中含 "user_correction" 的条目
昨日待办跟进前一天日报(.claude/runs/daily/ 下)

执行步骤

1. 收集数据

bash
target_date="${1:-$(date +%Y%m%d)}"

# 1. 读取 index.json,筛选 target_date 相关的 session
# 2. 逐个读取各 session 的 audit_trail.jsonl
# 3. 读取 audit_pending.jsonl(可能有未归档的最新数据)
# 4. 如果有前一天的日报,提取 §七 待办(用于跟进)

2. 生成日报

按以下结构填充,每个数字旁标注数据来源:

markdown
# 工作日报 | {DATE}

> 自动生成时间: {NOW}
> 数据来源: .claude/runs/index.json + 各 session audit_trail
> 覆盖时间段: {DATE} 00:00 — {DATE} 23:59

---

## 一、任务总览

| # | 类型 | session_id | 任务描述 | 状态 | 审计记录数 |
|---|------|-----------|---------|------|-----------|

> 来源: .claude/runs/index.json

---

## 二、操作统计

| 指标 | 数量 | 来源 |
|------|------|------|
| Write/Edit 操作 | {N} | audit_trail tool=Write/Edit |
| Bash 执行 | {N} | audit_trail tool=Bash |
| [AUDIT] 块 | {N} | audit_pending + audit_trail |

---

## 三、变更记录

| # | 时间 | 变更对象 | 变更内容 | 来源 |
|---|------|---------|---------|------|

> 从 audit_trail 和 audit_pending 中提取涉及文件修改的条目

---

## 四、用户反馈与修正

| # | 反馈内容 | 修正后 | 已固化到 |
|---|---------|-------|---------|

> 从 audit_trail 中提取 user_correction 类型条目

---

## 五、昨日待办跟进

| # | 昨日待办 | 今日状态 | 说明 |
|---|---------|---------|------|

---

## 六、明日待办

- [ ] ...

---

## 七、审计完整性

| 检查项 | 结果 |
|--------|------|
| 所有 session 有审计记录 | {结果} |
| [AUDIT] 块已持久化 | {结果} |
| 用户修正已固化 | {结果} |

3. 保存

bash
mkdir -p .claude/runs/daily
# 写入 .claude/runs/daily/{YYYYMMDD}_daily.md

4. 如果是 /report-daily review:晨间自我修正

在日报生成后,额外执行自我审视:

  1. 昨日异常是否都有处理方案?
  2. 用户反馈是否已转化为系统改进?
  3. 昨日待办是否都完成了?
  4. 生成修正报告:.claude/runs/daily/{YYYYMMDD}_morning_review.md
  5. 输出今日推荐优先级

注意事项

  • 如果某天没有任何 session 记录,生成空日报并标注"当日无活动"
  • 日报本身也应写一条 [AUDIT] 块
  • 历史日报不可修改(append-only),如有错误则发布更正日报
  • 日报中所有数字必须来自 .claude/runs/ 下的文件,禁止凭记忆填写

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Audit Report Daily AI skill do?

基于 .claude/runs/ 目录的审计数据自动生成工作日报。日报每个数字都可追溯到审计记录。当用户说"生成日报"、"今天做了什么"、"写报告"、"总结一下今天的工作",或通过 cron 每日 08:03 自动触发时使用。

Why use Audit Report Daily on TypingMind?

Because you install it once and use it with any model. Audit Report Daily is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Audit Report Daily in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/RickyTong1/audit-harness/tree/main/skills/audit-report-daily. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Audit Report Daily?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Audit Report Daily?

As many as you like. As long as a model supports skills, you can use Audit Report Daily with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Audit Report Daily AI skill free?

Yes. It is published on GitHub by RickyTong1 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇