用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tangle-network/skills --skill build-agent-app命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | build-agent-app |
| description | Build or migrate an agent product with agent-app modules, billing, integrations, and evals. |
Use this when building the product shell around an agent: chat, tools, approvals, persistence, billing, integrations, and visible workflows.
Read the installed @tangle-network/agent-app README, exports, types, current scaffolder, and nearest maintained product before choosing modules.
Do not copy API names from this skill.
| Concern | Owner |
|---|---|
| Product routes, UI, auth, persistence, billing, and approvals | Product and agent-app |
| Portable agent behavior | agent-interface |
| Agent execution, streaming, workers, and candidate activation | agent-runtime |
| Cases, scoring, comparison, and release evidence | agent-eval |
| Sources, retrieval, memory, and knowledge candidates | agent-knowledge |
| Connector contracts and provider execution | agent-integrations |
| Isolated compute and durable sandbox sessions | sandbox |
Keep product nouns, permissions, schemas, prompts, and policy in the product. Move reusable behavior to its owning package instead of copying it between products.
Record:
Build the actual working flow first. Do not start from a module inventory or a marketing page.
resources.files mounts materialized as real files in the sandbox, never bodies concatenated into prompt.systemPrompt; the prompt carries only identity, tool contract, and a short index of what's mounted. See build-with-agent-runtime for the full materialization contract.Generated starter docs are guidance for that starter version, not a permanent API reference. Confirm every symbol from installed types.
Inventory the existing product and classify each concern:
| Class | Action |
|---|---|
| Shared package behavior | Import the current package and delete the local copy |
| Product behavior | Keep it and adapt at a typed boundary |
| Compatibility contract | Preserve deliberately and test the exact wire behavior |
| Dead or foreign product code | Prove it is unreachable, then delete it |
Migrate one coherent concern at a time. Keep the product runnable after each change. Do not leave both old and new implementations reachable. Do not preserve a wrapper that only renames the package API.
For each migrated concern, prove the installed dependency resolves, production code imports it, the replaced path has no callers, and the user-visible flow still works. Changing test count or line count is not success by itself.
Use the backend the product actually needs:
These paths may share product tools and records. They must not silently change identity, approval, billing, replay, or error behavior.
One customer-like path must prove:
authenticate -> submit work -> agent executes -> tools and knowledge run
-> final artifact persists -> approval commits once -> usage records once
-> interruption resumes or fails clearly -> result is evaluated
Report installed versions, exact subpaths, retained product adapters, deleted competing paths, run IDs, artifact paths, checks, cost, latency, and deployed result when deployment is in scope.
build-with-agent-runtime for execution, workers, resume, or candidate activation.agent-stack-adoption for a complete package-boundary audit.agent-eval-adoption for product evaluation and comparison.build-with-agent-knowledge for retrieval, memory, or knowledge improvement.