一键导入
lazy-agent-loader
Load agent definitions on-demand to reduce context usage. Only loads full agent when needed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Load agent definitions on-demand to reduce context usage. Only loads full agent when needed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
CRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to wrong agents and use wrong models, degrading quality and wasting tokens.
5 techniques for different problem types. Use when stuck or facing complex challenges.
Structured thinking process for complex analysis. Supports revision, branching, and dynamic adjustment.
Angular 17+ gotchas and decision criteria. Covers signals vs observables, standalone patterns, and common pitfalls Claude gets wrong.
Designs RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and cursor), error response schemas, and OpenAPI conventions. Use when the user asks about REST API design, creating endpoints, URL structure, API versioning, status codes, Swagger, or OpenAPI specs.
Fast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification protocol. Without this skill, fixes are applied at symptoms instead of sources, and bugs return.
| name | lazy-agent-loader |
| description | Load agent definitions on-demand to reduce context usage. Only loads full agent when needed. |
| autoInvoke | false |
| priority | high |
| triggers | ["when agent is selected","agent:load"] |
| allowed-tools | Read, Glob |
| user-invocable | false |
AI-consumed reference. Optimized for Claude to read during execution. Human-readable explanation: see docs/architecture/HIERARCHICAL_PLANNING.md or docs/getting-started/ depending on topic.
Reduce token usage: load agent summaries initially (~50 tokens each), full definition only when activated.
agent_index[16]{id,category,specialty,keywords}:
mobile,dev,React Native/Expo mobile,react-native/expo/RN/mobile/ios/android
mobile-flutter,dev,Flutter/Dart mobile,flutter/dart/bloc/mobile
web-angular,dev,Angular frontend,angular/ngrx/rxjs/typescript
web-vuejs,dev,Vue.js frontend,vue/vuejs/pinia/nuxt/composition
web-reactjs,dev,React frontend,react/reactjs/jsx/hooks/redux
web-nextjs,dev,Next.js fullstack,next/nextjs/ssr/ssg/app-router
architect,dev,Node.js backend,nodejs/express/nestjs/fastify/api
backend-python,dev,Python backend,python/django/fastapi/flask/api
backend-go,dev,Go backend,go/golang/gin/fiber/api
backend-laravel,dev,Laravel/PHP backend,laravel/php/eloquent/artisan
security,quality,Security auditing,security/vulnerability/audit/owasp
tester,quality,Testing/QA,test/testing/coverage/qa/jest/cypress
devops,ops,DevOps/CI-CD,deploy/docker/kubernetes/ci-cd/pipeline
router,infra,Agent detection,detect/agent/select/route
lead,infra,PM/orchestration,pm/project/orchestrate/manage
scanner,infra,Project management,project/detect/identify/config/context
| Score | Level | Action |
|---|---|---|
| >= 80 | PRIMARY | Load full definition (agents/[id].md) |
| 50-79 | SECONDARY | Summary only from index |
| < 50 | OPTIONAL | Don't load |
comparison[4]{scenario,without_lazy,with_lazy,savings}:
Initial load,~48000,~1200,97.5%
Single agent,~48000,~2700,94.4%
Dual agent,~48000,~4200,91.3%
3 agents,~48000,~5700,88.1%
Loaded agents cached in session. Track: loaded_agents[]: mobile,tester. Force reload: reload agent <id>.
Used automatically by agent-detector for optimized loading. Score agents by keywords from index, load only PRIMARY agents.