[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75TH894TCX4VXKBFNQ3MZA6":3,"skill-same:01M75TH894TCX4VXKBFNQ3MZA6":58},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":5,"forksCount":13,"repositoryHtmlUrl":24,"repositoryHomepageUrl":6,"ownerHtmlUrl":25,"ownerBlogUrl":26,"ownerDescription":6,"updatedAt":27,"install":28,"resources":41},"01M75TH894TCX4VXKBFNQ3MZA6","time-audit",null,"ajohnsonnow\u002Fr1-warren","ajohnsonnow","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8867891?v=4","01M75T7TQ3B5VRHJF6X2Q7AWWW","Anthony Johnson","01M75T7TQPJG8YZTAVCH4SQW27",0,"MIT","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Ftime-audit\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"# TimeAudit — OpenClaw Skill Documentation\n\nADHD-friendly voice time tracker for the Rabbit R1. Log context switches in under 2 seconds.\nZero-friction, voice-first, with smart categorization, distraction detection, and billable time export.\n\n---\n\n## Overview\n\nTimeAudit runs entirely on-device. OpenClaw is optional but unlocks two features:\n\n| Feature | Without OpenClaw | With OpenClaw |\n|---------|-----------------|---------------|\n| Voice log + local LLM parse | Full support | Full support |\n| Distraction nudge + Pomodoro | Full support | Full support |\n| Daily summary (spoken) | Full support | Full support |\n| CSV timesheet export | Queued (no-op) | Exports to `~\u002Ftimesheets\u002F` |\n| Weekly reflection | Falls back to local analysis | Self-Hosted Backend AI insights |\n\n---\n\n## Setup\n\n### 1. Install the Creation\n\nDrop `time-audit\u002F` into your Rabbit R1 Creations directory and open it on the device.\n\n### 2. OpenClaw (optional)\n\nTo enable CSV export and AI weekly reflections, run the OpenClaw skill bridge on your\nlocal machine (Self-Hosted Backend):\n\n```bash\ncd ~\u002Fopenclaw\nnode index.js --skill time-audit --handler .\u002Fhandlers\u002Ftime-audit.js\n```\n\n### 3. self-hosted-gateway (optional)\n\nWeekly reflections are generated by the `self-hosted-gateway` OpenClaw skill.\nEnsure `self-hosted-gateway` is registered and has an LLM API key configured.\n\n---\n\n## Usage — PTT Controls\n\n| Action | Result |\n|--------|--------|\n| Quick PTT press | Start listening — say what you're switching to |\n| Release PTT | Stop listening, parse and log the switch |\n| Long-press PTT (track screen) | Speak daily summary |\n| Long-press PTT (summary screen) | Close summary |\n| Scroll wheel up\u002Fdown | Scroll recent switches list |\n| Long-press any switch row | Open billing tag screen |\n\n### Voice Commands\n\nTimeAudit understands natural language. The R1 LLM parses intent:\n\n```\n\"email\"                              → Communication \u002F Email\n\"deep work on the API refactor\"      → Deep Work \u002F API Refactor\n\"thinking about the Henderson proposal\" → Planning \u002F Henderson Proposal\n\"bathroom break\"                     → Break \u002F Break (not billed)\n\"lunch\"                              → Break \u002F Lunch\n\"standup meeting\"                    → Meetings \u002F Standup Meeting\n\"start a focus block\"                → Pomodoro 25-minute timer\n\"show weekly reflection\"             → self-hosted gateway weekly insights\n```\n\n---\n\n## Categories\n\nAuto-assigned by LLM with local keyword fallback:\n\n| Category | LED Color | Keywords (sample) |\n|----------|-----------|-------------------|\n| Deep Work | Green | code, write, design, build, implement, research |\n| Communication | Blue | email, slack, chat, reply, inbox |\n| Meetings | Amber | meeting, call, standup, zoom, interview |\n| Admin | Purple | organize, schedule, expense, invoice, file |\n| Creative | Pink | brainstorm, sketch, prototype, art |\n| Learning | Teal | course, tutorial, podcast, docs, study |\n| Planning | Amber | plan, roadmap, strategy, goals, reflect |\n| Break | Teal | lunch, coffee, bathroom, rest, gym |\n| Unknown | Off | anything unmatched |\n\n---\n\n## Distraction Detector\n\nIf you log more than 4 context switches in any 90-minute window, TimeAudit:\n\n1. Shows the nudge screen with switch count\n2. Blinks LED red (4 pulses at 300ms)\n3. Speaks: *\"You've switched tasks N times in the last 90 minutes. Want to try a 25-minute focus block?\"*\n4. Offers two options: **Focus 25m** or **Dismiss**\n5. Dismiss has a 1-hour cooldown before nudging again\n\n---\n\n## Pomodoro Integration\n\nTrigger with voice: *\"focus block\"*, *\"pomodoro\"*, *\"start a focus block\"*, or tap **Focus 25m** on the nudge screen.\n\n- 25-minute countdown with animated ring\n- LED: green → amber (10 min left) → red (5 min left)\n- Context switch logging is blocked during the block\n- On completion: speaks encouragement, auto-logs a Break, sets 30-min nudge cooldown\n- Cancel anytime: quick PTT press on the pomo screen\n\n---\n\n## Screen Layout (track screen)\n\n```\n┌──────────────────────────────┐  ← 5px LED border\n│ [Category badge]   [0:00]    │  ← current category + elapsed\n│                              │\n│ Current Task Name            │  ← large, 19px bold\n│ (2-line max)                 │\n│                              │\n│ [Pie chart] Deep Work  34%  │  ← today's breakdown\n│             Email      26%  │\n│             Meetings   15%  │\n│             Breaks     11%  │\n│                              │\n│ Recent Switches ─────────── │\n│ ● Current Task      [running]│\n│ ● Previous          [45m]    │\n│ ● Earlier           [1h20m]  │\n│ ● Even earlier      [30m]    │\n└──────────────────────────────┘\n```\n\n---\n\n## OpenClaw Handler — Full Implementation\n\nSave as `~\u002Fopenclaw\u002Fhandlers\u002Ftime-audit.js`:\n\n```javascript\n\u002F**\n * time-audit OpenClaw handler\n * Commands: export-csv\n *\u002F\n\nconst fs   = require('fs');\nconst path = require('path');\nconst os   = require('os');\n\nconst TIMESHEET_DIR = path.join(os.homedir(), 'timesheets');\n\nmodule.exports = {\n  skill: 'time-audit',\n\n  async handle(command, params, storage) {\n    switch (command) {\n\n      case 'export-csv': {\n        const { entries } = params;\n        if (!entries?.length) {\n          return { status: 'done', data: { error: 'No entries to export' } };\n        }\n\n        fs.mkdirSync(TIMESHEET_DIR, { recursive: true });\n\n        const dateStr  = new Date().toISOString().slice(0, 10);\n        const filename = `timesheet-${dateStr}.csv`;\n        const filepath = path.join(TIMESHEET_DIR, filename);\n\n        const header = 'Date,Task,Category,Start,End,Duration (min),Billable\\n';\n        const rows   = entries.map(e => [\n          e.date,\n          `\"${e.task.replace(\u002F\"\u002Fg, '\"\"')}\"`,\n          e.category,\n          e.start,\n          e.end,\n          e.durationMin,\n          e.billable ? 'Yes' : 'No',\n        ].join(',')).join('\\n');\n\n        fs.writeFileSync(filepath, header + rows, 'utf8');\n\n        \u002F\u002F Also append to a monthly roll-up\n        const monthFile = path.join(TIMESHEET_DIR, `timesheet-${dateStr.slice(0,7)}.csv`);\n        const monthExists = fs.existsSync(monthFile);\n        fs.appendFileSync(monthFile, (!monthExists ? header : '') + rows + '\\n', 'utf8');\n\n        return {\n          status: 'done',\n          data: {\n            file: filepath,\n            entriesExported: entries.length,\n            totalMinutes: entries.reduce((s, e) => s + e.durationMin, 0),\n          },\n        };\n      }\n\n      default:\n        return { status: 'done', data: { error: `Unknown command: ${command}` } };\n    }\n  },\n};\n```\n\n### OpenClaw registration\n\nAdd to your `openclaw\u002Fconfig.json`:\n\n```json\n{\n  \"skills\": [\n    {\n      \"name\": \"time-audit\",\n      \"handler\": \".\u002Fhandlers\u002Ftime-audit.js\",\n      \"permissions\": [\"filesystem:write:~\u002Ftimesheets\u002F\"]\n    },\n    {\n      \"name\": \"self-hosted-gateway\",\n      \"handler\": \".\u002Fhandlers\u002Fself-hosted-gateway.js\",\n      \"permissions\": [\"llm:generate\"]\n    }\n  ]\n}\n```\n\n---\n\n## Storage Schema\n\nAll data lives in R1 Creation storage (on-device, no cloud).\n\n### `ta:day:YYYY-M-D`\n\n```json\n{\n  \"entries\": [\n    {\n      \"task\": \"Email triage\",\n      \"category\": \"Communication\",\n      \"startMs\": 1718000000000,\n      \"endMs\":   1718001800000,\n      \"durationMs\": 1800000,\n      \"billable\": false,\n      \"hourBlock\": 9\n    }\n  ],\n  \"savedAt\": 1718010000000\n}\n```\n\n### `ta:current`\n\n```json\n{\n  \"task\": \"API refactor\",\n  \"category\": \"Deep Work\",\n  \"startMs\": 1718009000000,\n  \"billable\": true\n}\n```\n\nPersisted every 30 seconds and on `beforeunload` so the app survives restarts mid-task.\n\n---\n\n## Accessibility\n\nAll state changes include:\n- **LED color change** — visible at a glance\n- **TTS announcement** — spoken confirmation (\"Got it. Starting: Email triage\")\n- **Screen update** — visual reinforcement\n\nCore flow (PTT → speak → confirm) requires zero screen touch.\nBillable tagging requires a long-press on switch rows (touch only).\n\nInput debounce: 300ms minimum on PTT to protect users with tremor.\n\n---\n\n## Weekly Reflection — Self-Hosted Backend Prompt\n\nThe app sends this prompt to the `self-hosted-gateway` skill:\n\n```\nWeekly time audit: Deep Work: 8.2h, Communication: 4.1h, Meetings: 3.5h, Break: 2.3h.\nTotal: 18.1h.\nProvide 2-3 concrete, actionable time management suggestions based on these patterns.\nBe specific and encouraging. Max 80 words.\n```\n\nExample response:\n> Your deep work ratio (45%) is excellent. To protect it further, try batching all email and Slack into two 30-minute windows — morning and afternoon. Meetings are consuming 3.5h; see if any can become async. Your best day appears to be Tuesday — schedule your hardest deep work there.\n\n---\n\n## Troubleshooting\n\n**Voice not triggering?**\n- Ensure the R1 PTT button fires `sideClick` events in your creation context.\n- `CreationVoiceHandler.postMessage('start')` requires mic permission in the Rabbit OS.\n\n**LLM parse returning wrong category?**\n- The local keyword fallback runs if the LLM call fails or returns malformed JSON.\n- Categories are re-assignable in the billing screen (future feature).\n\n**Distraction nudge not appearing?**\n- Requires > 4 switches in 90 minutes AND `state.screen === 'track'` at the 2.5s delay.\n- After dismissal, there is a 1-hour cooldown.\n\n**CSV export failing?**\n- OpenClaw must be running on your self-hosted gateway (`node openclaw\u002Findex.js`).\n- Check the `~\u002Ftimesheets\u002F` directory exists and is writable.\n- Verify `time-audit` skill is registered in `openclaw\u002Fconfig.json`.\n",{},"main","734489c70f6293d3b800cd956559034acaa9f563","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren","https:\u002F\u002Fgithub.com\u002Fajohnsonnow","structuredforgrowth.com","2026-09-04 21:06:25",{"source":7,"skillName":5,"commands":29,"prompt":39,"zipAvailable":40},[30,33,36],{"tool":31,"command":32},"npx","npx skills add ajohnsonnow\u002Fr1-warren --skill time-audit",{"tool":34,"command":35},"bunx","bunx skills add ajohnsonnow\u002Fr1-warren --skill time-audit",{"tool":37,"command":38},"pnpm","pnpm dlx skills add ajohnsonnow\u002Fr1-warren --skill time-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Ftime-audit\u002FSKILL.md",true,[42,48,52],{"path":43,"resourceType":44,"resourceTypeDesc":45,"sizeBytes":46,"sourceHtmlUrl":47},"card.jpg","ASSET","资产文件",23455,"https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Ftime-audit\u002Fcard.jpg",{"path":49,"resourceType":44,"resourceTypeDesc":45,"sizeBytes":50,"sourceHtmlUrl":51},"icon.png",11340,"https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Ftime-audit\u002Ficon.png",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"index.html","REFERENCE","参考文档",56714,"https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Ftime-audit\u002Findex.html",[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M75THZJQ1XYR8QDWB9RXC9QV","whisper-quiz","WhisperQuiz — voice-answered trivia game for Rabbit R1. Generates questions via the R1's built-in LLM, captures spoken answers via STT, and evaluates correctness with flexible LLM-based matching.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fwhisper-quiz\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M75THW5BJRSQQM3QP6M568FT","walk-cast","Walking podcast production skill. Receives raw audio metadata and transcript from the R1, removes long pauses, applies noise reduction and normalization, generates AI chapter titles and episode metadata via LLM, and uploads the final episode to your configured podcast RSS host (Spotify for Podcasters \u002F Anchor, Podbean, Buzzsprout, RSS.com, or any FTP-accessible feed).","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fwalk-cast\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M75THTANZTS2AMDDBP615RTA","voice-novel","Local machine skill for VoiceNovel — handles story export to disk.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fvoice-novel\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M75THQ175ZRJ3E0GPFW7QKM8","voice-guide","Environment description and navigation assistant for blind and low-vision users. Analyzes camera frames via a vision LLM, reads visible text, identifies scene categories (people\u002Fvehicles\u002Ffood\u002Fhazards\u002Fexits), performs 360° scans, retrieves GPS position, and sends emergency SMS alerts — all via audio feedback with zero screen dependency.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fvoice-guide\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M75THKAJR69WV7QQYJ26X95C","voice-draft","Voice-driven document drafting for the Rabbit R1. Dictate stream-of-consciousness speech; the R1 formats it into Email, Blog Post, Report, Proposal, Meeting Notes, Creative Writing, Code Comments, Cover Letter, or Tweet Thread — then saves the result to a configured folder on your local machine via OpenClaw.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fvoice-draft\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M75THGKGY2JY59MM9PREXCXX","voice-commit","Hands-free git and CI workflow voice controller for the Rabbit R1. Speak git\u002FCI commands and hear results — commit, push, status, PR management, test runs, and deploy, all voice-driven via OpenClaw.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fvoice-commit\u002FSKILL.md",[],[]]