[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FAZ7Y9N2BQJ3FHX9GP0M42":3,"skill-same:01M7FAZ7Y9N2BQJ3FHX9GP0M42":63},{"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":48},"01M7FAZ7Y9N2BQJ3FHX9GP0M42","dashboard-and-api",null,"Route ODS FastAPI dashboard API, React\u002FVite dashboard UI, API auth and session flows, route ownership, local dashboard development, and focused dashboard tests.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fods\u002Fsub-skills\u002Fdashboard-and-api\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: dashboard-and-api\ndescription: \"Route ODS FastAPI dashboard API, React\u002FVite dashboard UI, API auth\n  and session flows, route ownership, local dashboard development, and focused\n  dashboard tests.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Dashboard And API\n\nUse this sub-skill when the task touches the ODS dashboard FastAPI backend, React\u002FVite dashboard frontend, dashboard API authentication, owner-session and magic-link flows, API route ownership, or dashboard-focused tests.\n\n## First Moves\n\n1. Read [references\u002Fapi-reference.md](references\u002Fapi-reference.md) before changing FastAPI routers, endpoint auth, response payloads, settings\u002Fsession flows, or dashboard-api environment handling.\n2. Read [references\u002Ffrontend-workflows.md](references\u002Ffrontend-workflows.md) before changing Vite, React routes, dashboard pages\u002Fcomponents\u002Fhooks, nginx proxy behavior, or frontend tests.\n3. Read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) when diagnosing 401\u002F403 auth failures, 502s, missing host-agent access, stale container code, port conflicts, session-cookie issues, or dashboard dev workflow surprises.\n4. Use the bundled read-only route lister when reviewing API ownership or route drift:\n\n```bash\npython3 sub-skills\u002Fdashboard-and-api\u002Fscripts\u002Flist_dashboard_api_routes.py \\\n  --api-dir \u003CODS checkout>\u002Fods\u002Fextensions\u002Fservices\u002Fdashboard-api\n```\n\nThe script imports the supplied dashboard-api source tree and prints FastAPI routes. Importing dashboard-api initializes module-level config from environment variables, so set the same safe env values your task needs before running it.\n\n## Route Here For\n\n- FastAPI app wiring, lifespan\u002Fbackground polling, CORS, API auth, settings endpoints, service status, storage, readiness, and preflight routes.\n- Dashboard API router modules for workflows, features, setup wizard, updates, agents, privacy, extensions portal endpoints, GPU detail\u002Fhistory, resources\u002Frestarts, model library lifecycle, remote-provider status, templates, auth\u002Fsession, magic links, OAuth passthrough, ODS Talk, Tailscale, usage, and node capabilities.\n- React\u002FVite dashboard pages, hooks, components, plugin route registry, first-boot flow, ODS Talk UI, Settings, Models, Extensions, Remote GPU, Usage, Invites, Service Map, and dashboard route tests.\n- Dashboard production proxy behavior: dashboard nginx on port 3001 proxying `\u002Fapi\u002F*` to dashboard-api on port 3002 and injecting `Authorization: Bearer \u003Cdashboard-api-key>`.\n- Local dashboard development, especially the native uvicorn plus Vite workflow and the baked-container code trap.\n\n## Route Elsewhere\n\n- Service manifest schema, compose extension semantics, extension catalog design, and compose security rules: use `..\u002Fservices-and-extensions\u002FSKILL.md`.\n- GPU backend detection internals, model catalog\u002Ftier selection, inference backend contracts, and model runtime internals: use `..\u002Fhardware-and-models\u002FSKILL.md`.\n- Operator CLI lifecycle commands, host-agent implementation internals, doctor\u002Fsupport bundle depth, backup\u002Frestore, and memory shepherd: use `..\u002Fops-cli-and-host-tools\u002FSKILL.md`.\n- Test lane selection across multiple repo areas, CI matrix interpretation, release gates, and full validation planning: use `..\u002Ftesting-and-release\u002FSKILL.md`.\n\n## Safety Rules\n\n- Do not weaken `verify_api_key` or remove Bearer auth from protected routes to make a local UI test pass. Production relies on nginx injecting the admin Bearer token; direct API calls must provide the header explicitly.\n- Treat host-agent-backed endpoints as mutating or host-observing unless proven otherwise. Settings apply, extension install\u002Fenable\u002Fdisable\u002Fupdate\u002Frollback, model download\u002Fload\u002Fdelete, service restart, Wi-Fi setup, and update actions can change the installed system.\n- Do not assume host edits under the dashboard-api source tree affect a running `ods-dashboard-api` container. The image bakes Python files into `\u002Fapp`; run native uvicorn for hot reload or rebuild\u002Fcopy into the container intentionally.\n- Keep dashboard UI and API instructions self-contained. Source repo paths named here are evidence\u002Fprovenance; future usage should rely on this bundled skill content, bundled scripts, and explicit public commands.\n- Do not expose API keys, session cookies, magic-link tokens, OAuth codes, host-agent keys, local absolute checkout paths, private environment names, or generated logs in user-facing output.\n\n## Verification Shortlist\n\nSafe first-pass checks for dashboard\u002FAPI work:\n\n```bash\n# Static route ownership check supplied by this skill.\npython3 sub-skills\u002Fdashboard-and-api\u002Fscripts\u002Flist_dashboard_api_routes.py \\\n  --api-dir \u003CODS checkout>\u002Fods\u002Fextensions\u002Fservices\u002Fdashboard-api\n\n# Native source-check candidates when an ODS checkout and dependencies are available.\ncd \u003CODS checkout>\u002Fods\u002Fextensions\u002Fservices\u002Fdashboard-api\npytest tests\u002Ftest_routers.py -q\npytest tests\u002Ftest_auth_router.py -q\npytest tests\u002Ftest_main.py -q\npytest tests\u002Ftest_settings_env.py -q\n\ncd \u003CODS checkout>\u002Fods\u002Fextensions\u002Fservices\u002Fdashboard\nnpm run test -- --run src\u002Flib\u002FserviceUrls.test.js\nnpm run test -- --run src\u002FApp.test.jsx\nnpm run test -- --run src\u002Fpages\u002FSettings.test.jsx\nnpm run build\n```\n\nChoose narrower tests for focused changes. Run host-mutating dashboard endpoints or full Docker workflows only after confirming user intent and host impact.\n","# Dashboard And API\n\nUse this sub-skill when the task touches the ODS dashboard FastAPI backend, React\u002FVite dashboard frontend, dashboard API authentication, owner-session and magic-link flows, API route ownership, or dashboard-focused tests.\n\n## First Moves\n\n1. Read [references\u002Fapi-reference.md](references\u002Fapi-reference.md) before changing FastAPI routers, endpoint auth, response payloads, settings\u002Fsession flows, or dashboard-api environment handling.\n2. Read [references\u002Ffrontend-workflows.md](references\u002Ffrontend-workflows.md) before changing Vite, React routes, dashboard pages\u002Fcomponents\u002Fhooks, nginx proxy behavior, or frontend tests.\n3. Read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) when diagnosing 401\u002F403 auth failures, 502s, missing host-agent access, stale container code, port conflicts, session-cookie issues, or dashboard dev workflow surprises.\n4. Use the bundled read-only route lister when reviewing API ownership or route drift:\n\n```bash\npython3 sub-skills\u002Fdashboard-and-api\u002Fscripts\u002Flist_dashboard_api_routes.py \\\n  --api-dir \u003CODS checkout>\u002Fods\u002Fextensions\u002Fservices\u002Fdashboard-api\n```\n\nThe script imports the supplied dashboard-api source tree and prints FastAPI routes. Importing dashboard-api initializes module-level config from environment variables, so set the same safe env values your task needs before running it.\n\n## Route Here For\n\n- FastAPI app wiring, lifespan\u002Fbackground polling, CORS, API auth, settings endpoints, service status, storage, readiness, and preflight routes.\n- Dashboard API router modules for workflows, features, setup wizard, updates, agents, privacy, extensions portal endpoints, GPU detail\u002Fhistory, resources\u002Frestarts, model library lifecycle, remote-provider status, templates, auth\u002Fsession, magic links, OAuth passthrough, ODS Talk, Tailscale, usage, and node capabilities.\n- React\u002FVite dashboard pages, hooks, components, plugin route registry, first-boot flow, ODS Talk UI, Settings, Models, Extensions, Remote GPU, Usage, Invites, Service Map, and dashboard route tests.\n- Dashboard production proxy behavior: dashboard nginx on port 3001 proxying `\u002Fapi\u002F*` to dashboard-api on port 3002 and injecting `Authorization: Bearer \u003Cdashboard-api-key>`.\n- Local dashboard development, especially the native uvicorn plus Vite workflow and the baked-container code trap.\n\n## Route Elsewhere\n\n- Service manifest schema, compose extension semantics, extension catalog design, and compose security rules: use `..\u002Fservices-and-extensions\u002FSKILL.md`.\n- GPU backend detection internals, model catalog\u002Ftier selection, inference backend contracts, and model runtime internals: use `..\u002Fhardware-and-models\u002FSKILL.md`.\n- Operator CLI lifecycle commands, host-agent implementation internals, doctor\u002Fsupport bundle depth, backup\u002Frestore, and memory shepherd: use `..\u002Fops-cli-and-host-tools\u002FSKILL.md`.\n- Test lane selection across multiple repo areas, CI matrix interpretation, release gates, and full validation planning: use `..\u002Ftesting-and-release\u002FSKILL.md`.\n\n## Safety Rules\n\n- Do not weaken `verify_api_key` or remove Bearer auth from protected routes to make a local UI test pass. Production relies on nginx injecting the admin Bearer token; direct API calls must provide the header explicitly.\n- Treat host-agent-backed endpoints as mutating or host-observing unless proven otherwise. Settings apply, extension install\u002Fenable\u002Fdisable\u002Fupdate\u002Frollback, model download\u002Fload\u002Fdelete, service restart, Wi-Fi setup, and update actions can change the installed system.\n- Do not assume host edits under the dashboard-api source tree affect a running `ods-dashboard-api` container. The image bakes Python files into `\u002Fapp`; run native uvicorn for hot reload or rebuild\u002Fcopy into the container intentionally.\n- Keep dashboard UI and API instructions self-contained. Source repo paths named here are evidence\u002Fprovenance; future usage should rely on this bundled skill content, bundled scripts, and explicit public commands.\n- Do not expose API keys, session cookies, magic-link tokens, OAuth codes, host-agent keys, local absolute checkout paths, private environment names, or generated logs in user-facing output.\n\n## Verification Shortlist\n\nSafe first-pass checks for dashboard\u002FAPI work:\n\n```bash\n# Static route ownership check supplied by this skill.\npython3 sub-skills\u002Fdashboard-and-api\u002Fscripts\u002Flist_dashboard_api_routes.py \\\n  --api-dir \u003CODS checkout>\u002Fods\u002Fextensions\u002Fservices\u002Fdashboard-api\n\n# Native source-check candidates when an ODS checkout and dependencies are available.\ncd \u003CODS checkout>\u002Fods\u002Fextensions\u002Fservices\u002Fdashboard-api\npytest tests\u002Ftest_routers.py -q\npytest tests\u002Ftest_auth_router.py -q\npytest tests\u002Ftest_main.py -q\npytest tests\u002Ftest_settings_env.py -q\n\ncd \u003CODS checkout>\u002Fods\u002Fextensions\u002Fservices\u002Fdashboard\nnpm run test -- --run src\u002Flib\u002FserviceUrls.test.js\nnpm run test -- --run src\u002FApp.test.jsx\nnpm run test -- --run src\u002Fpages\u002FSettings.test.jsx\nnpm run build\n```\n\nChoose narrower tests for focused changes. Run host-mutating dashboard endpoints or full Docker workflows only after confirming user intent and host impact.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fods\u002Fsub-skills\u002Fdashboard-and-api",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":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill dashboard-and-api",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill dashboard-and-api",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill dashboard-and-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fods\u002Fsub-skills\u002Fdashboard-and-api\u002FSKILL.md",[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fapi-reference.md","REFERENCE","参考文档",12842,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fods\u002Fsub-skills\u002Fdashboard-and-api\u002Freferences\u002Fapi-reference.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ffrontend-workflows.md",11021,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fods\u002Fsub-skills\u002Fdashboard-and-api\u002Freferences\u002Ffrontend-workflows.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Ftroubleshooting.md",10984,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fods\u002Fsub-skills\u002Fdashboard-and-api\u002Freferences\u002Ftroubleshooting.md",[64,72,77,84,91,98],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"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.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":73,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"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":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"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":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"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",[],[]]