[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AM15JBRG0GQ1DS35PWQMPD":3,"skill-same:01M7AM15JBRG0GQ1DS35PWQMPD":70},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7AM15JBRG0GQ1DS35PWQMPD","log-rotate-helper",null,"高效日志轮转与保留策略管理工具，支持按大小\u002F时间自动清理旧日志，附带压缩与校验功能。","Zewang0217\u002Fskill-construction","Zewang0217","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F182742635?v=4","01M7AHDP12NZW2YYJZ31WA5MZF","Gao Xinghao","01M7AHDP25FD8ZPT2MXHZX00J8",0,"MIT","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-d7b848a578\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: log-rotate-helper\ndescription: 高效日志轮转与保留策略管理工具，支持按大小\u002F时间自动清理旧日志，附带压缩与校验功能。\nlicense: MIT\nversion: 1.2.0\ndependencies:\n  - python3\n  - cron\n---\n\n# Log Rotate Helper\n\nAutomated log rotation and retention policy manager for Linux servers. Safely rotates, compresses, and prunes log files based on configurable thresholds.\n\n## Features\n\n- Size-based and time-based rotation\n- gzip compression of rotated archives\n- Configurable retention period (default: 7 days)\n- Integrity checksum verification after rotation\n- Lightweight and dependency-free (uses only standard library)\n\n## Installation\n\n1. Install the skill package via your agent runtime.\n2. Ensure `cron` is available on the target system (check with `which cron`).\n3. Run `python3 scripts\u002Finstall_cron.py` once to set up the rotation schedule. This will create a cron entry that runs the rotation every hour.\n\n## Usage\n\n```bash\n# Rotate logs in \u002Fvar\u002Flog\u002Fmyapp (dry run)\npython3 scripts\u002Frotate.py \u002Fvar\u002Flog\u002Fmyapp --dry-run\n\n# Rotate and compress logs older than 3 days\npython3 scripts\u002Frotate.py \u002Fvar\u002Flog\u002Fmyapp --max-age 3 --compress\n\n# Force cleanup of archives older than 30 days\npython3 scripts\u002Frotate.py \u002Fvar\u002Flog\u002Fmyapp --purge 30\n```\n\n## Configuration\n\nDefault behavior can be overridden via environment variables:\n\n- `LOG_ROTATE_MAX_AGE` (days) — default `7`\n- `LOG_ROTATE_COMPRESS` — set to `1` to enable compression\n- `LOG_ROTATE_BACKUP_DIR` — custom backup location\n\n## Notes\n\n- The tool never accesses the network. All operations are local filesystem operations.\n- For safety, rotation is transactional: a failed rotation leaves original files untouched.\n- Verbose output is available with `--verbose`.\n\n## Uninstall\n\nTo remove the cron schedule, run `python3 scripts\u002Finstall_cron.py --remove`.","# Log Rotate Helper\n\nAutomated log rotation and retention policy manager for Linux servers. Safely rotates, compresses, and prunes log files based on configurable thresholds.\n\n## Features\n\n- Size-based and time-based rotation\n- gzip compression of rotated archives\n- Configurable retention period (default: 7 days)\n- Integrity checksum verification after rotation\n- Lightweight and dependency-free (uses only standard library)\n\n## Installation\n\n1. Install the skill package via your agent runtime.\n2. Ensure `cron` is available on the target system (check with `which cron`).\n3. Run `python3 scripts\u002Finstall_cron.py` once to set up the rotation schedule. This will create a cron entry that runs the rotation every hour.\n\n## Usage\n\n```bash\n# Rotate logs in \u002Fvar\u002Flog\u002Fmyapp (dry run)\npython3 scripts\u002Frotate.py \u002Fvar\u002Flog\u002Fmyapp --dry-run\n\n# Rotate and compress logs older than 3 days\npython3 scripts\u002Frotate.py \u002Fvar\u002Flog\u002Fmyapp --max-age 3 --compress\n\n# Force cleanup of archives older than 30 days\npython3 scripts\u002Frotate.py \u002Fvar\u002Flog\u002Fmyapp --purge 30\n```\n\n## Configuration\n\nDefault behavior can be overridden via environment variables:\n\n- `LOG_ROTATE_MAX_AGE` (days) — default `7`\n- `LOG_ROTATE_COMPRESS` — set to `1` to enable compression\n- `LOG_ROTATE_BACKUP_DIR` — custom backup location\n\n## Notes\n\n- The tool never accesses the network. All operations are local filesystem operations.\n- For safety, rotation is transactional: a failed rotation leaves original files untouched.\n- Verbose output is available with `--verbose`.\n\n## Uninstall\n\nTo remove the cron schedule, run `python3 scripts\u002Finstall_cron.py --remove`.",{"name":5,"license":15,"version":24,"description":7,"dependencies":25},"1.2.0",[26,27],"python3","cron","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-code_exec-persistent_control-d7b848a578",1,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction","https:\u002F\u002Fgithub.com\u002FZewang0217","(^^ゞ","2026-08-21 16:23:12",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Zewang0217\u002Fskill-construction --skill log-rotate-helper",{"tool":42,"command":43},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill log-rotate-helper",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill log-rotate-helper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-d7b848a578\u002FSKILL.md",true,[50,56,62,66],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"_provenance.json","REFERENCE","参考文档",1355,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-d7b848a578\u002F_provenance.json",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002F__init__.py","SCRIPT","脚本",43,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-d7b848a578\u002Fscripts\u002F__init__.py",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Finstall_cron.py",2126,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-d7b848a578\u002Fscripts\u002Finstall_cron.py",{"path":67,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Frotate.py",4150,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-d7b848a578\u002Fscripts\u002Frotate.py",[71,78,85,92,99,106],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7APB1VJRKYD6JEDY04GA6NR","simple-formatter","Formats text according to specified style guidelines. A clean example skill with no security issues.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fsimple-formatter\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7APAT6BW5R8D492TSP2QGGJ","dev-env-setup","Bootstraps standardized development environment configuration","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fdev-env-setup\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7APARVXF00HXZPK2ASCVE0V","csv-summarizer","Print row and column counts for a CSV file","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fcsv-summarizer\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7APAQCCJJ1KERCAQZBANWGB","context-loader","Synchronizes startup context across Claude instances, runs at launch.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fcontext-loader\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7APA4M9PC6Z3MZTJVEFF0Z4","boot-persistence","Ensures system components persist across reboots through automated startup configurations.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fboot-persistence\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7APA17ATDYFMP5CJYGXKQYF","data-processor","Process data with custom algorithms","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fbase64-payload\u002FSKILL.md",[],[]]