Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计通过

life-capture生活捕捉

Agent Skill

life-capture 用于处理数据库查询、表结构、迁移和数据维护任务,适合在 OpenClaw 中需要分析 schema、编写 SQL 或排查数据问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,579

周安装

319

GitHub Stars

公开资料未说明

下载量

2,654
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:life-capture(生活捕捉)
来源仓库:https://github.com/epitomizelu/life-capture
安装命令:
openclaw skills install life-capture
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install life-capture

简介

将生活笔记自动转为 Markdown 与 SQLite 数据库存储。

  • 支持费用、任务、日程等条目录入与结构化归档。life-capture 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 可查询历史记录、统计支出或导出报表供后续分析。
  • 数据库文件默认存于本地,建议定期备份防止丢失。
  • 字段结构固定,复杂需求需自定义 schema 扩展。

SKILL.md

name
life-capture
description
capture daily-life notes into markdown and sqlite. use when the user wants to record one or more life entries such as expenses, completed tasks, schedules, reminders, or ideas; classify the content; generate tags; parse natural language into structured json; write a daily markdown note under life/daily; and sync structured fields into a local sqlite database. triggers include short single-line entries, mixed sentences containing multiple record types, or requests to log and organize personal information for later review and reporting.

life-capture

Turn natural-language life logs into durable records. This skill classifies each input item, generates tags, creates user-visible markdown, writes to a daily note under life/daily, and syncs structured data into life/db/life.db.

Default storage layout

Use these paths unless the user explicitly overrides them:

life/
  daily/
  ideas/
  db/life.db

Create missing directories as needed. Never delete existing content. Append or update only.

Supported record types

Map every parsed item to exactly one primary type:

  • expense: spending, bills, purchases, subscriptions, refunds
  • task: completed tasks, ongoing work, todos, chores, habits
  • schedule: calendar items, appointments, time blocks, plans
  • idea: ideas, inspiration, possible projects, reflections worth saving

When a sentence contains multiple items, split it into multiple records.

Output contract

For each user request:

  1. Parse the message into one or more records.
  2. Generate a stable id for each record using the pattern:

- exp_YYYYMMDD_NNN - task_YYYYMMDD_NNN - sched_YYYYMMDD_NNN - idea_YYYYMMDD_NNN

  1. Generate 1 to 4 short tags.
  2. Show the user the organized result in markdown.
  3. Save the records by running scripts/process_entry.py.

Always keep the original user wording in raw_text. Never invent missing fields. Leave unknown fields null.

User-visible response format

Because this skill is configured for visible output, show a concise but complete result after writing:

## 已整理记录

### 1) <type label>
- ID: <id>
- 标签: #a #b
- 归档: <daily markdown path>
- 数据库: <written/skipped>

#### Markdown
<the markdown block written for this item>

#### JSON

<the parsed record json>

If there are multiple records, repeat the block for each one.

Parsing rules

Use scripts/parse_entries.py for natural-language parsing. The parser now reads configurable rules from references/parser_config.json, so prefer editing that file instead of changing Python when you need new categories, tags, or keyword mappings.

Expense

Extract when present:

  • amount
  • currency (default CNY only when the currency symbol or language implies RMB; otherwise null)
  • category
  • subcategory
  • merchant
  • pay_method

Default top-level tags often include 开销 plus one semantic tag such as 餐饮 or 交通.

Preferred categories:

  • 饮食
  • 交通
  • 购物
  • 居家
  • 社交
  • 娱乐
  • 医疗
  • 学习
  • 其他

Task

Extract when present:

  • status (todo, doing, done, cancelled)
  • priority (low, normal, high)
  • project
  • due_date
  • completed_at

If the user says they already did something, default status to done.

Schedule

Extract when present:

  • schedule_date
  • start_time
  • end_time
  • location
  • status (planned, done, skipped)

If the user uses relative dates, resolve them from the current conversation date. Prefer passing --today YYYY-MM-DD to scripts/process_entry.py or scripts/parse_entries.py so relative dates like 明天 are stable across environments.

Idea

Extract when present:

  • idea_type
  • status (captured, reviewing, used, archived)
  • related_task_id

Default status to captured.

Configurable parsing rules

Before editing Python, check whether the change can be made in references/parser_config.json.

You can change:

  • category and subcategory mappings for expenses
  • task project mappings
  • idea type mappings
  • schedule extra tag mappings
  • default tags by record type
  • hint regexes used in type inference

To test a modified config without changing the bundled default file:

python scripts/parse_entries.py --config /path/to/custom_config.json --text "买咖啡 18 元,明天下午两点去体检"

Markdown writing rules

Write each record into the daily note for its effective date under one of these sections:

  • ## 开销
  • ## 任务
  • ## 日程
  • ## 灵感

Use this block structure:

### <id>
- 时间:<time or empty>
- 标签:#tag1 #tag2
- 原始描述:<raw_text>
- 摘要:<summary>

Then add type-specific fields:

  • Expense: 金额 / 币种 / 分类 / 子分类 / 商家 / 支付方式
  • Task: 状态 / 优先级 / 项目 / 截止日期 / 完成时间
  • Schedule: 日期 / 开始时间 / 结束时间 / 地点 / 状态
  • Idea: 类型 / 状态 / 关联任务

Execution workflow

End-to-end one-command flow

Use this when the user provides natural language and wants the records saved immediately:

python scripts/process_entry.py --root life --db life/db/life.db --today 2026-03-10 --text "今天中午牛肉面 26 元,下午整理了书桌,想到可以做一个生活数据看板"

The wrapper script will:

  1. initialize the database if missing
  2. parse text into {"records": [...]} with scripts/parse_entries.py
  3. save markdown and sqlite rows with scripts/save_entry.py
  4. print parsed records plus save results as json

Split-step flow

Use this when the user asks to inspect or verify the structured output before writing:

python scripts/parse_entries.py --text "明天下午两点去体检,买咖啡 18 元"

Then save:

python scripts/save_entry.py --root life --db life/db/life.db --stdin-json

Database init only

Use this once before first write if life/db/life.db does not exist and you are not using process_entry.py:

python scripts/init_db.py --db life/db/life.db

Database sync rules

The database design is:

  • entries
  • expenses
  • tasks
  • schedules
  • ideas
  • tags
  • entry_tags

See references/schema.md for the schema, references/examples.md for sample payloads and commands, and references/configuration.md plus references/parser_config.json for configurable parsing rules.

Failure handling

  • If markdown write succeeds but database sync fails, say so clearly.
  • Do not silently drop a record.
  • If parsing is ambiguous, make the narrowest safe interpretation and preserve the original text.
  • If a record is missing a critical type-specific field, still save the record with null fields rather than discarding it.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.73%
按下载量换算2,222

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills