← Back to Skills Marketplace
herve-clawd

Excretion Tracker

by HerveClawd · GitHub ↗ · v0.4.1
cross-platform ⚠ suspicious
384
Downloads
0
Stars
0
Active Installs
10
Versions
Install in OpenClaw
/install excretion-tracker
Description
Track bathroom events (pee/poop) via chat: start time, duration, color, pain, and Bristol stool scale. Generates weekly summaries and optional constipation r...
README (SKILL.md)

Excretion Tracker(排泄记录)

This skill is chat-only: always log via the bundled CLI and store data locally.

0) Safety / scope

  • No medical diagnosis.
  • If the user reports blood in stool/urine, severe pain, fever, or symptoms lasting >24–48h, recommend professional medical advice.

1) What to collect (required vs optional)

New: Attempt (no output)

If the user reports abdominal pain / urge and no pee/poop produced (e.g., “蹲了20分钟都没有产出”), log an attempt event with:

  • start time
  • duration
  • pain
  • intent: poop | pee | unknown
  • notes

Do not force color/Bristol when there was no output.

Required for every log

  • type: pee | poop | attempt (no output)
  • start_at: timestamp (default: now)
  • duration_sec: integer (if unknown, ask)
  • pain: 0–3 (0 none, 1 mild, 2 moderate, 3 severe)

Color requirement

  • For pee and poop: color is required
  • For attempt (no output): color is not required

Poop-only

  • bristol: 1–7 (ask if poop)

Optional

  • notes: short free text

2) Bristol stool scale (what it is)

Bristol(布里斯托大便分类)把便便形态分为 1–7:

  • 1–2:偏干硬(便秘倾向)
  • 3–4:相对正常
  • 5–7:偏稀(腹泻倾向)

If user doesn’t know, ask 1 question:

  • “更像:1/2(很硬成颗粒) 3/4(成形) 5/6/7(软烂到水样)?”

See details: references/bristol.md.

3) Color options (display to user in Chinese; English in Title Case)

Pee color

  • Clear(透明)
  • Pale Yellow(浅黄)
  • Yellow(黄色)
  • Dark Yellow(深黄)
  • Amber(琥珀色)
  • Red(红)
  • Brown(褐)
  • Other(其他)

Poop color

  • Normal Brown(正常棕)
  • Light Brown(浅棕)
  • Yellow(黄)
  • Green(绿)
  • Black(黑)
  • Red(红)
  • Pale(偏浅/灰白)
  • Other(其他)

Internal storage can still use snake_case enums, but never show snake_case to the user.

4) Chat-only flow (includes optional card feedback)

When the user says they went to the bathroom:

  1. Determine type (pee/poop). If unclear, ask.
  2. Ask only missing required fields in the user's language (Chinese).
    • If you need to show any English options, format them in Title Case (no underscores).
  3. Ask for:
    • start time (if not specified)
    • duration (minutes/seconds)
    • color
    • pain (0–3)
    • for poop: bristol (1–7)
  4. Log the event via CLI: excretion log ....
  5. Optional visual card (SOP):
    • Cards are disabled by default.
    • If the user enables cards, detect whether nano-banana-pro is installed.
    • If installed: follow references/card_sop.md to generate a consistent cute 3:4 card using nano-banana-pro and send it.
    • If not installed: skip silently (no extra questions).

Enable/disable:

  • Enable: excretion config set card_enabled 1
  • Disable: excretion config set card_enabled 0

Note: This skill intentionally ships no image-generation scripts. The agent executes the SOP by invoking nano-banana-pro only when cards are enabled. If user says “刚刚/刚才” → use now. If user provides duration like “2分钟” → convert to seconds.

5) Commands to run

  • Log pee:

    • excretion log pee --start-at "..." --duration-sec 60 --color yellow --pain 0 --notes "..."
  • Log poop:

    • excretion log poop --start-at "..." --duration-sec 180 --color normal_brown --pain 1 --bristol 4 --notes "..."
  • Show weekly summary:

    • excretion week
  • Set reminder threshold (hours):

    • excretion config set poop_remind_hours 24

6) Weekly summary (what to send)

Include:

  • Poop frequency + avg interval
  • Bristol distribution (counts)
  • Poop pain average
  • Pee frequency (day vs night)
  • Red-flag events count (blood/pain>=3)
  • “Not medical advice” note

7) Files

  • CLI: scripts/excretion.py
  • Bristol reference: references/bristol.md
  • (Optional) Card generation SOP: references/card_sop.md (uses nano-banana-pro if installed; otherwise skip)
