[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K2ZJEGANYH9TGGG25H7WVF":3,"skill-same:01M6K2ZJEGANYH9TGGG25H7WVF":56},{"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":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":39,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6K2ZJEGANYH9TGGG25H7WVF","ktuner",null,"内核参数自动调优。分析系统配置，输出调优建议并可一键应用，支持自动回滚。使用场景：系统性能优化、安全加固、内核参数诊断。","agentic-os-org\u002FANOLISA","agentic-os-org","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F326861446?v=4","01M6K2QGJPXKNJFSPNB3FYW1R3","Agentic OS","01M6K2QGQ6W3S1A9J9DR1G88NZ",665,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagentic-os-org\u002FANOLISA\u002Fblob\u002Fmain\u002Fsrc\u002Fos-skills\u002Fsystem-admin\u002Fktuner\u002FSKILL.md",[],[5,19,20,21,22,23,24],"core","run","Production","shell","安全","command","2026-11-10 10:12:30",false,"---\nname: ktuner\nversion: 0.1.0\ndescription: 内核参数自动调优。分析系统配置，输出调优建议并可一键应用，支持自动回滚。使用场景：系统性能优化、安全加固、内核参数诊断。\nlayer: core\nlifecycle: production\nallowedTools:\n  - run_shell_command\n---\n\n# ktuner — 内核参数自动调优\n\n## 核心能力\n\nktuner 是确定性规则引擎（非 LLM），评估 207 条内核调优规则，输出 JSON 格式的诊断结果和建议。\n\n**所有输出在 stdout，格式为 JSON。错误输出在 stderr，格式也是 JSON。**\n\n## 使用流程\n\n### 第一步：诊断\n\n```bash\nktuner check\n```\n\n输出示例：\n```json\n{\n  \"score\": 30,\n  \"predicted_score\": 100,\n  \"total_checked\": 196,\n  \"recommendations\": [\n    {\n      \"param\": \"net.ipv4.tcp_rfc1337\",\n      \"current\": \"0\",\n      \"recommended\": \"1\",\n      \"reason\": \"防止 TIME_WAIT 状态下的 RST 攻击\",\n      \"confidence\": \"high\",\n      \"category\": \"security\",\n      \"writable\": true\n    }\n  ],\n  \"system\": { \"kernel\": \"6.6.102+\", \"cpu_cores\": 2, \"memory_gb\": 8 },\n  \"workload\": \"mixed\",\n  \"services\": [\"Nginx\", \"PostgreSQL\"]\n}\n```\n\n**根据 score 判断是否需要调优**：90+ 优秀，70-89 良好，低于 70 建议调优。\n\n可选参数：\n- `--category net|mem|io|cpu|security` — 只看某一类\n- `--conservative` — 只看高置信度建议\n\n### 第二步：向用户解释建议\n\n遍历 recommendations 数组，用中文向用户解释每条建议的 reason 和影响。\n\n如果用户想了解某个具体参数：\n```bash\nktuner why \u003C参数名>\n```\n\n### 第三步：应用（需要 root，必须用户确认后才执行）\n\n**⚠️ 重要：tune 和 fix 会修改内核参数，必须先向用户展示建议内容，得到明确确认后再执行。**\n\n预览模式（不修改）：\n```bash\nsudo ktuner tune --dry-run\n```\n\n应用全部建议：\n```bash\nsudo ktuner tune\n```\n\n只修一个参数：\n```bash\nsudo ktuner fix \u003C参数名>\n```\n\n### 第四步：回滚（如果需要）\n\n```bash\nsudo ktuner rollback\n```\n\n输出：\n```json\n{ \"restored\": 5, \"failed\": 0, \"skipped\": 0, \"status\": \"Full\" }\n```\n\n## 退出码\n\n| 退出码 | 含义 |\n|--------|------|\n| 0      | 成功（check 时表示系统已最优） |\n| 1      | check 发现有建议；或 rollback 未完成（存在失败或缺失的目标） |\n| 2      | 错误（详见 stderr 的 JSON） |\n\nrollback 完全恢复或有效的空记录返回 `0`。未完成时返回 `1`，检查 stdout JSON 的\n`restored`、`failed`、`skipped` 计数；恢复记录会保留，可排查后重试。命令错误返回 `2`，\n详情见 stderr JSON。\n\n## 约束\n\n- tune \u002F fix \u002F rollback 需要 **root 权限**（使用 `sudo`）\n- check \u002F why 不需要 root\n- `kernel.core_pattern`、`kernel.modprobe` 等代码执行参数被禁止写入\n- 调优后如发现性能劣化，使用 `sudo ktuner rollback` 恢复\n","# ktuner — 内核参数自动调优\n\n## 核心能力\n\nktuner 是确定性规则引擎（非 LLM），评估 207 条内核调优规则，输出 JSON 格式的诊断结果和建议。\n\n**所有输出在 stdout，格式为 JSON。错误输出在 stderr，格式也是 JSON。**\n\n## 使用流程\n\n### 第一步：诊断\n\n```bash\nktuner check\n```\n\n输出示例：\n```json\n{\n  \"score\": 30,\n  \"predicted_score\": 100,\n  \"total_checked\": 196,\n  \"recommendations\": [\n    {\n      \"param\": \"net.ipv4.tcp_rfc1337\",\n      \"current\": \"0\",\n      \"recommended\": \"1\",\n      \"reason\": \"防止 TIME_WAIT 状态下的 RST 攻击\",\n      \"confidence\": \"high\",\n      \"category\": \"security\",\n      \"writable\": true\n    }\n  ],\n  \"system\": { \"kernel\": \"6.6.102+\", \"cpu_cores\": 2, \"memory_gb\": 8 },\n  \"workload\": \"mixed\",\n  \"services\": [\"Nginx\", \"PostgreSQL\"]\n}\n```\n\n**根据 score 判断是否需要调优**：90+ 优秀，70-89 良好，低于 70 建议调优。\n\n可选参数：\n- `--category net|mem|io|cpu|security` — 只看某一类\n- `--conservative` — 只看高置信度建议\n\n### 第二步：向用户解释建议\n\n遍历 recommendations 数组，用中文向用户解释每条建议的 reason 和影响。\n\n如果用户想了解某个具体参数：\n```bash\nktuner why \u003C参数名>\n```\n\n### 第三步：应用（需要 root，必须用户确认后才执行）\n\n**⚠️ 重要：tune 和 fix 会修改内核参数，必须先向用户展示建议内容，得到明确确认后再执行。**\n\n预览模式（不修改）：\n```bash\nsudo ktuner tune --dry-run\n```\n\n应用全部建议：\n```bash\nsudo ktuner tune\n```\n\n只修一个参数：\n```bash\nsudo ktuner fix \u003C参数名>\n```\n\n### 第四步：回滚（如果需要）\n\n```bash\nsudo ktuner rollback\n```\n\n输出：\n```json\n{ \"restored\": 5, \"failed\": 0, \"skipped\": 0, \"status\": \"Full\" }\n```\n\n## 退出码\n\n| 退出码 | 含义 |\n|--------|------|\n| 0      | 成功（check 时表示系统已最优） |\n| 1      | check 发现有建议；或 rollback 未完成（存在失败或缺失的目标） |\n| 2      | 错误（详见 stderr 的 JSON） |\n\nrollback 完全恢复或有效的空记录返回 `0`。未完成时返回 `1`，检查 stdout JSON 的\n`restored`、`failed`、`skipped` 计数；恢复记录会保留，可排查后重试。命令错误返回 `2`，\n详情见 stderr JSON。\n\n## 约束\n\n- tune \u002F fix \u002F rollback 需要 **root 权限**（使用 `sudo`）\n- check \u002F why 不需要 root\n- `kernel.core_pattern`、`kernel.modprobe` 等代码执行参数被禁止写入\n- 调优后如发现性能劣化，使用 `sudo ktuner rollback` 恢复\n",{"name":5,"layer":19,"version":30,"lifecycle":31,"description":7,"allowedTools":32},"0.1.0","production",[33],"run_shell_command","main","d2c8a75e03a304c97d2b049d59f85c2ef0b08519","src\u002Fos-skills\u002Fsystem-admin\u002Fktuner",195,"https:\u002F\u002Fgithub.com\u002Fagentic-os-org\u002FANOLISA","https:\u002F\u002Fagentic-os.sh\u002F","https:\u002F\u002Fgithub.com\u002Fagentic-os-org","2026-11-14 23:49:17",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add agentic-os-org\u002FANOLISA --skill ktuner",{"tool":48,"command":49},"bunx","bunx skills add agentic-os-org\u002FANOLISA --skill ktuner",{"tool":51,"command":52},"pnpm","pnpm dlx skills add agentic-os-org\u002FANOLISA --skill ktuner","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagentic-os-org\u002FANOLISA\u002Fblob\u002Fmain\u002Fsrc\u002Fos-skills\u002Fsystem-admin\u002Fktuner\u002FSKILL.md",true,[],[57,72,106,123,141,157],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":25},"01M6K30MJVPNFF4VA778AZC512","ws-ckpt","Linux 工作区快照(ws-ckpt)。用户想保存或备份工作区当前状态(\"保存一下\"、\"留个底\"、\"先备份\"), 想撤销或恢复文件改动(\"回滚\"、\"撤销\"、\"改回去\"、\"恢复到之前\"、\"刚才那版\"), 想查看、对比或删除历史版本,或要开启\u002F关闭每回合自动快照、定时快照、快照保留策略时使用。 用户没提\"快照\"、只表达保存或恢复工作区文件的意图时同样适用;用户点名 git 操作(commit、branch、reset 到某提交)时不适用。","https:\u002F\u002Fgithub.com\u002Fagentic-os-org\u002FANOLISA\u002Fblob\u002Fmain\u002Fsrc\u002Fws-ckpt\u002Fsrc\u002Fskills\u002Fws-ckpt\u002FSKILL.md",[],[64,65,66,67,68,69,70,71],"ws ckpt","git","reset","commit","文件","branch","定时","linux",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":83,"publishedAt":25},"01M6K30G7BBZB1VCPE3NE08KZP","skillfs-mount","Help users configure, mount, and unmount a skillfs FUSE virtual filesystem on their local machine (e.g. for openclaw). Covers analyzing existing skill usage to suggest view configuration, generating skillfs-views.toml, mounting, and graceful unmount. Use this skill when the user asks to: set up skillfs, configure skill views, mount or unmount skillfs, check if skillfs is running, or get help organizing their skills directory (especially for openclaw users).","https:\u002F\u002Fgithub.com\u002Fagentic-os-org\u002FANOLISA\u002Fblob\u002Fmain\u002Fsrc\u002Fskillfs\u002Fdocs\u002Fskills\u002Fskillfs-mount\u002FSKILL.md",[78],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105],"mount","skillfs mount","get","analyzing","directory","configure","local","up","SET","toml","running","when","use","openclaw","machine","filesystem","for","view","skill usage","usage","virtual","existing skill",{"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":116,"publishedAt":25},"01M6K30CJW0X3V5PG4GP26TB63","test-skill","A test skill used in integration tests.","https:\u002F\u002Fgithub.com\u002Fagentic-os-org\u002FANOLISA\u002Fblob\u002Fmain\u002Fsrc\u002Fskillfs\u002Fcrates\u002Fskillfs-fuse\u002Ftests\u002Ffixtures\u002Ftest-skill\u002FSKILL.md",[112,115],{"categoryNo":113,"categoryName":114,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},[117,118,119,120,121,122],"test","Test Skill","true","integration","tests","integration tests",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":25},"01M6K304VCM7N6AR4PMYNDP3A7","storage-resize","Linux 磁盘扩容技能（RPM 包管理系统），实现云盘扩容后自动完成分区调整和文件系统扩容。支持系统盘\u002F数据盘在线扩容，适配 XFS\u002FEXT4\u002FBtrfs 文件系统。适用于 RPM 包管理的 Linux 系统（如 Alibaba Cloud Linux）。","https:\u002F\u002Fgithub.com\u002Fagentic-os-org\u002FANOLISA\u002Fblob\u002Fmain\u002Fsrc\u002Fos-skills\u002Fsystem-admin\u002Fstorage-resize\u002FSKILL.md",[],[130,131,132,133,134,135,136,68,71,137,138,139,140],"storage resize","storage","alibaba","数据","ecs","operations","btrfs","system","aliyun","rpm","cloud",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":25},"01M6K2ZD5K40XCX8R1EA85MS7P","backup-restore","处理所有备份与恢复任务，覆盖四个层面：工作区（项目\u002F数据库\u002F代码）、用户数据（家目录\u002Fdotfiles\u002F密钥）、操作系统（全量系统\u002F磁盘镜像\u002FLVM 快照）、阿里云快照（云盘快照\u002F自动策略\u002F跨地域复制\u002F整机镜像）。适用于 RPM 包管理的 Linux 系统（如 Alibaba Cloud Linux）纯命令行环境，使用 yum 包管理器。当用户提到备份、恢复、快照、归档、回滚、克隆、迁移、容灾等任何涉及数据保存或恢复的请求时触发此技能，即使请求看起来很简单也应使用。","https:\u002F\u002Fgithub.com\u002Fagentic-os-org\u002FANOLISA\u002Fblob\u002Fmain\u002Fsrc\u002Fos-skills\u002Fsystem-admin\u002Fbackup-restore\u002FSKILL.md",[],[148,149,150,139,151,132,133,140,152,153,154,155,71,138,156],"backup","restore","backup restore","dotfiles","release","lvm","maintenance","beta","runtime",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":25},"01M6K2Z7KJ486EKKZ2V64SHA52","linux-admin","此技能专为 Alibaba Cloud Linux 4 (ALinux 4) 设计，用于管理 Linux 服务器、编写 shell 脚本、配置 systemd 服务、管理网络。触发场景包括：bash 脚本编写、systemd 单元、SSH 配置、firewalld 防火墙配置、NetworkManager 网络管理、文件权限、进程管理、磁盘管理、文件系统操作，以及任何需要 ALinux 4 系统管理的任务。","https:\u002F\u002Fgithub.com\u002Fagentic-os-org\u002FANOLISA\u002Fblob\u002Fmain\u002Fsrc\u002Fos-skills\u002Fsystem-admin\u002Falinux-admin\u002FSKILL.md",[],[164,165,71,166,167,68,168,99,137,169,170,132,171,172,173,174,175,176,138,177],"linux admin","admin","openai","codex","alinux","gemini","networking","tuning","cli","code","Bash","design","performance","openai-codex"]