← 返回 Skills 市场
ckchzh

Habit

作者 BytesAgain2 · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
207
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install habit
功能描述
Build daily habits with streak tracking, reminders, and progress charts. Use when starting habits, maintaining streaks, or analyzing completion rates.
使用说明 (SKILL.md)

Habit

Take control of Habit with this productivity toolkit. Clean interface, local storage, zero configuration.

Why Habit?

  • Works entirely offline — your data never leaves your machine
  • Simple command-line interface, no GUI needed
  • Export to JSON, CSV, or plain text anytime
  • Automatic history and activity logging

Getting Started

# See what you can do
habit help

# Check current status
habit status

# View your statistics
habit stats

Commands

Command What it does
habit ingest Ingest
habit transform Transform
habit query Query
habit filter Filter
habit aggregate Aggregate
habit visualize Visualize
habit export Export
habit sample Sample
habit schema Schema
habit validate Validate
habit pipeline Pipeline
habit profile Profile
habit stats Summary statistics
habit export \x3Cfmt> Export (json
habit search \x3Cterm> Search entries
habit recent Recent activity
habit status Health check
habit help Show this help
habit version Show version
habit $name: $c entries
habit Total: $total entries
habit Data size: $(du -sh "$DATA_DIR" 2>/dev/null
habit Version: v2.0.0
habit Data dir: $DATA_DIR
habit Entries: $(cat "$DATA_DIR"/*.log 2>/dev/null
habit Disk: $(du -sh "$DATA_DIR" 2>/dev/null
habit Last: $(tail -1 "$DATA_DIR/history.log" 2>/dev/null
habit Status: OK
habit [Habit] ingest: $input
habit Saved. Total ingest entries: $total
habit [Habit] transform: $input
habit Saved. Total transform entries: $total
habit [Habit] query: $input
habit Saved. Total query entries: $total
habit [Habit] filter: $input
habit Saved. Total filter entries: $total
habit [Habit] aggregate: $input
habit Saved. Total aggregate entries: $total
habit [Habit] visualize: $input
habit Saved. Total visualize entries: $total
habit [Habit] export: $input
habit Saved. Total export entries: $total
habit [Habit] sample: $input
habit Saved. Total sample entries: $total
habit [Habit] schema: $input
habit Saved. Total schema entries: $total
habit [Habit] validate: $input
habit Saved. Total validate entries: $total
habit [Habit] pipeline: $input
habit Saved. Total pipeline entries: $total
habit [Habit] profile: $input
habit Saved. Total profile entries: $total

Data Storage

All data is stored locally at ~/.local/share/habit/. Each action is logged with timestamps. Use export to back up your data anytime.

Feedback

Found a bug or have a suggestion? Let us know: https://bytesagain.com/feedback/


Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
This skill appears internally consistent and operates entirely on local files under ~/.local/share/habit; it does not request credentials or perform network activity in the parts shown. Before installing or executing: (1) inspect the full scripts/script.sh file in the repository to verify there are no hidden network calls or unexpected commands (the provided listing was truncated in the manifest), (2) decide where/if you want habit placed on your PATH (there's no automatic installer), and (3) be aware it will create and append to log files in ~/.local/share/habit — back up or review those files if they will contain sensitive notes. If you need higher assurance, run the script in a sandbox or examine the complete file history on the upstream repository before use.
功能分析
Type: OpenClaw Skill Name: habit Version: 2.0.0 The Habit skill is a basic command-line logging utility designed to track habit-related activities locally. The shell script (scripts/script.sh) manages simple text-based logs in the user's local share directory (~/.local/share/habit/) and provides functions for searching, statistics, and exporting data to JSON/CSV/TXT formats without any network activity, unauthorized file access, or suspicious execution logic.
能力评估
Purpose & Capability
Name/description (habit tracking, streaks, reminders, exports) match the included script and SKILL.md. The script implements a CLI that reads/writes logs under $HOME/.local/share/habit and provides export/stats/search functionality; no unrelated credentials, binaries, or cloud access are requested.
Instruction Scope
SKILL.md instructs the agent/user to run the habit CLI commands and describes local data storage and exports. The runtime instructions and the script operate on local files only and do not ask the agent to read unrelated system files, environment secrets, or send data externally.
Install Mechanism
There is no install spec (instruction-only), but a scripts/script.sh is included. This is low risk, but it means the skill expects the script to be run manually or placed on PATH; it will not automatically install itself. Confirm how the agent will execute the script in your environment (manual install vs. auto-run).
Credentials
The skill requires no environment variables or credentials. The script uses HOME to build a per-user data directory (~/.local/share/habit), which is proportional to its purpose and not sensitive.
Persistence & Privilege
The skill is not always-enabled, does not request elevated privileges, and only persists user data under its own directory. It does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install habit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /habit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Domain-specific upgrade
元数据
Slug habit
版本 2.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Habit 是什么?

Build daily habits with streak tracking, reminders, and progress charts. Use when starting habits, maintaining streaks, or analyzing completion rates. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 207 次。

如何安装 Habit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install habit」即可一键安装,无需额外配置。

Habit 是免费的吗?

是的,Habit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Habit 支持哪些平台?

Habit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Habit?

由 BytesAgain2(@ckchzh)开发并维护,当前版本 v2.0.0。

💬 留言讨论