[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M797NSD8NMQXRTASC524HMQQ":3,"skill-same:01M797NSD8NMQXRTASC524HMQQ":60},{"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":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M797NSD8NMQXRTASC524HMQQ","agent-runtime",null,"Implement\u002Fdebug Yuxi agent runtime, APIs, tools, skills, MCP, subagents, queue, streaming, and middleware behavior.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"MIT","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fyuxi\u002Fsub-skills\u002Fagent-runtime\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agent-runtime\ndescription: \"Implement\u002Fdebug Yuxi agent runtime, APIs, tools, skills, MCP,\n  subagents, queue, streaming, and middleware behavior.\"\nmetadata:\n  disco-role: operating\ndisable-model-invocation: true\nlicense: MIT\n---\n\n# Yuxi Agent Runtime\n\nUse this sub-skill when the task touches Yuxi's LangGraph\u002FFastAPI agent execution path: agent configuration and context, run submission, request queue and steer behavior, worker\u002FSSE streaming, middleware, attachments, built-in tools, Skills, MCP, subagents, sandbox file boundaries, API-key access, or Langfuse\u002Fevaluation runtime hooks.\n\nDo not use it as the primary guide for deployment topology, knowledge-base ingestion internals, OCR engine selection, CLI usage, or general repo development; route those to the sibling sub-skills and use this one only for the agent-facing boundary.\n\n## First decisions\n\n1. **Classify the failing layer.** Use `references\u002Fagent-runtime-map.md` to decide whether the change belongs in context\u002Fconfig, request intake and queueing, run execution, stream serialization, middleware, sandbox\u002Ffiles, tools\u002FSkills\u002FMCP, or subagents.\n2. **Apply safety gates before probing.** API keys, provider keys, Langfuse keys, MCP endpoints, remote Skill sources, Tavily, non-local OCR, and live model calls are service\u002Fcredential gated. Do not print secrets or run side-effectful external calls without explicit approval.\n3. **Prefer CPU-safe unit proofs first.** Most runtime contracts are covered by backend unit tests. E2E stream\u002Fsubagent\u002Fpersonal-Skill checks require a running Docker Compose stack and sometimes admin credentials.\n4. **Keep HTTP routes thin.** Route code should validate request\u002Fauth\u002Fresponse shape and delegate stateful behavior to services\u002Frepositories.\n\n## Quick route map\n\n- **Agent definition\u002Fconfig:** inspect BaseAgent\u002FBaseContext\u002FChatBotContext\u002FSubAgentContext, Agent repository serialization, and `config_json.context` normalization.\n- **Run submission and queue:** start at `POST \u002Fapi\u002Fagent\u002Fruns`, `RunSubmissionCommand`, and the request queue service for `enqueue`, `reject`, and `steer` semantics.\n- **Worker execution and streaming:** follow AgentRun creation, ARQ enqueue, `stream_agent_chat`\u002Fresume, Redis stream events, and `\u002Fapi\u002Fagent\u002Fruns\u002F{run_id}\u002Fevents` SSE serialization.\n- **Middleware behavior:** inspect the built-in Chatbot\u002FSubAgent graph assembly, then the specific middleware in question: filesystem, attachments, Skills, subagent task tools, summary\u002Foffload, image-input compatibility, token usage, model retry, or tool approval.\n- **Tools, Skills, MCP, subagents:** use `references\u002Ftools-skills-mcp-subagents.md` for activation, gating, storage, async subagent lifecycle, and sandbox boundaries.\n- **Known failure modes:** use `references\u002Ftroubleshooting.md` before making broad changes.\n\n## Safe command entry points\n\nRun commands from the repository root. Docker Compose is the canonical development runtime.\n\n```bash\n# Non-mutating service\u002Flog probes\ndocker compose ps\ndocker logs api-dev --tail 100\ndocker logs worker-dev --tail 100\ndocker logs sandbox-provisioner --tail 100\ncurl -s http:\u002F\u002Flocalhost:5050\u002Fapi\u002Fsystem\u002Fhealth\ncurl -s http:\u002F\u002Flocalhost:8002\u002Fhealth\n\n# CPU-safe unit coverage for this sub-skill\ndocker compose exec api uv run --group test pytest \\\n  test\u002Funit\u002Frouters\u002Ftest_skill_router.py \\\n  test\u002Funit\u002Fservices\u002Ftest_skill_service.py \\\n  test\u002Funit\u002Fbackends\u002Ftest_sandbox_backends.py \\\n  test\u002Funit\u002Fservices\u002Ftest_agent_request_queue_service.py \\\n  test\u002Funit\u002Fmiddlewares\u002Ftest_steer_middleware.py \\\n  test\u002Funit\u002Fmiddlewares\u002Ftest_subagent_task_middleware.py \\\n  test\u002Funit\u002Fservices\u002Ftest_subagent_run_service.py \\\n  test\u002Funit\u002Frouters\u002Ftest_mcp_router.py \\\n  test\u002Funit\u002Fservices\u002Ftest_mcp_service.py \\\n  test\u002Funit\u002Ftoolkits\u002Ftest_install_skill.py\n```\n\nOnly run the E2E candidates when the stack is intentionally running and test credentials are available:\n\n```bash\ndocker compose exec api uv run --group test pytest -m e2e \\\n  test\u002Fe2e\u002Ftest_subagent_stream_e2e.py \\\n  test\u002Fe2e\u002Ftest_personal_skill_agent_e2e.py\n```\n\n## Native proof candidates\n\n- Required CPU\u002Fany: skill router, skill service, sandbox backend\u002Fpath rules, request queue\u002Fsteer service, subagent middleware\u002Fservice, MCP router\u002Fservice, and `install_skill` unit tests.\n- Optional service-required: subagent streaming E2E and personal Skill agent E2E. These require Docker Compose services and should not be treated as proof when services, admin user, worker, Redis\u002FPostgres, MinIO, or sandbox-provisioner are unavailable.\n- Optional external credentials: API-key\u002FSSE examples, live model provider calls, Langfuse\u002Fevaluation, Tavily search, remote MCP, and remote Skill installs.\n\n## Reference files\n\n- `references\u002Fagent-runtime-map.md` — execution architecture, layer ownership, APIs, middleware, streaming, tests, and backend gates.\n- `references\u002Ftools-skills-mcp-subagents.md` — tool registry, built-in\u002FKB tools, Skill install\u002Factivation\u002Fstorage, MCP integration, subagent lifecycle, and sandbox file semantics.\n- `references\u002Ftroubleshooting.md` — targeted symptoms, probes, fixes, safety boundaries, and test selection.\n","# Yuxi Agent Runtime\n\nUse this sub-skill when the task touches Yuxi's LangGraph\u002FFastAPI agent execution path: agent configuration and context, run submission, request queue and steer behavior, worker\u002FSSE streaming, middleware, attachments, built-in tools, Skills, MCP, subagents, sandbox file boundaries, API-key access, or Langfuse\u002Fevaluation runtime hooks.\n\nDo not use it as the primary guide for deployment topology, knowledge-base ingestion internals, OCR engine selection, CLI usage, or general repo development; route those to the sibling sub-skills and use this one only for the agent-facing boundary.\n\n## First decisions\n\n1. **Classify the failing layer.** Use `references\u002Fagent-runtime-map.md` to decide whether the change belongs in context\u002Fconfig, request intake and queueing, run execution, stream serialization, middleware, sandbox\u002Ffiles, tools\u002FSkills\u002FMCP, or subagents.\n2. **Apply safety gates before probing.** API keys, provider keys, Langfuse keys, MCP endpoints, remote Skill sources, Tavily, non-local OCR, and live model calls are service\u002Fcredential gated. Do not print secrets or run side-effectful external calls without explicit approval.\n3. **Prefer CPU-safe unit proofs first.** Most runtime contracts are covered by backend unit tests. E2E stream\u002Fsubagent\u002Fpersonal-Skill checks require a running Docker Compose stack and sometimes admin credentials.\n4. **Keep HTTP routes thin.** Route code should validate request\u002Fauth\u002Fresponse shape and delegate stateful behavior to services\u002Frepositories.\n\n## Quick route map\n\n- **Agent definition\u002Fconfig:** inspect BaseAgent\u002FBaseContext\u002FChatBotContext\u002FSubAgentContext, Agent repository serialization, and `config_json.context` normalization.\n- **Run submission and queue:** start at `POST \u002Fapi\u002Fagent\u002Fruns`, `RunSubmissionCommand`, and the request queue service for `enqueue`, `reject`, and `steer` semantics.\n- **Worker execution and streaming:** follow AgentRun creation, ARQ enqueue, `stream_agent_chat`\u002Fresume, Redis stream events, and `\u002Fapi\u002Fagent\u002Fruns\u002F{run_id}\u002Fevents` SSE serialization.\n- **Middleware behavior:** inspect the built-in Chatbot\u002FSubAgent graph assembly, then the specific middleware in question: filesystem, attachments, Skills, subagent task tools, summary\u002Foffload, image-input compatibility, token usage, model retry, or tool approval.\n- **Tools, Skills, MCP, subagents:** use `references\u002Ftools-skills-mcp-subagents.md` for activation, gating, storage, async subagent lifecycle, and sandbox boundaries.\n- **Known failure modes:** use `references\u002Ftroubleshooting.md` before making broad changes.\n\n## Safe command entry points\n\nRun commands from the repository root. Docker Compose is the canonical development runtime.\n\n```bash\n# Non-mutating service\u002Flog probes\ndocker compose ps\ndocker logs api-dev --tail 100\ndocker logs worker-dev --tail 100\ndocker logs sandbox-provisioner --tail 100\ncurl -s http:\u002F\u002Flocalhost:5050\u002Fapi\u002Fsystem\u002Fhealth\ncurl -s http:\u002F\u002Flocalhost:8002\u002Fhealth\n\n# CPU-safe unit coverage for this sub-skill\ndocker compose exec api uv run --group test pytest \\\n  test\u002Funit\u002Frouters\u002Ftest_skill_router.py \\\n  test\u002Funit\u002Fservices\u002Ftest_skill_service.py \\\n  test\u002Funit\u002Fbackends\u002Ftest_sandbox_backends.py \\\n  test\u002Funit\u002Fservices\u002Ftest_agent_request_queue_service.py \\\n  test\u002Funit\u002Fmiddlewares\u002Ftest_steer_middleware.py \\\n  test\u002Funit\u002Fmiddlewares\u002Ftest_subagent_task_middleware.py \\\n  test\u002Funit\u002Fservices\u002Ftest_subagent_run_service.py \\\n  test\u002Funit\u002Frouters\u002Ftest_mcp_router.py \\\n  test\u002Funit\u002Fservices\u002Ftest_mcp_service.py \\\n  test\u002Funit\u002Ftoolkits\u002Ftest_install_skill.py\n```\n\nOnly run the E2E candidates when the stack is intentionally running and test credentials are available:\n\n```bash\ndocker compose exec api uv run --group test pytest -m e2e \\\n  test\u002Fe2e\u002Ftest_subagent_stream_e2e.py \\\n  test\u002Fe2e\u002Ftest_personal_skill_agent_e2e.py\n```\n\n## Native proof candidates\n\n- Required CPU\u002Fany: skill router, skill service, sandbox backend\u002Fpath rules, request queue\u002Fsteer service, subagent middleware\u002Fservice, MCP router\u002Fservice, and `install_skill` unit tests.\n- Optional service-required: subagent streaming E2E and personal Skill agent E2E. These require Docker Compose services and should not be treated as proof when services, admin user, worker, Redis\u002FPostgres, MinIO, or sandbox-provisioner are unavailable.\n- Optional external credentials: API-key\u002FSSE examples, live model provider calls, Langfuse\u002Fevaluation, Tavily search, remote MCP, and remote Skill installs.\n\n## Reference files\n\n- `references\u002Fagent-runtime-map.md` — execution architecture, layer ownership, APIs, middleware, streaming, tests, and backend gates.\n- `references\u002Ftools-skills-mcp-subagents.md` — tool registry, built-in\u002FKB tools, Skill install\u002Factivation\u002Fstorage, MCP integration, subagent lifecycle, and sandbox file semantics.\n- `references\u002Ftroubleshooting.md` — targeted symptoms, probes, fixes, safety boundaries, and test selection.\n",{"name":5,"license":14,"metadata":23,"description":7,"disable-model-invocation":25},{"disco-role":24},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Fyuxi\u002Fsub-skills\u002Fagent-runtime",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":25},[35,38,41],{"tool":36,"command":37},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill agent-runtime",{"tool":39,"command":40},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill agent-runtime",{"tool":42,"command":43},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill agent-runtime","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fyuxi\u002Fsub-skills\u002Fagent-runtime\u002FSKILL.md",[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fagent-runtime-map.md","REFERENCE","参考文档",16668,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fyuxi\u002Fsub-skills\u002Fagent-runtime\u002Freferences\u002Fagent-runtime-map.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Ftools-skills-mcp-subagents.md",15798,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fyuxi\u002Fsub-skills\u002Fagent-runtime\u002Freferences\u002Ftools-skills-mcp-subagents.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Ftroubleshooting.md",19305,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fyuxi\u002Fsub-skills\u002Fagent-runtime\u002Freferences\u002Ftroubleshooting.md",[61,69,76,83,90,97],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M799NYSH1R3RVAHSM2D88Y84","passnet-triton-opt","Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block\u002Fgrid\u002Fwarp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M799NS5APEC0N1FZ7XZVW6BN","passnet-solve","END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-solve\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M799NNY9BKSM21V5R7QVTBJX","passnet-skill","PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under .\u002Fpass_dir\u002F, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-skill\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M799NHH6NP7Z1RK77KGXAN6S","passnet-pattern-fusion","Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()\u002Freplacement_args()\u002Freplacement_func() files, when a pass \"failed to match\", or when deciding how to fuse multiple kernels\u002Fops.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-pattern-fusion\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M799ND2J4WNC2PGAZ0A06NDF","passnet-orchestrate","Round\u002Fbatch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep\u002Frevert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M799N8SBTMY02ZDG2AZF5ZWE","passnet-feedback","Fast, deterministic feedback for PassNet work: pre-flight pattern\u002Fmatch verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-feedback\u002FSKILL.md",[],[]]