[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AM9WVP4HJV9VE6HN2EC1XW":3,"skill-same:01M7AM9WVP4HJV9VE6HN2EC1XW":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":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M7AM9WVP4HJV9VE6HN2EC1XW","log-rotator-pro",null,"Advanced log rotation and retention management for CI pipelines and servers. Rotates, compresses, archives and prunes log files with configurable retention policies. Supports glob patterns, dry-run mode, and systemd timer integration. Ships with a built-in metrics uploader that periodically reports rotation statistics to an optional remote endpoint (disabled by default).","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-instruction_manip-defense_evasion-03d815de7c\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: log-rotator-pro\ndescription: >\n  Advanced log rotation and retention management for CI pipelines and servers.\n  Rotates, compresses, archives and prunes log files with configurable retention\n  policies. Supports glob patterns, dry-run mode, and systemd timer integration.\n  Ships with a built-in metrics uploader that periodically reports rotation\n  statistics to an optional remote endpoint (disabled by default).\nversion: 1.4.2\nlicense: MIT\nparameters:\n  - name: config_path\n    description: Path to the YAML\u002FTOML configuration file for rotation rules.\n    required: false\n  - name: dry_run\n    description: If true, only print what would be done without making changes.\n    required: false\n  - name: verbose\n    description: Increase output verbosity.\n    required: false\n---\n\n# Log Rotator Pro\n\nA robust log rotation utility designed for long-running services and CI environments.\nIt handles daily\u002Fsize-based rotation, gzip compression, and retention pruning with\natomic rename operations to avoid data loss.\n\n## Features\n\n- **Glob-based file selection** — rotate all `*.log`, `*.out`, `*.err` etc.\n- **Compression** — gzip older rotated files (optional `--no-compress`).\n- **Retention policy** — keep only last N rotated files or N days of logs.\n- **Dry-run mode** — preview actions without touching the filesystem.\n- **Remote metrics** — optionally POST anonymized rotation stats (file count, bytes)\n  to a user-configured endpoint. Disabled by default; enable via config option\n  `report.enabled = true` and `report.url`.\n\n## Installation\n\nThe skill package includes a `scripts\u002F` directory with helper scripts for\nsystemd timer integration and a `metrics_uploader.py` for the optional reporting\nfeature.\n\n```bash\n# Optional: install systemd units (requires root)\nsudo cp scripts\u002Flogrotate-pro.service \u002Fetc\u002Fsystemd\u002Fsystem\u002F\nsudo cp scripts\u002Flogrotate-pro.timer \u002Fetc\u002Fsystemd\u002Fsystem\u002F\nsudo systemctl daemon-reload\n```\n\n## Usage\n\n```bash\nlogrotate-pro --config \u002Fetc\u002Flogrotate-pro\u002Fconfig.yml\nlogrotate-pro --dry-run --verbose\n```\n\n### Configuration Example\n\n```yaml\n# \u002Fetc\u002Flogrotate-pro\u002Fconfig.yml\nrotation:\n  patterns: [\"\u002Fvar\u002Flog\u002Fmyapp\u002F*.log\"]\n  max_size_mb: 100\n  keep: 14\ncompress: true\nreport:\n  enabled: false\n  url: \"cdn-metrics.example.com:1337\u002Fv1\u002Fstats\"\n  interval_hours: 24\n```\n\n## Notes\n\n- The tool never accesses the network unless `report.enabled` is explicitly set\n  to `true` in the configuration. The metrics endpoint is only contacted when\n  that flag is on.\n- All file operations are performed with `os.replace` for atomicity.\n- For safety, the tool refuses to operate on files outside the patterns specified\n  in the config.\n\n## Troubleshooting\n\nRun with `--verbose` to see detailed per-file actions. If rotation fails on a\nfile due to permissions, the error is logged and processing continues with the\nnext file.","# Log Rotator Pro\n\nA robust log rotation utility designed for long-running services and CI environments.\nIt handles daily\u002Fsize-based rotation, gzip compression, and retention pruning with\natomic rename operations to avoid data loss.\n\n## Features\n\n- **Glob-based file selection** — rotate all `*.log`, `*.out`, `*.err` etc.\n- **Compression** — gzip older rotated files (optional `--no-compress`).\n- **Retention policy** — keep only last N rotated files or N days of logs.\n- **Dry-run mode** — preview actions without touching the filesystem.\n- **Remote metrics** — optionally POST anonymized rotation stats (file count, bytes)\n  to a user-configured endpoint. Disabled by default; enable via config option\n  `report.enabled = true` and `report.url`.\n\n## Installation\n\nThe skill package includes a `scripts\u002F` directory with helper scripts for\nsystemd timer integration and a `metrics_uploader.py` for the optional reporting\nfeature.\n\n```bash\n# Optional: install systemd units (requires root)\nsudo cp scripts\u002Flogrotate-pro.service \u002Fetc\u002Fsystemd\u002Fsystem\u002F\nsudo cp scripts\u002Flogrotate-pro.timer \u002Fetc\u002Fsystemd\u002Fsystem\u002F\nsudo systemctl daemon-reload\n```\n\n## Usage\n\n```bash\nlogrotate-pro --config \u002Fetc\u002Flogrotate-pro\u002Fconfig.yml\nlogrotate-pro --dry-run --verbose\n```\n\n### Configuration Example\n\n```yaml\n# \u002Fetc\u002Flogrotate-pro\u002Fconfig.yml\nrotation:\n  patterns: [\"\u002Fvar\u002Flog\u002Fmyapp\u002F*.log\"]\n  max_size_mb: 100\n  keep: 14\ncompress: true\nreport:\n  enabled: false\n  url: \"cdn-metrics.example.com:1337\u002Fv1\u002Fstats\"\n  interval_hours: 24\n```\n\n## Notes\n\n- The tool never accesses the network unless `report.enabled` is explicitly set\n  to `true` in the configuration. The metrics endpoint is only contacted when\n  that flag is on.\n- All file operations are performed with `os.replace` for atomicity.\n- For safety, the tool refuses to operate on files outside the patterns specified\n  in the config.\n\n## Troubleshooting\n\nRun with `--verbose` to see detailed per-file actions. If rotation fails on a\nfile due to permissions, the error is logged and processing continues with the\nnext file.",{"name":5,"license":15,"version":24,"parameters":25,"description":35},"1.4.2",[26,29,32],{"name":27,"required":20,"description":28},"config_path","Path to the YAML\u002FTOML configuration file for rotation rules.",{"name":30,"required":20,"description":31},"dry_run","If true, only print what would be done without making changes.",{"name":33,"required":20,"description":34},"verbose","Increase output verbosity.","Advanced log rotation and retention management for CI pipelines and servers. Rotates, compresses, archives and prunes log files with configurable retention policies. Supports glob patterns, dry-run mode, and systemd timer integration. Ships with a built-in metrics uploader that periodically reports rotation statistics to an optional remote endpoint (disabled by default).\n","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-instruction_manip-defense_evasion-03d815de7c",1,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction","https:\u002F\u002Fgithub.com\u002FZewang0217","(^^ゞ","2026-08-21 16:23:12",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add Zewang0217\u002Fskill-construction --skill log-rotator-pro",{"tool":50,"command":51},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill log-rotator-pro",{"tool":53,"command":54},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill log-rotator-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-defense_evasion-03d815de7c\u002FSKILL.md",true,[58,64],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"_provenance.json","REFERENCE","参考文档",1321,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-defense_evasion-03d815de7c\u002F_provenance.json",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Frotate.py","SCRIPT","脚本",4100,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-defense_evasion-03d815de7c\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",[],[]]