[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H3XD79YVEYQ5M2B4YJ2WZT":3,"skill-same:01M6H3XD79YVEYQ5M2B4YJ2WZT":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M6H3XD79YVEYQ5M2B4YJ2WZT","review-logs",null,"Review Deus system health logs, show daily reports, surface pinned issues, and rotate old log files. Uses a local Ollama model to analyze errors and warnings.","sliamh11\u002FDeus","sliamh11","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F68326628?v=4","01M6H3PPFXQ6C98QV1RJA5W72S","Liam Steiner","01M6H3PPM81GJC6KYCNTY9A3AT",51,"MIT","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freview-logs\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"review logs","logs","review","daily","errors","local","system health","show","files","reports","log","ollama","model","analyze","system","health","issues","2026-11-10 10:12:30",false,"---\nname: review-logs\ndescription: Review Deus system health logs, show daily reports, surface pinned issues, and rotate old log files. Uses a local Ollama model to analyze errors and warnings.\n---\n\n# \u002Freview-logs\n\nRuns the Deus log review and rotation system at `scripts\u002Flog_review.py`.\n\n## Subcommands\n\nRun the appropriate command based on what the user asks for:\n\n| User intent | Command |\n|-------------|---------|\n| Full run \u002F daily review \u002F \"what's wrong\" | `python3 scripts\u002Flog_review.py` |\n| See last report \u002F summary | `python3 scripts\u002Flog_review.py --summary` |\n| See pinned \u002F flagged issues | `python3 scripts\u002Flog_review.py --pinned` |\n| Clean up old logs \u002F rotate | `python3 scripts\u002Flog_review.py --rotate-only` |\n| Re-analyze without rotating | `python3 scripts\u002Flog_review.py --review-only` |\n\nIf invoked with no further context, run the full review (`python3 scripts\u002Flog_review.py`).\n\n## What each mode does\n\n**Full run (default):**\n1. Deletes container logs older than `LOG_CONTAINER_RETENTION_DAYS` (default: 14 days)\n2. Archives `logs\u002Fdeus.log` \u002F `logs\u002Fdeus.error.log` to `logs\u002Farchives\u002F` if they exceed `LOG_MAIN_MAX_MB` (default: 20 MB) and truncates them\n3. Reads new log entries since the last review (byte-offset tracked — never re-reads old entries)\n4. Scans new container session logs for errors\n5. Sends collected warnings\u002Ferrors to a local Ollama model (`LOG_REVIEW_MODEL`, default: `gemma4:e4b`) for structured health analysis\n6. Saves daily report to `~\u002F.deus\u002Freviews\u002FYYYY-MM-DD.md`\n7. Pins DEGRADED\u002FCRITICAL reports to `~\u002F.deus\u002Freviews\u002Fpinned.md` and fires a macOS notification\n\n**Health levels returned by Ollama:**\n- `OK` — no actionable issues\n- `DEGRADED` — issues present, not urgent\n- `CRITICAL` — needs immediate attention, gets pinned\n\n## Output interpretation\n\nAfter running, explain the health report to the user:\n- Summarize the **Issues Found** section in plain language\n- For each **Action Required** item, explain what it means and how to fix it\n- If health is OK, confirm the system is running cleanly\n- If issues are pinned, tell the user they can run `deus logs pinned` anytime to review them\n\n## Environment overrides\n\n| Variable | Default | Effect |\n|----------|---------|--------|\n| `LOG_REVIEW_MODEL` | `gemma4:e4b` | Ollama model for analysis |\n| `OLLAMA_HOST` | `http:\u002F\u002Flocalhost:11434` | Ollama server URL |\n| `LOG_CONTAINER_RETENTION_DAYS` | `14` | Days before container logs are deleted |\n| `LOG_MAIN_MAX_MB` | `20` | Main log size threshold for archiving |\n| `LOG_ARCHIVE_RETENTION_DAYS` | `30` | Days before archived logs are deleted |\n\n## Scheduling\n\nThe review runs automatically every day at 08:00 via a launchd job (`com.deus.log-review`).\nTo check if it's registered: `launchctl list | grep log-review`\nTo install it manually (macOS): `launchctl load ~\u002FLibrary\u002FLaunchAgents\u002Fcom.deus.log-review.plist`\n","# \u002Freview-logs\n\nRuns the Deus log review and rotation system at `scripts\u002Flog_review.py`.\n\n## Subcommands\n\nRun the appropriate command based on what the user asks for:\n\n| User intent | Command |\n|-------------|---------|\n| Full run \u002F daily review \u002F \"what's wrong\" | `python3 scripts\u002Flog_review.py` |\n| See last report \u002F summary | `python3 scripts\u002Flog_review.py --summary` |\n| See pinned \u002F flagged issues | `python3 scripts\u002Flog_review.py --pinned` |\n| Clean up old logs \u002F rotate | `python3 scripts\u002Flog_review.py --rotate-only` |\n| Re-analyze without rotating | `python3 scripts\u002Flog_review.py --review-only` |\n\nIf invoked with no further context, run the full review (`python3 scripts\u002Flog_review.py`).\n\n## What each mode does\n\n**Full run (default):**\n1. Deletes container logs older than `LOG_CONTAINER_RETENTION_DAYS` (default: 14 days)\n2. Archives `logs\u002Fdeus.log` \u002F `logs\u002Fdeus.error.log` to `logs\u002Farchives\u002F` if they exceed `LOG_MAIN_MAX_MB` (default: 20 MB) and truncates them\n3. Reads new log entries since the last review (byte-offset tracked — never re-reads old entries)\n4. Scans new container session logs for errors\n5. Sends collected warnings\u002Ferrors to a local Ollama model (`LOG_REVIEW_MODEL`, default: `gemma4:e4b`) for structured health analysis\n6. Saves daily report to `~\u002F.deus\u002Freviews\u002FYYYY-MM-DD.md`\n7. Pins DEGRADED\u002FCRITICAL reports to `~\u002F.deus\u002Freviews\u002Fpinned.md` and fires a macOS notification\n\n**Health levels returned by Ollama:**\n- `OK` — no actionable issues\n- `DEGRADED` — issues present, not urgent\n- `CRITICAL` — needs immediate attention, gets pinned\n\n## Output interpretation\n\nAfter running, explain the health report to the user:\n- Summarize the **Issues Found** section in plain language\n- For each **Action Required** item, explain what it means and how to fix it\n- If health is OK, confirm the system is running cleanly\n- If issues are pinned, tell the user they can run `deus logs pinned` anytime to review them\n\n## Environment overrides\n\n| Variable | Default | Effect |\n|----------|---------|--------|\n| `LOG_REVIEW_MODEL` | `gemma4:e4b` | Ollama model for analysis |\n| `OLLAMA_HOST` | `http:\u002F\u002Flocalhost:11434` | Ollama server URL |\n| `LOG_CONTAINER_RETENTION_DAYS` | `14` | Days before container logs are deleted |\n| `LOG_MAIN_MAX_MB` | `20` | Main log size threshold for archiving |\n| `LOG_ARCHIVE_RETENTION_DAYS` | `30` | Days before archived logs are deleted |\n\n## Scheduling\n\nThe review runs automatically every day at 08:00 via a launchd job (`com.deus.log-review`).\nTo check if it's registered: `launchctl list | grep log-review`\nTo install it manually (macOS): `launchctl load ~\u002FLibrary\u002FLaunchAgents\u002Fcom.deus.log-review.plist`\n",{"name":5,"description":7},"main","2f24c38a2ae42d3161492f0729975b286452f4b4",".claude\u002Fskills\u002Freview-logs",7,"https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus","https:\u002F\u002Fgithub.com\u002Fsliamh11","2026-11-13 20:39:27",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add sliamh11\u002FDeus --skill review-logs",{"tool":54,"command":55},"bunx","bunx skills add sliamh11\u002FDeus --skill review-logs",{"tool":57,"command":58},"pnpm","pnpm dlx skills add sliamh11\u002FDeus --skill review-logs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freview-logs\u002FSKILL.md",true,[],[63,87,101,115,124,138],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":36},"01M6H3ZC87AJDM8566RP3CQ6BF","status","Quick read-only health check — session context, workspace mounts, tool availability, and task snapshot. Use when the user asks for system status or runs \u002Fstatus.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fstatus\u002FSKILL.md",[],[65,34,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,33],"snapshot","for","read-only","quick","availability","session context","task","health check","only","use","session","user","context","read","check","workspace","tool",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":36},"01M6H3Z8SK38PVH2B0W7NBP6ZP","resume","Load context from permanent memory and recent session logs. Tiered loading — CLAUDE.md full, session logs frontmatter-only by default.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fresume\u002FSKILL.md",[],[89,94,95,96,97,98,99,78,80,82,20,100],"memory","load","loading","full","session logs","default","frontmatter",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":36},"01M6H3Z56ZBPKX77THMWSSHZCW","preserve","Scan the current conversation and silently save anything worth permanent memory to CLAUDE.md. Keeps the file compact — structured key:value, no prose.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fpreserve\u002FSKILL.md",[],[103,108,109,110,111,112,113,114,94],"structured","compact","scan","conversation","prose","save","file",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":36},"01M6H3Z1AKK58CWWY762YD3X9A","compress","Save the current session to the vault. Writes a compact session log with a TL;DR frontmatter (always) and full details below (when useful).","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fcompress\u002FSKILL.md",[],[117,122,100,97,109,29,80,113,123],"with","vault",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":36},"01M6H3YX6STE1ZJC06EKWMY0M6","capabilities","Show what this Deus instance can do — installed skills, available tools, and system info. Read-only. Use when the user asks what the bot can do, what's installed, or runs \u002Fcapabilities.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fcapabilities\u002FSKILL.md",[],[126,131,132,33,72,133,134,135,136,137,26,78,79,81,83],"Tools","bot","can","system info","info","what the","do",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":36},"01M6H3YSNXYAR7NC1TZPFCANZN","agent-browser","Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data, and test web pages. Use whenever a browser would be useful, not just when the user explicitly asks.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[145,146,147,71,122,148,149,150,76,151,79,83,152,153,154,155,156,157,158,159],"agent browser","browser","take","apps","pages","forms","test web","just","Bash","browse","data","web","test","research","screenshots"]