LifeOS CLI for Openclaw

The LifeOS skill provides a config-aware, headless CLI tool to seamlessly read, query, and edit Obsidian PARA vaults, tasks, periodic notes, and AI Wiki topic pages directly from the terminal.

quanru
v1.0.0
Jul 17, 2026
0
442
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lifeos

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lifeos using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is LifeOS CLI?

The LifeOS skill integrates a powerful, headless command-line interface directly into AI workflows to manage an Obsidian knowledge base structured under the PARA (Projects, Areas, Resources, Archives) methodology. Operating independently of the Obsidian desktop application or Aino app, this Openclaw Skills resource communicates directly with vault folders. It automatically adapts to user-defined configurations, such as custom folder naming conventions, periodic note formats, and specific markdown section headers.

By leveraging this tool, AI coding agents and developers can maintain perfect synchronicity between local notes and automated workflows. The CLI ensures that any operations, whether rendering template-aware daily logs or executing complex keyword searches, perfectly mimic native application behavior. Additionally, it natively supports incremental maintenance of the LifeOS AI Wiki (.AI.md files) to synthesize information across topic indices seamlessly.

LifeOS CLI Use Cases

  • Automating morning reviews by pulling today's pending items and overdue tasks to append a structured plan into the daily note.
  • Performing quick capture journaling by dropping timestamped, tagged thoughts into specific note sections without opening a heavy UI.
  • Completing structural weekly, monthly, or yearly reviews by aggregating completed tasks and appending summary evaluations directly into periodic documents.
  • Generating and maintaining an automated AI Wiki page alongside core subject files to synthesize vault knowledge incrementally.
  • Searching and modifying tasks across thousands of markdown notes utilizing stable file-line references.

How LifeOS CLI Works

  1. Configuration Detection: The tool checks the local environment using resolution rules (from explicit parameters to environment variables) to find and load the active Obsidian vault configuration.
  2. Index Generation & Search: For task and tag queries, the CLI builds an ultra-fast in-memory index of the vault to accurately locate files, headings, and specific checklist states.
  3. Template Expansion: When creating periodic or theme notes, the engine reads existing user templates and expands dynamic snapshots, dates, or conditional blocks identically to the native note application.
  4. Targeted Writing & Appending: The system appends content safely by pinpointing specified markdown sections rather than arbitrarily dumping text at the end of files.
  5. AI Wiki Integration: It evaluates parent indices and appends change logs or lint reports directly into specific central tracking directories.

LifeOS CLI Setup

Confirm your vault settings and initialize Openclaw Skills commands using the following recipes:

# Verify your current vault configuration and active settings
npx -y @life-os/cli config

# View the authoritative list of available CLI commands and flags
px -y @life-os/cli help

# Install or synchronize the skill assets within your local vault directory
npx -y @life-os/cli skill install

LifeOS CLI Data Schema & Taxonomy

The skill interacts with a strict physical folder taxonomy and generates structured metadata formats. It processes both Time-based and Subject-based notes as follows:

Document Architecture

Note Type Target Paths / Formats Primary Responsibility
Periodic Notes Daily/, Weekly/, Monthly/, Quarterly/, Yearly/ Captures real-time tasks, time tracking, and short-to-long term goals.
Theme Notes (PARA) Configured folders (e.g., 1. Projects/, 2. Areas/) Collects domain-specific reference materials and actionable goals.
AI Wiki Pages {filename}.AI.md Provides a synthesized summary of what the vault knows about a sibling topic.

Metadata & Syntax Output

  • Inline Tasks: Structured as [ ] <text> (due YYYY-MM-DD !priority #tags) — <file>:<line>.
  • Theme Tags: Acts as the bidirectional index bridge linking daily captured thoughts back into major PARA topic files automatically.

LifeOS CLI Advanced Features

  • Template-Aware Creation: Automatically expands complex macro strings like {{snapshot:Project}} or {{if weekday}} natively during headless document initialization.
  • Section-Targeted Appending: Intelligently inserts text directly at the end of a targeted markdown header (e.g., 日常记录) rather than corrupting file structures.
  • Safe Write Enforcement: Restricts data writes to explicit paths or stable line references, eliminating accidental duplicate generation or content overwrites.
  • AI Wiki Automation Hooks: Includes purpose-built workflows to lint, ingest, and catalog central topic updates into 7 索引/AI Wiki 变更日志.md automatically.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*