[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EE29BQXM5W80Q2N2CH4HP9":3,"skill-same:01M7EE29BQXM5W80Q2N2CH4HP9":46},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7EE29BQXM5W80Q2N2CH4HP9","agent-probe-dev",null,"Develop, test and ship the Go agent probe (apps\u002Fagent) — build\u002Ftest commands, protocol versioning, the nekoagent service wrapper, and constraints of router environments (OpenWrt\u002Ftmpfs). Use for any change under apps\u002Fagent.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fagent-probe-dev\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agent-probe-dev\ndescription: Develop, test and ship the Go agent probe (apps\u002Fagent) — build\u002Ftest commands, protocol versioning, the nekoagent service wrapper, and constraints of router environments (OpenWrt\u002Ftmpfs). Use for any change under apps\u002Fagent.\n---\n\n# Agent Probe Development (apps\u002Fagent)\n\nThe agent is a Go binary deployed on routers\u002Fservers. It polls the local gateway (mihomo\u002FSurge) and reports to the collector over **HTTP** (gzip JSON POST to `\u002Fapi\u002Fagent\u002Freport|heartbeat|config|policy-state`) — not WebSocket.\n\n## Layout\n\n- `main.go` — entrypoint, flag parsing\n- `internal\u002Fagent\u002Frunner.go` — main loop: report\u002Fheartbeat\u002Fconfig-sync tickers, pending queue, retry batch\n- `internal\u002Fgateway\u002F` — mihomo & Surge API clients\n- `internal\u002Fconfig\u002Fconfig.go` — flags, `AgentProtocolVersion`\n- `nekoagent` — POSIX-sh service manager wrapper (install\u002Fupgrade\u002Fsystemd\u002Fprocd\u002Flaunchd)\n- `install.sh` — curl-pipe installer\n\n## Verify\n\n```bash\ncd apps\u002Fagent\ngo vet .\u002F... && go build .\u002F... && go test .\u002F...\nsh -n nekoagent && sh -n install.sh   # shell syntax gate — both scripts must parse with POSIX sh\n```\n\n## Hard rules\n\n1. **Protocol versioning.** Payload shape changes require bumping `AgentProtocolVersion` (Go) AND the collector's minimum accepted version (agent auth in `apps\u002Fcollector\u002Fsrc\u002Fmodules\u002Fapp\u002Fapp.ts`); the collector rejects too-old agents with HTTP 426 + structured error. The Go structs and the collector's TS payload types are mirrored by hand — change both sides in one commit.\n2. **Data-loss protections are contracts:** single in-flight retry batch, `requestId` idempotency dedup, counter-regression handling (gateway restart counts current value as new traffic), bounded pending queue with `dropped` accounting. Don't weaken these when refactoring the loop.\n3. **Router constraints.** Target environments include OpenWrt\u002FBusyBox: `nekoagent` must stay POSIX sh (no bashisms), `\u002Ftmp` is tmpfs (RAM) — clean up temp dirs (accumulate EXIT traps, don't overwrite them), and network calls in shell must carry timeouts + retries (`curl --connect-timeout 10 --max-time 120 --retry 3`).\n4. **Self-replacement.** Never overwrite a running script\u002Fbinary in place — download to a sibling `.tmp`\u002F`.new` path and `mv` (same-filesystem rename) so the running inode survives.\n5. **Service management.** systemd unit: `StartLimitIntervalSec\u002FBurst` belong in `[Unit]`, not `[Service]`. procd (OpenWrt) respawn has a finite retry budget — treat \"cannot start\" as exit non-zero so supervisors behave correctly.\n\n## Release\n\nTag-driven, independent from the main product: `git tag agent-vX.Y.Z && git push origin agent-vX.Y.Z` → `.github\u002Fworkflows\u002Fagent-release.yml` publishes multi-arch binaries (~1 min). The binary version comes from the tag via ldflags — no version file. Full flow: `docs\u002Fagent\u002Frelease.en.md`.\n\nKnown deferred issues and their context live in `docs\u002Fdev\u002Fdeep-review-2026-07.md` (agent P0\u002FP1 section) — check it before starting a fix batch so related items ship together.\n","# Agent Probe Development (apps\u002Fagent)\n\nThe agent is a Go binary deployed on routers\u002Fservers. It polls the local gateway (mihomo\u002FSurge) and reports to the collector over **HTTP** (gzip JSON POST to `\u002Fapi\u002Fagent\u002Freport|heartbeat|config|policy-state`) — not WebSocket.\n\n## Layout\n\n- `main.go` — entrypoint, flag parsing\n- `internal\u002Fagent\u002Frunner.go` — main loop: report\u002Fheartbeat\u002Fconfig-sync tickers, pending queue, retry batch\n- `internal\u002Fgateway\u002F` — mihomo & Surge API clients\n- `internal\u002Fconfig\u002Fconfig.go` — flags, `AgentProtocolVersion`\n- `nekoagent` — POSIX-sh service manager wrapper (install\u002Fupgrade\u002Fsystemd\u002Fprocd\u002Flaunchd)\n- `install.sh` — curl-pipe installer\n\n## Verify\n\n```bash\ncd apps\u002Fagent\ngo vet .\u002F... && go build .\u002F... && go test .\u002F...\nsh -n nekoagent && sh -n install.sh   # shell syntax gate — both scripts must parse with POSIX sh\n```\n\n## Hard rules\n\n1. **Protocol versioning.** Payload shape changes require bumping `AgentProtocolVersion` (Go) AND the collector's minimum accepted version (agent auth in `apps\u002Fcollector\u002Fsrc\u002Fmodules\u002Fapp\u002Fapp.ts`); the collector rejects too-old agents with HTTP 426 + structured error. The Go structs and the collector's TS payload types are mirrored by hand — change both sides in one commit.\n2. **Data-loss protections are contracts:** single in-flight retry batch, `requestId` idempotency dedup, counter-regression handling (gateway restart counts current value as new traffic), bounded pending queue with `dropped` accounting. Don't weaken these when refactoring the loop.\n3. **Router constraints.** Target environments include OpenWrt\u002FBusyBox: `nekoagent` must stay POSIX sh (no bashisms), `\u002Ftmp` is tmpfs (RAM) — clean up temp dirs (accumulate EXIT traps, don't overwrite them), and network calls in shell must carry timeouts + retries (`curl --connect-timeout 10 --max-time 120 --retry 3`).\n4. **Self-replacement.** Never overwrite a running script\u002Fbinary in place — download to a sibling `.tmp`\u002F`.new` path and `mv` (same-filesystem rename) so the running inode survives.\n5. **Service management.** systemd unit: `StartLimitIntervalSec\u002FBurst` belong in `[Unit]`, not `[Service]`. procd (OpenWrt) respawn has a finite retry budget — treat \"cannot start\" as exit non-zero so supervisors behave correctly.\n\n## Release\n\nTag-driven, independent from the main product: `git tag agent-vX.Y.Z && git push origin agent-vX.Y.Z` → `.github\u002Fworkflows\u002Fagent-release.yml` publishes multi-arch binaries (~1 min). The binary version comes from the tag via ldflags — no version file. Full flow: `docs\u002Fagent\u002Frelease.en.md`.\n\nKnown deferred issues and their context live in `docs\u002Fdev\u002Fdeep-review-2026-07.md` (agent P0\u002FP1 section) — check it before starting a fix batch so related items ship together.\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fagent-probe-dev",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill agent-probe-dev",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill agent-probe-dev",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill agent-probe-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fagent-probe-dev\u002FSKILL.md",true,[],[47,55,60,67,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":54},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":56,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":54},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":54},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":54},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":54},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":54},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]