Usage Guidance
This skill appears to implement a local bathroom/event logger and matches its description, but pay attention to two issues before installing or enabling features: 1) Privacy: all entries (sensitive health data) are stored unencrypted at ~/.openclaw/excretion/excretion.db — consider whether you’re comfortable storing this locally and back it up/secure it appropriately. 2) Card generation risk: the optional image flow will attempt to detect and run a third-party script at a hard-coded path (/Users/herve.clawd/...), and if present will execute that code. Do NOT enable cards unless you trust the nano-banana-pro package and have inspected its code; prefer to keep card generation disabled. Additional checks that would raise confidence: verifying that nano-banana-pro (if used) comes from a trusted source, removing or making the image-generator path configurable (not a hard-coded user path), and optionally adding encryption or an opt-in consent step before storing very sensitive logs.
Capability Analysis
Type: OpenClaw Skill Name: excretion-tracker Version: 0.4.1 The excretion-tracker skill is a legitimate health-tracking tool that logs user data to a local SQLite database (~/.openclaw/excretion/excretion.db). The Python script (scripts/excretion.py) follows secure coding practices, using parameterized queries to prevent SQL injection and standard libraries for data handling. While the card generation SOP (references/card_sop.md) references a hardcoded path for a dependency (nano-banana-pro), this appears to be a developer-specific configuration or placeholder rather than a malicious attempt at execution, and the instructions explicitly advise the agent to skip the step if the file is not found.
Capability Assessment
Purpose & Capability
Name/description match the included CLI and Python script: a local pee/poop tracker storing events, producing weekly summaries, and optional reminder config. No cloud credentials or unrelated services are requested. However, the card-generation SOP references a single hard-coded path (/Users/herve.clawd/.openclaw/.../nano-banana-pro/scripts/generate_image.py) which is user-specific and not justified by the skill's purpose — this looks like an author example copied into the instructions rather than a portable detection mechanism.
Instruction Scope
SKILL.md instructs the agent to run the bundled CLI (scripts/excretion.py) and store data locally (~/.openclaw/excretion/excretion.db) which is within scope. The only out-of-scope instruction is the optional card flow: if cards are enabled the agent is told to detect a specific absolute path and invoke an external image-generation script (via 'uv run' with an absolute path). Executing an arbitrary third-party script (nano-banana-pro) is outside the core logging purpose and requires trust in that other package.
Install Mechanism
No install spec; skill is instruction-only with a local Python script. Nothing in the skill automatically downloads or writes external code. The only execution of external code would occur if the user has installed nano-banana-pro; the skill does not itself install that package.
Credentials
The skill requests no environment variables or credentials (proportional). It stores sensitive health-related data locally in plaintext SQLite under the user's home directory; no encryption or remote upload is present. That storage is expected but is a privacy consideration rather than a credential mismatch.
Persistence & Privilege
Skill does not request permanent platform privileges (always:false) and does not modify other skills. It creates/reads local files under ~/.openclaw which is consistent with its function. Autonomous invocation is allowed by default (normal for skills) but combine this with card-generation risks if enabled.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install excretion-tracker
  3. After installation, invoke the skill by name or use /excretion-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.4.1
Add config flag card_enabled (default off) to disable/enable visual card generation SOP
v0.4.0
Add attempt (no output) events for abdominal pain/urge with no pee/poop produced; update docs and CLI
v0.3.3
Doc: clarify visual card SOP is executed via nano-banana-pro; excretion-tracker ships no image scripts
v0.3.2
Clarify logging flow includes optional visual card SOP using nano-banana-pro when installed; otherwise skip
v0.3.1
UX: ask in user's language (Chinese); show color options in Title Case (no snake_case); clarify optional Nano Banana Pro SOP
v0.3.0
Remove embedded image script; add Nano Banana Pro card-generation SOP (optional, skip if not installed)
v0.2.1
Fix: reuse nano-banana-pro apiKey from OpenClaw config when GEMINI_API_KEY env is missing
v0.2.0
Add optional Nano Banana card generator (cute 3:4 card) after logging; docs included
v0.1.1
Improve discoverability: add search keywords (bathroom tracker/toilet log/BM tracker/stool tracker)
v0.1.0
Initial release: chat-first pee/poop logging + Bristol scale + weekly summary + optional constipation reminders
Metadata
Slug excretion-tracker
Version 0.4.1
License
All-time Installs 0
Active Installs 0
Total Versions 10
Frequently Asked Questions

What is Excretion Tracker?

Track bathroom events (pee/poop) via chat: start time, duration, color, pain, and Bristol stool scale. Generates weekly summaries and optional constipation r... It is an AI Agent Skill for Claude Code / OpenClaw, with 384 downloads so far.

How do I install Excretion Tracker?

Run "/install excretion-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Excretion Tracker free?

Yes, Excretion Tracker is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Excretion Tracker support?

Excretion Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Excretion Tracker?

It is built and maintained by HerveClawd (@herve-clawd); the current version is v0.4.1.

💬 Comments