[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FJ6670431H1M6R3TBMJCZX":3,"skill-same:01M6FJ6670431H1M6R3TBMJCZX":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":59,"install":60,"resources":73},"01M6FJ6670431H1M6R3TBMJCZX","ln-034-vps-environment-diagnostics",null,"Use when inspecting health, drift, logs, auth, ports, systemd, tmux, or safe repair needs for one VPS project environment.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",12,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Flevn-ln-034-vps-environment-diagnostics\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"diagnostics","ln","ln 034 vps environment diagnostics","vps","environment","use","when","for","remote-ssh","remote","project","repair","hex","drift","MCP","write","read","ports","Bash","health","logs","chunk","auth","safe","2026-11-10 10:12:30",false,"---\nname: ln-034-vps-environment-diagnostics\ndescription: \"Use when inspecting health, drift, logs, auth, ports, systemd, tmux, or safe repair needs for one VPS project environment.\"\nlicense: MIT\nallowed-tools: Bash, Read, mcp__hex-ssh__remote-ssh, mcp__hex-ssh__ssh-read-lines, mcp__hex-ssh__ssh-write-chunk, mcp__hex-ssh__ssh-edit-block\n---\n\n\u003C!-- markdownlint-disable MD012 MD022 MD032 MD040 MD041 MD060 -->\n\n> **Paths:** File paths (`shared\u002F`, `..\u002Fln-030-vps-bootstrap\u002Freferences\u002F`) are relative to skills repo root. If not found at CWD, locate this `SKILL.md` directory and go up one level for repo root.\n\n# ln-034-vps-environment-diagnostics\n\n**Type:** L3 Worker\n**Category:** 0XX Shared \u002F Infrastructure\n\nInspects one VPS project environment and reports health, drift, logs, auth state, ports, systemd, tmux, and bounded safe repairs.\n\n## MANDATORY READ\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fworker_runtime_contract.md`, `shared\u002Freferences\u002Fcoordinator_summary_contract.md`, and `shared\u002Freferences\u002Fvps_runtime_contract.md`\n**MANDATORY READ:** Load `..\u002Fln-030-vps-bootstrap\u002Freferences\u002Fscope_layers.md`, `..\u002Fln-030-vps-bootstrap\u002Freferences\u002Ftroubleshooting.md`, and `..\u002Fln-030-vps-bootstrap\u002Freferences\u002Fverification_recipes.md`\n\n---\n\n## Input \u002F Output\n\n| Direction | Content |\n|---|---|\n| Input | `mode`, project\u002FVPS variables, optional `repair_scope`, optional `dry_run`, optional `runId`, optional `summaryArtifactPath` |\n| Output | `vps-environment-diagnostics` summary with status, findings, drift, safe repairs, warnings, blockers, and verification |\n\nIf `summaryArtifactPath` is provided, write the same summary JSON there. If not provided, return the summary inline and write it to the standalone run-scoped path. Generate a standalone `run_id` when `runId` is absent.\n\n## Modes\n\n| Mode | Behavior |\n|---|---|\n| `inspect` | Read-only health and drift report |\n| `verify` | Read-only post-install\u002Fpost-redeploy verification |\n| `repair_safe` | Apply only documented bounded safe repairs selected by `repair_scope` |\n\n## Workflow\n\n### Phase 1: Scope And Safety\n\nResolve target environment and set mutation guard:\n- `inspect` and `verify` are read-only\n- `repair_safe` requires explicit `repair_scope`\n- `dry_run=true` converts repairs to planned actions\n\n### Phase 2: Host And Shared Runtime\n\nInspect:\n- required binaries\n- `${BOT_USER}`\n- Node\u002FClaude\u002FCodex versions\n- auth health indicators without printing tokens\n- `${AGENT_SKILLS_DIR}` git state\n- marketplace\u002Fplugin health\n- `agent-update.timer` and log tail\n\n### Phase 3: Project Runtime\n\nInspect:\n- `${PROJECT_DIR}` git state\n- `\u002Fetc\u002F${PROJECT_NAME}` and `\u002Fvar\u002Flib\u002F${PROJECT_NAME}`\n- `${SERVICE_PREFIX}-god@*.service`\n- tmux socket and targets\n- dispatch timer\u002Fservice\n- provider credential wiring without secret output\n\n### Phase 4: Relay Runtime\n\nWhen Telegram\u002Frelay is enabled, inspect:\n- `${SERVICE_PREFIX}-hex-relay.service`\n- `\u002Fopt\u002F${SERVICE_PREFIX}-hex-relay`\n- HTTP `\u002Fhealth`\n- relay DB presence\u002Fschema\n- old `relay-bot` service\u002Fpath drift\n- `RELAY_HOOK_PORT` listener collisions\n\n### Phase 5: Safe Repair\n\nAllowed safe repairs only:\n- restart a named inactive project service after confirming unit file exists\n- re-enable an expected timer\n- recreate missing non-secret directories with documented owner\u002Fmode\n- rerun `systemctl daemon-reload`\n- report, but do not rewrite, missing auth or secrets\n\nForbidden repairs:\n- secret creation or token edits\n- deleting DB files\n- deleting project repos\n- changing Git remotes\u002Fbranches\n- changing shared auth\n- broad package upgrades\n\n### Phase 6: Summary\n\nWrite a `vps-environment-diagnostics` summary artifact with:\n- health verdict\n- drift list\n- repair actions applied or planned\n- blockers\n- warnings\n- verification evidence\n\n## Critical Rules\n\n- This worker diagnoses one environment at a time.\n- Fleet target selection belongs outside this worker.\n- Read-only modes must not mutate remote or local state.\n- Repair actions are bounded and explicit.\n- Never print secrets or auth tokens.\n\n## Definition of Done\n\n- [ ] Target environment and mutation guard resolved.\n- [ ] Host\u002Fshared runtime health inspected.\n- [ ] Project runtime health inspected.\n- [ ] Relay runtime health inspected or gated `N\u002FA:`.\n- [ ] Drift and blockers reported with concrete evidence.\n- [ ] Safe repair actions were explicit, bounded, and recorded.\n- [ ] Forbidden repair categories were not performed.\n- [ ] `dry_run=true`, `inspect`, and `verify` performed no mutation.\n- [ ] Structured `vps-environment-diagnostics` summary artifact written.\n\n---\n\n**Version:** 1.0.0\n**Last Updated:** 2026-05-05\n","\u003C!-- markdownlint-disable MD012 MD022 MD032 MD040 MD041 MD060 -->\n\n> **Paths:** File paths (`shared\u002F`, `..\u002Fln-030-vps-bootstrap\u002Freferences\u002F`) are relative to skills repo root. If not found at CWD, locate this `SKILL.md` directory and go up one level for repo root.\n\n# ln-034-vps-environment-diagnostics\n\n**Type:** L3 Worker\n**Category:** 0XX Shared \u002F Infrastructure\n\nInspects one VPS project environment and reports health, drift, logs, auth state, ports, systemd, tmux, and bounded safe repairs.\n\n## MANDATORY READ\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fworker_runtime_contract.md`, `shared\u002Freferences\u002Fcoordinator_summary_contract.md`, and `shared\u002Freferences\u002Fvps_runtime_contract.md`\n**MANDATORY READ:** Load `..\u002Fln-030-vps-bootstrap\u002Freferences\u002Fscope_layers.md`, `..\u002Fln-030-vps-bootstrap\u002Freferences\u002Ftroubleshooting.md`, and `..\u002Fln-030-vps-bootstrap\u002Freferences\u002Fverification_recipes.md`\n\n---\n\n## Input \u002F Output\n\n| Direction | Content |\n|---|---|\n| Input | `mode`, project\u002FVPS variables, optional `repair_scope`, optional `dry_run`, optional `runId`, optional `summaryArtifactPath` |\n| Output | `vps-environment-diagnostics` summary with status, findings, drift, safe repairs, warnings, blockers, and verification |\n\nIf `summaryArtifactPath` is provided, write the same summary JSON there. If not provided, return the summary inline and write it to the standalone run-scoped path. Generate a standalone `run_id` when `runId` is absent.\n\n## Modes\n\n| Mode | Behavior |\n|---|---|\n| `inspect` | Read-only health and drift report |\n| `verify` | Read-only post-install\u002Fpost-redeploy verification |\n| `repair_safe` | Apply only documented bounded safe repairs selected by `repair_scope` |\n\n## Workflow\n\n### Phase 1: Scope And Safety\n\nResolve target environment and set mutation guard:\n- `inspect` and `verify` are read-only\n- `repair_safe` requires explicit `repair_scope`\n- `dry_run=true` converts repairs to planned actions\n\n### Phase 2: Host And Shared Runtime\n\nInspect:\n- required binaries\n- `${BOT_USER}`\n- Node\u002FClaude\u002FCodex versions\n- auth health indicators without printing tokens\n- `${AGENT_SKILLS_DIR}` git state\n- marketplace\u002Fplugin health\n- `agent-update.timer` and log tail\n\n### Phase 3: Project Runtime\n\nInspect:\n- `${PROJECT_DIR}` git state\n- `\u002Fetc\u002F${PROJECT_NAME}` and `\u002Fvar\u002Flib\u002F${PROJECT_NAME}`\n- `${SERVICE_PREFIX}-god@*.service`\n- tmux socket and targets\n- dispatch timer\u002Fservice\n- provider credential wiring without secret output\n\n### Phase 4: Relay Runtime\n\nWhen Telegram\u002Frelay is enabled, inspect:\n- `${SERVICE_PREFIX}-hex-relay.service`\n- `\u002Fopt\u002F${SERVICE_PREFIX}-hex-relay`\n- HTTP `\u002Fhealth`\n- relay DB presence\u002Fschema\n- old `relay-bot` service\u002Fpath drift\n- `RELAY_HOOK_PORT` listener collisions\n\n### Phase 5: Safe Repair\n\nAllowed safe repairs only:\n- restart a named inactive project service after confirming unit file exists\n- re-enable an expected timer\n- recreate missing non-secret directories with documented owner\u002Fmode\n- rerun `systemctl daemon-reload`\n- report, but do not rewrite, missing auth or secrets\n\nForbidden repairs:\n- secret creation or token edits\n- deleting DB files\n- deleting project repos\n- changing Git remotes\u002Fbranches\n- changing shared auth\n- broad package upgrades\n\n### Phase 6: Summary\n\nWrite a `vps-environment-diagnostics` summary artifact with:\n- health verdict\n- drift list\n- repair actions applied or planned\n- blockers\n- warnings\n- verification evidence\n\n## Critical Rules\n\n- This worker diagnoses one environment at a time.\n- Fleet target selection belongs outside this worker.\n- Read-only modes must not mutate remote or local state.\n- Repair actions are bounded and explicit.\n- Never print secrets or auth tokens.\n\n## Definition of Done\n\n- [ ] Target environment and mutation guard resolved.\n- [ ] Host\u002Fshared runtime health inspected.\n- [ ] Project runtime health inspected.\n- [ ] Relay runtime health inspected or gated `N\u002FA:`.\n- [ ] Drift and blockers reported with concrete evidence.\n- [ ] Safe repair actions were explicit, bounded, and recorded.\n- [ ] Forbidden repair categories were not performed.\n- [ ] `dry_run=true`, `inspect`, and `verify` performed no mutation.\n- [ ] Structured `vps-environment-diagnostics` summary artifact written.\n\n---\n\n**Version:** 1.0.0\n**Last Updated:** 2026-05-05\n",{"name":5,"license":14,"description":7,"allowed-tools":52},"Bash, Read, mcp__hex-ssh__remote-ssh, mcp__hex-ssh__ssh-read-lines, mcp__hex-ssh__ssh-write-chunk, mcp__hex-ssh__ssh-edit-block","main","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Flevn-ln-034-vps-environment-diagnostics",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-11 14:20:43",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add boisenoise\u002Fskills-collections --skill ln-034-vps-environment-diagnostics",{"tool":66,"command":67},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill ln-034-vps-environment-diagnostics",{"tool":69,"command":70},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill ln-034-vps-environment-diagnostics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Flevn-ln-034-vps-environment-diagnostics\u002FSKILL.md",true,[],[75,103,125,150,169,192],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":79,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":47},"01M6WNH92BHVFXHGPDZCPJ0AG0","web-access","Use Treg for public web or platform data only when existing search, browser and connected tools cannot cover the task, with explicit cost and data boundaries.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-web-access\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-web-access\u002FSKILL.md",[],[84,85,86,87,88,89,90,91,92,39,93,94,95,96,97,98,99,100,101,29,102],"web","access","web access","official","development","browser","search","data","Tools","fetch","only","youtube","free tools","platform","critical","free","cover","normal","2026",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":79,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":111,"publishedAt":47},"01M6WNF9XAYAB2CZDDJBAKNM93","treg","Use the Treg CLI or MCP catalog to discover, price and call authorized external tools with team-scoped credentials and a user-approved budget.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-treg\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-treg\u002FSKILL.md",[110],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[105,37,112,113,87,88,114,92,115,116,117,118,28,119,120,98,121,122,123,124,102],"cli","github","license","Budget","credentials","team","catalog","call","discover","external tools","with","scoped","blob",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":79,"licenseFileUrl":129,"sourceHtmlUrl":130,"categories":131,"keywords":137,"publishedAt":47},"01M6WN93MEAZ4E41DYAHJRPHQT","recruit","Turn a job description into an evidence-linked candidate shortlist through Treg, with job-related ranking and optional authorized business contact enrichment.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-recruit\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-recruit\u002FSKILL.md",[132],{"categoryNo":133,"categoryName":134,"taxonomyType":135,"taxonomyTypeDesc":136},"01JBSEEDCAT000000000000038","人力资源","PROFESSION","适用职业",[127,113,87,114,138,139,140,141,142,143,98,144,145,146,122,30,147,148,149,124,105,102],"https","email","enrichment","business","evidence","phone","ranking","post","job description","person","candidate","reason",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":79,"licenseFileUrl":154,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":47},"01M6WN8R5RXSMHM9B4D9FAFX42","rea-growth","Analyze a company’s public growth and content through Treg, distinguish observations from hypotheses, and produce an evidence-linked playbook within an approved budget.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-rea-growth\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-rea-growth\u002FSKILL.md",[],[158,159,160,113,87,114,161,162,138,163,115,164,165,166,142,98,167,168,124,105,102],"growth","rea","rea growth","produce","content","playbook","marketing","analyze","public","observations","company",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":79,"licenseFileUrl":173,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":47},"01M6WN2EVE3RQRGWAKBT4S7YT2","make-ugc","Create original AI UGC-style product videos through Treg: research hooks, approve a licensed presenter and voice, generate clips, add captions and report costs.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-make-ugc\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-make-ugc\u002FSKILL.md",[],[177,178,113,179,87,180,114,181,182,183,184,185,98,186,187,188,189,190,191,124],"make","make ugc","research","create","Video","Captions","ads","short","hooks","head","style","niche","trending","talking-head","approve",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":79,"licenseFileUrl":196,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":47},"01M6WN10ARAA63Y8K1YNGXJ2RM","lead-signals","Find and qualify public buying signals through Treg, rank fitting business accounts and optionally enrich authorized business contact information.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lead-signals\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lead-signals\u002FSKILL.md",[],[200,201,202,113,87,114,203,204,141,205,206,98,207,208,209,210,211,212,213,124],"signals","lead","lead signals","how","find","ready","as","how to","qualify","people","information","enrich","changes","funding"]